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.

Bug 159760

Summary: Multiple Deployment of Web Application
Product: serverplugins Reporter: lofi <lofi>
Component: InfrastructureAssignee: Vince Kraemer <vkraemer>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description lofi 2009-03-06 10:18:32 UTC
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.