This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have an already running Glasfish v3 server (started at boot time). I then start Netbeans, and run a webapp from Netbeans. That works OK (although the log looks like Netbeans tries to start the server even though it is already running?) Howeevr, the real issue is that when I quit Netbeans, this stops the Glassfish v3 server - after Netbeans exits, the server is no longer running. I am using netbeans 6.7.1 and the -J-Dorg.glassfish.v3ee6.installRoot=<INSTALL-ROOT> flag. (Just starting and stopping Netbeans does not stop the server - you have to run a webapp for that to happen).
Do you ever stop and restart the server in a single IDE session? If you do, the IDE assumes that it 'has control' of the server.... Did you deploy an app that uses a database -- the IDE deploys the driver and that can trigger a restart... since the jars are added to the classpath, which is not a dynamic property for the server I just checked a recent 6.8 build with GF v3... I started the server outside the IDE. I opened the IDE registered the server created a web app that targets the server used run on the app exited the IDE The server was still running... Closing as WFM. Please reopen with detailed step-by-step description on how to reproduce this issue.
No, I do not explicitly start or stop the server. As I said, the server is already running. Surely, before rying to start the server, netbeans should check if it is already running, and if so, it should NOT try to start or stop it. My app does not use a database. This happens with a very simple Hello World Web App. This is using Netbeans 6.7.1. The server (from glassfish-v3-b64.zip ) is started using the attached LaunchDaemon file, at boot time. An admin password is set on the server Fire up Netbeans Register the server Open the attached web app Hit the Run button in Netbeans Quit Netbeans Server is also taken down Attachements following: Script to go in /Library/LaunchDaemons WebApp, zipped up
Created attachment 87921 [details] Boot time launcher to go in /Library/LaunchDaemons
Created attachment 87922 [details] Simple Web App to reproduce problem
Reopened (see above attachments and instructions for reproducing issue)
thanks for the additional info. (that is usually where the devil is...) I can reproduce the issue now.
Integrated into 'main-golden', will be available in build *200909210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/b532935cfc3a User: vince kraemer <vkraemer@netbeans.org> Log: #172551: Netbeans cries, "Avast!", at servers that it did not start when it goes ashore, if they be requiring authentication...
in nightlies
I confirm this fix works for me. Thanks.