java.io.FileNotFoundException: /opt/glassfish/glassfish-v2-1-1-b31g/domains/domain1/logs/server.log (Permission denied)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via blogspot.com by Unknown author, 1 year ago
/opt/glassfish/glassfish-v2-1-1-b31g/domains/domain1/logs/server.log (Permission denied)
via YouTrack by Unknown author, 1 year ago
via portals-jetspeed-user by 韩宜宗, 1 year ago
/jetspeed-digester.log (Permission denied)
via Coderanch by francis varkey, 1 year ago
/opt/test/logs/test01082008.log (Too many open files)
via Coderanch by Tim-Ting Chang, 11 months ago
C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.18\logs\localhost.2009-01-14.log (Access is denied)
via coderanch.com by Unknown author, 2 years ago
C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.18\logs\localhost.2009-01-14.log (Access is denied)
java.io.FileNotFoundException: /opt/glassfish/glassfish-v2-1-1-b31g/domains/domain1/logs/server.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:177)
at java.io.FileOutputStream.(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.(FileHandler.java:270)
at com.sun.enterprise.admin.servermgmt.launch.ASLauncher.addLogFileToLogger(ASLauncher.java:1668)
at com.sun.enterprise.admin.servermgmt.launch.ASLauncher.buildInternalCommand(ASLauncher.java:818)
at com.sun.enterprise.admin.servermgmt.launch.ASLauncher.buildCommand(ASLauncher.java:746)
at com.sun.enterprise.admin.servermgmt.launch.ASLauncher.process(ASLauncher.java:433)
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)

Users with the same issue

6 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.