Hi don't drop an ear into webapps, you can drop it in folder $CATALINA_BASE/apps if you add in tomee.xml the line <Deployments dir="apps" />
that said your declaration should work if you have a META-INF/application.xml Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github | LinkedIn 2017-12-06 16:52 GMT+01:00 Jonathan Gallimore <jonathan.gallim...@gmail.com>: > Are you willing to try a 7.0.5-SNAPSHOT for us? I patched some issues with > deploying ears in the webapps folder a couple of weeks ago, so that aspect > at least might be fixed (and if you still have issues, I'd like to try and > resolve them). > > Cheers > > Jon > > On Wed, Dec 6, 2017 at 3:49 PM, awmurray <alan.murra...@lexisnexis.com> > wrote: > >> I'm converting from an old version of TomEE to the newest stable version of >> TomEE+ and I think I have most of the problems resolved, except one. >> >> I have been deploying statically with this in >> $CATALINA_HOME/conf/tomee.xml: >> >> <Deployments jar="C:\app-pathl\myapp-ear\target\exploded-ear-with-2-wars" >> /> >> >> When I start TomEE, it doesn't deploy this app like it used to - previously >> it would treat this as an exploded artifact and simply start and work. >> With >> the new TomEE+, it ignores this completely so the app isn't processed by >> the >> deployment process. >> >> When I try to dynamically drop the myapp-ear.ear into >> $CATALINA_HOME/webapps, it does this in webapps: >> >> webapps >> - myapp-ear.ear >> - myapp-ear (exploded directory) >> - myapp-ear-war1 (exploded directory) >> >> And fails because of ClassNotFound exceptions in myapp-ear-war1. It should >> leave the WARs under the EAR I would think?? >> >> >> >> >> -- >> Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users- >> f979441.html >>