Hi all: I’m trying to use Guacamole under Apache TomEE - There’s going to be an additional web app that I’d like to use EE6 features with. Starting up Guacamole fails. In the Tomcat logs, there are a number of entries like:
Jun 02, 2016 2:56:56 PM org.apache.tomee.catalina.TomEEClassLoaderEnricher validateJarFile WARNING: jar '/usr/share/tomcat/webapps/guacamole/WEB-INF/lib/javax.inject-1.jar' contains offending class: javax.inject.Inject. It will be ignored. Jun 02, 2016 2:56:56 PM org.apache.tomee.catalina.TomEEClassLoaderEnricher validateJarFile WARNING: jar '/usr/share/tomcat/webapps/guacamole/WEB-INF/lib/jersey-core-1.17.1.jar' contains offending class: javax.ws.rs.Path. It will be ignored. Jun 02, 2016 2:56:56 PM org.apache.tomee.catalina.TomEEClassLoaderEnricher validateJarFile WARNING: jar '/usr/share/tomcat/webapps/guacamole/WEB-INF/lib/jsr250-api-1.0.jar' contains offending class: javax.annotation.PostConstruct. It will be ignored. Jun 02, 2016 2:56:57 PM org.apache.openejb.config.ConfigurationFactory configureApplication INFO: Configuring enterprise application: /usr/share/tomcat/webapps/guacamole Jun 02, 2016 2:56:57 PM org.apache.openejb.config.AppInfoBuilder build INFO: Enterprise application "/usr/share/tomcat/webapps/guacamole" loaded. Jun 02, 2016 2:56:57 PM org.apache.openejb.assembler.classic.Assembler createApplication followed later by a number of “NoClassDefFound” for classes that are defined in those jar files. My suspicion is that TomEE is unhappy with Guacamole’s use of Google Guice. Any suggestions? Thanks, Greg Trasuk
