I manually applied your patch found here: https://gist.github.com/rmannibucau/89a60459dd7ed72a560d
I confirm that this fixes the problem, and I can run tomee-embedded with tomcat7-m-p:exec-war. Maybe tomee-m-p should be taught how to do this? The java -jar technique is quite powerful. Thanks for your help! On Wed, Mar 5, 2014 at 4:11 PM, Romain Manni-Bucau <rmannibu...@gmail.com> wrote: > It needs a npe protection i was not able to commit tonight (ill try tmr if > nby beats be) > > Thats a case you cant get with normal tomcat/tomee actually. > Le 5 mars 2014 20:59, "jieryn" <jie...@gmail.com> a écrit : > >> Hello, trying to embed tomee into a tomcat 7 executable war via >> tomcat7-m-p:2.0 (2.1 and 2.2 have huge failures). The executable war >> is built and seems to want to run except it takes an exception on >> start up: https://gist.github.com/jieryn/312e8d14fae84ee7da95 >> >> This is with pom.xml and src/main/tomee/server.xml found from >> https://gist.github.com/rmannibucau/81984cf63778ec31392c >> >> If I remove the server.xml, tomcat runs just fine and can even serve >> up src/main/webapp/index.html h1:hello tomee! if I place it there. >> However, then the tomee server listener is not initialized.. >> >> Any help on this is appreciated, thanks! >>