Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-08-11 Thread Romain Manni-Bucau
great! thanks to give your feedback btw. - Romain 2012/8/11 almos > Thanks for pointing to that jira entry. Adding ?daemon=true to the uri > fixed > the problem. > Now TomEE stops fine without need to stop ActiveMQ first. Also during > deploy/redeploy process there are no issues with jsp and

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-08-11 Thread almos
Thanks for pointing to that jira entry. Adding ?daemon=true to the uri fixed the problem. Now TomEE stops fine without need to stop ActiveMQ first. Also during deploy/redeploy process there are no issues with jsp and servlets which was the case in 1.0.0 version. Thanks a lot for the support! Rega

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-08-03 Thread Romain Manni-Bucau
weird, daemon=true seems enough: https://issues.apache.org/jira/browse/AMQ-1447 but in your stack the transport threads are not daemon - Romain 2012/8/2 almos > I sent it my previous post (Jul 26, 2012; 12:02pm) with a link - looks like > system rejected it. > Dump could be found here - http:

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-08-02 Thread almos
I sent it my previous post (Jul 26, 2012; 12:02pm) with a link - looks like system rejected it. Dump could be found here - http:// sharetext.org /EPGC (without spaces) -- View this message in context: http://openejb.979440.n4.nabble.com/DuplicateDeploymentIdException-when-deploying-ear-with-app

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-08-01 Thread Romain Manni-Bucau
A threadump if i'm not misreading Le 1 août 2012 19:26, "almos" a écrit : > Is there any news on this? Should I have to sent more related info? > > Thanks. > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/DuplicateDeploymentIdException-when-deploying-ear-with-appli

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-08-01 Thread almos
Is there any news on this? Should I have to sent more related info? Thanks. -- View this message in context: http://openejb.979440.n4.nabble.com/DuplicateDeploymentIdException-when-deploying-ear-with-application-xml-tp4655362p4656621.html Sent from the OpenEJB User mailing list archive at Nabb

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-07-25 Thread Romain Manni-Bucau
would be nice to get a threadump (jstack) at this moment is it possible? - Romain 2012/7/25 almos > 1. Not sure I understood what do you mean. But we can't run ActiveMQ under > TomEE, we are running separate ActiveMQ cluster > 2. Upgrade of ActiveMQ to 5.6.0 haven't helped. Same hang occurs o

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-07-25 Thread almos
1. Not sure I understood what do you mean. But we can't run ActiveMQ under TomEE, we are running separate ActiveMQ cluster 2. Upgrade of ActiveMQ to 5.6.0 haven't helped. Same hang occurs on application undeploy/TomEE shutdown -- View this message in context: http://openejb.979440.n4.nabble.com

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-07-22 Thread Romain Manni-Bucau
Hmm, 2 notes about it 1) i think amq uri can be customized to be daemon, 2) using amq 5.6 can fix it since 5.5 got some bug Le 22 juil. 2012 14:35, "almos" a écrit : > I was keep trying to figure out why TomEE hangs on undeploy/shutdown for me > (and that doesnt happen for you) and looks like I h

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-07-22 Thread almos
I was keep trying to figure out why TomEE hangs on undeploy/shutdown for me (and that doesnt happen for you) and looks like I have found the reason. When I have active MDBs listening on queues/topics TomEE doesn't stop until ActiveMQ is shut down. Here is a test application where there are either

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-06-28 Thread Romain Manni-Bucau
weird since it worked for me - Romain 2012/6/28 almos > I did use folder name when wrote you previous message instead of ear name > but > it didn't work as described. > > Using relative path being outside of the $TOMEE_HOME doesn't work as well - > it can't find deployed application: > > $TOME

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-06-28 Thread almos
I did use folder name when wrote you previous message instead of ear name but it didn't work as described. Using relative path being outside of the $TOMEE_HOME doesn't work as well - it can't find deployed application: $TOMEE_HOME/bin/tomee.sh undeploy apps/BMM-0.0.2-SNAPSHOT undeploying apps/B

RE: DuplicateDeploymentIdException when deploying ear with application.xml

2012-06-26 Thread Robin
Please remove me from this list -Original Message- From: Romain Manni-Bucau [mailto:rmannibu...@gmail.com] Sent: Tuesday, June 26, 2012 8:18 AM To: users@openejb.apache.org Subject: Re: DuplicateDeploymentIdException when deploying ear with application.xml guess i found the issue

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-06-26 Thread Romain Manni-Bucau
guess i found the issue currently the deploy used copy the deployed app in apps/ folder (in tomee) so when undeploying it you need to give the apps/ path. here the command i used: ./bin/tomee.sh deploy /tmp/testear/ear/target/eartest-0.0.1-SNAPSHOT.ear ./bin/tomee.sh undeploy /foo/apache-tomee/a

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-06-26 Thread almos
Sorry for not responding for quite long time on this. Yes, you are right, you need to use tomee.sh for that to reproduce the issue. Exact steps are: 1. Deploy application MBP-Almos:testear2 tomee.sh deploy /tmp/eartest-0.0.1-SNAPSHOT.ear 2. Check jsp page/servlet MBP-Almos:testear2 wget http:

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-06-14 Thread Romain Manni-Bucau
hmm, just tested and it seems fine with your sample... any help to reproduce it? PS: re-reading your mail i notice i didnt use tomee.sh, could it be the issue? - Romain 2012/6/14 almos > Just discovered one more issue though ;). > > I have an EAR which is periodically gets deployed to TomEE

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-06-14 Thread almos
Just discovered one more issue though ;). I have an EAR which is periodically gets deployed to TomEE from Jenkins. EAR consists WAR with JSP/Servlets and JAR with EJB components. First deploy goes always fine but after that issues start to appear. Here is a steps for reproduction for a problems

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-06-14 Thread almos
Thanks, that worked fine. -- View this message in context: http://openejb.979440.n4.nabble.com/DuplicateDeploymentIdException-when-deploying-ear-with-application-xml-tp4655362p4655604.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-06-10 Thread Romain Manni-Bucau
line 72, replace "for i in $TOMEE_HOME/webapps/tomee/lib/*.jar; do" by "for i in $TOMEE_HOME/lib/*.jar; do" - Romain 2012/6/10 almos > Hi, > > Since I moved my EAR to apps/ folder everything was working great except > hot > deployment in that folder. > I tried to: > 1. simple EAR overwriting >

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-06-10 Thread almos
Hi, Since I moved my EAR to apps/ folder everything was working great except hot deployment in that folder. I tried to: 1. simple EAR overwriting 2. using deploy tool bin/tomee.sh 3. googling a lot on some configuration options to add to the conf/tomee.conf Neither have given any satisfactory res

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-06-05 Thread almos
Thanks for the support. Moving EAR to apps/ helped - everything works great and no exceptions are thrown. -- View this message in context: http://openejb.979440.n4.nabble.com/DuplicateDeploymentIdException-when-deploying-ear-with-application-xml-tp4655362p4655434.html Sent from the OpenEJB User m

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-06-05 Thread Romain Manni-Bucau
seems it is fine if you deploy it in apps/ instead of webapps - Romain 2012/6/5 almos > Hi, > > Thanks for your response. > I've prepared test package with maven build script. > > Link to download: http://www.4shared.com/zip/TGDORA0u/testear.html > To package ear firstly setup environment vari

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-06-05 Thread almos
Hi, Thanks for your response. I've prepared test package with maven build script. Link to download: http://www.4shared.com/zip/TGDORA0u/testear.html To package ear firstly setup environment variable DEPLOY_PATH where ear will be created and then run "mvn package". It fails on Tomee 1.0 with the

Re: DuplicateDeploymentIdException when deploying ear with application.xml

2012-06-04 Thread Romain Manni-Bucau
Hi, first can you try the lastest snapshot please: https://repository.apache.org/content/repositories/snapshots/org/apache/openejb/apache-tomee/1.1.0-SNAPSHOT/ do you put your ejbmodule in your webapp too? any chance you share a sample to reproduce? - Romain 2012/6/4 almos > Hello, > > I am

DuplicateDeploymentIdException when deploying ear with application.xml

2012-06-04 Thread almos
Hello, I am facing strange following problem when using application.xml in my EAR file. 1. I am using maven to build EAR which contains JAR with EJB components and one web application WAR 2. Maven automatically creates application.xml in the META-INF of my EAR 3. When deploying EAR on TomEE+ 1.0