I asked in J2EE-INTEREST with no success, so I'm asking here now.

I have installed the J2EE SDK 1.3 and I can run successfully the examples
included with the tutorial.

I have configured the PostgreSQL 7.1 JDBC driver (and its datasource) into
the server with the j2eeadmin command and it seems to succeed; there are
no complaints and the datasource is listed when I fire up the server:

Binding DataSource, name = jdbc/PostgreSQL,
url = jdbc:postgresql://localhost:5432/template1?user=xxx&password=yyy

Unfortunately, the example clients now fail with the message

Application threw an exception:java.lang.ExceptionInInitializerError

even before I'm asked to provide the user and password. And no other error
messages are logged anywhere.

The puzzling thing is that the failure is not restricted to EJBs that
access the database. Even the currency converter refuses to run as a
client. But it runs as a web application.

Access to PostgreSQL works fine from plain Java programs and from the
JBoss application server, so it does not look like the problem is there.

Has anybody configured PostgreSQL with the J2EE SDK? Anybody knows what's
going on?

FGL

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to