users@glassfish.java.net

Re: Cannot start server on fresh installation

From: <glassfish_at_javadesktop.org>
Date: Fri, 14 Aug 2009 12:47:30 PDT

I performed a brand new installation again and this is the output:

C:\Users\russ.profant>asadmin
Use "exit" to exit and "help" for online help.
asadmin> start-domain
Starting Domain domain1, please wait.
Log redirected to C:\JavaCAPS6\appserver\domains\domain1\logs\server.log.
java.io.FileNotFoundException: C:\JavaCAPS6\appserver\domains\domain1\config\dom
ain-registry (Access is denied)
java.io.FileNotFoundException: C:\JavaCAPS6\appserver\domains\domain1\logs\serve
r.log (Access is denied)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at java.util.logging.FileHandler.open(FileHandler.java:156)
        at java.util.logging.FileHandler.openFiles(FileHandler.java:421)
        at java.util.logging.FileHandler.<init>(FileHandler.java:270)
        at com.sun.enterprise.admin.servermgmt.launch.ASLauncher.addLogFileToLog
ger(ASLauncher.java:1636)
        at com.sun.enterprise.admin.servermgmt.launch.ASLauncher.buildInternalCo
mmand(ASLauncher.java:786)
        at com.sun.enterprise.admin.servermgmt.launch.ASLauncher.buildCommand(AS
Launcher.java:714)
        at com.sun.enterprise.admin.servermgmt.launch.ASLauncher.process(ASLaunc
her.java:418)
        at com.sun.enterprise.admin.servermgmt.pe.PEInstancesManager.startInstan
ceAllJava(PEInstancesManager.java:283)
        at com.sun.enterprise.admin.servermgmt.pe.PEInstancesManager.startInstan
ce(PEInstancesManager.java:160)
        at com.sun.enterprise.ee.admin.servermgmt.EEDomainsManager.startDomain(E
EDomainsManager.java:471)
        at com.sun.enterprise.cli.commands.StartDomainCommand.startDomain(StartD
omainCommand.java:148)
        at com.sun.enterprise.cli.commands.StartDomainCommand.runCommand(StartDo
mainCommand.java:215)
        at com.sun.enterprise.cli.commands.MultiProcessCommand.processLine(Multi
ProcessCommand.java:333)
        at com.sun.enterprise.cli.commands.MultiProcessCommand.runCommand(MultiP
rocessCommand.java:119)
        at com.sun.enterprise.cli.framework.CLIMain.invokeCommand(CLIMain.java:1
71)
        at com.sun.enterprise.cli.framework.CLIMain.main(CLIMain.java:79)
java.io.FileNotFoundException: C:\JavaCAPS6\appserver\domains\domain1\logs\serve
r.log (Access is denied)Redirecting output to C:/JavaCAPS6/appserver/domains/dom
ain1/logs/server.log

        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at com.sun.enterprise.admin.servermgmt.launch.ASLauncher$StreamFlusher.r
un(ASLauncher.java:2975)
        at java.lang.Thread.run(Thread.java:619)
Warning: Cannot open log file: C:/JavaCAPS6/appserver/domains/domain1/logs/jvm.
log
Warning: Forcing option -XX:LogFile=C:\Users\RUSS~1.PRO\AppData\Local\Temp\\hs_
pid1884.log
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
Caused by: java.lang.RuntimeException: Serious Error Couldn't open Log Filejava.
io.FileNotFoundException: C:\JavaCAPS6\appserver\domains\domain1\logs\server.log
 (Access is denied)
        at com.sun.enterprise.server.logging.FileandSyslogHandler.publish(Filean
dSyslogHandler.java:491)
        at java.util.logging.Logger.log(Logger.java:458)
        at java.util.logging.Logger.doLog(Logger.java:480)
        at java.util.logging.Logger.log(Logger.java:524)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:354)
        ... 5 more

I am using Vista Enterprise
[Message sent by forum member 'ra_pro' (ra_pro)]

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