Hi Rafael, I guess it is related to https://issues.apache.org/jira/browse/TOMEE-1703
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2016-02-02 11:14 GMT+01:00 Rafael Pestano <[email protected]>: > Hi guys, > > > I'm trying to deploy a spring-mvc application as an ear on Tomee7-SNAPSHOT > (built it yesterday) but the spring context isn't initialized. > > If I extract the war from the ear and deploy it then the spring context > starts and I can access the rest endpoint: > *http://localhost:8080/rest-ws-spring/api/message > <http://localhost:8080/rest-ws-spring/api/message>*. > > Here is the log for the ear deployment: http://pastebin.com/nRT0knmm (no > spring context initialization is triggered) > > and here is log for war deploy: http://pastebin.com/Li4jHkeY > > In the war deploy I get spring initialization logs: > INFO - FrameworkServlet 'spring-mvc-dispatcher': initialization started > INFO - FrameworkServlet 'spring-mvc-dispatcher': initialization completed > in 17 ms > > > You can get the ear here: > http://s000.tinyupload.com/?file_id=05217187591843118884 > <http://s000.tinyupload.com/?file_id=05217187591843118884> > > Any help is appreciated. > > -- > <http://www.advancedit.com.br/>Att, > > Rafael M. Pestano > > Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul > http://rpestano.wordpress.com/ > @realpestano <https://twitter.com/realpestano> >
