Re: DuplicateDeploymentIdException in parallel deployment

2014-09-23 Thread Romain Manni-Bucau
bs >> >> >> >> >> >> Romain Manni-Bucau >> >> Twitter: @rmannibucau >> >> Blog: http://rmannibucau.wordpress.com/ >> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau >> >> Github: https://github.co

Re: Deploy an EAR containing just EJBs in Tomee

2014-09-23 Thread Romain Manni-Bucau
Hi Edit tomee.xml to uncomment , create apps folder (aside webapps) and put your ear inside. Ps: j2ee doesnt exist anymore that's JavaEE Le 24 sept. 2014 03:41, "José Luis Cetina" a écrit : > If im not wrong you can Deploy only your jar that contains your ejbs > instado of and ear. > El 23/09/2

Re: Deploy an EAR containing just EJBs in Tomee

2014-09-23 Thread José Luis Cetina
If im not wrong you can Deploy only your jar that contains your ejbs instado of and ear. El 23/09/2014 17:13, "mohben" escribió: > When I put the ear in $TomeeDir/webapps, ear is exploded in : > myejbs.jar (OK) > lib (is all empty nevertheless the libs are presents in the ear) > META-INF (is all

Re: Deploy an EAR containing just EJBs in Tomee

2014-09-23 Thread mohben
When I put the ear in $TomeeDir/webapps, ear is exploded in : myejbs.jar (OK) lib (is all empty nevertheless the libs are presents in the ear) META-INF (is all empty) That's weird! Any hint ? -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Deploy-an-EAR-containing

Deploy an EAR containing just EJBs in Tomee

2014-09-23 Thread mohben
Hi guys, I already succeed in developing and deploying in Tomee JAXRS, a web application in which servlets and EJBs are juxtaposed (as allowed in JEE 6). Now, I want to be J2EE compliant, can you please point me in the right way to deploy an EAR containing just EJBs in Tomee JAXRS (not OpenEJB).

Re: DuplicateDeploymentIdException in parallel deployment

2014-09-23 Thread Felipe Jaekel
thub: https://github.com/rmannibucau > >> > >> > >> 2014-09-23 18:56 GMT+02:00 Felipe Jaekel : > >> > Hi, > >> > > >> > In 1.7.1 it always happens. Parallel deploy fails with this in server > >> log: > >> > > >> > Set

Re: DuplicateDeploymentIdException in parallel deployment

2014-09-23 Thread Romain Manni-Bucau
.com/ >> LinkedIn: http://fr.linkedin.com/in/rmannibucau >> Github: https://github.com/rmannibucau >> >> >> 2014-09-23 18:56 GMT+02:00 Felipe Jaekel : >> > Hi, >> > >> > In 1.7.1 it always happens. Parallel deploy fails with this in server

Re: DuplicateDeploymentIdException in parallel deployment

2014-09-23 Thread Felipe Jaekel
; > > > In 1.7.1 it always happens. Parallel deploy fails with this in server > log: > > > > Set 23, 2014 1:47:38 PM org.apache.openejb.config.AppInfoBuilder build > > INFORMAÇÕES: Enterprise application > > "/home/ec2-user/apache-tomee-plus/webapps/colaborador#

Re: DuplicateDeploymentIdException in parallel deployment

2014-09-23 Thread Romain Manni-Bucau
> INFORMAÇÕES: Enterprise application > "/home/ec2-user/apache-tomee-plus/webapps/colaborador##20140923-1346" > loaded. > Set 23, 2014 1:47:38 PM org.apache.openejb.assembler.classic.Assembler > createApplication > INFORMAÇÕES: Assembling app: > /home/ec2-user/apache-tomee-plu

Olingo maven

2014-09-23 Thread Poindexter, Miles
We will probably go in the direction of Apache Olingo for our ODATA services on TomEE. So I have now begun investigating by trying to run a Maven Archetype available from the project site: http://olingo.apache.org/doc/odata2/sample-setup This sample service runs in Tomcat8, but not in TomEE mvn

Re: DuplicateDeploymentIdException in parallel deployment

2014-09-23 Thread Felipe Jaekel
Hi, In 1.7.1 it always happens. Parallel deploy fails with this in server log: Set 23, 2014 1:47:38 PM org.apache.openejb.config.AppInfoBuilder build INFORMAÇÕES: Enterprise application "/home/ec2-user/apache-tomee-plus/webapps/colaborador##20140923-1346" loaded. Set 23, 2014

Re: TomEE and Odata4J

2014-09-23 Thread Poindexter, Miles
Sorry, I hit the ³Send² button by mistake with my earlier email . . . Thank you Romain! That was actually the example app I was using. The problem was that I was still including the ODATA4J examples jar in my .war package. This was left over in my pom.xml from another example I had been working wi

Re: TomEE and Odata4J

2014-09-23 Thread Poindexter, Miles
Thank you Romain. That was actually the example app I was using. The problem was that I was still including the ODATA4J example bundle in my .war package. This was left over from another example I had been working with last week. So I only had to remove this dependency from my pom.xml to fix the e

Re: LazyRealm and CDI dosent work correctly under 1.7.1

2014-09-23 Thread Romain Manni-Bucau
can you share something reproducing (best is a maven project with a command to launch). Seems like a real issue hidden behind this lazy realm Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.co

AW: LazyRealm and CDI dosent work correctly under 1.7.1

2014-09-23 Thread Berner Martin
dosen't work be using manager-App, dosen't work by simply placing the WAR on webapp (Autodeploy) and dosen't work ba using maven-Tomcat-Plugin. The Point is, that when TomEE is alredy running when deploying such an app than webBeansContext is not null erlier in Lifecycle but dosen't have Informat

Re: LazyRealm and CDI dosent work correctly under 1.7.1

2014-09-23 Thread Romain Manni-Bucau
how do you underploy/redeploy? this catch just hides a real issue if it is undeployed/deployed normally I think Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-09-23 14:3

AW: LazyRealm and CDI dosent work correctly under 1.7.1

2014-09-23 Thread Berner Martin
Hi Romain Just downloaded the Trunc. No news since Revision 1620375 which is fixing the NPE when webcontext isn't present at startup of a deployed Webapplication. But If you undeploy and redeploy ore even newly deploy such a Webapplication on a running TomEE I get the NPE shown in my fist post.

Re: LazyRealm and CDI dosent work correctly under 1.7.1

2014-09-23 Thread Romain Manni-Bucau
> Is it Possible to let this fix get into trunk? Or some other solution of the > Problem? Maybe by analysing LifecycleState? > Isn't it already the case? In which context do you get it? normal tomee or embedded > Best Regards > Berner Martin > > > > -Ursprüngliche Nachricht- > Von: Bern

AW: LazyRealm and CDI dosent work correctly under 1.7.1

2014-09-23 Thread Berner Martin
Is it Possible to let this fix get into trunk? Or some other solution of the Problem? Maybe by analysing LifecycleState? Best Regards Berner Martin -Ursprüngliche Nachricht- Von: Berner Martin [mailto:martin.ber...@qualitasag.ch] Gesendet: Montag, 22. September 2014 10:51 An: users@to

Re: DataSource password cipher

2014-09-23 Thread Alex Soto
yes I have done in one of my test but no luck :(I am going to try again but I think I have done as well. 2014-09-23 10:25 GMT+02:00 Romain Manni-Bucau : > did you delcare a reverse file like Static3DES here > > http://svn.apache.org/repos/asf/tomee/tomee/trunk/container/openejb-core/src/main/reso

Re: DataSource password cipher

2014-09-23 Thread Romain Manni-Bucau
did you delcare a reverse file like Static3DES here http://svn.apache.org/repos/asf/tomee/tomee/trunk/container/openejb-core/src/main/resources/META-INF/org.apache.openejb.resource.jdbc.cipher.PasswordCipher/Static3DES ? Or just used fqn as value for cipher Romain Manni-Bucau Twitter: @rmannib

Re: DataSource password cipher

2014-09-23 Thread Alex Soto
Sorry I am sure that I am doing something wrong but I cannot see what, but if you drop this war inside TomEE you will see the exception. I probably being missing something but I cannot see exactly what. 2014-09-23 10:01 GMT+02:00 Romain Manni-Bucau : > doc is http://tomee.apache.org/datasource-pa

Re: DataSource password cipher

2014-09-23 Thread Romain Manni-Bucau
doc is http://tomee.apache.org/datasource-password-encryption.html actually Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-09-23 9:49 GMT+02:00 Andy Gumbrecht : > Also f

Re: DataSource password cipher

2014-09-23 Thread Andy Gumbrecht
Also followed our own site documentation which is not really clear: http://tomee.apache.org/examples-trunk/datasource-ciphered-password/README.html I will try to make it more useful / readable. Andy. On 23/09/2014 09:00, Jean-Louis Monteiro wrote: We have aliases for our internals so you don't

Re: DataSource password cipher

2014-09-23 Thread Jean-Louis Monteiro
We have aliases for our internals so you don't need to add the fully qualified name. But in your case, there is nothing behind the alias reverse. Si in the DS definition, use the FQN of the cipher class. -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Mon, Se