Run from NetBeans works Stand alone doesnt
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.