0

GlassFish 3.0.1 RHEL 6.3

When trying to start GlassFish I get the following JVM error:

JVM failed to start: com.sun.enterprise.admin.launcher.GFLauncherException: The server exited prematurely with exit code 0.
Before it died, it produced the following output:
Command start-domain failed.

I have plenty of free memory: 3689 MB

0

As stated in the error message, it's related to domains in glassfish.

  • No domains defined : glassfish won't start
  • Several domains : you need to set domain to use in startup script.
  • from the commmand line I am issuing the following as 'root' --- asadmin start-domain domain1 So I have one domain defined. – tale852150 Sep 18 '14 at 16:41
0

I had added a new http-listener which was on the same port as another http-listener. I removed the new http-listener from the GlassFish config file domain.xml and rebooted the server and everything came back up.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.