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 99066 - Usability: Unable to stop Sun App Server (from NB IDE) once started - Encountered 'Unrecognized VM option'
Summary: Usability: Unable to stop Sun App Server (from NB IDE) once started - Encount...
Status: CLOSED DUPLICATE of bug 98416
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-27 01:31 UTC by rpoon
Modified: 2007-04-25 00:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Server log (51.43 KB, text/plain)
2007-03-27 01:32 UTC, rpoon
Details
My server.log (631.85 KB, application/octet-stream)
2007-04-02 21:06 UTC, Jun Qian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rpoon 2007-03-27 01:31:29 UTC
Build combination:
  NetBeans:
     NetBean 6.0 Enterprise Pack - Build 8

  SDK Update 3 Preview2 - b09
======================================================

User is unable to stop the Sun App Server once it was started.  When stopping 
the App Server (from NetBeans IDE), the operation failed with the following 
Error in the server log file:

Could not create the Java virtual machine.
Unrecognized VM option '+LogVMOutput'

User has to manually kill the related processes in order to stop the server.

(see attached server log file)
Comment 1 rpoon 2007-03-27 01:32:52 UTC
Created attachment 39994 [details]
Server log
Comment 2 Jun Qian 2007-04-02 21:02:54 UTC
I was able to stop GF from NB IDE with the error message:

C:/Program Files/Java/jdk1.5.0_09/jre/..\bin\java
-client
-XX:+LogVMOutput
-XX:+UnlockDiagnosticVMOptions
-XX:LogFile=C:/GlassFish_b40/glassfish/domains/domain1/logs/jvm.log
-Dcom.sun.aas.defaultLogFile=C:/GlassFish_b40/glassfish/domains/domain1/logs/server.log
-Dcom.sun.aas.verboseMode=true
-Djava.endorsed.dirs=C:/GlassFish_b40/glassfish/lib/endorsed
-Djava.security.policy=C:/GlassFish_b40/glassfish/domains/domain1/config/server.policy
-Djava.security.auth.login.config=C:/GlassFish_b40/glassfish/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=C:/GlassFish_b40/glassfish/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/GlassFish_b40/glassfish/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=C:/Program Files/Java/jdk1.5.0_09/jre/../lib/ext;C:/Program
Files/Java/jdk1.5.0_09/jre/../jre/lib/ext;C:/GlassFish_b40/glassfish/domains/domain1/lib/ext;C:/GlassFish_b40/glassfish/javadb/lib
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar,commons-logging.jar,commons-launcher.jar
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,dbschema.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/hadbjdbc4.jar,C:/GlassFish_b40/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,%MFWK_HOME%/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.configName=server-config
-Ddomain.name=
-Djmx.invoke.getters=true
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
-Dcom.sun.updatecenter.home=C:/GlassFish_b40/glassfish/updatecenter
-Dcom.sun.aas.instanceRoot=C:/GlassFish_b40/glassfish/domains/domain1
-Dcom.sun.aas.domainName=
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Program
Files/Java/jdk1.5.0_09/jre/../lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar,C:/GlassFish_b40/glassfish/imq/lib/jaxm-api.jar,C:/GlassFish_b40/glassfish/imq/lib/fscontext.jar,C:/GlassFish_b40/glassfish/imq/lib/imqbroker.jar,C:/GlassFish_b40/glassfish/imq/lib/imqjmx.jar,C:/GlassFish_b40/glassfish/imq/lib/imqxm.jar,C:/GlassFish_b40/glassfish/lib/ant/lib/ant.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,jmxremote_optional.jar,C:/GlassFish_b40/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,commons-logging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,C:/GlassFish_b40/glassfish/updatecenter/lib/updatecenter.jar,C:/GlassFish_b40/glassfish/jbi/lib/jbi.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbjdbc4.jar,jgroups-all.jar,%MFWK_HOME%/lib/mfwk_instrum_tk.jar
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
-Dcom.sun.aas.classloader.serverClassPath=C:/GlassFish_b40/glassfish/lib/install/applications/jmsra/imqjmsra.jar,C:/GlassFish_b40/glassfish/imq/lib/jaxm-api.jar,C:/GlassFish_b40/glassfish/imq/lib/fscontext.jar,C:/GlassFish_b40/glassfish/imq/lib/imqbroker.jar,C:/GlassFish_b40/glassfish/imq/lib/imqjmx.jar,C:/GlassFish_b40/glassfish/lib/ant/lib/ant.jar,C:/GlassFish_b40/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.configRoot=C:/GlassFish_b40/glassfish/config
-Djava.library.path=C:\GlassFish_b40\glassfish\lib;C:\GlassFish_b40\glassfish\lib;C:\Program
Files\Java\jdk1.5.0_09\bin;.;C:\WINNT\system32;C:\WINNT;C:\GlassFish_b40\glassfish\lib;C:\GlassFish_b40\glassfish\lib;C:\GlassFish_b40\glassfish\bin;C:\Program
Files\Mozilla
Firefox\;C:\opt\cvs-1-11-21\;C:\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32\WBEM;C:\Program
Files\ATI Technologies\ATI Control Panel;C:\Program
Files\Hummingbird\Connectivity\8.00\Accessories\;C:\Program Files\GNU\WinCvs
1.3\CVSNT;C:\Program
Files\Java\jdk1.5.0_08\bin;C:\Alaska\root\build-tools\apache-ant-1.6.5\bin;C:\cygwin\bin;C:\Program
Files\doxygen\bin;C:\PROGRA~1\ATT\Graphviz\bin;C:\PROGRA~1\ATT\Graphviz\bin\tools;C:\Program
Files\Common Files\GTK\2.0\bin;C:\adabas\bin;C:\adabas\pgm;C:\Program
Files\QuickTime\QTSystem\;C:\Program Files\YourKit Java Profiler
5.5.6\bin\win32\;C:\Program Files\Mozilla
Firefox\;C:\opt\cvs-1-11-21\;C:\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32\WBEM;C:\Program
Files\ATI Technologies\ATI Control Panel;C:\Program
Files\Hummingbird\Connectivity\8.00\Accessories\;C:\Program Files\GNU\WinCvs
1.3\CVSNT;C:\Program
Files\Java\jdk1.5.0_09\bin;C:\Alaska\root\build-tools\apache-ant-1.6.5\bin;C:\cygwin\bin;C:\Program
Files\doxygen\bin;C:\PROGRA~1\ATT\Graphviz\bin;C:\PROGRA~1\ATT\Graphviz\bin\tools;C:\Program
Files\QuickTime\QTSystem\;C:\Program Files\Common
Files\GTK\2.0\bin;C:\adabas\bin;C:\adabas\pgm;
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-Dcom.sun.aas.installRoot=C:/GlassFish_b40/glassfish
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=
-Dcom.sun.aas.ServerClassPath=
-cp
;C:/GlassFish_b40/glassfish/lib/appserv-launch.jar
com.sun.enterprise.server.PELaunch
stop
verbose
Unrecognized VM option '+LogVMOutput'
Could not create the Java virtual machine.

This is with NB Hula build 070402_13 and GF b40.
Comment 3 Jun Qian 2007-04-02 21:06:26 UTC
Created attachment 40276 [details]
My server.log
Comment 4 Jun Qian 2007-04-02 21:07:38 UTC
Reassigning to serverplugins for evaluation.
Comment 5 Nitya Doraisamy 2007-04-04 19:29:28 UTC
This 
Comment 6 Nitya Doraisamy 2007-04-04 20:46:15 UTC
Tested latest NB 6 builds and NB Milestone 8. Cannot reproduce this issue.
This seems to be a duplicate of 98416. The fix was checked into NB6.0 trunk on
Mar20 and was part of Milestone8 

jqian 
 NB Hula build seems to be picking up NetBeans IDE 6.0 Build 200703191900

If so, you are not picking up the fix for this issue.

rpoon
  What is NetBean 6.0 Enterprise Pack - Build 8? Same as NB Hula build?

Marking as incomplete and if this is because of using older NB6.0 build,
will mark as duplicate.
Comment 7 rpoon 2007-04-04 23:58:43 UTC
The problem was found with the Hula Build 8 (200703201103) Which was downloaded 
from:

   http://nephrite.russia.sun.com/nbi/daily-200703201103/

Comment 8 Nitya Doraisamy 2007-04-05 00:48:47 UTC
As indicated in my earlier comment, this was fixed in NB6.0 on Mar20. Please
upgrade to the latest build

*** This issue has been marked as a duplicate of 98416 ***
Comment 9 rpoon 2007-04-25 00:31:27 UTC
User is able to shutdown/stop the Sun App Server from NB IDE.

Verified fix with the following Build combination:
   
   Hula System Build

       http://bits.nbextras.org/netbeans/6.0/nightly/200704230000/installers/
           netbeans-6.0-nightly-200704230000-full-windows.exe

   Runtime SDK b13

       
http://javaweb.sfbay/java/re/javaeesdk/5.0_03/promoted/preview2/b13/bundles/
           java_app_platform_sdk-5_03-preview2-bin-b13-windows-21_apr_2007.exe