title: Can not start GlassFish in IntelijIdea
body: <pre><code>My Log Detected server admin port: 4848
  Detected server http port: 8080
  java.nio.file.AccessDeniedException: C:\Program Files\glassfish4\glassfish\domains\domain1\logs\server.log.lck
  Attempting to start domain1.... Please look at the server log for more details.....
      at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
      at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
      at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
      at sun.nio.fs.WindowsFileSystemProvider.newFileChannel(Unknown Source)
      at java.nio.channels.FileChannel.open(Unknown Source)
      at java.nio.channels.FileChannel.open(Unknown Source)
      at java.util.logging.FileHandler.openFiles(Unknown Source)
      at java.util.logging.FileHandler.&lt;init&gt;(Unknown Source)
      at com.sun.enterprise.admin.launcher.GFLauncherLogger.addLogFileHandler(GFLauncherLogger.java:99)
      at com.sun.enterprise.admin.launcher.GFLauncher.setup(GFLauncher.java:192)
      at com.sun.enterprise.admin.servermgmt.cli.StartDomainCommand.createLauncher(StartDomainCommand.java:228)
      at com.sun.enterprise.admin.servermgmt.cli.StartDomainCommand.executeCommand(StartDomainCommand.java:124)
      at com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:322)
      at com.sun.enterprise.admin.cli.AdminMain.executeCommand(AdminMain.java:366)
      at com.sun.enterprise.admin.cli.AdminMain.doMain(AdminMain.java:300)
      at org.glassfish.admin.cli.AsadminMain.main(AsadminMain.java:56)
  </code></pre>