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.
When i start a web application during development in the IDE with "Run Project" button, it will be deployed multiple to my GlassFish V2.1 server. This causes that the init method of the app is also called multiple. Seams that the app is deployed to all available virtual servers of GlassFish. I reported an simular bug for the GlassFish admin gui 2007: https://glassfish.dev.java.net/issues/show_bug.cgi?id=2535 Think best would be if Netbeans deploy app only to one special "localhost" Virtual Server.