-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to deploy war with multiple jax-rs applications in EmbeddedPayara 4.1.152.1 #355
Comments
On my environment, it works well. |
Additional information; Payara 4.1.152.1 contains Jersey 2.17 as the implementation of JAX-RS. But GlassFish 4.1 (GA; Build 13) contains older version, Jersey 2.10.4. There are some improvements and many bug fixes including CDI integration between Jersey 2.10.4 and 2.17. |
As @khasunuma says this is fixed by correcting the schema in the beans.xml Running is.gudmundur1.app.TestIT
Configuring TestNG with: TestNG652Configurator
EmbeddedGlassfish: EmbeddedGlassfish.initialize()
EmbeddedGlassfish: Init glassfish
EmbeddedGlassfish: Found .war
EmbeddedGlassfish: EmbeddedGlassfish.initializeGlassfish()
Found populator: org.glassfish.kernel.embedded.EmbeddedDomainXml
12:52:41 INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 5.1.2.Final
EmbeddedGlassfish: Starting embedded glassfish on http port 8007
12:52:42 WARNING javax.enterprise.resource.resourceadapter - jmsra.upgrade_check_failed
EmbeddedGlassfish: Deploying war
12:52:45 SEVERE javax.enterprise.web - Error adding HttpProbes. NetworkListener https-listeners GrizzlyProxy is NULL
12:52:45 INFO org.jboss.weld.Version - WELD-000900: SNAPSHOT
12:52:45 WARN org.jboss.weld.Event - WELD-000411: Observer method [BackedAnnotatedMethod] private org.glassfish.jersey.ext.cdi1x.internal.CdiComponentProvider.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds.
12:52:45 WARN org.jboss.weld.Event - WELD-000411: Observer method [BackedAnnotatedMethod] org.glassfish.sse.impl.ServerSentEventCdiExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>, BeanManager) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds.
12:52:45 WARN org.jboss.weld.Event - WELD-000411: Observer method [BackedAnnotatedMethod] public org.glassfish.jms.injection.JMSCDIExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.334 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 |
…8" (payara#355) * Revert "Merge pull request payara#349 from Pandrex247/Revert-FISH-1178" This reverts commit 537efb1, reversing changes made to 0ece1d5. * Resource URL instantiation needs to be privileged action because otherwise it fails the TCK Co-authored-by: lprimak <lenny@flowlogix.com>
I have an application with two jax-rs applications. When I try to deploy the war to EmbeddedPayara, it fails with the following output:
When I use embedded glassfish 4.1 it works though.
Here is the minimal code to reproduce, I have also created a full running project demonstrating the problem: https://dl.dropboxusercontent.com/u/451474/embedded-payara-multiple-jaxrs.tar.gz
The text was updated successfully, but these errors were encountered: