Activities

December 2013
M T W T F S S
« Nov   Jan »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Running Glassfish as Windows Service

I have a requirement to run J2EE server Glassfish on Windows er server which I need to start at windows booting time. So I’m searching for a way to run it as window service. So that I can start and stop it at any time. After had few searches,I found something complicated from Oracle site and find this command from a simple wordpress blog.

How do I install service

1. Download Glassfish zip file and go to the bin folder.
2. Execute the command “asadmin create-service”

See the following screen,

gf_service install

Once you able to execute the above command, you will see a new service name “domain1” listed among in Window startup service list.

See the screen attached below,

glassfish_window_service

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>