Deploying netbeans created database desktop application
843810Jun 24 2008 — edited Jun 27 2008Hi,
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.