PS2: this is fixed on last mongo driver version
https://github.com/angelozerr/mongo-jee/commit/d74918d10bd26eba83be1c95421be0ad9e3792de
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014/1/23 Romain Manni-Bucau <rmannibu...@gmail.com>:
> PS: you can also define your jaxrs application in your web.xml for
> select only the one you want or put mongo in the container
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
>
> 2014/1/23 Romain Manni-Bucau <rmannibu...@gmail.com>:
>> Hi
>>
>> exclude mongo (add "monogo" on a line in conf/exclusions.list) cause
>> it contains 
>> https://github.com/angelozerr/mongo-jee/blob/master/mongo-jee/src/main/java/com/mongodb/jee/jaxrs/JaxrsMongoApplication.java
>> which is deployed
>> Romain Manni-Bucau
>> Twitter: @rmannibucau
>> Blog: http://rmannibucau.wordpress.com/
>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> Github: https://github.com/rmannibucau
>>
>>
>>
>> 2014/1/23 Luc LABBE <luc.la...@gmail.com>:
>>> This problem appears when I have upgraded the version of the tomee server
>>> to 1.6.0 and higher :
>>>            <plugin>
>>>                 <groupId>org.apache.openejb.maven</groupId>
>>>                 <artifactId>tomee-maven-plugin</artifactId>
>>>                 <version>1.6.1-SNAPSHOT</version>
>>>                 <configuration>
>>>                     <tomeeVersion>1.6.0</tomeeVersion>
>>>                     <tomeeClassifier>plus</tomeeClassifier>
>>>                     <synchronization></synchronization>
>>>                 </configuration>
>>>             </plugin>
>>>
>>> The version 1.5.2 works correctly.
>>>
>>> Luc
>>>
>>>
>>>
>>> 2014/1/23 Luc LABBE <luc.la...@gmail.com>
>>>
>>>> Hi all,
>>>>
>>>> I develop a todo application with AngularJS and Java EE6 and I use the
>>>> Tomee Maven Plugin to test it.
>>>>
>>>> Sources are available here : https://github.com/Wayis/angularjs-jee6-todo
>>>>
>>>> My problem is that tomee don't found any resource classes when it deploys
>>>> my webapp.
>>>> This bug appeared suddenly after a repack and rerun the tomee server.
>>>>
>>>> To reproduce the bug :
>>>> * clone the git repository
>>>> * mvn package
>>>> * mvn tomee:run
>>>>
>>>> and I see this log :
>>>> Grave: No resource classes found
>>>> janv. 23, 2014 4:33:51 PM org.apache.openejb.observer.ObserverManager
>>>> fireEvent
>>>> Grave: error invoking
>>>> Observer{class=org.apache.tomee.webservices.TomeeJaxRsService}
>>>> org.apache.cxf.service.factory.ServiceConstructionException
>>>> at
>>>> org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:194)
>>>>  at
>>>> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.deployApplication(CxfRsHttpListener.java:410)
>>>> at
>>>> org.apache.openejb.server.rest.RESTService.deployApplication(RESTService.java:453)
>>>>  at
>>>> org.apache.openejb.server.rest.RESTService.afterApplicationCreated(RESTService.java:231)
>>>> at
>>>> org.apache.tomee.webservices.TomeeJaxRsService.afterApplicationCreated(TomeeJaxRsService.java:51)
>>>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>>  at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>> at java.lang.reflect.Method.invoke(Method.java:606)
>>>>  at
>>>> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:149)
>>>> at
>>>> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
>>>>  at
>>>> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:108)
>>>> at
>>>> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1601)
>>>>  at
>>>> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:113)
>>>> at
>>>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>>>>  at
>>>> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>>>> at
>>>> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>>>>  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
>>>> at
>>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
>>>>  at
>>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
>>>> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:634)
>>>>  at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1074)
>>>> at
>>>> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1858)
>>>>  at
>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>>>  at
>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>>  at java.lang.Thread.run(Thread.java:744)
>>>> Caused by: javax.ws.rs.WebApplicationException
>>>> at
>>>> org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean.checkResources(AbstractJAXRSFactoryBean.java:315)
>>>>  at
>>>> org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:144)
>>>> ... 27 more
>>>>
>>>> Anyone has an idea about this error log ?
>>>> This morning it worked correctly...
>>>>
>>>> Thanks for your help.
>>>>
>>>> Luc
>>>>
>>>>

Reply via email to