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.
If I have 2 V3 server with the same port 8080 registered in the IDE, the web application seems always deploy the current running server. Steps To Reproduce: 1. Install NB 6.8 nightly (11/16/2009) on winXP, jdk1.6.0_16 2. Install nightly SDK b73 build from http://javaweb.sfbay/java/re/glassfish/v3/nightly/bundles/java_ee_sdk-6-b29-11_13_2009-windows.exe 3. Start the IDE -> register the sdk6-73 server 4. From the IDE, start the sdk6-b73 server 5. From the ..glassfish\samples\bp-project directory, edit build.properties file and point javaee.home to the location of the sdk6-73 installed server. 6. Open web/container/customvale-war project -> change the runtime to sdk6-b73 server -> run the project 7. Open web/jsf/basic-ajax project -> leave the runtime server default as "GlassFish v3 Domain" -> run the baisc-ajax project BUG: The basic-ajax project was deployed to the sdk6-b73 server.
Created attachment 91135 [details] IDE log file
Created attachment 91136 [details] sdk6-b73 server.log file
ant output from the Deploy or Run that went to the wrong target?
All the run operation was selected from the Netbean "run" target IDE menu.
OK. So, please attach the output generated by ant.
this is not a stopper for 6.8, though I do want to fix it as part of an early patch.
This problem seems do not relate with the SDK samples since I can reproduce it without using the SDK sample projects. Below is the steps without using the SDK samples. -From NB IDE, register a donwload v3 server (use the default configuration) -Create a web app and set the runtime server to the default "GlassFish v3 Domain" -From the IDE -> web app project node, select to run the project -From the Servers node -> GlassFish v3 Domain, select to undeploy the web app -Change the web app runtime to the download server -From the IDE -> web app project node, select to run the project Note: The project is deployed to the GlassFish v3 Domain regardless of different runtime server configuration
http://hg.netbeans.org/web-main/rev/52c083f1ae5a
one additional fix... http://hg.netbeans.org/web-main/rev/501c959ac94e
Integrated into 'main-golden', will be available in build *200912100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/52c083f1ae5a User: Vince Kraemer <vkraemer@netbeans.org> Log: #176953: web app deploys to wrong server
Integrated into 'main-golden', will be available in build *200912101400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/501c959ac94e User: Vince Kraemer <vkraemer@netbeans.org> Log: #176953: web app deploys to wrong server... one more additional change necessary [exposed by testing remote deployment]
The fix has been ported into the release68_fixes repository. http://hg.netbeans.org/release68_fixes/rev/f1b0eb523192