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 158348 - Incorrectly deployed Web App to different GF V3 Server
Summary: Incorrectly deployed Web App to different GF V3 Server
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-11 00:40 UTC by davisn
Modified: 2009-02-19 23:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (43.09 KB, text/plain)
2009-02-11 00:42 UTC, davisn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davisn 2009-02-11 00:40:41 UTC
If I have 2 GlassFish V3 Prelude Servers and 2 Web Module Applications such as:
   GF-V31 & GF-V32
   WebApp1 & WebApp2

WebApp1 is configured to run with GF-V31 and 
WebApp2 is configured to run with GF-V32

After deploy WebApp1 to GF-V31 
I try to deploy WebApp2 to GF-V32, the IDE does NOT deploy WebApp2 to GF-V32 server, but instead it deployed to GF-V31
server
It seems exception error appears in the messages.log file

Steps To Reproduce:
1. Install NB Dev All from from http://bits.netbeans.org/download/trunk/nightly/latest/ (Feb 10)
2. Create WebApp1 project > select to activate Java EE > select Glassfish V3 Prelude as default runtime
3. Execute the WebApp1
4. Create GF-V32 server by download another Glassfish V3 Prelude
5. Create WebApp1 project  > select GF-V32 as runtime server
6. Execute the WebApp2
BUG:
   WebApp2 was deployed and run with Glassfish Server 1 not with GF-V32 server 
   Please see the attached messages.log for detail problem
Comment 1 davisn 2009-02-11 00:42:53 UTC
Created attachment 76824 [details]
messages.log
Comment 2 davisn 2009-02-11 00:45:53 UTC
Correct for step 5
5. Create WebApp2 project  > select GF-V32 as runtime server
Comment 3 Vince Kraemer 2009-02-11 19:24:10 UTC
I can reproduce this
Comment 4 Vince Kraemer 2009-02-12 00:48:10 UTC
http://hg.netbeans.org/main/rev/03705ea2d221
Comment 5 Quality Engineering 2009-02-18 10:39:10 UTC
Integrated into 'main-golden', will be available in build *200902180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/03705ea2d221
User: Vince Kraemer <vkraemer@netbeans.org>
Log: #158348 : start server bypasses a check to see if the server running on a port is the server expected on that port...