Payara 5 / Java 10 / Windows10 - Why Fail of asadmin start-doman?

939 views
Skip to first unread message

Bob Paris

unread,
Sep 23, 2018, 9:23:44 PM9/23/18
to Payara Forum
looking ofr more info for this problem. Assistance appreciated.

Java 10.0.2 installed (2018-07-20) with an instance of GlassFish 4.1.2 - Full Platform (previously installed) worked on this machine.
Installed Payara 5 (2018-09-23) while setting up development laptop which is/has: Windows 10 Professional 64-bit Intel Corei7-2670QM CPU 2.20GHz 16.0 GB (15.9 GB Usuable)

Environment:

C:\Java>java -version
java version "10.0.2" 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)

C:\Java>echo %JAVA_HOME%
C:\Java\jdk-10.0.2\bin\java.exe

Unzippped  Payara 5 to c:\ and then run start-domain:

C:\payara5\bin>asadmin start-domain
Exception in thread "main" java.lang.NullPointerException
        at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.initializeServiceLocator(AbstractModulesRegistryImpl.java:152)
        at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.newServiceLocator(AbstractModulesRegistryImpl.java:144)
        at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createServiceLocator(AbstractModulesRegistryImpl.java:218)
        at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createServiceLocator(AbstractModulesRegistryImpl.java:224)
        at com.sun.enterprise.module.single.StaticModulesRegistry.createServiceLocator(StaticModulesRegistry.java:88)
        at com.sun.enterprise.admin.cli.CLIContainer.getServiceLocator(CLIContainer.java:212)
        at com.sun.enterprise.admin.cli.CLIContainer.getLocalCommand(CLIContainer.java:244)
        at com.sun.enterprise.admin.cli.CLICommand.getCommand(CLICommand.java:229)
        at com.sun.enterprise.admin.cli.AdminMain.executeCommand(AdminMain.java:362)
        at com.sun.enterprise.admin.cli.AdminMain.doMain(AdminMain.java:298)
        at org.glassfish.admin.cli.AsadminMain.main(AsadminMain.java:56)

Ondro Mihályi

unread,
Sep 24, 2018, 1:55:22 AM9/24/18
to Bob Paris, Payara Forum
Hi,

Payara server doesn't support JDK 9+ yet. And I really doubt that GlassFish for runs on JDK 10 but even if it does it doesn't mean that Payara Server should. You need to wait until support for JDK 9+ is added.

Ondro

Dňa po 24. 9. 2018, 3:23 Bob Paris <robert...@gmail.com> napísal(a):
--
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/f314ff00-e841-4a0d-9c20-abb4660aa7cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bob Paris

unread,
Sep 24, 2018, 6:11:56 PM9/24/18
to Payara Forum
Thanks for the answer.

However,
I am looking for a better solution than just wait for JDK9 support (eventually JDK10).

Anyone on the group got ideas?

Steve Millidge

unread,
Sep 25, 2018, 7:44:10 AM9/25/18
to Payara Forum
Under a support contract for Payara you also receive support for Azul Zulu OpenJDK builds which will provide long term support for JDK 8 running Payara 4 and Payara 5 including all security updates to the JDK.

At Payara we are targeting JDK 11 as our future supported JVM as that will be an LTS release. Supporting JDK 11 requires us to recompile all third party dependencies with JDK 11 as JDK 11 removes classes that were available in JDK 8. We hope to complete this work in the 191 release timeframe. 

Steve
Reply all
Reply to author
Forward
0 new messages