atom feed6 messages in net.java.dev.glassfish.adminCannot keep service running
FromSent OnAttachments
Joseph ChenFeb 9, 2010 2:26 am 
Byron NevinsFeb 9, 2010 10:33 am 
Joseph ChenFeb 9, 2010 11:39 am 
Byron NevinsFeb 9, 2010 11:58 am 
Kohsuke KawaguchiFeb 9, 2010 12:08 pm 
Joseph ChenFeb 9, 2010 1:38 pm 
Subject:Cannot keep service running
From:Joseph Chen (4che@gmail.com)
Date:Feb 9, 2010 2:26:52 am
List:net.java.dev.glassfish.admin

I have two installations of GF3, both of them Windows Server 2003. I have them both installed with the default domain, domain1. I have created the service to run GF following these instructions:

http://blogs.sun.com/foo/entry/platform_services_available_in_v3

The service crashes on both systems very shortly after being started, both from the services console and from the command line. Here is the content of my domain1Service.err.log:

Command start-domain only accepts one operand Usage: asadmin [asadmin-utility-options] start-domain [--debug[=<debug(default:false)>]] [--domaindir <domaindir>] [-?|--help[=<help(default:false)>]] [--upgrade[=<upgrade(default:false)>]] [-v|--verbose[=<verbose(default:false)>]] [domain_name]

There is also a domain1Service.out.log file being created with the contents:

Command start-domain failed.

And a file domain1Service.wrapper.log:

2010-02-08 23:26:04 - Starting J:/Aux Program Files/glassfishv3/glassfish/bin/asadmin.bat start-domain --verbose --domaindir J:/Aux Program Files/glassfishv3/glassfish/domains domain1 2010-02-08 23:26:04 - Started 3288

On both systems, the output files are the same, albeit with different paths and processIDs in the wrapper.log file.

Please advise.