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 98416 - stopserv doesn't stop GFv2 in recent builds
Summary: stopserv doesn't stop GFv2 in recent builds
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
: 99066 99876 100490 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-21 01:03 UTC by Vince Kraemer
Modified: 2007-04-10 17:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
code changes to resolve (1.76 KB, text/plain)
2007-03-21 01:56 UTC, Vince Kraemer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vince Kraemer 2007-03-21 01:03:57 UTC
stopserv is not a public interface and has been changed.  asadmin stop-domain is
still functional.

To reproduce:

install a recent nightly build of GF V2.
register the domain.
start the domain using a recent 5.5.1 build.
attempt to stop the domain...
  it fails with a not about an illegal jvm option...
Comment 1 Vince Kraemer 2007-03-21 01:56:26 UTC
Created attachment 39729 [details]
code changes to resolve
Comment 2 Nitya Doraisamy 2007-03-21 02:30:15 UTC
code changes look ok.
Comment 3 Nitya Doraisamy 2007-03-21 02:57:00 UTC
Verified patch in 5.5.1 branch against Glassfish latest build (b40-2007-03-20)
Comment 4 Vince Kraemer 2007-03-21 16:48:04 UTC
I had integrated the fix for this into the trunk before we discovered that this
was a necessary fix.  The linked diff includes some whitespace changes that are
not necessary for the release551 integration.

http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/StartSunServer.java?r1=1.25&r2=1.26
Comment 5 Michal Mocnak 2007-03-21 18:29:23 UTC
I tried it with 8.2, 9.0 and 9.1 and everything is OK.
Comment 6 Vince Kraemer 2007-03-21 20:17:22 UTC
...
Comment 7 Vince Kraemer 2007-03-21 20:18:30 UTC
http://www.netbeans.org/issues/show_bug.cgi?id=98416#desc6 indicates that this
is verified.
Comment 8 Vince Kraemer 2007-03-22 02:14:13 UTC
Checking in StartSunServer.java;
/cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/StartSunServer.java,v
 <--  StartSunServer.java
new revision: 1.4.4.6.2.23.10.4; previous revision: 1.4.4.6.2.23.10.3
Comment 9 Nitya Doraisamy 2007-04-04 19:10:55 UTC
*** Issue 99876 has been marked as a duplicate of this issue. ***
Comment 10 Nitya Doraisamy 2007-04-05 00:48:40 UTC
*** Issue 99066 has been marked as a duplicate of this issue. ***
Comment 11 Nitya Doraisamy 2007-04-10 17:52:07 UTC
*** Issue 100490 has been marked as a duplicate of this issue. ***