You sayed something about you have some lock files in apps dir. Could be
because maybe you are running tomme as a root? When i delete my ear inside
of apps folder y always stop tomee i never tried to delete and add the new
version of the ear.
El 24/05/2013 14:59, "m1000" <[email protected]> escribió:

> Ok, for apps to deploys automatically in apps/ I needed to add
> autoDeploy="true" to the Deployment tag in tomee.xml.
>
> --
>
> Start, Stop, Reload, Undeploy
>
> So now the ear is deployed ! But how can I manage it if its not in the web
> manager...
> It looks like I can delete the .ear but is it a clean way to undeploy ?
>
> Or any command line for this ?
>
> Restarting the server works, but there is a DuplicateDeploymentIdException
> in the logs
>
> SEVERE: Failed Auto-Deployment of: C:\Program Files\Apache Software
> Foundation\apache-tomee-plus-1.6.0-SNAPSHOT\apps\JPCS4.ear
> org.apache.openejb.DuplicateDeploymentIdException: Application cannot be
> deployed as it contains deployment-ids which are in use: app: C:\Program
> Files\Apache Software
> Foundation\apache-tomee-plus-1.6.0-SNAPSHOT\apps\JPCS4
>     ServerProjectLockManagerBean
>     PromutuelQueueBean
>     PromutuelWS
>     CalendarServerDataSource
>     ActualSynchronization
>     ProjectSynchronizationService
>         at
>
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:652)
>         at
>
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:612)
>         at
>
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:608)
>         at
> org.apache.openejb.config.AutoDeployer.fileAdded(AutoDeployer.java:95)
>         at
> org.apache.openejb.config.AutoDeployer.scan(AutoDeployer.java:288)
>         at
> org.apache.openejb.config.AutoDeployer$1.run(AutoDeployer.java:213)
>         at java.util.TimerThread.mainLoop(Timer.java:555)
>         at java.util.TimerThread.run(Timer.java:505)
>
>
>
> --
>
> *adjusting exclude/include*
>
> META-INF/scan.xml Didn't work.
>
> I had to modify *conf/system.properties* but I absolutely hate this method.
> What if many apps are
> deployed on the server ? include/exclude are going to be a real mess. I
> really feel that it
> should be possible to put those IN the ear/war for each app, in their
> META-INF/something.xml ...
>
>
> Thank you for your anwers!
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Couple-of-questions-it-works-but-ear-tp4663190p4663214.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to