users@glassfish.java.net

Re: Glassfish 3.1 Service on MS Windows - How to Customize ...

From: <forums_at_java.net>
Date: Mon, 14 Nov 2011 16:30:15 -0600 (CST)

Fixed and source committed.  The fix will be in 3.1.2 and in 4.0

asadmin create-service --name "DAS_id" --serviceproperties *DISPLAY_NAME="My
Favorite App Server"*

D:\glassfish3\glassfish>sc query state= all | tail -10
SERVICE_NAME: DAS_id
DISPLAY_NAME: *My Favorite App Server*
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 1077 (0x435)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

 

See http://java.net/jira/browse/GLASSFISH-17724 for more details.

Thank you for pointing out the bug!


--
[Message sent by forum member 'bnevins']
View Post: http://forums.java.net/node/863373