I have an idea of the issue, if you could take few minutes to share your paths (symlink install, real tomee folder, webapp folder, server.xml config - Host + Context if any - and context.xml if used) it will help us to check faster.
Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-09-30 21:42 GMT+02:00 Felipe Jaekel <[email protected]>: > Okay I finally figured out the problem. > > In my production server I reference the TomEE installation from 3 places: > Jenkins, logrotate and the init.d script. > > When I upgraded from 1.7.0 to 1.7.1, I decided to make a symbolic link to > don't need to update the server location everywhere. > > ln -s apache-tomee-plus-1.7.1/ apache-tomee-plus > > If I run startup.sh from apache-tomee-plus/ instead of > apache-tomee-plus-1.7.1/, the annotations are not scanned in JARs inside > WEB-INF/lib > > I have no idea why... (my production server is Amazon Linux latest version, > and my desktop is Linux Mint Debian Edition latest version) > > > > 2014-09-30 11:12 GMT-03:00 Felipe Jaekel <[email protected]>: > >> Hi, >> >> I also tried to add metadata-complete="false" to web.xml, same thing. >> >> Here is the sample: >> >> WAR: https://dl.dropboxusercontent.com/u/66737052/mavenproject.war >> >> Source: https://dl.dropboxusercontent.com/u/66737052/source.zip >> >> Thanks >> >> 2014-09-29 13:45 GMT-03:00 Romain Manni-Bucau <[email protected]>: >> >> Can you share a sample showing this issue? >>> >>> Le lundi 29 septembre 2014, Felipe Jaekel <[email protected]> a écrit : >>> > Hi, >>> > >>> > I renamed the JAR and reloaded the webapp, but no success. >>> > >>> > Anything else I can try? >>> > >>> > 2014-09-28 13:28 GMT-03:00 Romain Manni-Bucau <[email protected]>: >>> > >>> >> Hi >>> >> >>> >> quick check to do: rename the jar: "foo.jar" >>> >> >>> >> >>> >> Romain Manni-Bucau >>> >> Twitter: @rmannibucau >>> >> Blog: http://rmannibucau.wordpress.com/ >>> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau >>> >> Github: https://github.com/rmannibucau >>> >> >>> >> >>> >> 2014-09-26 16:33 GMT+02:00 Felipe Jaekel <[email protected]>: >>> >> > Hi, >>> >> > >>> >> > I'm trying to run an existing webapp in TomEE plus 1.7.1. It uses >>> some >>> >> > listeners annotated with @WebListener that are packed in a JAR inside >>> >> > WEB-INF/lib. >>> >> > >>> >> > It works fine in a regular Tomcat, but in TomEE they are ignored, so >>> I >>> >> have >>> >> > to register them in web.xml. >>> >> > >>> >> > Is there anything I can set in system.properties to solve this? I >>> >> > tried openejb.deployments.classpath = true, but no success. >>> >> > >>> >> > Thanks >>> >> >>> > >>> >>> -- >>> >>> >>> Romain Manni-Bucau >>> Twitter: @rmannibucau >>> Blog: http://rmannibucau.wordpress.com/ >>> LinkedIn: http://fr.linkedin.com/in/rmannibucau >>> Github: https://github.com/rmannibucau >>> >> >>
