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/BMM-0.0.2-SNAPSHOT 28.06.2012 16:52:08 org.apache.openejb.client.EventLogger log INFO: RemoteInitialContextCreated{providerUri=http://localhost:8080/tomee/ejb} Module with moduleId "apps/BMM-0.0.2-SNAPSHOT" does not exist. -- View this message in context: http://openejb.979440.n4.nabble.com/DuplicateDeploymentIdException-when-deploying-ear-with-application-xml-tp4655362p4655869.html Sent from the OpenEJB User mailing list archive at Nabble.com.