Well, this could unpack my ear file (which cotains ejb module + webapp modules) dropping my ear file to apps but im getting a DuplicateDeploymentIdException.
SEVERE: Unable to deploy collapsed ear in war StandardEngine[Catalina].StandardHost[localhost_ear].StandardContext[/myenterprise-ear-1.0-SNAPSHOT] org.apache.openejb.DuplicateDeploymentIdException: Application cannot be deployed as it contains deployment-ids which are in use: app: /home/maxtorzito/tomee/apache-tomee-1.5.2-20121227.041524-16-webprofile/apps/myenterprise-ear-1.0-SNAPSHOT EJBModuleTest MyEJBBean My ear contains: my-enterprise-ear -my-ejb-module -my-enterprise-web When i start tomee with my ear in apps i can see that tomee create a folder in work/catalina/localhost/my-enterprise-web where my-enterprise-web is my webmodule of my ear file. But when i try to do the hot deploy in apps (adding the host tag i mentioned above) i can see tomee create 2 folder's: work/catalina/localhost/my-enterprise-ear work/catalina/localhost/my-enterprise-web Then i assume this is the problem of the DuplicateDeploymentIdException, but i dont know how can i configure tomee with hot deploy (autodeploy) from ear files. Anyone? 2012/12/28 José Luis Cetina <maxtorz...@gmail.com> > I answer to myself. > > I create a host tag in server.xml using as appbase=apps and unpackWARs=true > > > 2012/12/28 José Luis Cetina <maxtorz...@gmail.com> > >> Is there a way to configure TomEE for use hot deploys with ears in apps >> folder, like wars in webapps folder? >> >> When i drop my ear file in apps folder the ear file never >> get uncompressed i have to restart TomEE. >> > > > > -- > ------------------------------------------------------------------- > *SCJA. José Luis Cetina* > ------------------------------------------------------------------- > -- ------------------------------------------------------------------- *SCJA. José Luis Cetina* -------------------------------------------------------------------