Eclipse Wildfly Server Runtime fails when using domain - eclipse

I just install the Jboss Tools into Eclipse Mars and tried using the Wildfly 10.0 Runtime. I've configured the runtime to use domain mode but when I try to start my app, I'm getting the error:
11:18:07,344 INFO [org.jboss.modules] (main) JBoss Modules version 1.5.0.Final
11:18:07,564 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
11:18:07,618 INFO [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 10.0.0.CR5 (WildFly Core 2.0.5.Final) starting
11:18:07,871 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration
at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:131)
at org.jboss.as.server.ServerService.boot(ServerService.java:356)
at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,1]
Message: Unexpected element '{urn:jboss:domain:4.0}domain'
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108)
at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123)
... 3 more
11:18:07,872 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
11:18:07,873 INFO [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested.
11:18:07,883 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0050: WildFly Full 10.0.0.CR5 (WildFly Core 2.0.5.Final) stopped in 6ms
I don't get this problem when I use standalone mode but I need domain mode to test my app. Does anyone know what the problem might be?

indeed, the 'launch configuration' built by the jBoss server runtime plug-in/tool is wrong for a Domain-mode start.
You can fix it as follows:
Create the server as usual and its associated runtime (in the Eclipse servers' view > right-click > new > server). When creating the runtime, pay attention to specify the 'server base directory' as "domain" (the default is "standalone") and then 'configuration file' as "domain.xml"
In the servers' view, right-click the just created jBoss server and do 'Open'. Under the category 'General Information' there is a link to 'Open Launch Configuration'
You need to adjust the launch configuration to match the actual launch made by the domain.bat / domain.sh. Of course, you'll need to adjust all paths below:
DO NOT forget to check OUT the option 'Always update arguments related to the runtime'
Program arguments:
-mp "C:/jBOSS/EAP70/modules" org.jboss.as.process-controller -jboss-home "C:\jBOSS\EAP70" -jvm "C:\java\JDK8U66\jre\bin\java" -mp "C:/jBOSS/EAP70/modules" -- "-Dorg.jboss.boot.log.file=C:/jBOSS/EAP70/domain/log/boot.log" "-Dlogging.configuration=file:/C:/jBOSS/EAP70/domain/configuration/logging.properties" -Xms64M -Xmx512M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -server -- -default-jvm "C:\java\JDK8U66\jre\bin\java"
VM arguments:
-Xms64M -Xmx512M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -server "-Dorg.jboss.boot.log.file=C:/jBOSS/EAP70/domain/log/boot.log" "-Dlogging.configuration=file:/C:/jBOSS/EAP70/domain/configuration/logging.properties" -cp "C:\jBOSS\EAP70\jboss-modules.jar" -Djboss.home.dir=C:/jBOSS/EAP70 -Djboss.bind.address.management=localhost
Working Directory: C:/jBOSS/EAP70/bin
Main class: org.jboss.modules.Main
Classpath: (bootstrap) JRE system Library + (user entries) jboss-modules.jar
If you are curious to understand where the trick is: In the long java command line, there is a separation around the main java class to launch, where "VM arguments" stand on the right of it, and "program arguments" on the left of it. You may capture the actual complete java command line that launches your server in domain mode with a tool like Microsoft sysinternals process-explorer on Windows, or the pargs shell command in LINUX, after you have started jBOSS with domain.bat or domain.sh.
But you will observe here that the java command takes a "-jar module.jar" argument whereas Eclipse launch requires a conventional "-cp module.jar main-class" argument form. the '-jar' argument is indeed a variant spec where the main class is specified by the manifest file inside the jar.
In my case, the (very long) command line was:
C:\jBOSS\EAP70\bin>"C:\Program Files\Java\jre1.8.0_66\bin\java" -Xms64M -Xmx512M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -server "-Dorg.jboss.boot.log.file=C:\jBOSS\EAP70\domain\log\process-controller.log" "-Dlogging.configuration=file:C:\jBOSS\EAP70\domain\configuration/logging.properties" -jar "C:\jBOSS\EAP70\jboss-modules.jar" -mp "C:\jBOSS\EAP70\modules" org.jboss.as.process-controller -jboss-home "C:\jBOSS\EAP70" -jvm "C:\Program Files\Java\jre1.8.0_66\bin\java" -mp "C:\jBOSS\EAP70\modules" -- "-Dorg.jboss.boot.log.file=C:\jBOSS\EAP70\domain\log\host-controller.log" "-Dlogging.configuration=file:C:\jBOSS\EAP70\domain\configuration/logging.properties" -Xms64M -Xmx512M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -server -- -default-jvm "C:\Program Files\Java\jre1.8.0_66\bin\java"
which breaks as follows:
JAVA_COMMAND>> "C:\Program Files\Java\jre1.8.0_66\bin\java"
VM_ARGS_____>> -Xms64M -Xmx512M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -server "-Dorg.jboss.boot.log.file=C:\jBOSS\EAP70\domain\log\process-controller.log" "-Dlogging.configuration=file:C:\jBOSS\EAP70\domain\configuration/logging.properties"
MAIN_CLASS__>> -jar "C:\jBOSS\EAP70\jboss-modules.jar" >>EQUIVALENT>> -cp "C:\jBOSS\EAP70\jboss-modules.jar" org.jboss.modules.Main
PROGRAM-ARGS>> -mp "C:\jBOSS\EAP70\modules" org.jboss.as.process-controller -jboss-home "C:\jBOSS\EAP70" -jvm "C:\Program Files\Java\jre1.8.0_66\bin\java" -mp "C:\jBOSS\EAP70\modules" -- "-Dorg.jboss.boot.log.file=C:\jBOSS\EAP70\domain\log\host-controller.log" "-Dlogging.configuration=file:C:\jBOSS\EAP70\domain\configuration/logging.properties" -Xms64M -Xmx512M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -server -- -default-jvm "C:\Program Files\Java\jre1.8.0_66\bin\java"
From the point you understand this quite surprising program argument section that replicates many of the JVM aguments, you can then map the pieces in Eclipse launch configuration. Do not forget that "-jar C:\jBOSS\EAP70\jboss-modules.jar" becomes "-cp C:\jBOSS\EAP70\jboss-modules.jar org.jboss.modules.Main" when the '-cp ...' is then the last piece of VM arguments, and "org.jboss.modules.Main" is the one class to define under the "Main" tab.

Related

Glassfish server start failed

I have created a project in netbeans ide, when I run the project a dialogue box comes with the title "information" and message "glassfish server start failed please check server admin user name and password properties also please check the server log file for other possible causes". I did not set any username or password for the glassfish server. When I open C:\Users\Robert Mdee\glassfish6\glassfish\domains\domain1\logs I find the server text document with the code
[2022-08-09T23:05:31.163+0300] [] [INFO] [NCLS-GFLAUNCHER-00005] [jakarta.enterprise.launcher] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1660075531163] [levelValue: 800] [[
JVM invocation command line:
C:\Program Files\Java\jdk-18.0.1.1\bin\java.exe
-cp
C:/Users/Robert Mdee/glassfish6/glassfish/modules/glassfish.jar
-XX:+UnlockDiagnosticVMOptions
-XX:NewRatio=2
-Xmx512m
-Xbootclasspath/a:C:\Users\Robert Mdee\glassfish6\glassfish/lib/grizzly-npn-api.jar
--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED
--add-opens=java.base/sun.net.www.protocol.jrt=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
-javaagent:C:/Users/Robert Mdee/glassfish6/glassfish/lib/monitor/flashlight-agent.jar
-Djava.awt.headless=true
-Djdk.corba.allowOutputStreamSubclass=true
-Djdk.tls.rejectClientInitiatedRenegotiation=true
-Djavax.xml.accessExternalSchema=all
-Djava.security.policy=C:\Users\Robert Mdee\glassfish6\glassfish\domains\domain1/config/server.policy
-Djava.security.auth.login.config=C:\Users\Robert Mdee\glassfish6\glassfish\domains\domain1/config/login.conf
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
-Djavax.net.ssl.keyStore=C:\Users\Robert Mdee\glassfish6\glassfish\domains\domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:\Users\Robert Mdee\glassfish6\glassfish\domains\domain1/config/cacerts.jks
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-DANTLR_USE_DIRECT_CLASS_LOADING=true
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall
-Dosgi.shell.telnet.port=6666
-Dosgi.shell.telnet.maxconn=1
-Dosgi.shell.telnet.ip=127.0.0.1
-Dgosh.args=--nointeractive
-Dfelix.fileinstall.dir=C:\Users\Robert Mdee\glassfish6\glassfish/modules/autostart/
-Dfelix.fileinstall.poll=5000
-Dfelix.fileinstall.log.level=2
-Dfelix.fileinstall.bundles.new.start=true
-Dfelix.fileinstall.bundles.startTransient=true
-Dfelix.fileinstall.disableConfigSave=false
-Dorg.glassfish.gmbal.no.multipleUpperBoundsException=true
-Dcom.ctc.wstx.returnNullForDefaultNamespace=true
-Dcom.sun.aas.instanceRoot=C:\Users\Robert Mdee\glassfish6\glassfish\domains\domain1
-Dcom.sun.aas.installRoot=C:\Users\Robert Mdee\glassfish6\glassfish
-Djava.library.path=C:/Users/Robert Mdee/glassfish6/glassfish/lib;C:/Program Files/Java/jdk-18.0.1.1/bin;C:/Windows/Sun/Java/bin;C:/Windows/System32;C:/Windows;C:/Program Files/Java/jdk-17/bin;C:/Program Files/Java/jdk-16.0.2/bin;C:/Program Files/Common Files/Oracle/Java/javapath;C:/Windows/System32/wbem;C:/Windows/System32/WindowsPowerShell/v1.0;C:/Windows/System32/OpenSSH;C:/Program Files/MiKTeX 2.9/miktex/bin/x64;C:/Program Files/MySQL/MySQL Shell 8.0/bin;C:/Users/Robert Mdee/AppData/Local/Microsoft/WindowsApps;C:/Users/Robert Mdee/glassfish6/glassfish/bin
com.sun.enterprise.glassfish.bootstrap.ASMain
-upgrade
false
-domaindir
C:/Users/Robert Mdee/glassfish6/glassfish/domains/domain1
-read-stdin
true
-asadmin-args
--host,,,localhost,,,--port,,,4848,,,--secure=false,,,--terse=false,,,--echo=false,,,--interactive=true,,,start-domain,,,--verbose=false,,,--watchdog=false,,,--debug=false,,,--domaindir,,,C:\Users\Robert Mdee\glassfish6\glassfish\domains,,,domain1
-domainname
domain1
-instancename
server
-type
DAS
-verbose
false
-asadmin-classpath
C:/Users/Robert Mdee/glassfish6/glassfish/lib/client/appserver-cli.jar
-debug
false
-asadmin-classname
com.sun.enterprise.admin.cli.AdminMain]]
[2022-08-09T23:15:49.174+0300] [] [INFO] [NCLS-GFLAUNCHER-00005] [jakarta.enterprise.launcher] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1660076149174] [levelValue: 800] [[
JVM invocation command line:
C:\Program Files\Java\jdk-18.0.1.1\bin\java.exe
-cp
C:/Users/Robert Mdee/glassfish6/glassfish/modules/glassfish.jar
-XX:+UnlockDiagnosticVMOptions
-XX:NewRatio=2
-Xmx512m
-Xbootclasspath/a:C:\Users\Robert Mdee\glassfish6\glassfish/lib/grizzly-npn-api.jar
--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED
--add-opens=java.base/sun.net.www.protocol.jrt=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
-javaagent:C:/Users/Robert Mdee/glassfish6/glassfish/lib/monitor/flashlight-agent.jar
-Djava.awt.headless=true
-Djdk.corba.allowOutputStreamSubclass=true
-Djdk.tls.rejectClientInitiatedRenegotiation=true
-Djavax.xml.accessExternalSchema=all
-Djava.security.policy=C:\Users\Robert Mdee\glassfish6\glassfish\domains\domain1/config/server.policy
-Djava.security.auth.login.config=C:\Users\Robert Mdee\glassfish6\glassfish\domains\domain1/config/login.conf
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
-Djavax.net.ssl.keyStore=C:\Users\Robert Mdee\glassfish6\glassfish\domains\domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:\Users\Robert Mdee\glassfish6\glassfish\domains\domain1/config/cacerts.jks
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-DANTLR_USE_DIRECT_CLASS_LOADING=true
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall
-Dosgi.shell.telnet.port=6666
-Dosgi.shell.telnet.maxconn=1
-Dosgi.shell.telnet.ip=127.0.0.1
-Dgosh.args=--nointeractive
-Dfelix.fileinstall.dir=C:\Users\Robert Mdee\glassfish6\glassfish/modules/autostart/
-Dfelix.fileinstall.poll=5000
-Dfelix.fileinstall.log.level=2
-Dfelix.fileinstall.bundles.new.start=true
-Dfelix.fileinstall.bundles.startTransient=true
-Dfelix.fileinstall.disableConfigSave=false
-Dorg.glassfish.gmbal.no.multipleUpperBoundsException=true
-Dcom.ctc.wstx.returnNullForDefaultNamespace=true
-Dcom.sun.aas.instanceRoot=C:\Users\Robert Mdee\glassfish6\glassfish\domains\domain1
-Dcom.sun.aas.installRoot=C:\Users\Robert Mdee\glassfish6\glassfish
-Djava.library.path=C:/Users/Robert Mdee/glassfish6/glassfish/lib;C:/Program Files/Java/jdk-18.0.1.1/bin;C:/Windows/Sun/Java/bin;C:/Windows/System32;C:/Windows;C:/Program Files/Java/jdk-17/bin;C:/Program Files/Java/jdk-16.0.2/bin;C:/Program Files/Common Files/Oracle/Java/javapath;C:/Windows/System32/wbem;C:/Windows/System32/WindowsPowerShell/v1.0;C:/Windows/System32/OpenSSH;C:/Program Files/MiKTeX 2.9/miktex/bin/x64;C:/Program Files/MySQL/MySQL Shell 8.0/bin;C:/Users/Robert Mdee/AppData/Local/Microsoft/WindowsApps;C:/Users/Robert Mdee/glassfish6/bin
com.sun.enterprise.glassfish.bootstrap.ASMain
-upgrade
false
-domaindir
C:/Users/Robert Mdee/glassfish6/glassfish/domains/domain1
-read-stdin
true
-asadmin-args
--host,,,localhost,,,--port,,,4848,,,--secure=false,,,--terse=false,,,--echo=false,,,--interactive=true,,,start-domain,,,--verbose=false,,,--watchdog=false,,,--debug=false,,,--domaindir,,,C:\Users\Robert Mdee\glassfish6\glassfish\domains,,,domain1
-domainname
domain1
-instancename
server
-type
DAS
-verbose
false
-asadmin-classpath
C:/Users/Robert Mdee/glassfish6/glassfish/lib/client/appserver-cli.jar
-debug
false
-asadmin-classname
com.sun.enterprise.admin.cli.AdminMain]]
[2022-08-09T23:18:16.179+0300] [] [INFO] [NCLS-GFLAUNCHER-00005] [jakarta.enterprise.launcher] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1660076296179] [levelValue: 800] [[
JVM invocation command line:
C:\Program Files\Java\jdk-18.0.1.1\bin\java.exe
-cp
C:/Users/Robert Mdee/glassfish6/glassfish/modules/glassfish.jar
-XX:+UnlockDiagnosticVMOptions
-XX:NewRatio=2
-Xmx512m
-Xbootclasspath/a:C:\Users\Robert Mdee\glassfish6\glassfish/lib/grizzly-npn-api.jar
--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED
--add-opens=java.base/sun.net.www.protocol.jrt=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
-javaagent:C:/Users/Robert Mdee/glassfish6/glassfish/lib/monitor/flashlight-agent.jar
-Djava.awt.headless=true
-Djdk.corba.allowOutputStreamSubclass=true
-Djdk.tls.rejectClientInitiatedRenegotiation=true
-Djavax.xml.accessExternalSchema=all
-Djava.security.policy=C:\Users\Robert Mdee\glassfish6\glassfish\domains\domain1/config/server.policy
-Djava.security.auth.login.config=C:\Users\Robert Mdee\glassfish6\glassfish\domains\domain1/config/login.conf
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
-Djavax.net.ssl.keyStore=C:\Users\Robert Mdee\glassfish6\glassfish\domains\domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:\Users\Robert Mdee\glassfish6\glassfish\domains\domain1/config/cacerts.jks
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-DANTLR_USE_DIRECT_CLASS_LOADING=true
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall
-Dosgi.shell.telnet.port=6666
-Dosgi.shell.telnet.maxconn=1
-Dosgi.shell.telnet.ip=127.0.0.1
-Dgosh.args=--nointeractive
-Dfelix.fileinstall.dir=C:\Users\Robert Mdee\glassfish6\glassfish/modules/autostart/
-Dfelix.fileinstall.poll=5000
-Dfelix.fileinstall.log.level=2
-Dfelix.fileinstall.bundles.new.start=true
-Dfelix.fileinstall.bundles.startTransient=true
-Dfelix.fileinstall.disableConfigSave=false
-Dorg.glassfish.gmbal.no.multipleUpperBoundsException=true
-Dcom.ctc.wstx.returnNullForDefaultNamespace=true
-Dcom.sun.aas.instanceRoot=C:\Users\Robert Mdee\glassfish6\glassfish\domains\domain1
-Dcom.sun.aas.installRoot=C:\Users\Robert Mdee\glassfish6\glassfish
-Djava.library.path=C:/Users/Robert Mdee/glassfish6/glassfish/lib;C:/Program Files/Java/jdk-18.0.1.1/bin;C:/Windows/Sun/Java/bin;C:/Windows/System32;C:/Windows;C:/Program Files/Java/jdk-17/bin;C:/Program Files/Java/jdk-16.0.2/bin;C:/Program Files/Common Files/Oracle/Java/javapath;C:/Windows/System32/wbem;C:/Windows/System32/WindowsPowerShell/v1.0;C:/Windows/System32/OpenSSH;C:/Program Files/MiKTeX 2.9/miktex/bin/x64;C:/Program Files/MySQL/MySQL Shell 8.0/bin;C:/Users/Robert Mdee/AppData/Local/Microsoft/WindowsApps;C:/Users/Robert Mdee/glassfish6/bin
com.sun.enterprise.glassfish.bootstrap.ASMain
-upgrade
false
-domaindir
C:/Users/Robert Mdee/glassfish6/glassfish/domains/domain1
-read-stdin
true
-asadmin-args
--host,,,localhost,,,--port,,,4848,,,--secure=false,,,--terse=false,,,--echo=false,,,--interactive=true,,,start-domain,,,--verbose=false,,,--watchdog=false,,,--debug=false,,,--domaindir,,,C:\Users\Robert Mdee\glassfish6\glassfish\domains,,,domain1
-domainname
domain1
-instancename
server
-type
DAS
-verbose
false
-asadmin-classpath
C:/Users/Robert Mdee/glassfish6/glassfish/lib/client/appserver-cli.jar
-debug
false
-asadmin-classname
com.sun.enterprise.admin.cli.AdminMain]]
What can I do to correct this error so the project can sucesfully run and open the browser.
You don't specify your precise version of Glassfish, but based on the directory path "...\glassfish6\glassfish..." in your log I'm assuming that you are running some implementation of GlassFish 6.
If so, these are the supported Java releases for Eclipse GlassFish 6.x:
GlassFish 6 requires JDK 8.
GlassFish 6.1 supports JDK 11
GlassFish 6.2.1 supports JDK 17
GlassFish 6.2.2 supports JDK 17
GlassFish 6.2.3 supports JDK 17
GlassFish 6.2.4 supports JDK 18
GlassFish 6.2.5 supports JDK 18
See the Eclipse GlassFish Downloads page for more details.
You also don't specify your version of NetBeans, but since you are running Java 18, your only valid options are NetBeans 13 or NetBeans 14.
To summarize, since the log shows that you are using JDK 18:
You must use GlassFish 6.2.4 or GlassFish 6.2.5.
You must use NetBeans 13 or NetBeans 14.
Note that the version of Java being used by NetBeans, as shown in the Help > About screen, will also be used to run GlassFish when started within NetBeans.
As a possibly related matter, I see that your java.library.path value includes entries for several JDK releases. You probably want to clean that up.

ActiveMQ Artemis stopping automatically. localhost is not loading

I have installed ActiveMQ Artemis on my office laptop. I created a broker, and from the broker's bin folder I ran artemis-exe install.
Then after that I ran the start command. It shows it has started but, when I check status it shows stopped. I cannot access localhost:8161. Here is my log file:
2020-09-07 12:30:45,458 DEBUG - Starting WinSW in the CLI mode
2020-09-07 12:30:46,033 INFO - Starting the service with id 'artemis-btBroker-0.0.0.0'
2020-09-07 12:30:46,737 DEBUG - Starting WinSW in the service mode
2020-09-07 12:30:46,837 DEBUG - Completed. Exit code is 0
2020-09-07 12:30:46,881 INFO - Starting %JAVA_HOME%\bin\java.exe -Xbootclasspath/a:C:\Users\613379463\Downloads\apache-artemis-2.15.0-bin\apache-artemis-2.15.0\lib\jboss-logmanager-2.1.10.Final.jar;C:\Users\613379463\Downloads\apache-artemis-2.15.0-bin\apache-artemis-2.15.0\lib\wildfly-common-1.5.2.Final.jar -XX:+UseParallelGC -Xms512M -Xmx1024M -classpath C:\Users\613379463\Downloads\apache-artemis-2.15.0-bin\apache-artemis-2.15.0\lib\artemis-boot.jar -Dartemis.home=C:\Users\613379463\Downloads\apache-artemis-2.15.0-bin\apache-artemis-2.15.0 -Dartemis.instance=C:\Users\613379463\Downloads\apache-artemis-2.15.0-bin\apache-artemis-2.15.0\bin\btBroker -Ddata.dir=C:\Users\613379463\Downloads\apache-artemis-2.15.0-bin\apache-artemis-2.15.0\bin\btBroker\data -Dartemis.instance.etc=C:\Users\613379463\Downloads\apache-artemis-2.15.0-bin\apache-artemis-2.15.0\bin\btBroker\etc -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Dlogging.configuration=file:/C:/Users/613379463/Downloads/apache-artemis-2.15.0-bin/apache-artemis-2.15.0/bin/btBroker/etc//logging.properties -Djava.security.auth.login.config=C:\Users\613379463\Downloads\apache-artemis-2.15.0-bin\apache-artemis-2.15.0\bin\btBroker\etc\login.config -Dhawtio.realm=activemq -Dhawtio.offline="true" -Dhawtio.role=amq -Dhawtio.rolePrincipalClasses=org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal -Djolokia.policyLocation=file:/C:/Users/613379463/Downloads/apache-artemis-2.15.0-bin/apache-artemis-2.15.0/bin/btBroker/etc//jolokia-access.xml org.apache.activemq.artemis.boot.Artemis run
2020-09-07 12:30:47,081 DEBUG - Completed. Exit code is 0
The Artemis ActiveMQ service is known to start and immediately stop (without any errors shown on command line) if %JAVA_HOME% is not set, as Apurv Adarsh's comment mentions.
The solution is to set the env var and then run the service as normal, as follows:
(1) Set JAVA_HOME
Verify %JAVA_HOME% system environment variable exists:
echo $Env:JAVA_HOME # from PowerShell
echo %JAVA_HOME% # from cmd
# e.g. 'C:\Program Files\Java\jdk-10.0.2\'
# or blank if not set.
if not, find java.exe (download/install, if necessary):
> where.exe java.exe # from PowerShell
> where java.exe # from cmd
# C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe
# C:\Program Files\Java\jdk-10.0.2\bin\java.exe
Set JAVA_HOME env var, I'll choose the jdk-10.0.2 version. /M will set as system variable, instead of user var. btw, no need to include '/bin/java.exe'
> setx /M JAVA_HOME "C:\Program Files\Java\"
SUCCESS: Specified value was saved.
(Restart the prompt to load the newly set env variable.)
(2) Install & Start Artemis Windows Service
cd into Artemis ActiveMQ root directory. Let my_broker be the name of the broker instance already created.
Ensure service is installed, then start:
> "my_broker/bin/artemis-service" install
...
> "my_broker/bin/artemis-service" start
2021-01-01 12:00:00,000 INFO - Starting the service with id 'artemis-my_broker-0.0.0.0'
(3) Check Running Status:
Verify service status is running:
> "my_broker/bin/artemis-service" status
Started

Eclipse Vaadin Widgetset compile heap size problem

While compiling vaadin widgetset on my eclipse, i get this error.
i see some posts that say we can change heap space size in vaadin plugin but there is no settings like this on my eclipse. (My plugin settings)(Related Post)
while compiling widgetset, vaadin plugin runs a command and it sets -Xss8M and -Xmx512M.
Is there any way to change this settings?
Error:
Executing compiler with command line:
C:\Program Files\Java\jre1.8.0_161\bin\java.exe -Djava.awt.headless=true -Xss8M -Xmx512M -classpath C:\Program Files\Java\jre1.8.0_161\lib\resources.jar;C:\Program Files\Java\jre1.8.0_161\lib\rt.jar;C:\Program Files\Java\jre1.8.0_161\lib\jsse.jar;C:\Program Files\Java\jre1.8.0_161\lib\jce.jar;C:\Program Files\Java\jre1.8.0_161\lib\charsets.jar;C:\Program Files\Java\jre1.8.0_161\lib\jfr.jar;C:\Program Files\Java\jre1.8.0_161\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jre1.8.0_161\lib\ext\cldrdata.jar;C:\Program Files\Java\jre1.8.0_161\lib\ext\dnsns.jar;C:\Program Files\Java\jre1.8.0_161\lib\ext\jaccess.jar;C:\Program Files\Java\jre1.8.0_161\lib\ext\jfxrt.jar;C:\Program Files\Java\jre1.8.0_161\lib\ext\localedata.jar;C:\Program Files\Java\jre1.8.0_161\lib\ext\nashorn.jar;C:\Program Files\Java\jre1.8.0_161\lib\ext\sunec.jar;C:\Program Files\Java\jre1.8.0_161\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jre1.8.0_161\lib\ext\sunmscapi.jar;C:\Program Files\Java\jre1.8.0_161\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jre1.8.0_161\lib\ext\zipfs.jar;D:/Projects/jguar_GIT_Set/jvhr/LbsVPCorporatePortal/src;D:/Projects/jguar_GIT_Set/jvhr/LbsVPCorporatePortal/build/classes;C:/Users/bekir.mavus/.ivy2/cache/com.vaadin/vaadin-server/jars/vaadin-server-8.4.3.jar;C:/Users/bekir.mavus/.ivy2/cache/com.vaadin/vaadin-sass-compiler/jars/vaadin-sass-compiler-0.9.13.jar;C:/Users/bekir.mavus/.ivy2/cache/org.w3c.css/sac/jars/sac-1.3.jar;C:/Users/bekir.mavus/.ivy2/cache/com.vaadin.external.flute/flute/jars/flute-1.3.0.gg2.jar;C:/Users/bekir.mavus/.ivy2/cache/com.vaadin/vaadin-shared/jars/vaadin-shared-8.4.3.jar;C:/Users/bekir.mavus/.ivy2/cache/org.jsoup/jsoup/jars/jsoup-1.11.2.jar;C:/Users/bekir.mavus/.ivy2/cache/com.vaadin.external/gentyref/jars/gentyref-1.2.0.vaadin1.jar;C:/Users/bekir.mavus/.ivy2/cache/com.vaadin/vaadin-themes/jars/vaadin-themes-8.4.3.jar;C:/Users/bekir.mavus/.ivy2/cache/com.github.appreciated/material/jars/material-1.1.7.jar;C:/Users/bekir.mavus/.ivy2/cache/org.vaadin.addons/fontawesomelabel/jars/fontawesomelabel-1.4.0.jar;C:/Users/bekir.mavus/.ivy2/cache/org.vaadin.addons/popupbutton/jars/popupbutton-3.0.0.jar;C:/Users/bekir.mavus/.ivy2/cache/org.vaadin.blackbluegl/calendar-component/jars/calendar-component-2.0-BETA4.jar;C:/Users/bekir.mavus/.ivy2/cache/com.vaadin.addon/tableexport-for-vaadin/jars/tableexport-for-vaadin-1.8.0.jar;C:/Users/bekir.mavus/.ivy2/cache/com.github.appreciated/app-layout-addon/jars/app-layout-addon-0.9.20.jar;C:/Users/bekir.mavus/.ivy2/cache/org.ocpsoft.prettytime/prettytime/bundles/prettytime-4.0.1.Final.jar;C:/Users/bekir.mavus/.ivy2/cache/com.lbs.vaadin.addons/lbs-vaadin-datetimerangepicker/jars/lbs-vaadin-datetimerangepicker-1.0.0.jar;C:/Users/bekir.mavus/.ivy2/cache/org.tltv.gantt/gantt-addon/jars/gantt-addon-1.0.3.jar;C:/Users/bekir.mavus/.ivy2/cache/com.vaadin/vaadin-client-compiled/jars/vaadin-client-compiled-8.4.3.jar;C:/Users/bekir.mavus/.ivy2/cache/com.google.guava/guava/bundles/guava-18.0.jar;C:/Users/bekir.mavus/.ivy2/cache/com.wcs.wcslib/wcslib-vaadin-widget-recaptcha/jars/wcslib-vaadin-widget-recaptcha-2.0.3.jar;C:/Users/bekir.mavus/.ivy2/cache/com.jarektoro/responsive-layout/bundles/responsive-layout-2.1.jar;C:/Users/bekir.mavus/.ivy2/cache/org.vaadin.addons/inputmask/jars/inputmask-1.0.2.jar;C:/Users/bekir.mavus/.ivy2/cache/com.vaadin/vaadin-client/jars/vaadin-client-8.4.3.jar;C:/Users/bekir.mavus/.ivy2/cache/com.google.gwt/gwt-elemental/jars/gwt-elemental-2.8.2.jar;C:/Users/bekir.mavus/.ivy2/cache/com.google.gwt/gwt-user/jars/gwt-user-2.8.2.jar;C:/Users/bekir.mavus/.ivy2/cache/com.google.jsinterop/jsinterop-annotations/jars/jsinterop-annotations-1.0.2-sources.jar;C:/Users/bekir.mavus/.ivy2/cache/com.vaadin/vaadin-client-compiler/jars/vaadin-client-compiler-8.4.3.jar;C:/Users/bekir.mavus/.ivy2/cache/com.google.gwt/gwt-dev/jars/gwt-dev-2.8.2.jar;C:/Users/bekir.mavus/.ivy2/cache/com.google.code.findbugs/jsr305/jars/jsr305-1.3.9.jar;C:/Users/bekir.mavus/.ivy2/cache/com.google.code.gson/gson/jars/gson-2.6.2.jar;C:/Users/bekir.mavus/.ivy2/cache/org.ow2.asm/asm/jars/asm-5.0.3.jar;C:/Users/bekir.mavus/.ivy2/cache/org.ow2.asm/asm-util/jars/asm-util-5.0.3.jar;C:/Users/bekir.mavus/.ivy2/cache/org.ow2.asm/asm-tree/jars/asm-tree-5.0.3.jar;C:/Users/bekir.mavus/.ivy2/cache/org.ow2.asm/asm-commons/jars/asm-commons-5.0.3.jar;C:/Users/bekir.mavus/.ivy2/cache/colt/colt/jars/colt-1.2.0.jar;C:/Users/bekir.mavus/.ivy2/cache/ant/ant/jars/ant-1.6.5.jar;C:/Users/bekir.mavus/.ivy2/cache/commons-collections/commons-collections/jars/commons-collections-3.2.2.jar;C:/Users/bekir.mavus/.ivy2/cache/commons-io/commons-io/jars/commons-io-2.4.jar;C:/Users/bekir.mavus/.ivy2/cache/com.ibm.icu/icu4j/jars/icu4j-50.1.1.jar;C:/Users/bekir.mavus/.ivy2/cache/tapestry/tapestry/jars/tapestry-4.0.2.jar;C:/Users/bekir.mavus/.ivy2/cache/net.sourceforge.htmlunit/htmlunit/jars/htmlunit-2.19.jar;C:/Users/bekir.mavus/.ivy2/cache/xalan/xalan/jars/xalan-2.7.2.jar;C:/Users/bekir.mavus/.ivy2/cache/xalan/serializer/jars/serializer-2.7.2.jar;C:/Users/bekir.mavus/.ivy2/cache/org.apache.commons/commons-lang3/jars/commons-lang3-3.4.jar;C:/Users/bekir.mavus/.ivy2/cache/org.apache.httpcomponents/httpclient/jars/httpclient-4.5.1.jar;C:/Users/bekir.mavus/.ivy2/cache/org.apache.httpcomponents/httpcore/jars/httpcore-4.4.3.jar;C:/Users/bekir.mavus/.ivy2/cache/commons-logging/commons-logging/jars/commons-logging-1.2.jar;C:/Users/bekir.mavus/.ivy2/cache/commons-codec/commons-codec/jars/commons-codec-1.5.jar;C:/Users/bekir.mavus/.ivy2/cache/org.apache.httpcomponents/httpmime/jars/httpmime-4.5.1.jar;C:/Users/bekir.mavus/.ivy2/cache/net.sourceforge.htmlunit/htmlunit-core-js/jars/htmlunit-core-js-2.17.jar;C:/Users/bekir.mavus/.ivy2/cache/xerces/xercesImpl/jars/xercesImpl-2.11.0.jar;C:/Users/bekir.mavus/.ivy2/cache/xml-apis/xml-apis/jars/xml-apis-1.4.01.jar;C:/Users/bekir.mavus/.ivy2/cache/net.sourceforge.nekohtml/nekohtml/jars/nekohtml-1.9.22.jar;C:/Users/bekir.mavus/.ivy2/cache/net.sourceforge.cssparser/cssparser/jars/cssparser-0.9.18.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty.websocket/websocket-client/jars/websocket-client-9.2.13.v20150730.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty/jetty-util/jars/jetty-util-9.2.9.v20150224.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty/jetty-io/jars/jetty-io-9.2.14.v20151106.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty.websocket/websocket-common/jars/websocket-common-9.2.14.v20151106.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty.websocket/websocket-api/jars/websocket-api-9.2.14.v20151106.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty/jetty-webapp/jars/jetty-webapp-9.2.9.v20150224.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty/jetty-xml/jars/jetty-xml-9.2.14.v20151106.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty/jetty-servlet/jars/jetty-servlet-9.2.14.v20151106.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty/jetty-security/jars/jetty-security-9.2.14.v20151106.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty/jetty-server/jars/jetty-server-9.2.9.v20150224.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty/jetty-http/jars/jetty-http-9.2.14.v20151106.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty/jetty-servlets/jars/jetty-servlets-9.2.9.v20150224.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty/jetty-continuation/jars/jetty-continuation-9.2.14.v20151106.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty/jetty-annotations/jars/jetty-annotations-9.2.14.v20151106.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty/jetty-plus/jars/jetty-plus-9.2.14.v20151106.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty/jetty-jndi/jars/jetty-jndi-9.2.14.v20151106.jar;C:/Users/bekir.mavus/.ivy2/cache/javax.annotation/javax.annotation-api/jars/javax.annotation-api-1.2.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty/apache-jsp/jars/apache-jsp-9.2.14.v20151106.jar;C:/Users/bekir.mavus/.ivy2/cache/org.eclipse.jetty.toolchain/jetty-schemas/jars/jetty-schemas-3.1.M0.jar;C:/Users/bekir.mavus/.ivy2/cache/org.mortbay.jasper/apache-jsp/jars/apache-jsp-8.0.9.M3.jar;C:/Users/bekir.mavus/.ivy2/cache/org.mortbay.jasper/apache-el/jars/apache-el-8.0.9.M3.jar;D:/Projects/jguar_GIT_Set/jvhr/LbsVPCorporatePortal/WebContent/WEB-INF/lib/LbsApplicationInfo.jar;C:/Program Files/Java/jre1.8.0_161/lib/resources.jar;C:/Program Files/Java/jre1.8.0_161/lib/rt.jar;C:/Program Files/Java/jre1.8.0_161/lib/jsse.jar;C:/Program Files/Java/jre1.8.0_161/lib/jce.jar;C:/Program Files/Java/jre1.8.0_161/lib/charsets.jar;C:/Program Files/Java/jre1.8.0_161/lib/jfr.jar;C:/Program Files/Java/jre1.8.0_161/lib/ext/access-bridge-64.jar;C:/Program Files/Java/jre1.8.0_161/lib/ext/cldrdata.jar;C:/Program Files/Java/jre1.8.0_161/lib/ext/dnsns.jar;C:/Program Files/Java/jre1.8.0_161/lib/ext/jaccess.jar;C:/Program Files/Java/jre1.8.0_161/lib/ext/jfxrt.jar;C:/Program Files/Java/jre1.8.0_161/lib/ext/localedata.jar;C:/Program Files/Java/jre1.8.0_161/lib/ext/nashorn.jar;C:/Program Files/Java/jre1.8.0_161/lib/ext/sunec.jar;C:/Program Files/Java/jre1.8.0_161/lib/ext/sunjce_provider.jar;C:/Program Files/Java/jre1.8.0_161/lib/ext/sunmscapi.jar;C:/Program Files/Java/jre1.8.0_161/lib/ext/sunpkcs11.jar;C:/Program Files/Java/jre1.8.0_161/lib/ext/zipfs.jar -Dgwt.persistentunitcachedir=C:\Users\BEKIR~1.MAV\AppData\Local\Temp\widgetset_com.lbs.corporate.widgetset.LbsVPCorporatePortalWidgetset29dd9ad9-ed25-4c1a-bc70-9941f577cf8f com.vaadin.tools.WidgetsetCompiler -war WebContent/VAADIN/widgetsets -deploy C:\Users\BEKIR~1.MAV\AppData\Local\Temp\widgetset_com.lbs.corporate.widgetset.LbsVPCorporatePortalWidgetset29dd9ad9-ed25-4c1a-bc70-9941f577cf8f -extra C:\Users\BEKIR~1.MAV\AppData\Local\Temp\widgetset_com.lbs.corporate.widgetset.LbsVPCorporatePortalWidgetset29dd9ad9-ed25-4c1a-bc70-9941f577cf8f -localWorkers 8 -logLevel INFO com.lbs.corporate.widgetset.LbsVPCorporatePortalWidgetset
Updating GWT module description file...
Widgetsets found from classpath:
org.vaadin.hene.popupbutton.widgetset.PopupbuttonWidgetset in jar:file:C:/Users/bekir.mavus/.ivy2/cache/org.vaadin.addons/popupbutton/jars/popupbutton-3.0.0.jar!/
com.lbs.vaadin.addons.datetimerangepicker.WidgetSet in jar:file:C:/Users/bekir.mavus/.ivy2/cache/com.lbs.vaadin.addons/lbs-vaadin-datetimerangepicker/jars/lbs-vaadin-datetimerangepicker-1.0.0.jar!/
org.vaadin.inputmask.WidgetSet in jar:file:C:/Users/bekir.mavus/.ivy2/cache/org.vaadin.addons/inputmask/jars/inputmask-1.0.2.jar!/
org.vaadin.addon.calendar.WidgetSet in jar:file:C:/Users/bekir.mavus/.ivy2/cache/org.vaadin.blackbluegl/calendar-component/jars/calendar-component-2.0-BETA4.jar!/
com.lbs.corporate.widgetset.LbsVPCorporatePortalWidgetset in file:/D:/Projects/jguar_GIT_Set/jvhr/LbsVPCorporatePortal/src
org.tltv.gantt.WidgetSet in jar:file:C:/Users/bekir.mavus/.ivy2/cache/org.tltv.gantt/gantt-addon/jars/gantt-addon-1.0.3.jar!/
com.vaadin.DefaultWidgetSet in jar:file:C:/Users/bekir.mavus/.ivy2/cache/com.vaadin/vaadin-client/jars/vaadin-client-8.4.3.jar!/
Addon styles found from classpath:
VAADIN/addons/font-awesome-label/font-awesome.scss in jar:file:C:/Users/bekir.mavus/.ivy2/cache/org.vaadin.addons/fontawesomelabel/jars/fontawesomelabel-1.4.0.jar!/
VAADIN/addons/calendar/calendar-addon.scss in jar:file:C:/Users/bekir.mavus/.ivy2/cache/org.vaadin.blackbluegl/calendar-component/jars/calendar-component-2.0-BETA4.jar!/
VAADIN/addons/app-layout/app-layout.scss in jar:file:C:/Users/bekir.mavus/.ivy2/cache/com.github.appreciated/app-layout-addon/jars/app-layout-addon-0.9.20.jar!/
VAADIN/addons/gantt/gantt.scss in jar:file:C:/Users/bekir.mavus/.ivy2/cache/org.tltv.gantt/gantt-addon/jars/gantt-addon-1.0.3.jar!/
Search took 16ms
Done.
Starting GWT compiler
Oca 16, 2019 9:17:35 AM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Compiling module com.lbs.corporate.widgetset.LbsVPCorporatePortalWidgetset
Oca 16, 2019 9:18:33 AM com.vaadin.tools.WidgetsetCompiler lambda$main$0
SEVERE: Widgetset compilation failed
java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.Arrays.copyOf(Unknown Source)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source)
at java.lang.AbstractStringBuilder.append(Unknown Source)
at java.lang.StringBuilder.append(Unknown Source)
at com.google.gwt.dev.javac.JdtUtil.signature(JdtUtil.java:356)
at com.google.gwt.dev.jjs.impl.ReferenceMapper.setMethod(ReferenceMapper.java:192)
at com.google.gwt.dev.jjs.impl.GwtAstBuilder.createMethod(GwtAstBuilder.java:4197)
at com.google.gwt.dev.jjs.impl.GwtAstBuilder.createMembers(GwtAstBuilder.java:4086)
at com.google.gwt.dev.jjs.impl.GwtAstBuilder.processImpl(GwtAstBuilder.java:3929)
at com.google.gwt.dev.jjs.impl.GwtAstBuilder.process(GwtAstBuilder.java:3971)
at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater$UnitProcessorImpl.process(CompilationStateBuilder.java:129)
at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler.java:336)
at org.eclipse.jdt.internal.compiler.Compiler.processCompiledUnits(Compiler.java:546)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:458)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:1040)
at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:325)
at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:548)
at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:479)
at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:465)
at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:423)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:222)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:202)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:143)
at com.google.gwt.dev.Compiler.compile(Compiler.java:204)
at com.google.gwt.dev.Compiler.compile(Compiler.java:155)
at com.google.gwt.dev.Compiler.compile(Compiler.java:144)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:118)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
at com.google.gwt.dev.Compiler.main(Compiler.java:125)
at com.vaadin.tools.WidgetsetCompiler.lambda$main$0(WidgetsetCompiler.java:78)
at com.vaadin.tools.WidgetsetCompiler$$Lambda$1/511754216.run(Unknown Source)
Widgetset compilation finished

Installanywhere Openjdk 1.7.0_111

i have a problem.
i'm using installanywhere for some product. (installanywhere 2014 SP1)
setting installanywhere option,
Product > JVM Settings > VM valid List : JDK_1.7+, IBM_JDK_1.7+
this option installer choose openjdk.
i'm success install in openjdk 1.7.0_65, redhat 6.x 64bit os.
but install failed in openjdk 1.7.0_111, redbat 6.x 64bit os.
error message -
===============================================================================
This Test installer (created with InstallAnywhere)
-------------------------------------------------------------------------------
Preparing CONSOLE Mode Installation...
This installer was created with an unlicensed version
of InstallAnywhere. The evaluation period has expired.
Please contact sales#flexerasoftware.com about licensing.
so, commanding [export LAX_DEBUG=true] and install.
under line debug message.
Preparing to install...
Checking for POSIX df.
Found POSIX df.
Checking tail options...
Using tail -n 1.
True location of the self extractor: /opt/Test/Test_Setup_RedHat.bin
Forcing install base (including tmp dir) to: /opt/Test/tmp
Creating installer data directory: /opt/Test/tmp/install.dir.27084
Creating installer data directory: /opt/Test/tmp/install.dir.27084/InstallerData
Gathering free-space information...
Space needed to complete the self-extraction: 16376 blocks
Available space: 242730896 blocks
Available blocks: 242730896 Needed blocks: 16376 (block = 512 bytes)
This installation does not contain a VM.
Extracting the installation resources from the installer archive...
Extracting install.zip from ./Test_Setup_RedHat.bin to /opt/Test/tmp/install.dir.27084/InstallerData/installer.zip ...
Extracting to padded done, exit code = 0
Extracting from padded to zip done, exit code = 0
Creating disk1 data directory: /opt/Test/tmp/install.dir.27084/InstallerData/Disk1
Creating instdata data directory: /opt/Test/tmp/install.dir.27084/InstallerData/Disk1/InstData
Extracting resources from ./Test_Setup_RedHat.bin to /opt/Test/tmp/install.dir.27084/InstallerData/Disk1/InstData/Resource1.zip ...
Extracting done, exit code = 0
Configuring the installer for this system's environment...
[7m========= Analyzing UNIX Environment =================================[0m
Setting UNIX (linux) flavor specifics.
Importing UNIX environment into LAX properties.
Checking for POSIX awk.
[7m========= Analyzing LAX ==============================================[0m
LAX found............................ OK.
LAX properties read.................. OK.
[7m========= Finding VM =================================================[0m
[1mValid VM types.......................... JDK_1.7+, IBM_JDK_1.7+[0m
[1mExpanded Valid VM types................. JDK_1.7+, IBM_JDK_1.7+ [0m
Found jvmspecs.properties
JVM Spec Build Option Specified Without VM
Searching without JVM specs
Searching without JVM specs
[1mWARNING! No valid lax.nl.current.vm available.[0m
/usr/xpg4/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/var/cfengine/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
[1mSearching for VMs in PATH:[0m
Looking in:............................. /usr/xpg4/bin
Looking in:............................. /usr/local/bin
Looking in:............................. /bin
Looking in:............................. /usr/bin
Found VM:............................. /usr/bin/java
Version:............................. 1.7.0_111
Looking in:............................. /usr/local/sbin
Looking in:............................. /usr/sbin
Looking in:............................. /sbin
Looking in:............................. /var/cfengine/bin
Looking in:............................. /bin
Looking in:............................. /usr/bin
Found VM:............................. /usr/bin/java
Version:............................. 1.7.0_111
Looking in:............................. /sbin
Looking in:............................. /usr/sbin
Looking in:............................. /usr/local/bin
checking: "1.7.0_111" against "JDK_1.7+,": failed (wrong version)
checking: "1.7.0_111" against "JDK_1.7+,": failed (wrong version)
checking: "1.7.0_111" against "IBM_JDK_1.7+": passed
[1m Using VM:............................. /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java[0m
[7m========= Virtual Machine Options ====================================[0m
LAX properties incorporated............. OK.
classpath............................... "/opt/Test/tmp/install.dir.27084/InstallerData:/opt/Test/tmp/install.dir.27084/InstallerData/installer.zip"
main class.............................. "com.zerog.ia.installer.Main"
.lax file path.......................... "/opt/Test/tmp/install.dir.27084/temp.lax"
user directory.......................... "/opt/Test/tmp/install.dir.27084"
stdout to............................... "console"
sterr to................................ "console"
install directory....................... ""
JIT..................................... none
option (verify)......................... off
option (verbosity)...................... none
option (garbage collection extent)...... none
option (garbage collection thread)...... none
option (native stack max size).......... none
option (java stack max size)............ none
option (java heap max size)............. 50331648
option (java heap initial size)......... 16777216
option (lax.nl.java.option.additional).. none
[7m========= Display settings ===========================================[0m
X display............................... not set
[1mWARNING: This shell's DISPLAY variable has not been set.
This installer is configured to run in GUI and will probably
fail. Try running this installer in console or silent mode,
or on another UNIX host which has the DISPLAY variable set,
if the installer unexpectedly fails.[0m
UI mode................................. gui
Launching installer...
[7m========= VM Command Line ============================================[0m
[1moptions:[0m
[7mCLASSPATH:[0m/opt/Test/tmp/install.dir.27084/InstallerData:/opt/Test/tmp/install.dir.27084/InstallerData/installer.zip:
[7m========= Forking JAVA =============================================[0m
OpenJDK 64-Bit Server VM warning: Insufficient space for shared memory file:
27084
Try using the -Djava.io.tmpdir= option to select an alternate temp location.
===============================================================================
This Test installer (created with InstallAnywhere)
-------------------------------------------------------------------------------
Preparing CONSOLE Mode Installation...
This installer was created with an unlicensed version
of InstallAnywhere. The evaluation period has expired.
Please contact sales#flexerasoftware.com about licensing.
what should i do? success running open jdk 1.7.0_65, but open jdk 1.7.0_111 failed.
CentOS 6.2 and OpenJDK1.7.0_111 running success.

Installing SBT an Mac OSX 10.6

I am trying to get SBT running on my Mac Operating System.
So far, I downloaded the Jar-Launcher and installed in into the /bin folder.
Then I created a SBT script, containing the following lines:
export PATH=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin:$PATH
java -Xmx512M -jar ` $0` /bin/sbt-launch-0.7.7.jar "$#"
When I call SBT on the Console, I receive the following series of error messages:
> /bin/sbt: fork: Resource temporarily unavailable
java.io.IOException: Cannot run program "sh": error=35, Resource temporarily unavailable
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:466)
at jline.UnixTerminal.exec(UnixTerminal.java:297)
at jline.UnixTerminal.exec(UnixTerminal.java:282)
at jline.UnixTerminal.stty(UnixTerminal.java:273)
at jline.UnixTerminal.initializeTerminal(UnixTerminal.java:77)
at jline.Terminal.setupTerminal(Terminal.java:75)
at jline.Terminal.getTerminal(Terminal.java:26)
at xsbt.boot.JLine$.terminal(SimpleReader.scala:20)
at xsbt.boot.JLine$.createReader(SimpleReader.scala:22)
at xsbt.boot.SimpleReader$.<init>(SimpleReader.scala:42)
at xsbt.boot.SimpleReader$.<clinit>(SimpleReader.scala)
at xsbt.boot.Initialize$.create(Create.scala:17)
at xsbt.boot.Launch$.parsed(Launch.scala:28)
at xsbt.boot.Launch$.configured(Launch.scala:21)
at xsbt.boot.Launch$.apply(Launch.scala:16)
at xsbt.boot.Launch$.apply(Launch.scala:13)
at xsbt.boot.Boot$.runImpl(Boot.scala:24)
at xsbt.boot.Boot$.run(Boot.scala:19)
at xsbt.boot.Boot$.main(Boot.scala:15)
at xsbt.boot.Boot.main(Boot.scala)
Caused by: java.io.IOException: error=35, Resource temporarily unavailable
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:91)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 21 more
What is going wrong here?
Looks like you have a stray $0 there (which is expanded to the name of the current process sh). Try
java -Xmx512M -jar /bin/sbt-launch-0.7.7.jar "$#"
instead. That should get you up and running. The usual way is to call sbt like so:
java -Xmx512M -jar `dirname $0`/sbt-launch.jar "$#"
supposed you have the shell script sbt in the same folder as sbt-launch.jar because that is where dirname $0 points at.