Skip to Main Content

Java SE (Java Platform, Standard Edition)

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!

Deploying netbeans created database desktop application

843810Jun 24 2008 — edited Jun 27 2008
Hi,

I have developed a desktop application in NetBeans 6.0 and in which I have used Java DB as database. Now the application is complete and working fine in the netbeans so I wanted to deploy it in my computer.

When I try to run the jar file of the application it generates an exception [toplink-4002] java.net.ConnectException generates a message: Error connecting to server localhost on port 1527 with message connection refused: connect

But while the netbeans is on and java db server is also on, executable jar file runs perfectly fine. So i figured out that server needs to be on.. In the next try I closed down the netbeans turned on the server using its startNetworkServer.bat file and tried running the jar file again but now it gives the Exception giving message : "the connection was refused because the database was not found"

Please help me regarding this problem, I need to deploy the application asap.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 25 2008
Added on Jun 24 2008
5 comments
158 views