EJB, netbeans, and postgreSQL
843830Oct 25 2005 — edited Dec 25 2006i 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