users@glassfish.java.net

Re: Setup Glassfish v3 with MS SQLServer

From: <glassfish_at_javadesktop.org>
Date: Tue, 19 Jan 2010 17:55:38 PST

Found it!

During my tests I created a new Entity Class with the Wizard (Nw Entity Classes from Database...). Due the fact that my database connection does not work at that time, I had to enter values for the Database connection. This created a sun-resources.xml file inside the Setup directory which was executed every time I deployed my application.

I am not sure if this is intended behaviour of Netbeans, but I don't like it. If a JDBC Resource is already specified it should not be overwritten from the IDE deployment with some magically created resource files.

But nevertheless, I eventually solved my problem now. Thank you for being patient.
[Message sent by forum member 'sroeper' (roeper_at_roeperweise.de)]

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