Closed jadelkhoury closed 2 years ago
Small note: adaptors seem to run fine with Tomcat, Jetty, and TomEE out of the box. For Payara, one needs to add https://github.com/OSLC/lyo-adaptor-sample-modelling/blob/dev-mtl-pom5.0/adaptor-rm-webapp/src/main/webapp/WEB-INF/beans.xml with discovery=none. For WildFly, one needs to go further and also add https://github.com/OSLC/lyo-adaptor-sample-modelling/blob/dev-mtl-pom5.0/adaptor-rm-webapp/src/main/webapp/WEB-INF/jboss-all.xml to prevent Weld from doing CDI and let Jersey's HK2 do the job.
discovery=none
Small note: adaptors seem to run fine with Tomcat, Jetty, and TomEE out of the box. For Payara, one needs to add https://github.com/OSLC/lyo-adaptor-sample-modelling/blob/dev-mtl-pom5.0/adaptor-rm-webapp/src/main/webapp/WEB-INF/beans.xml with
discovery=none
. For WildFly, one needs to go further and also add https://github.com/OSLC/lyo-adaptor-sample-modelling/blob/dev-mtl-pom5.0/adaptor-rm-webapp/src/main/webapp/WEB-INF/jboss-all.xml to prevent Weld from doing CDI and let Jersey's HK2 do the job.