Re: DataSource Password Cipher

2014-09-30 Thread Alex Soto
Now it works :) the key point was that META-INF must be inside WEB-INF/classes which you know because it is not the standard place I was reading wrong. Then do you think there is any chance to use META-INF directory placed on webapps/META-INF instead the one inside classes? I know this is because c

Re: DataSource Password Cipher

2014-09-30 Thread Romain Manni-Bucau
Meta-inf has another meaning in tomcat so -1 for me No issue using cipher, issue is to load a jdbc driver from an app only Le mardi 30 septembre 2014, Alex Soto a écrit : > Now it works :) the key point was that META-INF must be inside > WEB-INF/classes which you know because it is not the stand

Re: DataSource Password Cipher

2014-09-30 Thread Alex Soto
ok but then using openejb.resources.use-container-loader to false is a must for custom cipher and there is no problem. Ok :) 2014-09-30 9:51 GMT+02:00 Romain Manni-Bucau : > Meta-inf has another meaning in tomcat so -1 for me > > No issue using cipher, issue is to load a jdbc driver from an app o

Re: DataSource Password Cipher

2014-09-30 Thread Romain Manni-Bucau
is a "generally must" for all datasources, cipher or not. 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 9:53 GMT+02:00 Alex Soto : > ok but then using openejb.res

Re: DataSource Password Cipher

2014-09-30 Thread Romain Manni-Bucau
* openejb.resources.use-container-loader = true is a must whatever datasource you use. False is not recommanded 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 10:3

Re: DataSource Password Cipher

2014-09-30 Thread Alex Soto
but with true cipher does not work 2014-09-30 10:39 GMT+02:00 Romain Manni-Bucau : > * openejb.resources.use-container-loader = true is a must whatever > datasource you use. False is not recommanded > > > Romain Manni-Bucau > Twitter: @rmannibucau > Blog: http://rmannibucau.wordpress.com/ > Linke

Re: More information on EJB Timer, their Exception handling etc

2014-09-30 Thread Romain Manni-Bucau
2014-09-30 8:12 GMT+02:00 Lars-Fredrik Smedberg : > Thanks for your answers Romain some follow ups (and really preciate > you help me out): > > - Will any types of exceptions result in 1 retry? Checked or runtime? it respect ejb exception handling (application exception or not etc...). same a

Re: DataSource Password Cipher

2014-09-30 Thread Romain Manni-Bucau
proove it :p: actually cipher strategy should be in the container. "An integration jar" and not an app jar. Same thought as "resources are declared in the container" we can add a check in DataSourceFactory if something can't be loaded from container loader we can load it from tccl and log a error/

Re: DataSource Password Cipher

2014-09-30 Thread Alex Soto
I have tried and just not working with war, I agree that this should go inside tomee itself. 2014-09-30 10:45 GMT+02:00 Romain Manni-Bucau : > proove it :p: actually cipher strategy should be in the container. "An > integration jar" and not an app jar. Same thought as "resources are > declared in

Re: DataSource Password Cipher

2014-09-30 Thread Romain Manni-Bucau
yep this is why the property exists but it works when enriching the container (that's how default stategies work) 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 10

TomEE and Hibernate

2014-09-30 Thread Alex Soto
Hi, one quick question about TomEE and Hibernate. I have installed the required jars into TOMEE_HOME/libs but I have not removed the openJPA jars. Then if I add this line inside persitence.xml org.hibernate.ejb.HibernatePersistence Hibernate provider is used as expected. But if I remove this li

Re: TomEE and Hibernate

2014-09-30 Thread Romain Manni-Bucau
looks like a bug but tested on rest-example (in our examples) and it works 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 10:59 GMT+02:00 Alex Soto : > Hi, > > one

Re: More information on EJB Timer, their Exception handling etc

2014-09-30 Thread Lars-Fredrik Smedberg
Thanks again. ... Is the CDI interceptor supportd in TomEE but not per spec? Maybe I not understand you correctly? Same question on @TransactionAttribute. ..is SUPPORTS as a type in the spec or something only TomEE supports? Regards LF On Sep 30, 2014 10:43 AM, "Romain Manni-Bucau" wrote: > 20

Re: More information on EJB Timer, their Exception handling etc

2014-09-30 Thread Romain Manni-Bucau
2014-09-30 11:44 GMT+02:00 Lars-Fredrik Smedberg : > Thanks again. ... > > Is the CDI interceptor supportd in TomEE but not per spec? Maybe I not > understand you correctly? > That's @AroundTimeout so that's portable normally but not handled by CDI but EJB container, but since both are well integr

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-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 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