tomee 1.6.1-snapshot tomcat7:exec-war-only failure

2014-03-05 Thread jieryn
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

Re: tomee 1.6.1-snapshot tomcat7:exec-war-only failure

2014-03-05 Thread Romain Manni-Bucau
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

Re: tomee 1.6.1-snapshot tomcat7:exec-war-only failure

2014-03-05 Thread jieryn
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

Re: tomee 1.6.1-snapshot tomcat7:exec-war-only failure

2014-03-05 Thread Romain Manni-Bucau
Actually i started to hack it when i added build goal but the fact the main creates a faked instance in .extract made me thought it was useless...we can still add it btw Le 6 mars 2014 01:20, jieryn jie...@gmail.com a écrit : I manually applied your patch found here:

Re: tomee 1.6.1-snapshot tomcat7:exec-war-only failure

2014-03-05 Thread Romain Manni-Bucau
committed + asked Olivier if we can enhance tomcat plugin to make it easier without forking Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-03-06 7:19 GMT+01:00 Romain