BUG #2959: Non-usual error when using jdbc driver into a Java WebStart application

From: "Adriano" <adrianostanley(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2959: Non-usual error when using jdbc driver into a Java WebStart application
Date: 2007-02-02 10:45:38
Message-ID: 200702021045.l12Ajcgo088956@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 2959
Logged by: Adriano
Email address: adrianostanley(at)gmail(dot)com
PostgreSQL version: 8.1
Operating system: Windows XP
Description: Non-usual error when using jdbc driver into a Java
WebStart application
Details:

I got an application (Java language) that uses the postgresql-8.1-407.jdbc3
driver. When executed by IDE Eclipse it works perfectly, but when I export
as jar and configure it to execute in a Java WebStart application, I got
this exception (at the first database access):

org.postgresql.util.PSQLException: Alguma coisa no usual ocorreu para
causar a falha do driver. Por favor reporte esta exceo.
at org.postgresql.Driver.connect(Driver.java:263)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at
br.com.plangeo.bancodedados.ConexaoPostgre.setConexao(ConexaoPostgre.java:14
8)
at
br.com.plangeo.bancodedados.ConexaoPostgre.<init>(ConexaoPostgre.java:50)
at br.com.plangeo.bancodedados.ConexaoGeral.<init>(ConexaoGeral.java:77)
at br.com.plangeo.bancodedados.Comando.<init>(Comando.java:12)
at acessobancodedados.Login.<init>(Login.java:21)
at
interfacegrafica.InterfaceLogin$Logar.actionPerformed(InterfaceLogin.java:11
9)
at javax.swing.JTextField.fireActionPerformed(Unknown Source)
at javax.swing.JTextField.postActionEvent(Unknown Source)
at javax.swing.JTextField$NotifyAction.actionPerformed(Unknown Source)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown
Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown
Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

I had send to you because the exception told me to report it.

Thanks
Adriano, Brazil

Browse pgsql-bugs by date

  From Date Subject
Next Message Dave Claes 2007-02-02 10:57:58 BUG #2960: missing string replace function ODBC driver
Previous Message Anton Andreev 2007-02-02 09:41:03 BUG #2958: ERROR: 53200: out of memory