Re: 1.7.x to 7.0.x undeployOldVersions not work anymore

2016-08-05 Thread gchauvet
Well, I've removed my EAR module. WAR deployment/undeployment works nicely. Thank you for your forbearance :) -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/1-7-x-to-7-0-x-undeployOldVersions-not-work-anymore-tp4679579p4679618.html Sent from the TomEE Users mailing

Re: 1.7.x to 7.0.x undeployOldVersions not work anymore

2016-08-03 Thread Romain Manni-Bucau
maybe set the system property tomee.unpack.dir to $CATALINA_BASE/work Romain Manni-Bucau @rmannibucau | Blog | Old Wordpress Blog | Github | LinkedIn

Re: 1.7.x to 7.0.x undeployOldVersions not work anymore

2016-08-03 Thread gchauvet
I put the EAR archive to apps folder. Autodeploy.interval as no effect -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/1-7-x-to-7-0-x-undeployOldVersions-not-work-anymore-tp4679579p4679600.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: 1.7.x to 7.0.x undeployOldVersions not work anymore

2016-08-03 Thread Romain Manni-Bucau
hmm, do you put the exploded ear or the archive (.ear)? Autodeployment scanning interval is by default 2s (you can change it with property openejb.autodeploy.interval in conf/system.properties). Setting it to something wider like "30 seconds" or using the exploded ear can be better since it can b

Re: 1.7.x to 7.0.x undeployOldVersions not work anymore

2016-08-03 Thread gchauvet
I set my tomee.xml like this : I don't found any information about tomee.xml available flags, except on these 2 pages : - http://tomee.apache.org/containers-and-resources.html - https://tomee.apache.org/refcard/refcard.html but "redeploy" is not mentioned. I tried to inject

Re: 1.7.x to 7.0.x undeployOldVersions not work anymore

2016-08-03 Thread Romain Manni-Bucau
Ok, undeployOldVersions is only working for tomcat managed webapps (this excludes ears) Deployment tag in tomee.xml has a redeploy flag as well which should undeploy before redeploying, did you set it to true? If not then you deploy twice and it fails "normally". Romain Manni-Bucau @rmannibucau

Re: 1.7.x to 7.0.x undeployOldVersions not work anymore

2016-08-03 Thread gchauvet
My step are : Initial step : TomEE 7.0.1 stopped 1) clean apps folder content 2) start tomEE (from NetBeans 8.0.x) : OK 3) copy EAR to apps folder 4) wait TomEE to managed EAR : (step1: OK) (step2 Failed, see full logs [1]) 5) Test one of my deployed REST api : OK 6) go stage 3 [1] My logs. Not

Re: 1.7.x to 7.0.x undeployOldVersions not work anymore

2016-08-03 Thread Romain Manni-Bucau
The issue is with deployment so not undeployment. Think the steps to reproduce it are not clear yet. Any way you write a test - arquillian allows it? Le 3 août 2016 09:51, "gchauvet" a écrit : > Tried with and without uncommented this property, same behaviour. > > > > -- > View this message in

Re: 1.7.x to 7.0.x undeployOldVersions not work anymore

2016-08-03 Thread gchauvet
Tried with and without uncommented this property, same behaviour. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/1-7-x-to-7-0-x-undeployOldVersions-not-work-anymore-tp4679579p4679588.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: 1.7.x to 7.0.x undeployOldVersions not work anymore

2016-08-02 Thread Felipe Jaekel
Have you uncommented this line on system.properties? openejb.deploymentId.format = {appId}/{ejbJarId}/{ejbName} 2016-08-02 11:36 GMT-03:00 gchauvet : > After moving from 1.7.x to 7.0x.x, I've an issue with > undeployOldVersions="true" who don't work anymore unlike 1.7.x version. I > missing some

Re: 1.7.x to 7.0.x undeployOldVersions not work anymore

2016-08-02 Thread Romain Manni-Bucau
Hello, this flag is working - tested it as a side effect fixing JAX-RS parallel deployments. This is likely linked to something else on your setup. Romain Manni-Bucau @rmannibucau | Blog | Old Wordpress Blog

1.7.x to 7.0.x undeployOldVersions not work anymore

2016-08-02 Thread gchauvet
After moving from 1.7.x to 7.0x.x, I've an issue with undeployOldVersions="true" who don't work anymore unlike 1.7.x version. I missing something ? A new configuration rule ? GRAVE - Application cannot be deployed as it contains deployment-ids which are in use: app: C:\Apache\TomEE\7\0\1\apps\port