users@glassfish.java.net

Glassfish debug option

From: <glassfish_at_javadesktop.org>
Date: Mon, 13 Apr 2009 12:28:04 PDT

Hello, people.
I have a problem with glassfish debug mode. I have Glassfish v2.1 installed and working very well, until I enable debug option in admin panel. After this, server doesnt works anymore. It says:

Starting Domain domain1, please wait.
Default Log location is D:\Program Files\glassfish-v2.1\glassfish\domains\domain1\logs\server.log.
java.io.IOException: Cannot run program "D:/Program Files/Java/jdk1.6.0_13/jre/..\bin\java" (in directory "D:\Program Files\glassfish-v2.1\glassfish\domains\domain1\config"): CreateProcess error=3, System cannot find specified path
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
        at com.sun.enterprise.admin.servermgmt.launch.ASLauncher.executeBackgroundCommand(ASLauncher.java:585)
        at com.sun.enterprise.admin.servermgmt.launch.ASLauncher.executeCommand(ASLauncher.java:480)
        at com.sun.enterprise.admin.servermgmt.launch.ASLauncher.process(ASLauncher.java:445)
        at com.sun.enterprise.admin.servermgmt.pe.PEInstancesManager.startInstanceAllJava(PEInstancesManager.java:287)
        at com.sun.enterprise.admin.servermgmt.pe.PEInstancesManager.startInstance(PEInstancesManager.java:162)
        at com.sun.enterprise.ee.admin.servermgmt.EEDomainsManager.startDomain(EEDomainsManager.java:476)
        at com.sun.enterprise.cli.commands.StartDomainCommand.startDomain(StartDomainCommand.java:148)
        at com.sun.enterprise.cli.commands.StartDomainCommand.runCommand(StartDomainCommand.java:215)
        at com.sun.enterprise.cli.framework.CLIMain.invokeCommand(CLIMain.java:171)
        at com.sun.enterprise.cli.framework.CLIMain.main(CLIMain.java:79)
Caused by: java.io.IOException: CreateProcess error=3, System cannot find specified path
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
        at java.lang.ProcessImpl.start(ProcessImpl.java:30)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
        ... 10 more
Timeout waiting for domain domain1 to go to starting state.
CLI156 Could not start the domain domain1.

I reinstalled glassfish twice, and all happens again when I enable debug. Please, help. I'm very need debug enabled.

P.S. I think there is some config file to change disable option to FALSE, but I can't find them. That's why I should reinstall glassfish twice :) If someone points me to this file - this will be great.
[Message sent by forum member 'kumade' (kumade)]

http://forums.java.net/jive/thread.jspa?messageID=341862