Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

EJB, netbeans, and postgreSQL

843830Oct 25 2005 — edited Dec 25 2006
i have a problem connecting postgresql with my EJB using netbeans IDE 4.1. I have connected to the database via Database Explorer, then i use the database through the function inside netbeans : Enterprise Resources - Use Database and then i choose the database that already connected in the Database Explorer. then i build and run the EJB module...nothing is wrong.... then i developed a Java Application that access the EJB, when i build the application nothing is wrong...but when i run the program and hit the button that triggered the connection to the database, it produce an error message :

Caught a remote exception: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: Unable to Connect. Error in allocating a connection. Cause: org.postgresql.Driver


is there something i forgot to do? or thee's something else i need to do? please help...
thank you for four help

regards,


Evan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 22 2007
Added on Oct 25 2005
4 comments
369 views