You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed that the samples are failing when updating to 5.181, the default domain was renamed to default1 and the container doesn't start correctly:
[INFO] Running org.javaee8.servlet.http2.Http2Test
Starting container using command: [java, -jar, /Users/ich/Documents/Daten/javaee8-samples/target/payara5/glassfish/modules/admin-cli.jar, start-domain, domain1, -t]
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:216)
at com.sun.enterprise.admin.cli.CLIContainer.getLocalCommand(CLIContainer.java:254)
at com.sun.enterprise.admin.cli.CLICommand.getCommand(CLICommand.java:231)
at com.sun.enterprise.admin.cli.AdminMain.executeCommand(AdminMain.java:370)
at com.sun.enterprise.admin.cli.AdminMain.doMain(AdminMain.java:305)
at com.sun.enterprise.admin.cli.AdminMain.main(AdminMain.java:207)
Current status (edited 31. 7. 2018 20:20 CEST):
fails with:
payara-ci-managed (NPE)
payara-micro-managed (with JDK9/10 as default java in system and arquillian-payara-micro-5-managed 1.0.beta3-m2)
glassfish-embedded (request timeout)
tomcat-ci-managed (missing jersey-client, when fixed, problems with invalid tomcat-users.xml management, when fixed [see Invalid management of tomcat-users.xml #25], fails like glassfish-embedded with request timeout)
passes with (with JDK8 in AS_JAVA and JAVA_HOME env properties):
payara-micro-managed (hangs, missing JAXB classes - another issue, indeed JDK9/10)
I briefly tried getting the repo to work with JDK9 a while back, but it kept failing. For now everything is JDK 8 only, but I'd really like to get everything running on at least JDK 11 when that comes out soon.
I expect there will be a bunch of work with the classloaders in Payara, they protect their contexts before each other and it is very complicated (and OSGI between that). But I think Payara team will move it soon ...
I have a question: which technologies should be supported also with Tomcat? Many modules crash, f.e. jaxrs - I'm not sure if it should be skipped or if I should add jersey-client and then find out how to fix it (perhaps together with the embedded-glassfish which ends up in same state then).
The problem with payara-micro-managed is that it seems it uses default java program from the OS, it should use (in this priority order) ${AS_JAVA}/bin/java or ${JAVA_HOME}/bin/java or default java.
Activity
CSchulz commentedon Apr 25, 2018
Seems to be related with Java 9.
dmatej commentedon Jul 30, 2018
Current status (edited 31. 7. 2018 20:20 CEST):
fails with:
passes with (with JDK8 in AS_JAVA and JAVA_HOME env properties):
arjantijms commentedon Jul 30, 2018
I briefly tried getting the repo to work with JDK9 a while back, but it kept failing. For now everything is JDK 8 only, but I'd really like to get everything running on at least JDK 11 when that comes out soon.
Issue javaee-samples#20 Don't hide exceptions to the test, null is ugly
Issue javaee-samples#20 Updated jetty
Issue javaee-samples#20 Updated jersey-client to 2.7
Issue javaee-samples#20 More stable Http2Test, cleanup
Issue javaee-samples#20 Added asserts for injected beans
dmatej commentedon Jul 30, 2018
I expect there will be a bunch of work with the classloaders in Payara, they protect their contexts before each other and it is very complicated (and OSGI between that). But I think Payara team will move it soon ...
I have a question: which technologies should be supported also with Tomcat? Many modules crash, f.e. jaxrs - I'm not sure if it should be skipped or if I should add jersey-client and then find out how to fix it (perhaps together with the embedded-glassfish which ends up in same state then).
The problem with payara-micro-managed is that it seems it uses default java program from the OS, it should use (in this priority order) ${AS_JAVA}/bin/java or ${JAVA_HOME}/bin/java or default java.
Issue javaee-samples#20 Don't hide exceptions to the test, null is ugly
Issue javaee-samples#20 Updated jetty
Issue javaee-samples#20 Updated jersey-client to 2.7
Issue javaee-samples#20 Added asserts for injected beans
Issue javaee-samples#20 More stable Http2Test, cleanup
Issue javaee-samples#20 Don't hide exceptions to the test, null is ugly
Issue javaee-samples#20 Updated jetty
Issue javaee-samples#20 Updated jersey-client to 2.7
Issue javaee-samples#20 More stable Http2Test, cleanup
Issue javaee-samples#20 Added asserts for injected beans
Issue javaee-samples#20 Updated dependencies to current
Issue javaee-samples#20 Updated dependencies to current
Merge pull request javaee-samples#20 from dukesway/FISH-1313