users@glassfish.java.net

Re: Glassfish not starting

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Sun, 06 Apr 2008 17:31:03 +0200

Check domain/domain1/log/server.log

--AlexisMP

On 6 avr. 08, at 16:52, glassfish_at_javadesktop.org wrote:

> hello everyone... i am making some WebServices for my thesis.
> Everything worked pretty well since two days ago when i had to set
> up a WebService who doesn't need any parameter to work. I read
> somewhere that it might cause problems and that i had to try to use
> the command line schemagen on my project to see what the problem
> was. So i uninstalled netbeans, glassfish and sun-java5 and
> reinstalled everything with sun-java6.
> Well... now i got the same deployment problems i had before and with
> schemagen couldn't find anything useful... can anyone help me, please?
> This is the error netbeans outputs me:
> Deployment error:
> The Sun Java System Application Server could not start.
> More information about the cause is in the Server log file.
> Possible reasons include:
> - IDE timeout: refresh the server node to see if it's running now.
> - Port conflicts. (use netstat -a to detect possible port numbers
> already used by the operating system.)
> - Incorrect server configuration (domain.xml to be corrected manually)
> - Corrupted Deployed Applications preventing the server to start.
> (This can be seen in the server.log file. In this case, domain.xml
> needs to be modified).
> - Invalid installation location.
> See the server log for details.
> at
> org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy
> (Deployment.java:163)
> at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:
> 104)
> at org.apache.tools.ant.UnknownElement.execute
> (UnknownElement.java:288)
> at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.tools.ant.dispatch.DispatchUtils.execute
> (DispatchUtils.java:105)
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at org.apache.tools.ant.Project.executeSortedTargets
> (Project.java:1329)
> at org.apache.tools.ant.Project.executeTarget(Project.java:
> 1298)
> at org.apache.tools.ant.helper.DefaultExecutor.executeTargets
> (DefaultExecutor.java:41)
> at org.apache.tools.ant.Project.executeTargets(Project.java:
> 1181)
> at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run
> (BridgeImpl.java:277)
> at org.apache.tools.ant.module.run.TargetExecutor.run
> (TargetExecutor.java:460)
> at org.netbeans.core.execution.RunClassThread.run
> (RunClassThread.java:151)
> Caused by:
> org.netbeans.modules.j2ee.deployment.impl.ServerException: The Sun
> Java System Application Server could not start.
> More information about the cause is in the Server log file.
> Possible reasons include:
> - IDE timeout: refresh the server node to see if it's running now.
> - Port conflicts. (use netstat -a to detect possible port numbers
> already used by the operating system.)
> - Incorrect server configuration (domain.xml to be corrected manually)
> - Corrupted Deployed Applications preventing the server to start.
> (This can be seen in the server.log file. In this case, domain.xml
> needs to be modified).
> - Invalid installation location.
> at
> org.netbeans.modules.j2ee.deployment.impl.ServerInstance._start
> (ServerInstance.java:1270)
> at
> org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget
> (ServerInstance.java:1224)
> at
> org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget
> (ServerInstance.java:1035)
> at
> org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start
> (ServerInstance.java:912)
> at
> org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets
> (TargetServer.java:417)
> at
> org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy
> (Deployment.java:140)
> ... 16 more
> BUILD FAILED (total time: 56 seconds)
>
> so i checked the server logs and there's nothing strange at my
> newbie eyes, i don't think i have any port conflicts since i changed
> the ones glassfish used for default...
> Really don't have any clue.
>
> Thanks a lot everyone..
> [Message sent by forum member 'joeysantiago' (joeysantiago)]
>
> http://forums.java.net/jive/thread.jspa?messageID=267885
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>