Re: Listeners annotated outside webapp are ignored

2014-10-01 Thread Felipe Jaekel
Nice, thanks. 2014-10-01 13:59 GMT-03:00 Romain Manni-Bucau : > Hi > > should be fixed https://issues.apache.org/jira/browse/TOMEE-1370 > > > Romain Manni-Bucau > Twitter: @rmannibucau > Blog: http://rmannibucau.wordpress.com/ > LinkedIn: http://fr.linkedin.com/in/rmannibucau > Github: https://gi

Re: Listeners annotated outside webapp are ignored

2014-10-01 Thread Romain Manni-Bucau
Hi should be fixed https://issues.apache.org/jira/browse/TOMEE-1370 Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-10-01 14:31 GMT+02:00 Felipe Jaekel : > Hi, > > I've

Re: Listeners annotated outside webapp are ignored

2014-10-01 Thread Felipe Jaekel
Hi, I've installed TomEE in */home/ec2-user*. This is the *ls -Al* output: lrwxrwxrwx 1 ec2-user ec2-user 24 Set 17 17:34 apache-tomee-plus -> apache-tomee-plus-1.7.1/ drwxrwxr-x 10 ec2-user ec2-user 4096 Set 17 17:16 apache-tomee-plus-1.7.1 I was able to simulate the issue with the sample I

Re: Listeners annotated outside webapp are ignored

2014-09-30 Thread Romain Manni-Bucau
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://rmannibuca

Re: Listeners annotated outside webapp are ignored

2014-09-30 Thread Felipe Jaekel
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-

Re: Listeners annotated outside webapp are ignored

2014-09-30 Thread Felipe Jaekel
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 : > Can you sh

Re: Listeners annotated outside webapp are ignored

2014-09-29 Thread Romain Manni-Bucau
Can you share a sample showing this issue? Le lundi 29 septembre 2014, Felipe Jaekel 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 : > >> Hi >> >> quick check to do: rename the jar: "fo

Re: Listeners annotated outside webapp are ignored

2014-09-29 Thread Felipe Jaekel
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 : > Hi > > quick check to do: rename the jar: "foo.jar" > > > Romain Manni-Bucau > Twitter: @rmannibucau > Blog: http://rmannibucau.wordpress.com/ > LinkedIn: ht

Re: Listeners annotated outside webapp are ignored

2014-09-28 Thread Romain Manni-Bucau
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 : > Hi, > > I'm trying to run an exis

Listeners annotated outside webapp are ignored

2014-09-26 Thread Felipe Jaekel
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 sy