Hi:

I have been trying to run the sample entity bean that comes with JOnAS
V2.0 on a Linux (redhat 6.1). My database is PostgreSQL. I have setup
the jonas.properties with correct datasource. I have also setup the
PostgreSQL.properties with my database parameters.
I can start EJBServer without any problem. However, when I start the
client application (java eb.ClientAccount AccountImplHome), I get the
following message:

Getting a UserTransaction object from JNDI
Connecting to the AccountHome
Getting the list of existing accounts in database
Exception getting account list: java.lang.NullPointerException

I used the Account.sql that is intended for oracle to setup the table in
PostgreSQL database (I needed to change the "balance" type to float4).
Using the PostgreSQL sql shell (psql), I can do select statement on the
table, and everything seems to be OK.

What am I missing?

Thanks,
Ramin

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to