johndevs / gradle-vaadin-plugin

A Gradle plugin for building Vaadin applications
https://devsoap.com/tag/vaadin/
Apache License 2.0
120 stars 58 forks source link

Task :vaadinRun FAILED #516

Closed Krulvis closed 6 years ago

Krulvis commented 6 years ago

I get an error when running 'gradle vaadinRun': 'Server process terminated with exit code 1. See build/logs/payara.log for further details.'

payara.log: https://pastebin.com/ruw0z50k

[INFO] Listening for transport dt_socket at address: 8000 [ERROR] Jul 12, 2018 10:52:46 PM com.devsoap.plugin.PayaraServerRunner main [ERROR] INFO: Starting Payara web server... [ERROR] Jul 12, 2018 10:52:46 PM com.devsoap.plugin.PayaraServerRunner main [ERROR] INFO: Running on port 8080 [ERROR] Jul 12, 2018 10:52:46 PM com.devsoap.plugin.PayaraServerRunner main [ERROR] SEVERE: Failed to start Payara server [ERROR] org.glassfish.embeddable.GlassFishException: java.io.IOException: Access is denied [ERROR] at com.sun.enterprise.glassfish.bootstrap.StaticGlassFishRuntime.newGlassFish(StaticGlassFishRuntime.java:139) [ERROR] at com.devsoap.plugin.PayaraServerRunner.main(PayaraServerRunner.java:73) [ERROR] Caused by: java.io.IOException: Access is denied [ERROR] at java.io.WinNTFileSystem.createFileExclusively(Native Method) [ERROR] at java.io.File.createTempFile(File.java:2024) [ERROR] at com.sun.enterprise.glassfish.bootstrap.StaticGlassFishRuntime.createTempInstanceRoot(StaticGlassFishRuntime.java:214) [ERROR] at com.sun.enterprise.glassfish.bootstrap.StaticGlassFishRuntime.setEnv(StaticGlassFishRuntime.java:174) [ERROR] at com.sun.enterprise.glassfish.bootstrap.StaticGlassFishRuntime.newGlassFish(StaticGlassFishRuntime.java:106) [ERROR] ... 1 more [ERROR] [ERROR] Exception in thread "main" org.glassfish.embeddable.GlassFishException: java.io.IOException: Access is denied [ERROR] at com.sun.enterprise.glassfish.bootstrap.StaticGlassFishRuntime.newGlassFish(StaticGlassFishRuntime.java:139) [ERROR] at com.devsoap.plugin.PayaraServerRunner.main(PayaraServerRunner.java:73) [ERROR] Caused by: java.io.IOException: Access is denied [ERROR] at java.io.WinNTFileSystem.createFileExclusively(Native Method) [ERROR] at java.io.File.createTempFile(File.java:2024) [ERROR] at com.sun.enterprise.glassfish.bootstrap.StaticGlassFishRuntime.createTempInstanceRoot(StaticGlassFishRuntime.java:214) [ERROR] at com.sun.enterprise.glassfish.bootstrap.StaticGlassFishRuntime.setEnv(StaticGlassFishRuntime.java:174) [ERROR] at com.sun.enterprise.glassfish.bootstrap.StaticGlassFishRuntime.newGlassFish(StaticGlassFishRuntime.java:106) [ERROR] ... 1 more

Krulvis commented 6 years ago

I saw that this is a duplicate of closed issues: pointed to a new tmp directory and it was fine