I'm creating a Glassfish service, but while I try to start, the following error appears:
The domain1 GlassFish Server on Local Computer started and then stopped. Some services stop automatically
Console:
NET HELPMSG 3534
My domain1Service.xml:
<service>
<id>Glassfish</id>
<name>domain1 GlassFish Server</name>
<description>GlassFish Server</description>
<executable>C:/glassfish-3.1.1/glassfish3/glassfish/bin/asadmin.bat</executable>
<logpath>C:\\glassfish-3.1.1\\glassfish3\\glassfish\\domains/domain1/bin</logpath>
<logmode>reset</logmode>
<depend>tcpip</depend>
<startargument>start-domain</startargument>
<startargument>--verbose</startargument>
<startargument>--domaindir</startargument>
<startargument>C:\\glassfish-3.1.1\\glassfish3\\glassfish\\domains</startargument>
<startargument>domain1</startargument>
<stopargument>stop-domain</stopargument>
<stopargument>--domaindir</stopargument>
<stopargument>C:\\glassfish-3.1.1\\glassfish3\\glassfish\\domains</stopargument>
<stopargument>domain1</stopargument>
</service>
I tried following this answer, but without success.
Aucun commentaire:
Enregistrer un commentaire