users@glassfish.java.net

Run from NetBeans works Stand alone doesnt

From: <glassfish_at_javadesktop.org>
Date: Tue, 15 Jul 2008 12:35:37 PDT

Hello all I am using glassfish 9.1 with NB6.0. I have created a Javaweb start application that uses a database connection. When I build and run from netbeans the project will come up and work(I have the database and server on netbeans). but if i try to upload the jar file from the admin console it crashes when trying to get a connection to the db. I have tried getting the JNDI context but I cant because its a web start and I have tried hibernate to no avail. Why will it run with netbeans but not when i deploy using manager app. Thanks in advance.
[Message sent by forum member 'kenbarnesjr' (kenbarnesjr)]

http://forums.java.net/jive/thread.jspa?messageID=286845