title: how to install glassfish server as a windows service
body: <p>I have installed glassfish on the C:\ drive in Windows, and created a new domain in the E:\, needless to say I do not use the default 'domain1' as my application domain. Now I need to create a windows service that will point my new application domain instead of the default domain. Running the <strong>asadmin create-service</strong> command creates a windows service based on the default glassfish domain (the one in the C:\ drive). What options do I need to pass to this command so that the windows service points to my new domain?</p>