henbran
(usa Debian)
Enviado em 30/09/2011 - 08:52h
Bom Dia.
Trabalho em 1 DPTO com +/- 500 máquinas, 98% windows, servidor BD e web server windows. Só os novos sistemas todos em Java Web, com tomcat 6. Para os sistemas menores usamos o MySql. Os relatórios todos em iReport.
Nesse universo, sempre usei Ubuntu (agora versão 11.04 64bits).
Tenho um BD para testes em minha máquina (que é desktop na rede, não é servidor). Quando configuro a conexão com o BD local (minha máquina) e endereço localhost, dá certo. Porém quando tento configurar a conexão com o BD do servidor remoto, dá erro:
=========================================================
SQL problems: Communications link failure
Last packet sent to the server was 1 ms ago.
...
Exception
Message:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Last packet sent to the server was 1 ms ago.
Level:
SEVERE
Stack Trace:
Communications link failure Last packet sent to the server was 1 ms ago.
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:532)
com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2103)
com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:718)
com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:532)
com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
com.jaspersoft.ireport.designer.connection.JDBCConnection.getConnection(JDBCConnection.java:140)
com.jaspersoft.ireport.designer.connection.JDBCConnection.test(JDBCConnection.java:447)
com.jaspersoft.ireport.designer.connection.gui.ConnectionDialog.jButtonTestActionPerformed(ConnectionDialog.java:335)
com.jaspersoft.ireport.designer.connection.gui.ConnectionDialog.access$300(ConnectionDialog.java:43)
com.jaspersoft.ireport.designer.connection.gui.ConnectionDialog$4.actionPerformed(ConnectionDialog.java:290)
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
java.awt.Component.processMouseEvent(Component.java:6268)
javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
java.awt.Component.processEvent(Component.java:6033)
java.awt.Container.processEvent(Container.java:2045)
java.awt.Component.dispatchEventImpl(Component.java:4629)
java.awt.Container.dispatchEventImpl(Container.java:2103)
java.awt.Component.dispatchEvent(Component.java:4455)
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
java.awt.Container.dispatchEventImpl(Container.java:2089)
java.awt.Window.dispatchEventImpl(Window.java:2517)
java.awt.Component.dispatchEvent(Component.java:4455)
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
java.awt.EventQueue.access$000(EventQueue.java:96)
java.awt.EventQueue$1.run(EventQueue.java:608)
java.awt.EventQueue$1.run(EventQueue.java:606)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
java.awt.EventQueue$2.run(EventQueue.java:622)
java.awt.EventQueue$2.run(EventQueue.java:620)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
java.awt.Dialog$1.run(Dialog.java:1072)
java.awt.Dialog$3.run(Dialog.java:1126)
java.security.AccessController.doPrivileged(Native Method)
java.awt.Dialog.show(Dialog.java:1124)
java.awt.Component.show(Component.java:1551)
java.awt.Component.setVisible(Component.java:1503)
java.awt.Window.setVisible(Window.java:881)
java.awt.Dialog.setVisible(Dialog.java:1011)
com.jaspersoft.ireport.designer.connection.gui.ConnectionsDialog.jButtonNewParameterActionPerformed(ConnectionsDialog.java:578)
com.jaspersoft.ireport.designer.connection.gui.ConnectionsDialog.access$400(ConnectionsDialog.java:47)
com.jaspersoft.ireport.designer.connection.gui.ConnectionsDialog$7.actionPerformed(ConnectionsDialog.java:221)
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
java.awt.Component.processMouseEvent(Component.java:6268)
javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
java.awt.Component.processEvent(Component.java:6033)
java.awt.Container.processEvent(Container.java:2045)
java.awt.Component.dispatchEventImpl(Component.java:4629)
java.awt.Container.dispatchEventImpl(Container.java:2103)
java.awt.Component.dispatchEvent(Component.java:4455)
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
java.awt.Container.dispatchEventImpl(Container.java:2089)
java.awt.Window.dispatchEventImpl(Window.java:2517)
java.awt.Component.dispatchEvent(Component.java:4455)
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
java.awt.EventQueue.access$000(EventQueue.java:96)
java.awt.EventQueue$1.run(EventQueue.java:608)
java.awt.EventQueue$1.run(EventQueue.java:606)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
java.awt.EventQueue$2.run(EventQueue.java:622)
java.awt.EventQueue$2.run(EventQueue.java:620)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
java.awt.Dialog$1.run(Dialog.java:1072)
java.awt.Dialog$3.run(Dialog.java:1126)
java.security.AccessController.doPrivileged(Native Method)
java.awt.Dialog.show(Dialog.java:1124)
java.awt.Component.show(Component.java:1551)
java.awt.Component.setVisible(Component.java:1503)
java.awt.Window.setVisible(Window.java:881)
java.awt.Dialog.setVisible(Dialog.java:1011)
com.jaspersoft.ireport.designer.connection.gui.ConnectionsDialog.setVisible(ConnectionsDialog.java:651)
com.jaspersoft.ireport.designer.menu.DatasourcesAction.performAction(DatasourcesAction.java:46)
org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:118)
org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:114)
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
java.awt.Component.processMouseEvent(Component.java:6268)
javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
org.openide.awt.ToolbarButton.processMouseEvent(ToolbarButton.java:61)
java.awt.Component.processEvent(Component.java:6033)
java.awt.Container.processEvent(Container.java:2045)
java.awt.Component.dispatchEventImpl(Component.java:4629)
java.awt.Container.dispatchEventImpl(Container.java:2103)
java.awt.Component.dispatchEvent(Component.java:4455)
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
java.awt.Container.dispatchEventImpl(Container.java:2089)
java.awt.Window.dispatchEventImpl(Window.java:2517)
java.awt.Component.dispatchEvent(Component.java:4455)
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
java.awt.EventQueue.access$000(EventQueue.java:96)
java.awt.EventQueue$1.run(EventQueue.java:608)
java.awt.EventQueue$1.run(EventQueue.java:606)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
java.awt.EventQueue$2.run(EventQueue.java:622)
java.awt.EventQueue$2.run(EventQueue.java:620)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Malformed reply from SOCKS server
java.net.SocksSocketImpl.readSocksReply(SocksSocketImpl.java:110)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:447)
java.net.Socket.connect(Socket.java:546)
java.net.Socket.connect(Socket.java:495)
java.net.Socket.<init>(Socket.java:392)
java.net.Socket.<init>(Socket.java:235)
com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:280)
com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2026)
com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:718)
com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:532)
com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
com.jaspersoft.ireport.designer.connection.JDBCConnection.getConnection(JDBCConnection.java:140)
com.jaspersoft.ireport.designer.connection.JDBCConnection.test(JDBCConnection.java:447)
com.jaspersoft.ireport.designer.connection.gui.ConnectionDialog.jButtonTestActionPerformed(ConnectionDialog.java:335)
com.jaspersoft.ireport.designer.connection.gui.ConnectionDialog.access$300(ConnectionDialog.java:43)
com.jaspersoft.ireport.designer.connection.gui.ConnectionDialog$4.actionPerformed(ConnectionDialog.java:290)
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
java.awt.Component.processMouseEvent(Component.java:6268)
javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
java.awt.Component.processEvent(Component.java:6033)
java.awt.Container.processEvent(Container.java:2045)
java.awt.Component.dispatchEventImpl(Component.java:4629)
java.awt.Container.dispatchEventImpl(Container.java:2103)
java.awt.Component.dispatchEvent(Component.java:4455)
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
java.awt.Container.dispatchEventImpl(Container.java:2089)
java.awt.Window.dispatchEventImpl(Window.java:2517)
java.awt.Component.dispatchEvent(Component.java:4455)
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
java.awt.EventQueue.access$000(EventQueue.java:96)
java.awt.EventQueue$1.run(EventQueue.java:608)
java.awt.EventQueue$1.run(EventQueue.java:606)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
java.awt.EventQueue$2.run(EventQueue.java:622)
java.awt.EventQueue$2.run(EventQueue.java:620)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
java.awt.Dialog$1.run(Dialog.java:1072)
java.awt.Dialog$3.run(Dialog.java:1126)
java.security.AccessController.doPrivileged(Native Method)
java.awt.Dialog.show(Dialog.java:1124)
java.awt.Component.show(Component.java:1551)
java.awt.Component.setVisible(Component.java:1503)
java.awt.Window.setVisible(Window.java:881)
java.awt.Dialog.setVisible(Dialog.java:1011)
com.jaspersoft.ireport.designer.connection.gui.ConnectionsDialog.jButtonNewParameterActionPerformed(ConnectionsDialog.java:578)
com.jaspersoft.ireport.designer.connection.gui.ConnectionsDialog.access$400(ConnectionsDialog.java:47)
com.jaspersoft.ireport.designer.connection.gui.ConnectionsDialog$7.actionPerformed(ConnectionsDialog.java:221)
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
java.awt.Component.processMouseEvent(Component.java:6268)
javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
java.awt.Component.processEvent(Component.java:6033)
java.awt.Container.processEvent(Container.java:2045)
java.awt.Component.dispatchEventImpl(Component.java:4629)
java.awt.Container.dispatchEventImpl(Container.java:2103)
java.awt.Component.dispatchEvent(Component.java:4455)
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
java.awt.Container.dispatchEventImpl(Container.java:2089)
java.awt.Window.dispatchEventImpl(Window.java:2517)
java.awt.Component.dispatchEvent(Component.java:4455)
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
java.awt.EventQueue.access$000(EventQueue.java:96)
java.awt.EventQueue$1.run(EventQueue.java:608)
java.awt.EventQueue$1.run(EventQueue.java:606)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
java.awt.EventQueue$2.run(EventQueue.java:622)
java.awt.EventQueue$2.run(EventQueue.java:620)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
java.awt.Dialog$1.run(Dialog.java:1072)
java.awt.Dialog$3.run(Dialog.java:1126)
java.security.AccessController.doPrivileged(Native Method)
java.awt.Dialog.show(Dialog.java:1124)
java.awt.Component.show(Component.java:1551)
java.awt.Component.setVisible(Component.java:1503)
java.awt.Window.setVisible(Window.java:881)
java.awt.Dialog.setVisible(Dialog.java:1011)
com.jaspersoft.ireport.designer.connection.gui.ConnectionsDialog.setVisible(ConnectionsDialog.java:651)
com.jaspersoft.ireport.designer.menu.DatasourcesAction.performAction(DatasourcesAction.java:46)
org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:118)
org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:114)
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
java.awt.Component.processMouseEvent(Component.java:6268)
javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
org.openide.awt.ToolbarButton.processMouseEvent(ToolbarButton.java:61)
java.awt.Component.processEvent(Component.java:6033)
java.awt.Container.processEvent(Container.java:2045)
java.awt.Component.dispatchEventImpl(Component.java:4629)
java.awt.Container.dispatchEventImpl(Container.java:2103)
java.awt.Component.dispatchEvent(Component.java:4455)
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
java.awt.Container.dispatchEventImpl(Container.java:2089)
java.awt.Window.dispatchEventImpl(Window.java:2517)
java.awt.Component.dispatchEvent(Component.java:4455)
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
java.awt.EventQueue.access$000(EventQueue.java:96)
java.awt.EventQueue$1.run(EventQueue.java:608)
java.awt.EventQueue$1.run(EventQueue.java:606)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
java.awt.EventQueue$2.run(EventQueue.java:622)
java.awt.EventQueue$2.run(EventQueue.java:620)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
java.awt.EventDispatchThread.run(EventDispatchThread.java:138).
=========================================================
Isso só no Linux, porque no windows XP consigo configurar tanto a conexão com o BD localhost quanto a conexão remota.