java.io.IOException: Couldn't get lock for C:\Program Files\glassfish\glassfish\ domains\domain1\logs\server.log

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 Stack Overflow by Arwel Wyn Williams
, 1 year ago
Couldn't get lock for C:\Program Files\glassfish\glassfish\ domains\domain1\logs\server.log
via Stack Overflow by user3752888
, 1 year ago
via Stack Overflow by Nabin Khadka
, 1 year ago
Couldn't get lock for /opt/glassfish4/glassfish/domains/domain1/logs/server.log
via codeguru.com by Unknown author, 1 year ago
Couldn't get lock for /ifs/data/import/nas/qa_ha/inbound.0/25/log/Imransonyadi720_1272910261.log
via codeguru.com by Unknown author, 2 years ago
Couldn't get lock for /ifs/data/import/nas/qa_ha/inbound.0/25/log/Imransonyadi720_1272910261.log
java.io.IOException: Couldn't get lock for C:\Program Files\glassfish\glassfish\ domains\domain1\logs\server.log
at java.util.logging.FileHandler.openFiles(Unknown Source)
at java.util.logging.FileHandler.(Unknown Source)
at com.sun.enterprise.admin.launcher.GFLauncherLogger.addLogFileHandler(GFLauncherLogger.java:100)
at com.sun.enterprise.admin.cli.StartDomainCommand.createLauncher(StartDomainCommand.java:209)
at com.sun.enterprise.admin.cli.StartDomainCommand.executeCommand(StartDomainCommand.java:107)
at com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:264)
at com.sun.enterprise.admin.cli.AsadminMain.executeCommand(AsadminMain.java:306)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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