You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by herau <le...@gmail.com> on 2014/07/01 14:18:26 UTC

IllegalArgument TomEEJaxRsService

Hi everyone, 

I'm trying to use TomEE+ 1.6.0 for a Spring (4.0.3.RELEASE) / Jersey (1.17)
application.

I launch tomEE (through Intellij Idea) with this system variable to be able
to use jersey : 
-Dcom.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager=true

When i launch TomEE, Springs beans are correctly registered but at the end
of the launch i have this Exception : 

Jul 01, 2014 1:49:53 PM org.apache.openejb.observer.ObserverManager
fireEvent
SEVERE: error invoking
Observer{class=org.apache.tomee.webservices.TomeeJaxRsService}
java.lang.IllegalArgumentException: java.lang.ThreadLocal is not an
interface
	at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:496)
	at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:722)
	at
org.apache.cxf.jaxrs.utils.InjectionUtils.createThreadLocalProxy(InjectionUtils.java:893)
	at
org.apache.cxf.jaxrs.model.AbstractResourceInfo.findContextFields(AbstractResourceInfo.java:95)
	at
org.apache.cxf.jaxrs.model.AbstractResourceInfo.<init>(AbstractResourceInfo.java:64)
	at
org.apache.cxf.jaxrs.model.ClassResourceInfo.<init>(ClassResourceInfo.java:82)
	at
org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:227)
	at
org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:218)
	at
org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.createResourceInfo(JAXRSServiceFactoryBean.java:204)
	at
org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClasses(JAXRSServiceFactoryBean.java:167)
	at
org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setResourceClasses(JAXRSServerFactoryBean.java:255)
	at
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.deployApplication(CxfRsHttpListener.java:387)
	at
org.apache.openejb.server.rest.RESTService.deployApplication(RESTService.java:453)
	at
org.apache.openejb.server.rest.RESTService.afterApplicationCreated(RESTService.java:273)
	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:1600)
	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:633)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.deployWar(TomcatWebAppBuilder.java:622)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps(TomcatWebAppBuilder.java:593)
	at
org.apache.tomee.catalina.deployment.TomcatWebappDeployer.deploy(TomcatWebappDeployer.java:44)
	at org.apache.openejb.assembler.DeployerEjb.deploy(DeployerEjb.java:168)
	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.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:182)
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:164)
	at
org.apache.openejb.security.internal.InternalSecurityInterceptor.invoke(InternalSecurityInterceptor.java:34)
	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.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:182)
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:164)
	at
org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:180)
	at
org.apache.openejb.monitoring.StatsInterceptor.invoke(StatsInterceptor.java:99)
	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.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:182)
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:164)
	at
org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:80)
	at
org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:212)
	at
org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:181)
	at
org.apache.openejb.server.ejbd.EjbRequestHandler.doEjbObject_BUSINESS_METHOD(EjbRequestHandler.java:370)
	at
org.apache.openejb.server.ejbd.EjbRequestHandler.processRequest(EjbRequestHandler.java:181)
	at
org.apache.openejb.server.ejbd.EjbDaemon.processEjbRequest(EjbDaemon.java:344)
	at org.apache.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:240)
	at org.apache.openejb.server.ejbd.EjbServer.service(EjbServer.java:86)
	at
org.apache.openejb.server.httpd.ServerServlet.service(ServerServlet.java:58)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
	at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
	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)


Note : i have not exception when i launch tomEE with tomee maven plugin but
the application doesn't works. The configured jersey path return a "404 not
found". 

<plugin>
                <groupId>org.apache.openejb.maven</groupId>
                <artifactId>tomee-maven-plugin</artifactId>
                <version>1.6.0</version>
                <configuration>
                    <systemVariables>
                           
<com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>true</com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>
                    </systemVariables>
                    <path>/wp</path>
                    <libs>
                        <lib>mysql:mysql-connector-java:5.1.23</lib>
                    </libs>
                </configuration>
            </plugin>



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: IllegalArgument TomEEJaxRsService

Posted by herau <le...@gmail.com>.
what happen if several applications are running in the same tomEE server ?
the configuration is shared between applications ?



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670262.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: IllegalArgument TomEEJaxRsService

Posted by herau <le...@gmail.com>.
BTW, properties that you show me aren't in the documentation page :
http://tomee.apache.org/properties-listing.html


2014-07-03 10:31 GMT+02:00 Aurélien Leboulanger <
leboulanger.aurelien@gmail.com>:

> ok thanks,
> maybe it's more maintainable to use the openejb.classloader.forced-load
> property instead of copy a default exclusions list, which can be evolved ?
>
>
>
>
> 2014-07-03 8:59 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
> ml-node+s979440n4670280h1@n4.nabble.com>:
>
>  Yes, it is in tomee and we should use this one by default.
>>
>> You can create a conf/exclusions.list with
>>
>> http://svn.apache.org/repos/asf/tomee/tomee/trunk/container/openejb-core/src/main/resources/default.exclusions
>> but commons-lang3- line or add
>> openejb.classloader.forced-load=org.apache.commons.lang3 in
>> conf.system.properties
>>
>>
>> Romain Manni-Bucau
>> Twitter: @rmannibucau
>> Blog: http://rmannibucau.wordpress.com/
>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> Github: https://github.com/rmannibucau
>>
>>
>> 2014-07-03 8:44 GMT+02:00 herau <[hidden email]
>> <http://user/SendEmail.jtp?type=node&node=4670280&i=0>>:
>>
>> > With the webProfile classifier it's works. Thanks for your help ;-)
>> >
>> > In production, i have to work with TomEE+ so i will try your solution
>> with
>> > the configuration in conf.d/cxf-rs.properties.
>> >
>> > Just another question, the jar containing the library
>> > org.apache.commons.lang3 seems to be removed from the classpath, but
>> it's
>> > not appear in the log.
>> > maybe have a conflict with libraries in tomEE ?
>> >
>> > Exeception : java.lang.NoSuchMethodError:
>> >
>> org.apache.commons.lang3.StringUtils.isNoneEmpty([Ljava/lang/CharSequence;)Z
>>
>> >
>> >
>> >
>> >
>> > 2014-07-02 19:48 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4670280&i=1>>:
>>
>> >
>> >> src/main/tomee/conf/conf.d/cxf-rs.properties
>> >>
>> >> if you have tomee maven plugin just ensure you use either default
>> >> classifier (nothing specified) or webprofile one. If that's the case
>> >> you really can't have this issue and it means you have a dead instance
>> >> running somewhere.
>> >>
>> >>
>> >> Romain Manni-Bucau
>> >> Twitter: @rmannibucau
>> >> Blog: http://rmannibucau.wordpress.com/
>> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> >> Github: https://github.com/rmannibucau
>> >>
>> >>
>> >> 2014-07-02 19:26 GMT+02:00 herau <[hidden email]
>> >> <http://user/SendEmail.jtp?type=node&node=4670277&i=0>>:
>> >>
>> >> > I only work with The tomee plugin.
>> >> > I'll try to deactivate the tomee jaxrs but i don't understand where
>> i
>> >> have
>> >> > tout put The property ? In conf/system.properties ?
>> >> > Le 2 juil. 2014 19:13, "Romain Manni-Bucau [via TomEE & OpenEJB]" <
>> >> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4670277&i=1>>
>>
>> >> a écrit :
>> >> >
>> >> >> check you local installation or reproduce it with tomee maven
>> plugin
>> >> >> to let us dig.
>> >> >>
>> >> >> Maybe try forcing tomee jaxrs to be deactivated:
>> >> >> conf/conf.d/cxf-rs.properties and set disabled = true.
>> >> >>
>> >> >> BTW you don't need jersey to do JAXRS with tomee.
>> >> >>
>> >> >>
>> >> >> Romain Manni-Bucau
>> >> >> Twitter: @rmannibucau
>> >> >> Blog: http://rmannibucau.wordpress.com/
>> >> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> >> >> Github: https://github.com/rmannibucau
>> >> >>
>> >> >>
>> >> >> 2014-07-02 18:49 GMT+02:00 herau <[hidden email]
>> >> >> <http://user/SendEmail.jtp?type=node&node=4670275&i=0>>:
>> >> >>
>> >> >> > spring is configured to /titi and a Jersey filter is set to
>> /titi/api
>> >> >> for
>> >> >> > Rest resources (with
>> >> org.springframework.security.web.FilterChainProxy)
>> >> >> >
>> >> >> > /titi/api works (even if i still have the Execption : invoking
>> >> >> > Observer{class=org.apache.tomee.webservices.TomeeJaxRsService})
>> >> >> >
>> >> >> > but /titi is ko
>> >> >> >
>> >> >> > 2014-07-02 18:47:15,995 ERROR
>> >> >> > com.dassault_systemes.dsi.servlet.ErrorServlet : Exception caught
>> >> lately
>> >> >> in
>> >> >> > web layer
>> >> >> > java.lang.NullPointerException
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.onMessage(CxfRsHttpListener.java:170)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> org.apache.openejb.server.rest.RsServlet.service(RsServlet.java:53)
>> >> >> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>
>> >>
>> >> >>
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> >>
>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>
>> >>
>> >> >>
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> com.dassault_systemes.dsi.cas.DsiStandaloneCasFilter.doFilter(DsiStandaloneCasFilter.java:35)
>>
>> >>
>> >> >>
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> com.dassault_systemes.dsi.servlet.SetupFilter.doFilter(SetupFilter.java:98)
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
>>
>> >>
>> >> >>
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>>
>> >>
>> >> >>
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>
>> >>
>> >> >>
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> com.dassault_systemes.dsi.servlet.VaryFilter.doFilterInternal(VaryFilter.java:31)
>>
>> >>
>> >> >>
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>>
>> >>
>> >> >>
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>
>> >>
>> >> >>
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:919)
>>
>> >>
>> >> >>
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:1015)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>
>> >>
>> >> >>
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>
>> >>
>> >> >>
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>>
>> >>
>> >> >>
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> >>
>> >>
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
>>
>> >>
>> >> >>
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
>>
>> >>
>> >> >>
>> >> >> >  at
>> >> >> >
>> >> >>
>> >>
>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>>
>> >>
>> >> >>
>> >> >> > 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)
>> >> >> >
>> >> >> >
>> >> >> > ErrorServlet is configured like this :
>> >> >> >
>> >> >> > <servlet>
>> >> >> >         <servlet-name>ErrorServlet</servlet-name>
>> >> >> >
>> >> >> >
>> >> >>
>> >>
>> <servlet-class>com.dassault_systemes.dsi.servlet.ErrorServlet</servlet-class>
>>
>> >>
>> >> >>
>> >> >> >     </servlet>
>> >> >> >     <servlet-mapping>
>> >> >> >         <servlet-name>ErrorServlet</servlet-name>
>> >> >> >         <url-pattern>/WEB-INF/ErrorServlet</url-pattern>
>> >> >> >     </servlet-mapping>
>> >> >> >     <error-page>
>> >> >> >         <error-code>500</error-code>
>> >> >> >         <location>/WEB-INF/ErrorServlet</location>
>> >> >> >     </error-page>
>> >> >> >
>> >> >> >
>> >> >> > 2014-07-02 17:32 GMT+02:00 Romain Manni-Bucau [via TomEE &
>> OpenEJB] <
>> >> >> > [hidden email] <
>> http://user/SendEmail.jtp?type=node&node=4670275&i=1>>:
>> >>
>> >> >> >
>> >> >> >> no, this works fine. Did you ensure there is no mapping conflict
>> >> >> >> between both? (/spring/* and /rest/* instead of /spring/* and
>> >> >> >> /spring/rest/* for instance)
>> >> >> >>
>> >> >> >>
>> >> >> >> Romain Manni-Bucau
>> >> >> >> Twitter: @rmannibucau
>> >> >> >> Blog: http://rmannibucau.wordpress.com/
>> >> >> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> >> >> >> Github: https://github.com/rmannibucau
>> >> >> >>
>> >> >> >>
>> >> >> >> 2014-07-02 17:16 GMT+02:00 herau <[hidden email]
>> >> >> >> <http://user/SendEmail.jtp?type=node&node=4670273&i=0>>:
>> >> >> >>
>> >> >> >> > If i set in my system.properties this property :
>> >> >> >> >
>> >> >> >> > *openejb.jaxrs.application = false*
>> >> >> >> >
>> >> >> >> > i can go to my index page but my rest ressources doesn't
>> works.
>> >> >> >> >
>> >> >> >> > my index page is rendered with spring mvc but my rest api is
>> >> managed
>> >> >> by
>> >> >> >> > jersey (through a filter declared in spring security)
>> >> >> >> >
>> >> >> >> > any known issue with spring mvc
>> >> >> >> > and org.springframework.security.web.FilterChainProxy ?
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > 2014-07-02 15:41 GMT+02:00 Aurélien Leboulanger <
>> >> >> >> > [hidden email] <
>> >> http://user/SendEmail.jtp?type=node&node=4670273&i=1>>:
>> >> >>
>> >> >> >> >
>> >> >> >> >> i run only one instance of tomee.
>> >> >> >> >>
>> >> >> >> >> i use tomEE+ 1.6.0 and i only modify the
>> conf/system.properties
>> >> to
>> >> >> add
>> >> >> >> the
>> >> >> >> >> jersey property.
>> >> >> >> >>
>> >> >> >> >> i have the same issue with the tomee plugin :
>> >> >> >> >>
>> >> >> >> >> <plugin>
>> >> >> >> >>                 <groupId>org.apache.openejb.maven</groupId>
>> >> >> >> >>                 <artifactId>tomee-maven-plugin</artifactId>
>> >> >> >> >>                 <version>1.6.0</version>
>> >> >> >> >>                 <configuration>
>> >> >> >> >>                     <systemVariables>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> <com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>true</com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>
>>
>> >>
>> >> >>
>> >> >> >>
>> >> >> >> >>                     </systemVariables>
>> >> >> >> >>                     <!--<path>/wp</path>-->
>> >> >> >> >>                     <context>wp</context>
>> >> >> >> >>                     <tomeeClassifier>plus</tomeeClassifier>
>> >> >> >> >>                      <libs>
>> >> >> >> >>
>> >> <lib>mysql:mysql-connector-java:5.1.23</lib>
>> >> >> >> >>                     </libs>
>> >> >> >> >>                 </configuration>
>> >> >> >> >>             </plugin>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> 2014-07-02 12:41 GMT+02:00 Romain Manni-Bucau [via TomEE &
>> >> OpenEJB]
>> >> >> <
>> >> >> >> >> [hidden email] <
>> >> http://user/SendEmail.jtp?type=node&node=4670273&i=2>>:
>> >> >>
>> >> >> >>
>> >> >> >> >>
>> >> >> >> >>  hi
>> >> >> >> >>>
>> >> >> >> >>> yes the conf/system.property is global.
>> >> >> >> >>>
>> >> >> >> >>> I use jersey with 1.6.0.2 without much more than this
>> property.
>> >> >> >> >>>
>> >> >> >> >>> something is weird, dont you have another tomee instance
>> running
>> >> >> >> >>> somewhere? seems you run on webprofile but then the error
>> can't
>> >> >> happen
>> >> >> >> >>> since these classes are nor here
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >> >>> Romain Manni-Bucau
>> >> >> >> >>> Twitter: @rmannibucau
>> >> >> >> >>> Blog: http://rmannibucau.wordpress.com/
>> >> >> >> >>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> >> >> >> >>> Github: https://github.com/rmannibucau
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >> >>> 2014-07-02 10:42 GMT+02:00 herau <[hidden email]
>> >> >> >> >>> <http://user/SendEmail.jtp?type=node&node=4670267&i=0>>:
>> >> >> >> >>>
>> >> >> >> >>> > maybe helpful to known that when i launch TomEE, i have
>> this
>> >> kind
>> >> >> of
>> >> >> >> >>> logs :
>> >> >> >> >>> >
>> >> >> >> >>> > Jul 02, 2014 10:38:57 AM
>> >> org.apache.tomee.catalina.TomcatLoader
>> >> >> >> >>> > optionalService
>> >> >> >> >>> > INFO: Optional service not installed:
>> >> >> >> >>> > org.apache.tomee.webservices.TomeeJaxRsService
>> >> >> >> >>> > Jul 02, 2014 10:38:57 AM
>> >> org.apache.tomee.catalina.TomcatLoader
>> >> >> >> >>> > optionalService
>> >> >> >> >>> > INFO: Optional service not installed:
>> >> >> >> >>> > org.apache.tomee.webservices.TomeeJaxWsService
>> >> >> >> >>> >
>> >> >> >> >>> >
>> >> >> >> >>> >
>> >> >> >> >>> > --
>> >> >> >> >>> > View this message in context:
>> >> >> >> >>>
>> >> >> >>
>> >> >>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670266.html
>> >> >> >> >>>
>> >> >> >> >>> > Sent from the TomEE Users mailing list archive at
>> Nabble.com.
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >> >>> ------------------------------
>> >> >> >> >>>  If you reply to this email, your message will be added to
>> the
>> >> >> >> >>> discussion below:
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >>
>> >> >>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670267.html
>> >> >> >> >>>  To unsubscribe from IllegalArgument TomEEJaxRsService,
>> click
>> >> here
>> >> >> >> >>> <
>> >> >> >>
>> >> >> >> >>> .
>> >> >> >> >>> NAML
>> >> >> >> >>> <
>> >> >> >>
>> >> >>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>> >>
>> >> >>
>> >> >> >>
>> >> >> >> >>>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> --
>> >> >> >> >> Aurélien Leboulanger
>> >> >> >> >> portail web : http://etudiant.univ-mlv.fr/~aleboula/
>> >> >> >> >> 06 - 87 - 75 - 44 - 87
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > Aurélien Leboulanger
>> >> >> >> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
>> >> >> >> > 06 - 87 - 75 - 44 - 87
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > View this message in context:
>> >> >> >>
>> >> >>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670272.html
>> >> >> >>
>> >> >> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
>> >> >> >>
>> >> >> >>
>> >> >> >> ------------------------------
>> >> >> >>  If you reply to this email, your message will be added to the
>> >> >> discussion
>> >> >> >> below:
>> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670273.html
>> >> >> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click
>> here
>> >> >> >> <
>> >> >> >> .
>> >> >> >> NAML
>> >> >> >> <
>> >> >>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>> >>
>> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Aurélien Leboulanger
>> >> >> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
>> >> >> > 06 - 87 - 75 - 44 - 87
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > View this message in context:
>> >> >>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670274.html
>> >> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >> ------------------------------
>> >> >>  If you reply to this email, your message will be added to the
>> >> discussion
>> >> >> below:
>> >> >>
>> >> >>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670275.html
>> >>
>> >> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>> >> >> <
>> >>
>> >> >> .
>> >> >> NAML
>> >> >> <
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > View this message in context:
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670276.html
>> >>
>> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ------------------------------
>> >>  If you reply to this email, your message will be added to the
>> discussion
>> >> below:
>> >>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670277.html
>>
>> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>> >> <
>>
>> >> .
>> >> NAML
>> >> <
>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>> >>
>> >
>> >
>> >
>> > --
>> > Aurélien Leboulanger
>> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
>> > 06 - 87 - 75 - 44 - 87
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670279.html
>>
>> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670280.html
>>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4670252&code=bGVib3VsYW5nZXIuYXVyZWxpZW5AZ21haWwuY29tfDQ2NzAyNTJ8LTgzNDU4MTk5MA==>
>> .
>> NAML
>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
> --
> Aurélien Leboulanger
> portail web : http://etudiant.univ-mlv.fr/~aleboula/
> 06 - 87 - 75 - 44 - 87
>



-- 
Aurélien Leboulanger
portail web : http://etudiant.univ-mlv.fr/~aleboula/
06 - 87 - 75 - 44 - 87




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670283.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: IllegalArgument TomEEJaxRsService

Posted by herau <le...@gmail.com>.
ok thanks,
maybe it's more maintainable to use the openejb.classloader.forced-load
property instead of copy a default exclusions list, which can be evolved ?




2014-07-03 8:59 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
ml-node+s979440n4670280h1@n4.nabble.com>:

> Yes, it is in tomee and we should use this one by default.
>
> You can create a conf/exclusions.list with
>
> http://svn.apache.org/repos/asf/tomee/tomee/trunk/container/openejb-core/src/main/resources/default.exclusions
> but commons-lang3- line or add
> openejb.classloader.forced-load=org.apache.commons.lang3 in
> conf.system.properties
>
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-07-03 8:44 GMT+02:00 herau <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4670280&i=0>>:
>
> > With the webProfile classifier it's works. Thanks for your help ;-)
> >
> > In production, i have to work with TomEE+ so i will try your solution
> with
> > the configuration in conf.d/cxf-rs.properties.
> >
> > Just another question, the jar containing the library
> > org.apache.commons.lang3 seems to be removed from the classpath, but
> it's
> > not appear in the log.
> > maybe have a conflict with libraries in tomEE ?
> >
> > Exeception : java.lang.NoSuchMethodError:
> >
> org.apache.commons.lang3.StringUtils.isNoneEmpty([Ljava/lang/CharSequence;)Z
>
> >
> >
> >
> >
> > 2014-07-02 19:48 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4670280&i=1>>:
> >
> >> src/main/tomee/conf/conf.d/cxf-rs.properties
> >>
> >> if you have tomee maven plugin just ensure you use either default
> >> classifier (nothing specified) or webprofile one. If that's the case
> >> you really can't have this issue and it means you have a dead instance
> >> running somewhere.
> >>
> >>
> >> Romain Manni-Bucau
> >> Twitter: @rmannibucau
> >> Blog: http://rmannibucau.wordpress.com/
> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> Github: https://github.com/rmannibucau
> >>
> >>
> >> 2014-07-02 19:26 GMT+02:00 herau <[hidden email]
> >> <http://user/SendEmail.jtp?type=node&node=4670277&i=0>>:
> >>
> >> > I only work with The tomee plugin.
> >> > I'll try to deactivate the tomee jaxrs but i don't understand where i
> >> have
> >> > tout put The property ? In conf/system.properties ?
> >> > Le 2 juil. 2014 19:13, "Romain Manni-Bucau [via TomEE & OpenEJB]" <
> >> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4670277&i=1>>
>
> >> a écrit :
> >> >
> >> >> check you local installation or reproduce it with tomee maven plugin
> >> >> to let us dig.
> >> >>
> >> >> Maybe try forcing tomee jaxrs to be deactivated:
> >> >> conf/conf.d/cxf-rs.properties and set disabled = true.
> >> >>
> >> >> BTW you don't need jersey to do JAXRS with tomee.
> >> >>
> >> >>
> >> >> Romain Manni-Bucau
> >> >> Twitter: @rmannibucau
> >> >> Blog: http://rmannibucau.wordpress.com/
> >> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> >> Github: https://github.com/rmannibucau
> >> >>
> >> >>
> >> >> 2014-07-02 18:49 GMT+02:00 herau <[hidden email]
> >> >> <http://user/SendEmail.jtp?type=node&node=4670275&i=0>>:
> >> >>
> >> >> > spring is configured to /titi and a Jersey filter is set to
> /titi/api
> >> >> for
> >> >> > Rest resources (with
> >> org.springframework.security.web.FilterChainProxy)
> >> >> >
> >> >> > /titi/api works (even if i still have the Execption : invoking
> >> >> > Observer{class=org.apache.tomee.webservices.TomeeJaxRsService})
> >> >> >
> >> >> > but /titi is ko
> >> >> >
> >> >> > 2014-07-02 18:47:15,995 ERROR
> >> >> > com.dassault_systemes.dsi.servlet.ErrorServlet : Exception caught
> >> lately
> >> >> in
> >> >> > web layer
> >> >> > java.lang.NullPointerException
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.onMessage(CxfRsHttpListener.java:170)
>
> >>
> >> >>
> >> >> > at
> >> org.apache.openejb.server.rest.RsServlet.service(RsServlet.java:53)
> >> >> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> >> >> > at
> >> >> >
> >> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>
> >>
> >> >>
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> >>
> >> >>
> >> >> > at
> >> >>
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>
> >>
> >> >>
> >> >> > at
> >> >> >
> >> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> >>
> >> >>
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>
> >>
> >> >>
> >> >> > at
> >> >> >
> >> >>
> >>
> com.dassault_systemes.dsi.cas.DsiStandaloneCasFilter.doFilter(DsiStandaloneCasFilter.java:35)
>
> >>
> >> >>
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>
> >>
> >> >>
> >> >> > at
> >> >> >
> >> >>
> >>
> com.dassault_systemes.dsi.servlet.SetupFilter.doFilter(SetupFilter.java:98)
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>
> >>
> >> >>
> >> >> > at
> >> >> >
> >> >>
> >>
> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
>
> >>
> >> >>
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
>
> >>
> >> >>
> >> >> > at
> >> >> >
> >> >>
> >>
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>
> >>
> >> >>
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
>
> >>
> >> >>
> >> >> > at
> >> >> >
> >> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>
> >>
> >> >>
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> >>
> >> >>
> >> >> > at
> >> >> >
> >> >>
> >>
> com.dassault_systemes.dsi.servlet.VaryFilter.doFilterInternal(VaryFilter.java:31)
>
> >>
> >> >>
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)
>
> >>
> >> >>
> >> >> > at
> >> >> >
> >> >>
> >>
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>
> >>
> >> >>
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
>
> >>
> >> >>
> >> >> > at
> >> >> >
> >> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>
> >>
> >> >>
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> >>
> >> >>
> >> >> > at
> >> >> >
> >> >>
> >>
> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:919)
>
> >>
> >> >>
> >> >> >  at
> >> >> >
> >> >>
> >>
> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:1015)
>
> >>
> >> >>
> >> >> > at
> >> >> >
> >> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>
> >>
> >> >>
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> >>
> >> >>
> >> >> > at
> >> >> >
> >> >>
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>
> >>
> >> >>
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>
> >>
> >> >>
> >> >> > at
> >> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
>
> >>
> >> >>
> >> >> > at
> >> >> >
> >> >>
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>
> >>
> >> >>
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>
> >>
> >> >>
> >> >> > at
> >> >>
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>
> >>
> >> >>
> >> >> > at
> >> >> >
> >> >>
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
>
> >>
> >> >>
> >> >> > at
> >> >> >
> >> >>
> >>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
>
> >>
> >> >>
> >> >> >  at
> >> >> >
> >> >>
> >>
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>
> >>
> >> >>
> >> >> > 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)
> >> >> >
> >> >> >
> >> >> > ErrorServlet is configured like this :
> >> >> >
> >> >> > <servlet>
> >> >> >         <servlet-name>ErrorServlet</servlet-name>
> >> >> >
> >> >> >
> >> >>
> >>
> <servlet-class>com.dassault_systemes.dsi.servlet.ErrorServlet</servlet-class>
>
> >>
> >> >>
> >> >> >     </servlet>
> >> >> >     <servlet-mapping>
> >> >> >         <servlet-name>ErrorServlet</servlet-name>
> >> >> >         <url-pattern>/WEB-INF/ErrorServlet</url-pattern>
> >> >> >     </servlet-mapping>
> >> >> >     <error-page>
> >> >> >         <error-code>500</error-code>
> >> >> >         <location>/WEB-INF/ErrorServlet</location>
> >> >> >     </error-page>
> >> >> >
> >> >> >
> >> >> > 2014-07-02 17:32 GMT+02:00 Romain Manni-Bucau [via TomEE &
> OpenEJB] <
> >> >> > [hidden email] <
> http://user/SendEmail.jtp?type=node&node=4670275&i=1>>:
> >>
> >> >> >
> >> >> >> no, this works fine. Did you ensure there is no mapping conflict
> >> >> >> between both? (/spring/* and /rest/* instead of /spring/* and
> >> >> >> /spring/rest/* for instance)
> >> >> >>
> >> >> >>
> >> >> >> Romain Manni-Bucau
> >> >> >> Twitter: @rmannibucau
> >> >> >> Blog: http://rmannibucau.wordpress.com/
> >> >> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> >> >> Github: https://github.com/rmannibucau
> >> >> >>
> >> >> >>
> >> >> >> 2014-07-02 17:16 GMT+02:00 herau <[hidden email]
> >> >> >> <http://user/SendEmail.jtp?type=node&node=4670273&i=0>>:
> >> >> >>
> >> >> >> > If i set in my system.properties this property :
> >> >> >> >
> >> >> >> > *openejb.jaxrs.application = false*
> >> >> >> >
> >> >> >> > i can go to my index page but my rest ressources doesn't works.
> >> >> >> >
> >> >> >> > my index page is rendered with spring mvc but my rest api is
> >> managed
> >> >> by
> >> >> >> > jersey (through a filter declared in spring security)
> >> >> >> >
> >> >> >> > any known issue with spring mvc
> >> >> >> > and org.springframework.security.web.FilterChainProxy ?
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> > 2014-07-02 15:41 GMT+02:00 Aurélien Leboulanger <
> >> >> >> > [hidden email] <
> >> http://user/SendEmail.jtp?type=node&node=4670273&i=1>>:
> >> >>
> >> >> >> >
> >> >> >> >> i run only one instance of tomee.
> >> >> >> >>
> >> >> >> >> i use tomEE+ 1.6.0 and i only modify the
> conf/system.properties
> >> to
> >> >> add
> >> >> >> the
> >> >> >> >> jersey property.
> >> >> >> >>
> >> >> >> >> i have the same issue with the tomee plugin :
> >> >> >> >>
> >> >> >> >> <plugin>
> >> >> >> >>                 <groupId>org.apache.openejb.maven</groupId>
> >> >> >> >>                 <artifactId>tomee-maven-plugin</artifactId>
> >> >> >> >>                 <version>1.6.0</version>
> >> >> >> >>                 <configuration>
> >> >> >> >>                     <systemVariables>
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> <com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>true</com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>
>
> >>
> >> >>
> >> >> >>
> >> >> >> >>                     </systemVariables>
> >> >> >> >>                     <!--<path>/wp</path>-->
> >> >> >> >>                     <context>wp</context>
> >> >> >> >>                     <tomeeClassifier>plus</tomeeClassifier>
> >> >> >> >>                      <libs>
> >> >> >> >>
> >> <lib>mysql:mysql-connector-java:5.1.23</lib>
> >> >> >> >>                     </libs>
> >> >> >> >>                 </configuration>
> >> >> >> >>             </plugin>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> 2014-07-02 12:41 GMT+02:00 Romain Manni-Bucau [via TomEE &
> >> OpenEJB]
> >> >> <
> >> >> >> >> [hidden email] <
> >> http://user/SendEmail.jtp?type=node&node=4670273&i=2>>:
> >> >>
> >> >> >>
> >> >> >> >>
> >> >> >> >>  hi
> >> >> >> >>>
> >> >> >> >>> yes the conf/system.property is global.
> >> >> >> >>>
> >> >> >> >>> I use jersey with 1.6.0.2 without much more than this
> property.
> >> >> >> >>>
> >> >> >> >>> something is weird, dont you have another tomee instance
> running
> >> >> >> >>> somewhere? seems you run on webprofile but then the error
> can't
> >> >> happen
> >> >> >> >>> since these classes are nor here
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>> Romain Manni-Bucau
> >> >> >> >>> Twitter: @rmannibucau
> >> >> >> >>> Blog: http://rmannibucau.wordpress.com/
> >> >> >> >>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> >> >> >>> Github: https://github.com/rmannibucau
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>> 2014-07-02 10:42 GMT+02:00 herau <[hidden email]
> >> >> >> >>> <http://user/SendEmail.jtp?type=node&node=4670267&i=0>>:
> >> >> >> >>>
> >> >> >> >>> > maybe helpful to known that when i launch TomEE, i have
> this
> >> kind
> >> >> of
> >> >> >> >>> logs :
> >> >> >> >>> >
> >> >> >> >>> > Jul 02, 2014 10:38:57 AM
> >> org.apache.tomee.catalina.TomcatLoader
> >> >> >> >>> > optionalService
> >> >> >> >>> > INFO: Optional service not installed:
> >> >> >> >>> > org.apache.tomee.webservices.TomeeJaxRsService
> >> >> >> >>> > Jul 02, 2014 10:38:57 AM
> >> org.apache.tomee.catalina.TomcatLoader
> >> >> >> >>> > optionalService
> >> >> >> >>> > INFO: Optional service not installed:
> >> >> >> >>> > org.apache.tomee.webservices.TomeeJaxWsService
> >> >> >> >>> >
> >> >> >> >>> >
> >> >> >> >>> >
> >> >> >> >>> > --
> >> >> >> >>> > View this message in context:
> >> >> >> >>>
> >> >> >>
> >> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670266.html
> >> >> >> >>>
> >> >> >> >>> > Sent from the TomEE Users mailing list archive at
> Nabble.com.
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>> ------------------------------
> >> >> >> >>>  If you reply to this email, your message will be added to
> the
> >> >> >> >>> discussion below:
> >> >> >> >>>
> >> >> >> >>>
> >> >> >>
> >> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670267.html
> >> >> >> >>>  To unsubscribe from IllegalArgument TomEEJaxRsService, click
> >> here
> >> >> >> >>> <
> >> >> >>
> >> >> >> >>> .
> >> >> >> >>> NAML
> >> >> >> >>> <
> >> >> >>
> >> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >> >>
> >> >> >>
> >> >> >> >>>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> --
> >> >> >> >> Aurélien Leboulanger
> >> >> >> >> portail web : http://etudiant.univ-mlv.fr/~aleboula/
> >> >> >> >> 06 - 87 - 75 - 44 - 87
> >> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> > --
> >> >> >> > Aurélien Leboulanger
> >> >> >> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
> >> >> >> > 06 - 87 - 75 - 44 - 87
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> > --
> >> >> >> > View this message in context:
> >> >> >>
> >> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670272.html
> >> >> >>
> >> >> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >> ------------------------------
> >> >> >>  If you reply to this email, your message will be added to the
> >> >> discussion
> >> >> >> below:
> >> >> >>
> >> >> >>
> >> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670273.html
> >> >> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click
> here
> >> >> >> <
> >> >> >> .
> >> >> >> NAML
> >> >> >> <
> >> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Aurélien Leboulanger
> >> >> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
> >> >> > 06 - 87 - 75 - 44 - 87
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > View this message in context:
> >> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670274.html
> >> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ------------------------------
> >> >>  If you reply to this email, your message will be added to the
> >> discussion
> >> >> below:
> >> >>
> >> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670275.html
> >>
> >> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
> >> >> <
> >>
> >> >> .
> >> >> NAML
> >> >> <
> >>
> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >> >>
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670276.html
> >>
> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >>
> >>
> >> ------------------------------
> >>  If you reply to this email, your message will be added to the
> discussion
> >> below:
> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670277.html
>
> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
> >> <
>
> >> .
> >> NAML
> >> <
> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >
> >
> >
> > --
> > Aurélien Leboulanger
> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
> > 06 - 87 - 75 - 44 - 87
> >
> >
> >
> >
> > --
> > View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670279.html
>
> > Sent from the TomEE Users mailing list archive at Nabble.com.
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670280.html
>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4670252&code=bGVib3VsYW5nZXIuYXVyZWxpZW5AZ21haWwuY29tfDQ2NzAyNTJ8LTgzNDU4MTk5MA==>
> .
> NAML
> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
Aurélien Leboulanger
portail web : http://etudiant.univ-mlv.fr/~aleboula/
06 - 87 - 75 - 44 - 87




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670282.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: IllegalArgument TomEEJaxRsService

Posted by Romain Manni-Bucau <rm...@gmail.com>.
that's an idea issue I guess, don't recall the detail byt there is a
constraint on context path/ artifact name I think. should be more or
less the same


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-07-03 14:04 GMT+02:00 herau <le...@gmail.com>:
> ok all works fine with webProfile or plus classifier with the tomee maven
> plugin.
>
> But if i try in intellij idea (like in your documentation) all looks good
> but at the end of the execution i have this kind of message ;
>
> [2014-07-03 01:58:35,104] Artifact web-api:war exploded: Artifact is not
> deployed. Press 'Deploy' to start deployment
>
> Complete log :
>
> /Users/n27/apache-tomee-plus-1.6.0/bin/catalina.sh run
> objc[5787]: Class JavaLaunchHelper is implemented in both
> /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/bin/java
> and
> /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/lib/libinstrument.dylib.
> One of the two will be used. Which one is undefined.
> [2014-07-03 01:58:20,215] Artifact web-api:war exploded: Server is not
> connected. Deploy is not available.
> Jul 03, 2014 1:58:21 PM org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> /Users/n27/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
> Jul 03, 2014 1:58:22 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-8080"]
> Jul 03, 2014 1:58:22 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
> Jul 03, 2014 1:58:22 PM org.apache.openejb.util.OptionsLog info
> INFO: Using
> 'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.TomEEDataSourceCreator'
> Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
> INFO:
> ********************************************************************************
> Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
> INFO: OpenEJB http://openejb.apache.org/
> Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
> INFO: Startup: Thu Jul 03 13:58:22 CEST 2014
> Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
> INFO: Copyright 1999-2013 (C) Apache OpenEJB Project, All Rights Reserved.
> Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
> INFO: Version: 4.6.0
> Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
> INFO: Build date: 20131117
> Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
> INFO: Build time: 06:49
> Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
> INFO:
> ********************************************************************************
> Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
> INFO: openejb.home = /Volumes/diskE/Users/n27/apache-tomee-plus-1.6.0
> Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
> INFO: openejb.base =
> /Volumes/diskE/Users/n27/Library/Caches/IntelliJIdea13/tomcat/Unnamed_uwa_swpprj_r217_n27_3_2
> Jul 03, 2014 1:58:22 PM org.apache.openejb.cdi.CdiBuilder initializeOWB
> INFO: Created new singletonService
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@56bb29f9
> Jul 03, 2014 1:58:22 PM org.apache.openejb.cdi.CdiBuilder initializeOWB
> INFO: Succeeded in installing singleton service
> Jul 03, 2014 1:58:22 PM org.apache.openejb.config.ConfigurationFactory init
> INFO: openejb configuration file is
> '/Volumes/diskE/Users/n27/Library/Caches/IntelliJIdea13/tomcat/Unnamed_uwa_swpprj_r217_n27_3_2/conf/tomee.xml'
> Jul 03, 2014 1:58:22 PM org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=Tomcat Security Service, type=SecurityService,
> provider-id=Tomcat Security Service)
> Jul 03, 2014 1:58:22 PM org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=Default Transaction Manager,
> type=TransactionManager, provider-id=Default Transaction Manager)
> Jul 03, 2014 1:58:22 PM org.apache.openejb.util.OptionsLog info
> INFO: Using 'openejb.system.apps=true'
> Jul 03, 2014 1:58:22 PM org.apache.openejb.config.ConfigurationFactory
> configureApplication
> INFO: Configuring enterprise application: openejb
> Jul 03, 2014 1:58:23 PM org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Using openejb.deploymentId.format '{ejbName}'
> Jul 03, 2014 1:58:23 PM org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb openejb/User:
> EjbDeployment(deployment-id=openejb/User)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb openejb/Deployer:
> EjbDeployment(deployment-id=openejb/Deployer)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb openejb/ConfigurationInfo:
> EjbDeployment(deployment-id=openejb/ConfigurationInfo)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb MEJB: EjbDeployment(deployment-id=MEJB)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=Default Stateless Container, type=Container,
> provider-id=Default Stateless Container)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.config.AutoConfig createContainer
> INFO: Auto-creating a container for bean openejb/User:
> Container(type=STATELESS, id=Default Stateless Container)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.config.AppInfoBuilder build
> INFO: Enterprise application "openejb" loaded.
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating TransactionManager(id=Default Transaction Manager)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating SecurityService(id=Tomcat Security Service)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Container(id=Default Stateless Container)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Assembling app: openejb
> Jul 03, 2014 1:58:23 PM org.apache.openejb.util.OptionsLog info
> INFO: Using
> 'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}'
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
> bind
> INFO: Jndi(name=openejb/UserBusinessRemote) -->
> Ejb(deployment-id=openejb/User)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
> bind
> INFO:
> Jndi(name=global/openejb/openejb/User!org.apache.openejb.assembler.util.User)
> --> Ejb(deployment-id=openejb/User)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
> bind
> INFO: Jndi(name=global/openejb/openejb/User) -->
> Ejb(deployment-id=openejb/User)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
> bind
> INFO: Jndi(name=openejb/DeployerBusinessRemote) -->
> Ejb(deployment-id=openejb/Deployer)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
> bind
> INFO:
> Jndi(name=global/openejb/openejb/Deployer!org.apache.openejb.assembler.Deployer)
> --> Ejb(deployment-id=openejb/Deployer)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
> bind
> INFO: Jndi(name=global/openejb/openejb/Deployer) -->
> Ejb(deployment-id=openejb/Deployer)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
> bind
> INFO: Jndi(name=openejb/ConfigurationInfoBusinessRemote) -->
> Ejb(deployment-id=openejb/ConfigurationInfo)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
> bind
> INFO:
> Jndi(name=global/openejb/openejb/ConfigurationInfo!org.apache.openejb.assembler.classic.cmd.ConfigurationInfo)
> --> Ejb(deployment-id=openejb/ConfigurationInfo)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
> bind
> INFO: Jndi(name=global/openejb/openejb/ConfigurationInfo) -->
> Ejb(deployment-id=openejb/ConfigurationInfo)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
> bind
> INFO: Jndi(name=MEJB) --> Ejb(deployment-id=MEJB)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
> bind
> INFO: Jndi(name=global/openejb/MEJB!javax.management.j2ee.ManagementHome)
> --> Ejb(deployment-id=MEJB)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
> bind
> INFO: Jndi(name=global/openejb/MEJB) --> Ejb(deployment-id=MEJB)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=openejb/Deployer,
> ejb-name=openejb/Deployer, container=Default Stateless Container)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=MEJB, ejb-name=MEJB, container=Default
> Stateless Container)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=openejb/ConfigurationInfo,
> ejb-name=openejb/ConfigurationInfo, container=Default Stateless Container)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Created Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
> container=Default Stateless Container)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=openejb/Deployer,
> ejb-name=openejb/Deployer, container=Default Stateless Container)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=MEJB, ejb-name=MEJB, container=Default
> Stateless Container)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=openejb/ConfigurationInfo,
> ejb-name=openejb/ConfigurationInfo, container=Default Stateless Container)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
> startEjbs
> INFO: Started Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
> container=Default Stateless Container)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
> deployMBean
> INFO: Deployed
> MBean(openejb.user.mbeans:application=openejb,group=org.apache.openejb.assembler.monitoring,name=JMXDeployer)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Deployed Application(path=openejb)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.server.ServiceManager initServer
> INFO: Creating ServerService(id=cxf)
> Jul 03, 2014 1:58:23 PM org.apache.openejb.server.SimpleServiceManager start
> INFO:   ** Bound Services **
> Jul 03, 2014 1:58:23 PM org.apache.openejb.server.SimpleServiceManager
> printRow
> INFO:   NAME                 IP              PORT
> Jul 03, 2014 1:58:23 PM org.apache.openejb.server.SimpleServiceManager start
> INFO: -------
> Jul 03, 2014 1:58:23 PM org.apache.openejb.server.SimpleServiceManager start
> INFO: Ready!
> Jul 03, 2014 1:58:23 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1960 ms
> Jul 03, 2014 1:58:23 PM
> org.apache.tomee.catalina.OpenEJBNamingContextListener bindResource
> INFO: Importing a Tomcat Resource with id 'UserDatabase' of type
> 'org.apache.catalina.UserDatabase'.
> Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Resource(id=UserDatabase)
> Jul 03, 2014 1:58:23 PM org.apache.catalina.core.StandardService
> startInternal
> INFO: Starting service Catalina
> Jul 03, 2014 1:58:23 PM org.apache.catalina.core.StandardEngine
> startInternal
> INFO: Starting Servlet Engine: Apache Tomcat (TomEE)/7.0.47 (1.6.0)
> Jul 03, 2014 1:58:23 PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["http-bio-8080"]
> Jul 03, 2014 1:58:23 PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["ajp-bio-8009"]
> Jul 03, 2014 1:58:23 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 70 ms
> Connected to server
> [2014-07-03 01:58:24,201] Artifact web-api:war exploded: Artifact is being
> deployed, please wait...
> Jul 03, 2014 1:58:24 PM org.apache.tomee.catalina.TomcatWebAppBuilder
> deployWebApps
> INFO: using context file
> /Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp/META-INF/context.xml
> Jul 03, 2014 1:58:24 PM org.apache.tomee.catalina.TomcatWebAppBuilder
> deployWebApps
> INFO: using default host: localhost
> Jul 03, 2014 1:58:24 PM org.apache.tomee.catalina.TomcatWebAppBuilder init
> INFO: ------------------------- localhost -> /uwp
> Jul 03, 2014 1:58:24 PM org.apache.tomee.catalina.TomEEClassLoaderEnricher
> validateJarFile
> WARNING: jar
> '/Volumes/diskE/Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp/WEB-INF/lib/hibernate-jpa-2.0-api-1.0.1.Final.jar'
> contains offending class: javax.persistence.Entity. It will be ignored.
> Jul 03, 2014 1:58:24 PM org.apache.tomee.catalina.TomEEClassLoaderEnricher
> validateJarFile
> WARNING: jar
> '/Volumes/diskE/Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp/WEB-INF/lib/jboss-transaction-api_1.1_spec-1.0.0.Final.jar'
> contains offending class: javax.transaction.Transaction. It will be ignored.
> Jul 03, 2014 1:58:24 PM org.apache.tomee.catalina.TomEEClassLoaderEnricher
> validateJarFile
> WARNING: jar
> '/Volumes/diskE/Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp/WEB-INF/lib/validation-api-1.0.0.GA.jar'
> contains offending class: javax.validation.Validation. It will be ignored.
> Jul 03, 2014 1:58:25 PM org.apache.openejb.config.ConfigurationFactory
> configureApplication
> INFO: Configuring enterprise application:
> /Volumes/diskE/Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp
> Jul 03, 2014 1:58:25 PM org.apache.openejb.config.AutoConfig deploy
> INFO: Configuring PersistenceUnit(name=dsi2)
> Jul 03, 2014 1:58:25 PM org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=Default JDBC Database, type=Resource,
> provider-id=Default JDBC Database)
> Jul 03, 2014 1:58:25 PM org.apache.openejb.config.AutoConfig
> logAutoCreateResource
> INFO: Auto-creating a Resource with id 'Default JDBC Database' of type
> 'DataSource for 'dsi2'.
> Jul 03, 2014 1:58:25 PM org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Resource(id=Default JDBC Database)
> Jul 03, 2014 1:58:25 PM
> org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource readOnly
> INFO: Disabling testOnBorrow since no validation query is provided
> Jul 03, 2014 1:58:25 PM org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=Default Unmanaged JDBC Database,
> type=Resource, provider-id=Default Unmanaged JDBC Database)
> Jul 03, 2014 1:58:25 PM org.apache.openejb.config.AutoConfig
> logAutoCreateResource
> INFO: Auto-creating a Resource with id 'Default Unmanaged JDBC Database' of
> type 'DataSource for 'dsi2'.
> Jul 03, 2014 1:58:25 PM org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Resource(id=Default Unmanaged JDBC Database)
> Jul 03, 2014 1:58:25 PM
> org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource readOnly
> INFO: Disabling testOnBorrow since no validation query is provided
> Jul 03, 2014 1:58:25 PM org.apache.openejb.config.AutoConfig
> setJtaDataSource
> INFO: Adjusting PersistenceUnit dsi2 <jta-data-source> to Resource ID
> 'Default JDBC Database' from 'null'
> Jul 03, 2014 1:58:25 PM org.apache.openejb.config.AutoConfig
> setNonJtaDataSource
> INFO: Adjusting PersistenceUnit dsi2 <non-jta-data-source> to Resource ID
> 'Default Unmanaged JDBC Database' from 'null'
> Jul 03, 2014 1:58:25 PM org.apache.openejb.config.AppInfoBuilder build
> INFO: Enterprise application
> "/Volumes/diskE/Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp"
> loaded.
> Jul 03, 2014 1:58:25 PM org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Assembling app:
> /Volumes/diskE/Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp
> Jul 03, 2014 1:58:26 PM null
> INFO: OpenJPA dynamically loaded a validation provider.
> Jul 03, 2014 1:58:26 PM
> org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory
> createDelegate
> INFO: PersistenceUnit(name=dsi2,
> provider=org.apache.openjpa.persistence.PersistenceProviderImpl) - provider
> time 226ms
> Jul 03, 2014 1:58:26 PM org.apache.openejb.cdi.CdiBuilder initSingleton
> INFO: Existing thread singleton service in SystemInstance():
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@56bb29f9
> Jul 03, 2014 1:58:26 PM org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container is starting...
> Jul 03, 2014 1:58:26 PM org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> Jul 03, 2014 1:58:26 PM org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> Jul 03, 2014 1:58:26 PM org.apache.webbeans.config.BeansDeployer
> validateInjectionPoints
> INFO: All injection points were validated successfully.
> Jul 03, 2014 1:58:26 PM org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container has started, it took 103 ms.
> Jul 03, 2014 1:58:26 PM org.apache.tomee.catalina.TomcatWebAppBuilder
> deployWebApps
> INFO: using context file
> /Volumes/diskE/Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp/META-INF/context.xml
> Jul 03, 2014 1:58:26 PM org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Deployed
> Application(path=/Volumes/diskE/Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp)
> 2014-07-03 13:58:32,045  WARN
> com.dassault_systemes.dsi.service.impl.InfoServiceImpl : Build timestamp
> cannot be parsed :
> Jul 03, 2014 1:58:33 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory
> /Volumes/diskE/Users/n27/apache-tomee-plus-1.6.0/webapps/manager
> Jul 03, 2014 1:58:33 PM org.apache.tomee.catalina.TomcatWebAppBuilder init
> INFO: ------------------------- localhost -> /manager
> Jul 03, 2014 1:58:33 PM org.apache.openejb.config.ConfigurationFactory
> configureApplication
> INFO: Configuring enterprise application:
> /Users/n27/apache-tomee-plus-1.6.0/webapps/manager
> Jul 03, 2014 1:58:33 PM org.apache.openejb.config.AppInfoBuilder build
> INFO: Enterprise application
> "/Users/n27/apache-tomee-plus-1.6.0/webapps/manager" loaded.
> Jul 03, 2014 1:58:33 PM org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Assembling app: /Users/n27/apache-tomee-plus-1.6.0/webapps/manager
> Jul 03, 2014 1:58:33 PM org.apache.openejb.cdi.CdiBuilder initSingleton
> INFO: Existing thread singleton service in SystemInstance():
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@56bb29f9
> Jul 03, 2014 1:58:33 PM org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container is starting...
> Jul 03, 2014 1:58:33 PM org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> Jul 03, 2014 1:58:33 PM org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> Jul 03, 2014 1:58:33 PM org.apache.webbeans.config.BeansDeployer
> validateInjectionPoints
> INFO: All injection points were validated successfully.
> Jul 03, 2014 1:58:33 PM org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container has started, it took 9 ms.
> Jul 03, 2014 1:58:33 PM org.apache.tomee.catalina.TomcatWebAppBuilder
> deployWebApps
> INFO: using context file
> /Users/n27/apache-tomee-plus-1.6.0/webapps/manager/META-INF/context.xml
> Jul 03, 2014 1:58:33 PM org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Deployed
> Application(path=/Users/n27/apache-tomee-plus-1.6.0/webapps/manager)
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.server.impl.cdi.CDIComponentProviderFactoryInitializer
> initialize
> INFO: CDI support is enabled
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, adminResource, of type
> com.dassault_systemes.dsi.rest.resources.admin.AdminResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, applicationPropertyAdminResource, of type
> com.dassault_systemes.dsi.rest.resources.admin.ApplicationPropertyAdminResource
> as a root resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, bundleAdminResource, of type
> com.dassault_systemes.dsi.rest.resources.admin.BundleAdminResource as a
> root resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, contextAdminResource, of type
> com.dassault_systemes.dsi.rest.resources.admin.ContextAdminResource as a
> root resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, nlsAdminResource, of type
> com.dassault_systemes.dsi.rest.resources.admin.NlsAdminResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, resourceAdminResource, of type
> com.dassault_systemes.dsi.rest.resources.admin.ResourceAdminResource as a
> root resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, templateAdminResource, of type
> com.dassault_systemes.dsi.rest.resources.admin.TemplateAdminResource as a
> root resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, userAdminResource, of type
> com.dassault_systemes.dsi.rest.resources.admin.UserAdminResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, userPropertyAdminResource, of type
> com.dassault_systemes.dsi.rest.resources.admin.UserPropertyAdminResource as
> a root resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, widgetAdminResource, of type
> com.dassault_systemes.dsi.rest.resources.admin.WidgetAdminResource as a
> root resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, widgetConfigurationAdminResource, of type
> com.dassault_systemes.dsi.rest.resources.admin.WidgetConfigurationAdminResource
> as a root resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, widgetConfigurationCategoryAdminResource, of
> type
> com.dassault_systemes.dsi.rest.resources.admin.WidgetConfigurationCategoryAdminResource
> as a root resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, widgetInstanceAdminResource, of type
> com.dassault_systemes.dsi.rest.resources.admin.WidgetInstanceAdminResource
> as a root resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, ajaxProxyResource, of type
> com.dassault_systemes.dsi.rest.resources.AjaxProxyResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, applicationPropertiesResource, of type
> com.dassault_systemes.dsi.rest.resources.ApplicationPropertiesResource as a
> root resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, authenticationResource, of type
> com.dassault_systemes.dsi.rest.resources.AuthenticationResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, cacheResource, of type
> com.dassault_systemes.dsi.rest.resources.CacheResource as a root resource
> class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, categoriesResource, of type
> com.dassault_systemes.dsi.rest.resources.CategoriesResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, contextsResource, of type
> com.dassault_systemes.dsi.rest.resources.ContextsResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, dataProxyResource, of type
> com.dassault_systemes.dsi.rest.resources.DataProxyResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, feedProxyResource, of type
> com.dassault_systemes.dsi.rest.resources.FeedProxyResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, iconProxyResource, of type
> com.dassault_systemes.dsi.rest.resources.IconProxyResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, imageProxyResource, of type
> com.dassault_systemes.dsi.rest.resources.ImageProxyResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, infoResource, of type
> com.dassault_systemes.dsi.rest.resources.InfoResource as a root resource
> class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, mailProxyResource, of type
> com.dassault_systemes.dsi.rest.resources.MailProxyResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, multiRequestResource, of type
> com.dassault_systemes.dsi.rest.resources.MultiRequestResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, myAppsResource, of type
> com.dassault_systemes.dsi.rest.resources.MyAppsResource as a root resource
> class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, notificationResource, of type
> com.dassault_systemes.dsi.rest.resources.NotificationResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, passportResource, of type
> com.dassault_systemes.dsi.rest.resources.PassportResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, publicMultiRequestResource, of type
> com.dassault_systemes.dsi.rest.resources.PublicMultiRequestResource as a
> root resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, publicTemplatesResource, of type
> com.dassault_systemes.dsi.rest.resources.PublicTemplatesResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, publicWidgetInstanceResource, of type
> com.dassault_systemes.dsi.rest.resources.PublicWidgetInstanceResource as a
> root resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, resourcesResource, of type
> com.dassault_systemes.dsi.rest.resources.ResourcesResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, richIconProxyResource, of type
> com.dassault_systemes.dsi.rest.resources.RichIconProxyResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, securityResource, of type
> com.dassault_systemes.dsi.rest.resources.SecurityResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, shareResource, of type
> com.dassault_systemes.dsi.rest.resources.ShareResource as a root resource
> class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, staticResource, of type
> com.dassault_systemes.dsi.rest.resources.StaticResource as a root resource
> class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, templatesResource, of type
> com.dassault_systemes.dsi.rest.resources.TemplatesResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, userPropertiesResource, of type
> com.dassault_systemes.dsi.rest.resources.UserPropertiesResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, userResource, of type
> com.dassault_systemes.dsi.rest.resources.UserResource as a root resource
> class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, widgetConfigurationsResource, of type
> com.dassault_systemes.dsi.rest.resources.WidgetConfigurationsResource as a
> root resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, widgetInstanceResource, of type
> com.dassault_systemes.dsi.rest.resources.WidgetInstanceResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, widgetsResource, of type
> com.dassault_systemes.dsi.rest.resources.WidgetsResource as a root resource
> class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, xmlProxyResource, of type
> com.dassault_systemes.dsi.rest.resources.XmlProxyResource as a root
> resource class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, errorExceptionMapper, of type
> com.dassault_systemes.dsi.rest.providers.ErrorExceptionMapper as a provider
> class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, resourceStreamingWriter, of type
> com.dassault_systemes.dsi.rest.providers.ResourceStreamingWriter as a
> provider class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
> registerSpringBeans
> INFO: Registering Spring bean, serviceExceptionMapper, of type
> com.dassault_systemes.dsi.rest.providers.ServiceExceptionMapper as a
> provider class
> Jul 03, 2014 1:58:33 PM
> com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
> PM'
> 2014-07-03 13:58:34,618  INFO
> com.dassault_systemes.dsi.servlet.ApplicationContextListener : -------[
> Application start ]-------
> 2014-07-03 13:58:34,618  INFO
> com.dassault_systemes.dsi.servlet.ApplicationContextListener : version :
> 217.0.0-SNAPSHOT, revision : , build date : Thu Jan 01 01:00:00 CET 1970,
> build timestamp :
> 2014-07-03 13:58:34,953  INFO
> com.dassault_systemes.dsi.servlet.ApplicationContextListener : Database
> connection and schema is OK
> 2014-07-03 13:58:34,986  INFO
> com.dassault_systemes.dsi.servlet.ApplicationContextListener : database URL
> : jdbc:mysql://
> 127.0.0.1:3306/wp_r217?autoReconnectForPools=true&useUnicode=true&characterEncoding=UTF-8
> , user = root
> [2014-07-03 01:58:35,104] Artifact web-api:war exploded: Artifact is not
> deployed. Press 'Deploy' to start deployment
>
>
>
> 2014-07-03 11:27 GMT+02:00 Aurélien Leboulanger <
> leboulanger.aurelien@gmail.com>:
>
>> BTW, properties that you show me aren't in the documentation page :
>> http://tomee.apache.org/properties-listing.html
>>
>>
>> 2014-07-03 10:31 GMT+02:00 Aurélien Leboulanger <
>> leboulanger.aurelien@gmail.com>:
>>
>> ok thanks,
>>> maybe it's more maintainable to use the openejb.classloader.forced-load
>>> property instead of copy a default exclusions list, which can be evolved ?
>>>
>>>
>>>
>>>
>>> 2014-07-03 8:59 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
>>> ml-node+s979440n4670280h1@n4.nabble.com>:
>>>
>>>  Yes, it is in tomee and we should use this one by default.
>>>>
>>>> You can create a conf/exclusions.list with
>>>>
>>>> http://svn.apache.org/repos/asf/tomee/tomee/trunk/container/openejb-core/src/main/resources/default.exclusions
>>>> but commons-lang3- line or add
>>>> openejb.classloader.forced-load=org.apache.commons.lang3 in
>>>> conf.system.properties
>>>>
>>>>
>>>> Romain Manni-Bucau
>>>> Twitter: @rmannibucau
>>>> Blog: http://rmannibucau.wordpress.com/
>>>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>>> Github: https://github.com/rmannibucau
>>>>
>>>>
>>>> 2014-07-03 8:44 GMT+02:00 herau <[hidden email]
>>>> <http://user/SendEmail.jtp?type=node&node=4670280&i=0>>:
>>>>
>>>> > With the webProfile classifier it's works. Thanks for your help ;-)
>>>> >
>>>> > In production, i have to work with TomEE+ so i will try your solution
>>>> with
>>>> > the configuration in conf.d/cxf-rs.properties.
>>>> >
>>>> > Just another question, the jar containing the library
>>>> > org.apache.commons.lang3 seems to be removed from the classpath, but
>>>> it's
>>>> > not appear in the log.
>>>> > maybe have a conflict with libraries in tomEE ?
>>>> >
>>>> > Exeception : java.lang.NoSuchMethodError:
>>>> >
>>>> org.apache.commons.lang3.StringUtils.isNoneEmpty([Ljava/lang/CharSequence;)Z
>>>>
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > 2014-07-02 19:48 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
>>>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4670280&i=1>>:
>>>>
>>>> >
>>>> >> src/main/tomee/conf/conf.d/cxf-rs.properties
>>>> >>
>>>> >> if you have tomee maven plugin just ensure you use either default
>>>> >> classifier (nothing specified) or webprofile one. If that's the case
>>>> >> you really can't have this issue and it means you have a dead
>>>> instance
>>>> >> running somewhere.
>>>> >>
>>>> >>
>>>> >> Romain Manni-Bucau
>>>> >> Twitter: @rmannibucau
>>>> >> Blog: http://rmannibucau.wordpress.com/
>>>> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>>> >> Github: https://github.com/rmannibucau
>>>> >>
>>>> >>
>>>> >> 2014-07-02 19:26 GMT+02:00 herau <[hidden email]
>>>> >> <http://user/SendEmail.jtp?type=node&node=4670277&i=0>>:
>>>> >>
>>>> >> > I only work with The tomee plugin.
>>>> >> > I'll try to deactivate the tomee jaxrs but i don't understand where
>>>> i
>>>> >> have
>>>> >> > tout put The property ? In conf/system.properties ?
>>>> >> > Le 2 juil. 2014 19:13, "Romain Manni-Bucau [via TomEE & OpenEJB]" <
>>>> >> > [hidden email] <
>>>> http://user/SendEmail.jtp?type=node&node=4670277&i=1>>
>>>> >> a écrit :
>>>> >> >
>>>> >> >> check you local installation or reproduce it with tomee maven
>>>> plugin
>>>> >> >> to let us dig.
>>>> >> >>
>>>> >> >> Maybe try forcing tomee jaxrs to be deactivated:
>>>> >> >> conf/conf.d/cxf-rs.properties and set disabled = true.
>>>> >> >>
>>>> >> >> BTW you don't need jersey to do JAXRS with tomee.
>>>> >> >>
>>>> >> >>
>>>> >> >> Romain Manni-Bucau
>>>> >> >> Twitter: @rmannibucau
>>>> >> >> Blog: http://rmannibucau.wordpress.com/
>>>> >> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>>> >> >> Github: https://github.com/rmannibucau
>>>> >> >>
>>>> >> >>
>>>> >> >> 2014-07-02 18:49 GMT+02:00 herau <[hidden email]
>>>> >> >> <http://user/SendEmail.jtp?type=node&node=4670275&i=0>>:
>>>> >> >>
>>>> >> >> > spring is configured to /titi and a Jersey filter is set to
>>>> /titi/api
>>>> >> >> for
>>>> >> >> > Rest resources (with
>>>> >> org.springframework.security.web.FilterChainProxy)
>>>> >> >> >
>>>> >> >> > /titi/api works (even if i still have the Execption : invoking
>>>> >> >> > Observer{class=org.apache.tomee.webservices.TomeeJaxRsService})
>>>> >> >> >
>>>> >> >> > but /titi is ko
>>>> >> >> >
>>>> >> >> > 2014-07-02 18:47:15,995 ERROR
>>>> >> >> > com.dassault_systemes.dsi.servlet.ErrorServlet : Exception
>>>> caught
>>>> >> lately
>>>> >> >> in
>>>> >> >> > web layer
>>>> >> >> > java.lang.NullPointerException
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.onMessage(CxfRsHttpListener.java:170)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> org.apache.openejb.server.rest.RsServlet.service(RsServlet.java:53)
>>>> >> >> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>>>> >> >> > at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> >>
>>>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> com.dassault_systemes.dsi.cas.DsiStandaloneCasFilter.doFilter(DsiStandaloneCasFilter.java:35)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> com.dassault_systemes.dsi.servlet.SetupFilter.doFilter(SetupFilter.java:98)
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> com.dassault_systemes.dsi.servlet.VaryFilter.doFilterInternal(VaryFilter.java:31)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:919)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:1015)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >  at
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> > 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)
>>>> >> >> >
>>>> >> >> >
>>>> >> >> > ErrorServlet is configured like this :
>>>> >> >> >
>>>> >> >> > <servlet>
>>>> >> >> >         <servlet-name>ErrorServlet</servlet-name>
>>>> >> >> >
>>>> >> >> >
>>>> >> >>
>>>> >>
>>>> <servlet-class>com.dassault_systemes.dsi.servlet.ErrorServlet</servlet-class>
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >     </servlet>
>>>> >> >> >     <servlet-mapping>
>>>> >> >> >         <servlet-name>ErrorServlet</servlet-name>
>>>> >> >> >         <url-pattern>/WEB-INF/ErrorServlet</url-pattern>
>>>> >> >> >     </servlet-mapping>
>>>> >> >> >     <error-page>
>>>> >> >> >         <error-code>500</error-code>
>>>> >> >> >         <location>/WEB-INF/ErrorServlet</location>
>>>> >> >> >     </error-page>
>>>> >> >> >
>>>> >> >> >
>>>> >> >> > 2014-07-02 17:32 GMT+02:00 Romain Manni-Bucau [via TomEE &
>>>> OpenEJB] <
>>>> >> >> > [hidden email] <
>>>> http://user/SendEmail.jtp?type=node&node=4670275&i=1>>:
>>>> >>
>>>> >> >> >
>>>> >> >> >> no, this works fine. Did you ensure there is no mapping
>>>> conflict
>>>> >> >> >> between both? (/spring/* and /rest/* instead of /spring/* and
>>>> >> >> >> /spring/rest/* for instance)
>>>> >> >> >>
>>>> >> >> >>
>>>> >> >> >> Romain Manni-Bucau
>>>> >> >> >> Twitter: @rmannibucau
>>>> >> >> >> Blog: http://rmannibucau.wordpress.com/
>>>> >> >> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>>> >> >> >> Github: https://github.com/rmannibucau
>>>> >> >> >>
>>>> >> >> >>
>>>> >> >> >> 2014-07-02 17:16 GMT+02:00 herau <[hidden email]
>>>> >> >> >> <http://user/SendEmail.jtp?type=node&node=4670273&i=0>>:
>>>> >> >> >>
>>>> >> >> >> > If i set in my system.properties this property :
>>>> >> >> >> >
>>>> >> >> >> > *openejb.jaxrs.application = false*
>>>> >> >> >> >
>>>> >> >> >> > i can go to my index page but my rest ressources doesn't
>>>> works.
>>>> >> >> >> >
>>>> >> >> >> > my index page is rendered with spring mvc but my rest api is
>>>> >> managed
>>>> >> >> by
>>>> >> >> >> > jersey (through a filter declared in spring security)
>>>> >> >> >> >
>>>> >> >> >> > any known issue with spring mvc
>>>> >> >> >> > and org.springframework.security.web.FilterChainProxy ?
>>>> >> >> >> >
>>>> >> >> >> >
>>>> >> >> >> >
>>>> >> >> >> > 2014-07-02 15:41 GMT+02:00 Aurélien Leboulanger <
>>>> >> >> >> > [hidden email] <
>>>> >> http://user/SendEmail.jtp?type=node&node=4670273&i=1>>:
>>>> >> >>
>>>> >> >> >> >
>>>> >> >> >> >> i run only one instance of tomee.
>>>> >> >> >> >>
>>>> >> >> >> >> i use tomEE+ 1.6.0 and i only modify the
>>>> conf/system.properties
>>>> >> to
>>>> >> >> add
>>>> >> >> >> the
>>>> >> >> >> >> jersey property.
>>>> >> >> >> >>
>>>> >> >> >> >> i have the same issue with the tomee plugin :
>>>> >> >> >> >>
>>>> >> >> >> >> <plugin>
>>>> >> >> >> >>                 <groupId>org.apache.openejb.maven</groupId>
>>>> >> >> >> >>                 <artifactId>tomee-maven-plugin</artifactId>
>>>> >> >> >> >>                 <version>1.6.0</version>
>>>> >> >> >> >>                 <configuration>
>>>> >> >> >> >>                     <systemVariables>
>>>> >> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >>
>>>> >> >>
>>>> >>
>>>> <com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>true</com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >>
>>>> >> >> >> >>                     </systemVariables>
>>>> >> >> >> >>                     <!--<path>/wp</path>-->
>>>> >> >> >> >>                     <context>wp</context>
>>>> >> >> >> >>                     <tomeeClassifier>plus</tomeeClassifier>
>>>> >> >> >> >>                      <libs>
>>>> >> >> >> >>
>>>> >> <lib>mysql:mysql-connector-java:5.1.23</lib>
>>>> >> >> >> >>                     </libs>
>>>> >> >> >> >>                 </configuration>
>>>> >> >> >> >>             </plugin>
>>>> >> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >> >> 2014-07-02 12:41 GMT+02:00 Romain Manni-Bucau [via TomEE &
>>>> >> OpenEJB]
>>>> >> >> <
>>>> >> >> >> >> [hidden email] <
>>>> >> http://user/SendEmail.jtp?type=node&node=4670273&i=2>>:
>>>> >> >>
>>>> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >> >>  hi
>>>> >> >> >> >>>
>>>> >> >> >> >>> yes the conf/system.property is global.
>>>> >> >> >> >>>
>>>> >> >> >> >>> I use jersey with 1.6.0.2 without much more than this
>>>> property.
>>>> >> >> >> >>>
>>>> >> >> >> >>> something is weird, dont you have another tomee instance
>>>> running
>>>> >> >> >> >>> somewhere? seems you run on webprofile but then the error
>>>> can't
>>>> >> >> happen
>>>> >> >> >> >>> since these classes are nor here
>>>> >> >> >> >>>
>>>> >> >> >> >>>
>>>> >> >> >> >>>
>>>> >> >> >> >>> Romain Manni-Bucau
>>>> >> >> >> >>> Twitter: @rmannibucau
>>>> >> >> >> >>> Blog: http://rmannibucau.wordpress.com/
>>>> >> >> >> >>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>>> >> >> >> >>> Github: https://github.com/rmannibucau
>>>> >> >> >> >>>
>>>> >> >> >> >>>
>>>> >> >> >> >>> 2014-07-02 10:42 GMT+02:00 herau <[hidden email]
>>>> >> >> >> >>> <http://user/SendEmail.jtp?type=node&node=4670267&i=0>>:
>>>> >> >> >> >>>
>>>> >> >> >> >>> > maybe helpful to known that when i launch TomEE, i have
>>>> this
>>>> >> kind
>>>> >> >> of
>>>> >> >> >> >>> logs :
>>>> >> >> >> >>> >
>>>> >> >> >> >>> > Jul 02, 2014 10:38:57 AM
>>>> >> org.apache.tomee.catalina.TomcatLoader
>>>> >> >> >> >>> > optionalService
>>>> >> >> >> >>> > INFO: Optional service not installed:
>>>> >> >> >> >>> > org.apache.tomee.webservices.TomeeJaxRsService
>>>> >> >> >> >>> > Jul 02, 2014 10:38:57 AM
>>>> >> org.apache.tomee.catalina.TomcatLoader
>>>> >> >> >> >>> > optionalService
>>>> >> >> >> >>> > INFO: Optional service not installed:
>>>> >> >> >> >>> > org.apache.tomee.webservices.TomeeJaxWsService
>>>> >> >> >> >>> >
>>>> >> >> >> >>> >
>>>> >> >> >> >>> >
>>>> >> >> >> >>> > --
>>>> >> >> >> >>> > View this message in context:
>>>> >> >> >> >>>
>>>> >> >> >>
>>>> >> >>
>>>> >>
>>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670266.html
>>>> >> >> >> >>>
>>>> >> >> >> >>> > Sent from the TomEE Users mailing list archive at
>>>> Nabble.com.
>>>> >> >> >> >>>
>>>> >> >> >> >>>
>>>> >> >> >> >>> ------------------------------
>>>> >> >> >> >>>  If you reply to this email, your message will be added to
>>>> the
>>>> >> >> >> >>> discussion below:
>>>> >> >> >> >>>
>>>> >> >> >> >>>
>>>> >> >> >>
>>>> >> >>
>>>> >>
>>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670267.html
>>>> >> >> >> >>>  To unsubscribe from IllegalArgument TomEEJaxRsService,
>>>> click
>>>> >> here
>>>> >> >> >> >>> <
>>>> >> >> >>
>>>> >> >> >> >>> .
>>>> >> >> >> >>> NAML
>>>> >> >> >> >>> <
>>>> >> >> >>
>>>> >> >>
>>>> >>
>>>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >>
>>>> >> >> >> >>>
>>>> >> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >> >> --
>>>> >> >> >> >> Aurélien Leboulanger
>>>> >> >> >> >> portail web : http://etudiant.univ-mlv.fr/~aleboula/
>>>> >> >> >> >> 06 - 87 - 75 - 44 - 87
>>>> >> >> >> >>
>>>> >> >> >> >
>>>> >> >> >> >
>>>> >> >> >> >
>>>> >> >> >> > --
>>>> >> >> >> > Aurélien Leboulanger
>>>> >> >> >> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
>>>> >> >> >> > 06 - 87 - 75 - 44 - 87
>>>> >> >> >> >
>>>> >> >> >> >
>>>> >> >> >> >
>>>> >> >> >> >
>>>> >> >> >> > --
>>>> >> >> >> > View this message in context:
>>>> >> >> >>
>>>> >> >>
>>>> >>
>>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670272.html
>>>> >> >> >>
>>>> >> >> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>>> >> >> >>
>>>> >> >> >>
>>>> >> >> >> ------------------------------
>>>> >> >> >>  If you reply to this email, your message will be added to the
>>>> >> >> discussion
>>>> >> >> >> below:
>>>> >> >> >>
>>>> >> >> >>
>>>> >> >>
>>>> >>
>>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670273.html
>>>> >> >> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click
>>>> here
>>>> >> >> >> <
>>>> >> >> >> .
>>>> >> >> >> NAML
>>>> >> >> >> <
>>>> >> >>
>>>> >>
>>>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>
>>>> >>
>>>> >> >>
>>>> >> >> >>
>>>> >> >> >
>>>> >> >> >
>>>> >> >> >
>>>> >> >> > --
>>>> >> >> > Aurélien Leboulanger
>>>> >> >> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
>>>> >> >> > 06 - 87 - 75 - 44 - 87
>>>> >> >> >
>>>> >> >> >
>>>> >> >> >
>>>> >> >> >
>>>> >> >> > --
>>>> >> >> > View this message in context:
>>>> >> >>
>>>> >>
>>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670274.html
>>>> >> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>>> >> >>
>>>> >> >>
>>>> >> >> ------------------------------
>>>> >> >>  If you reply to this email, your message will be added to the
>>>> >> discussion
>>>> >> >> below:
>>>> >> >>
>>>> >> >>
>>>> >>
>>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670275.html
>>>> >>
>>>> >> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>>>> >> >> <
>>>> >>
>>>> >> >> .
>>>> >> >> NAML
>>>> >> >> <
>>>> >>
>>>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>
>>>> >>
>>>> >> >>
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > --
>>>> >> > View this message in context:
>>>> >>
>>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670276.html
>>>> >>
>>>> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>>> >>
>>>> >>
>>>> >> ------------------------------
>>>> >>  If you reply to this email, your message will be added to the
>>>> discussion
>>>> >> below:
>>>> >>
>>>> >>
>>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670277.html
>>>>
>>>> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>>>> >> <
>>>>
>>>> >> .
>>>> >> NAML
>>>> >> <
>>>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>
>>>> >>
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Aurélien Leboulanger
>>>> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
>>>> > 06 - 87 - 75 - 44 - 87
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > View this message in context:
>>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670279.html
>>>>
>>>> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ------------------------------
>>>>  If you reply to this email, your message will be added to the
>>>> discussion below:
>>>>
>>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670280.html
>>>>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>>>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4670252&code=bGVib3VsYW5nZXIuYXVyZWxpZW5AZ21haWwuY29tfDQ2NzAyNTJ8LTgzNDU4MTk5MA==>
>>>> .
>>>> NAML
>>>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>
>>>
>>>
>>>
>>> --
>>> Aurélien Leboulanger
>>> portail web : http://etudiant.univ-mlv.fr/~aleboula/
>>> 06 - 87 - 75 - 44 - 87
>>>
>>
>>
>>
>> --
>> Aurélien Leboulanger
>> portail web : http://etudiant.univ-mlv.fr/~aleboula/
>> 06 - 87 - 75 - 44 - 87
>>
>
>
>
> --
> Aurélien Leboulanger
> portail web : http://etudiant.univ-mlv.fr/~aleboula/
> 06 - 87 - 75 - 44 - 87
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670285.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Re: IllegalArgument TomEEJaxRsService

Posted by herau <le...@gmail.com>.
ok all works fine with webProfile or plus classifier with the tomee maven
plugin.

But if i try in intellij idea (like in your documentation) all looks good
but at the end of the execution i have this kind of message ;

[2014-07-03 01:58:35,104] Artifact web-api:war exploded: Artifact is not
deployed. Press 'Deploy' to start deployment

Complete log :

/Users/n27/apache-tomee-plus-1.6.0/bin/catalina.sh run
objc[5787]: Class JavaLaunchHelper is implemented in both
/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/bin/java
and
/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/lib/libinstrument.dylib.
One of the two will be used. Which one is undefined.
[2014-07-03 01:58:20,215] Artifact web-api:war exploded: Server is not
connected. Deploy is not available.
Jul 03, 2014 1:58:21 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
/Users/n27/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
Jul 03, 2014 1:58:22 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jul 03, 2014 1:58:22 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jul 03, 2014 1:58:22 PM org.apache.openejb.util.OptionsLog info
INFO: Using
'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.TomEEDataSourceCreator'
Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
INFO:
********************************************************************************
Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: OpenEJB http://openejb.apache.org/
Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Startup: Thu Jul 03 13:58:22 CEST 2014
Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Copyright 1999-2013 (C) Apache OpenEJB Project, All Rights Reserved.
Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Version: 4.6.0
Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Build date: 20131117
Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: Build time: 06:49
Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
INFO:
********************************************************************************
Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: openejb.home = /Volumes/diskE/Users/n27/apache-tomee-plus-1.6.0
Jul 03, 2014 1:58:22 PM org.apache.openejb.OpenEJB$Instance <init>
INFO: openejb.base =
/Volumes/diskE/Users/n27/Library/Caches/IntelliJIdea13/tomcat/Unnamed_uwa_swpprj_r217_n27_3_2
Jul 03, 2014 1:58:22 PM org.apache.openejb.cdi.CdiBuilder initializeOWB
INFO: Created new singletonService
org.apache.openejb.cdi.ThreadSingletonServiceImpl@56bb29f9
Jul 03, 2014 1:58:22 PM org.apache.openejb.cdi.CdiBuilder initializeOWB
INFO: Succeeded in installing singleton service
Jul 03, 2014 1:58:22 PM org.apache.openejb.config.ConfigurationFactory init
INFO: openejb configuration file is
'/Volumes/diskE/Users/n27/Library/Caches/IntelliJIdea13/tomcat/Unnamed_uwa_swpprj_r217_n27_3_2/conf/tomee.xml'
Jul 03, 2014 1:58:22 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Tomcat Security Service, type=SecurityService,
provider-id=Tomcat Security Service)
Jul 03, 2014 1:58:22 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Default Transaction Manager,
type=TransactionManager, provider-id=Default Transaction Manager)
Jul 03, 2014 1:58:22 PM org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.system.apps=true'
Jul 03, 2014 1:58:22 PM org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application: openejb
Jul 03, 2014 1:58:23 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Using openejb.deploymentId.format '{ejbName}'
Jul 03, 2014 1:58:23 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb openejb/User:
EjbDeployment(deployment-id=openejb/User)
Jul 03, 2014 1:58:23 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb openejb/Deployer:
EjbDeployment(deployment-id=openejb/Deployer)
Jul 03, 2014 1:58:23 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb openejb/ConfigurationInfo:
EjbDeployment(deployment-id=openejb/ConfigurationInfo)
Jul 03, 2014 1:58:23 PM org.apache.openejb.config.InitEjbDeployments deploy
INFO: Auto-deploying ejb MEJB: EjbDeployment(deployment-id=MEJB)
Jul 03, 2014 1:58:23 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Default Stateless Container, type=Container,
provider-id=Default Stateless Container)
Jul 03, 2014 1:58:23 PM org.apache.openejb.config.AutoConfig createContainer
INFO: Auto-creating a container for bean openejb/User:
Container(type=STATELESS, id=Default Stateless Container)
Jul 03, 2014 1:58:23 PM org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application "openejb" loaded.
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating TransactionManager(id=Default Transaction Manager)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating SecurityService(id=Tomcat Security Service)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Container(id=Default Stateless Container)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app: openejb
Jul 03, 2014 1:58:23 PM org.apache.openejb.util.OptionsLog info
INFO: Using
'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}'
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=openejb/UserBusinessRemote) -->
Ejb(deployment-id=openejb/User)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO:
Jndi(name=global/openejb/openejb/User!org.apache.openejb.assembler.util.User)
--> Ejb(deployment-id=openejb/User)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/openejb/User) -->
Ejb(deployment-id=openejb/User)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=openejb/DeployerBusinessRemote) -->
Ejb(deployment-id=openejb/Deployer)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO:
Jndi(name=global/openejb/openejb/Deployer!org.apache.openejb.assembler.Deployer)
--> Ejb(deployment-id=openejb/Deployer)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/openejb/Deployer) -->
Ejb(deployment-id=openejb/Deployer)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=openejb/ConfigurationInfoBusinessRemote) -->
Ejb(deployment-id=openejb/ConfigurationInfo)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO:
Jndi(name=global/openejb/openejb/ConfigurationInfo!org.apache.openejb.assembler.classic.cmd.ConfigurationInfo)
--> Ejb(deployment-id=openejb/ConfigurationInfo)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/openejb/ConfigurationInfo) -->
Ejb(deployment-id=openejb/ConfigurationInfo)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=MEJB) --> Ejb(deployment-id=MEJB)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/MEJB!javax.management.j2ee.ManagementHome)
--> Ejb(deployment-id=MEJB)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.JndiBuilder
bind
INFO: Jndi(name=global/openejb/MEJB) --> Ejb(deployment-id=MEJB)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
startEjbs
INFO: Created Ejb(deployment-id=openejb/Deployer,
ejb-name=openejb/Deployer, container=Default Stateless Container)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
startEjbs
INFO: Created Ejb(deployment-id=MEJB, ejb-name=MEJB, container=Default
Stateless Container)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
startEjbs
INFO: Created Ejb(deployment-id=openejb/ConfigurationInfo,
ejb-name=openejb/ConfigurationInfo, container=Default Stateless Container)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
startEjbs
INFO: Created Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
container=Default Stateless Container)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
startEjbs
INFO: Started Ejb(deployment-id=openejb/Deployer,
ejb-name=openejb/Deployer, container=Default Stateless Container)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
startEjbs
INFO: Started Ejb(deployment-id=MEJB, ejb-name=MEJB, container=Default
Stateless Container)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
startEjbs
INFO: Started Ejb(deployment-id=openejb/ConfigurationInfo,
ejb-name=openejb/ConfigurationInfo, container=Default Stateless Container)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
startEjbs
INFO: Started Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
container=Default Stateless Container)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
deployMBean
INFO: Deployed
MBean(openejb.user.mbeans:application=openejb,group=org.apache.openejb.assembler.monitoring,name=JMXDeployer)
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed Application(path=openejb)
Jul 03, 2014 1:58:23 PM org.apache.openejb.server.ServiceManager initServer
INFO: Creating ServerService(id=cxf)
Jul 03, 2014 1:58:23 PM org.apache.openejb.server.SimpleServiceManager start
INFO:   ** Bound Services **
Jul 03, 2014 1:58:23 PM org.apache.openejb.server.SimpleServiceManager
printRow
INFO:   NAME                 IP              PORT
Jul 03, 2014 1:58:23 PM org.apache.openejb.server.SimpleServiceManager start
INFO: -------
Jul 03, 2014 1:58:23 PM org.apache.openejb.server.SimpleServiceManager start
INFO: Ready!
Jul 03, 2014 1:58:23 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1960 ms
Jul 03, 2014 1:58:23 PM
org.apache.tomee.catalina.OpenEJBNamingContextListener bindResource
INFO: Importing a Tomcat Resource with id 'UserDatabase' of type
'org.apache.catalina.UserDatabase'.
Jul 03, 2014 1:58:23 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=UserDatabase)
Jul 03, 2014 1:58:23 PM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Jul 03, 2014 1:58:23 PM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat (TomEE)/7.0.47 (1.6.0)
Jul 03, 2014 1:58:23 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jul 03, 2014 1:58:23 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jul 03, 2014 1:58:23 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 70 ms
Connected to server
[2014-07-03 01:58:24,201] Artifact web-api:war exploded: Artifact is being
deployed, please wait...
Jul 03, 2014 1:58:24 PM org.apache.tomee.catalina.TomcatWebAppBuilder
deployWebApps
INFO: using context file
/Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp/META-INF/context.xml
Jul 03, 2014 1:58:24 PM org.apache.tomee.catalina.TomcatWebAppBuilder
deployWebApps
INFO: using default host: localhost
Jul 03, 2014 1:58:24 PM org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: ------------------------- localhost -> /uwp
Jul 03, 2014 1:58:24 PM org.apache.tomee.catalina.TomEEClassLoaderEnricher
validateJarFile
WARNING: jar
'/Volumes/diskE/Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp/WEB-INF/lib/hibernate-jpa-2.0-api-1.0.1.Final.jar'
contains offending class: javax.persistence.Entity. It will be ignored.
Jul 03, 2014 1:58:24 PM org.apache.tomee.catalina.TomEEClassLoaderEnricher
validateJarFile
WARNING: jar
'/Volumes/diskE/Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp/WEB-INF/lib/jboss-transaction-api_1.1_spec-1.0.0.Final.jar'
contains offending class: javax.transaction.Transaction. It will be ignored.
Jul 03, 2014 1:58:24 PM org.apache.tomee.catalina.TomEEClassLoaderEnricher
validateJarFile
WARNING: jar
'/Volumes/diskE/Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp/WEB-INF/lib/validation-api-1.0.0.GA.jar'
contains offending class: javax.validation.Validation. It will be ignored.
Jul 03, 2014 1:58:25 PM org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application:
/Volumes/diskE/Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp
Jul 03, 2014 1:58:25 PM org.apache.openejb.config.AutoConfig deploy
INFO: Configuring PersistenceUnit(name=dsi2)
Jul 03, 2014 1:58:25 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Default JDBC Database, type=Resource,
provider-id=Default JDBC Database)
Jul 03, 2014 1:58:25 PM org.apache.openejb.config.AutoConfig
logAutoCreateResource
INFO: Auto-creating a Resource with id 'Default JDBC Database' of type
'DataSource for 'dsi2'.
Jul 03, 2014 1:58:25 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=Default JDBC Database)
Jul 03, 2014 1:58:25 PM
org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource readOnly
INFO: Disabling testOnBorrow since no validation query is provided
Jul 03, 2014 1:58:25 PM org.apache.openejb.config.ConfigurationFactory
configureService
INFO: Configuring Service(id=Default Unmanaged JDBC Database,
type=Resource, provider-id=Default Unmanaged JDBC Database)
Jul 03, 2014 1:58:25 PM org.apache.openejb.config.AutoConfig
logAutoCreateResource
INFO: Auto-creating a Resource with id 'Default Unmanaged JDBC Database' of
type 'DataSource for 'dsi2'.
Jul 03, 2014 1:58:25 PM org.apache.openejb.assembler.classic.Assembler
createRecipe
INFO: Creating Resource(id=Default Unmanaged JDBC Database)
Jul 03, 2014 1:58:25 PM
org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource readOnly
INFO: Disabling testOnBorrow since no validation query is provided
Jul 03, 2014 1:58:25 PM org.apache.openejb.config.AutoConfig
setJtaDataSource
INFO: Adjusting PersistenceUnit dsi2 <jta-data-source> to Resource ID
'Default JDBC Database' from 'null'
Jul 03, 2014 1:58:25 PM org.apache.openejb.config.AutoConfig
setNonJtaDataSource
INFO: Adjusting PersistenceUnit dsi2 <non-jta-data-source> to Resource ID
'Default Unmanaged JDBC Database' from 'null'
Jul 03, 2014 1:58:25 PM org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application
"/Volumes/diskE/Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp"
loaded.
Jul 03, 2014 1:58:25 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app:
/Volumes/diskE/Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp
Jul 03, 2014 1:58:26 PM null
INFO: OpenJPA dynamically loaded a validation provider.
Jul 03, 2014 1:58:26 PM
org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory
createDelegate
INFO: PersistenceUnit(name=dsi2,
provider=org.apache.openjpa.persistence.PersistenceProviderImpl) - provider
time 226ms
Jul 03, 2014 1:58:26 PM org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance():
org.apache.openejb.cdi.ThreadSingletonServiceImpl@56bb29f9
Jul 03, 2014 1:58:26 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container is starting...
Jul 03, 2014 1:58:26 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
Jul 03, 2014 1:58:26 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
Jul 03, 2014 1:58:26 PM org.apache.webbeans.config.BeansDeployer
validateInjectionPoints
INFO: All injection points were validated successfully.
Jul 03, 2014 1:58:26 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container has started, it took 103 ms.
Jul 03, 2014 1:58:26 PM org.apache.tomee.catalina.TomcatWebAppBuilder
deployWebApps
INFO: using context file
/Volumes/diskE/Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp/META-INF/context.xml
Jul 03, 2014 1:58:26 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed
Application(path=/Volumes/diskE/Users/n27/SCM/uwa_swpprj_r217_n27_3/UWPWeb/uwp-web-api.mj/target/uwp)
2014-07-03 13:58:32,045  WARN
com.dassault_systemes.dsi.service.impl.InfoServiceImpl : Build timestamp
cannot be parsed :
Jul 03, 2014 1:58:33 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/Volumes/diskE/Users/n27/apache-tomee-plus-1.6.0/webapps/manager
Jul 03, 2014 1:58:33 PM org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: ------------------------- localhost -> /manager
Jul 03, 2014 1:58:33 PM org.apache.openejb.config.ConfigurationFactory
configureApplication
INFO: Configuring enterprise application:
/Users/n27/apache-tomee-plus-1.6.0/webapps/manager
Jul 03, 2014 1:58:33 PM org.apache.openejb.config.AppInfoBuilder build
INFO: Enterprise application
"/Users/n27/apache-tomee-plus-1.6.0/webapps/manager" loaded.
Jul 03, 2014 1:58:33 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Assembling app: /Users/n27/apache-tomee-plus-1.6.0/webapps/manager
Jul 03, 2014 1:58:33 PM org.apache.openejb.cdi.CdiBuilder initSingleton
INFO: Existing thread singleton service in SystemInstance():
org.apache.openejb.cdi.ThreadSingletonServiceImpl@56bb29f9
Jul 03, 2014 1:58:33 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container is starting...
Jul 03, 2014 1:58:33 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
Jul 03, 2014 1:58:33 PM org.apache.webbeans.plugins.PluginLoader startUp
INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
Jul 03, 2014 1:58:33 PM org.apache.webbeans.config.BeansDeployer
validateInjectionPoints
INFO: All injection points were validated successfully.
Jul 03, 2014 1:58:33 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
INFO: OpenWebBeans Container has started, it took 9 ms.
Jul 03, 2014 1:58:33 PM org.apache.tomee.catalina.TomcatWebAppBuilder
deployWebApps
INFO: using context file
/Users/n27/apache-tomee-plus-1.6.0/webapps/manager/META-INF/context.xml
Jul 03, 2014 1:58:33 PM org.apache.openejb.assembler.classic.Assembler
createApplication
INFO: Deployed
Application(path=/Users/n27/apache-tomee-plus-1.6.0/webapps/manager)
Jul 03, 2014 1:58:33 PM
com.sun.jersey.server.impl.cdi.CDIComponentProviderFactoryInitializer
initialize
INFO: CDI support is enabled
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, adminResource, of type
com.dassault_systemes.dsi.rest.resources.admin.AdminResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, applicationPropertyAdminResource, of type
com.dassault_systemes.dsi.rest.resources.admin.ApplicationPropertyAdminResource
as a root resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, bundleAdminResource, of type
com.dassault_systemes.dsi.rest.resources.admin.BundleAdminResource as a
root resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, contextAdminResource, of type
com.dassault_systemes.dsi.rest.resources.admin.ContextAdminResource as a
root resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, nlsAdminResource, of type
com.dassault_systemes.dsi.rest.resources.admin.NlsAdminResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, resourceAdminResource, of type
com.dassault_systemes.dsi.rest.resources.admin.ResourceAdminResource as a
root resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, templateAdminResource, of type
com.dassault_systemes.dsi.rest.resources.admin.TemplateAdminResource as a
root resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, userAdminResource, of type
com.dassault_systemes.dsi.rest.resources.admin.UserAdminResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, userPropertyAdminResource, of type
com.dassault_systemes.dsi.rest.resources.admin.UserPropertyAdminResource as
a root resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, widgetAdminResource, of type
com.dassault_systemes.dsi.rest.resources.admin.WidgetAdminResource as a
root resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, widgetConfigurationAdminResource, of type
com.dassault_systemes.dsi.rest.resources.admin.WidgetConfigurationAdminResource
as a root resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, widgetConfigurationCategoryAdminResource, of
type
com.dassault_systemes.dsi.rest.resources.admin.WidgetConfigurationCategoryAdminResource
as a root resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, widgetInstanceAdminResource, of type
com.dassault_systemes.dsi.rest.resources.admin.WidgetInstanceAdminResource
as a root resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, ajaxProxyResource, of type
com.dassault_systemes.dsi.rest.resources.AjaxProxyResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, applicationPropertiesResource, of type
com.dassault_systemes.dsi.rest.resources.ApplicationPropertiesResource as a
root resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, authenticationResource, of type
com.dassault_systemes.dsi.rest.resources.AuthenticationResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, cacheResource, of type
com.dassault_systemes.dsi.rest.resources.CacheResource as a root resource
class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, categoriesResource, of type
com.dassault_systemes.dsi.rest.resources.CategoriesResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, contextsResource, of type
com.dassault_systemes.dsi.rest.resources.ContextsResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, dataProxyResource, of type
com.dassault_systemes.dsi.rest.resources.DataProxyResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, feedProxyResource, of type
com.dassault_systemes.dsi.rest.resources.FeedProxyResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, iconProxyResource, of type
com.dassault_systemes.dsi.rest.resources.IconProxyResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, imageProxyResource, of type
com.dassault_systemes.dsi.rest.resources.ImageProxyResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, infoResource, of type
com.dassault_systemes.dsi.rest.resources.InfoResource as a root resource
class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, mailProxyResource, of type
com.dassault_systemes.dsi.rest.resources.MailProxyResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, multiRequestResource, of type
com.dassault_systemes.dsi.rest.resources.MultiRequestResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, myAppsResource, of type
com.dassault_systemes.dsi.rest.resources.MyAppsResource as a root resource
class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, notificationResource, of type
com.dassault_systemes.dsi.rest.resources.NotificationResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, passportResource, of type
com.dassault_systemes.dsi.rest.resources.PassportResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, publicMultiRequestResource, of type
com.dassault_systemes.dsi.rest.resources.PublicMultiRequestResource as a
root resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, publicTemplatesResource, of type
com.dassault_systemes.dsi.rest.resources.PublicTemplatesResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, publicWidgetInstanceResource, of type
com.dassault_systemes.dsi.rest.resources.PublicWidgetInstanceResource as a
root resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, resourcesResource, of type
com.dassault_systemes.dsi.rest.resources.ResourcesResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, richIconProxyResource, of type
com.dassault_systemes.dsi.rest.resources.RichIconProxyResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, securityResource, of type
com.dassault_systemes.dsi.rest.resources.SecurityResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, shareResource, of type
com.dassault_systemes.dsi.rest.resources.ShareResource as a root resource
class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, staticResource, of type
com.dassault_systemes.dsi.rest.resources.StaticResource as a root resource
class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, templatesResource, of type
com.dassault_systemes.dsi.rest.resources.TemplatesResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, userPropertiesResource, of type
com.dassault_systemes.dsi.rest.resources.UserPropertiesResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, userResource, of type
com.dassault_systemes.dsi.rest.resources.UserResource as a root resource
class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, widgetConfigurationsResource, of type
com.dassault_systemes.dsi.rest.resources.WidgetConfigurationsResource as a
root resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, widgetInstanceResource, of type
com.dassault_systemes.dsi.rest.resources.WidgetInstanceResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, widgetsResource, of type
com.dassault_systemes.dsi.rest.resources.WidgetsResource as a root resource
class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, xmlProxyResource, of type
com.dassault_systemes.dsi.rest.resources.XmlProxyResource as a root
resource class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, errorExceptionMapper, of type
com.dassault_systemes.dsi.rest.providers.ErrorExceptionMapper as a provider
class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, resourceStreamingWriter, of type
com.dassault_systemes.dsi.rest.providers.ResourceStreamingWriter as a
provider class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
registerSpringBeans
INFO: Registering Spring bean, serviceExceptionMapper, of type
com.dassault_systemes.dsi.rest.providers.ServiceExceptionMapper as a
provider class
Jul 03, 2014 1:58:33 PM
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
PM'
2014-07-03 13:58:34,618  INFO
com.dassault_systemes.dsi.servlet.ApplicationContextListener : -------[
Application start ]-------
2014-07-03 13:58:34,618  INFO
com.dassault_systemes.dsi.servlet.ApplicationContextListener : version :
217.0.0-SNAPSHOT, revision : , build date : Thu Jan 01 01:00:00 CET 1970,
build timestamp :
2014-07-03 13:58:34,953  INFO
com.dassault_systemes.dsi.servlet.ApplicationContextListener : Database
connection and schema is OK
2014-07-03 13:58:34,986  INFO
com.dassault_systemes.dsi.servlet.ApplicationContextListener : database URL
: jdbc:mysql://
127.0.0.1:3306/wp_r217?autoReconnectForPools=true&useUnicode=true&characterEncoding=UTF-8
, user = root
[2014-07-03 01:58:35,104] Artifact web-api:war exploded: Artifact is not
deployed. Press 'Deploy' to start deployment



2014-07-03 11:27 GMT+02:00 Aurélien Leboulanger <
leboulanger.aurelien@gmail.com>:

> BTW, properties that you show me aren't in the documentation page :
> http://tomee.apache.org/properties-listing.html
>
>
> 2014-07-03 10:31 GMT+02:00 Aurélien Leboulanger <
> leboulanger.aurelien@gmail.com>:
>
> ok thanks,
>> maybe it's more maintainable to use the openejb.classloader.forced-load
>> property instead of copy a default exclusions list, which can be evolved ?
>>
>>
>>
>>
>> 2014-07-03 8:59 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
>> ml-node+s979440n4670280h1@n4.nabble.com>:
>>
>>  Yes, it is in tomee and we should use this one by default.
>>>
>>> You can create a conf/exclusions.list with
>>>
>>> http://svn.apache.org/repos/asf/tomee/tomee/trunk/container/openejb-core/src/main/resources/default.exclusions
>>> but commons-lang3- line or add
>>> openejb.classloader.forced-load=org.apache.commons.lang3 in
>>> conf.system.properties
>>>
>>>
>>> Romain Manni-Bucau
>>> Twitter: @rmannibucau
>>> Blog: http://rmannibucau.wordpress.com/
>>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>> Github: https://github.com/rmannibucau
>>>
>>>
>>> 2014-07-03 8:44 GMT+02:00 herau <[hidden email]
>>> <http://user/SendEmail.jtp?type=node&node=4670280&i=0>>:
>>>
>>> > With the webProfile classifier it's works. Thanks for your help ;-)
>>> >
>>> > In production, i have to work with TomEE+ so i will try your solution
>>> with
>>> > the configuration in conf.d/cxf-rs.properties.
>>> >
>>> > Just another question, the jar containing the library
>>> > org.apache.commons.lang3 seems to be removed from the classpath, but
>>> it's
>>> > not appear in the log.
>>> > maybe have a conflict with libraries in tomEE ?
>>> >
>>> > Exeception : java.lang.NoSuchMethodError:
>>> >
>>> org.apache.commons.lang3.StringUtils.isNoneEmpty([Ljava/lang/CharSequence;)Z
>>>
>>> >
>>> >
>>> >
>>> >
>>> > 2014-07-02 19:48 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
>>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4670280&i=1>>:
>>>
>>> >
>>> >> src/main/tomee/conf/conf.d/cxf-rs.properties
>>> >>
>>> >> if you have tomee maven plugin just ensure you use either default
>>> >> classifier (nothing specified) or webprofile one. If that's the case
>>> >> you really can't have this issue and it means you have a dead
>>> instance
>>> >> running somewhere.
>>> >>
>>> >>
>>> >> Romain Manni-Bucau
>>> >> Twitter: @rmannibucau
>>> >> Blog: http://rmannibucau.wordpress.com/
>>> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>> >> Github: https://github.com/rmannibucau
>>> >>
>>> >>
>>> >> 2014-07-02 19:26 GMT+02:00 herau <[hidden email]
>>> >> <http://user/SendEmail.jtp?type=node&node=4670277&i=0>>:
>>> >>
>>> >> > I only work with The tomee plugin.
>>> >> > I'll try to deactivate the tomee jaxrs but i don't understand where
>>> i
>>> >> have
>>> >> > tout put The property ? In conf/system.properties ?
>>> >> > Le 2 juil. 2014 19:13, "Romain Manni-Bucau [via TomEE & OpenEJB]" <
>>> >> > [hidden email] <
>>> http://user/SendEmail.jtp?type=node&node=4670277&i=1>>
>>> >> a écrit :
>>> >> >
>>> >> >> check you local installation or reproduce it with tomee maven
>>> plugin
>>> >> >> to let us dig.
>>> >> >>
>>> >> >> Maybe try forcing tomee jaxrs to be deactivated:
>>> >> >> conf/conf.d/cxf-rs.properties and set disabled = true.
>>> >> >>
>>> >> >> BTW you don't need jersey to do JAXRS with tomee.
>>> >> >>
>>> >> >>
>>> >> >> Romain Manni-Bucau
>>> >> >> Twitter: @rmannibucau
>>> >> >> Blog: http://rmannibucau.wordpress.com/
>>> >> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>> >> >> Github: https://github.com/rmannibucau
>>> >> >>
>>> >> >>
>>> >> >> 2014-07-02 18:49 GMT+02:00 herau <[hidden email]
>>> >> >> <http://user/SendEmail.jtp?type=node&node=4670275&i=0>>:
>>> >> >>
>>> >> >> > spring is configured to /titi and a Jersey filter is set to
>>> /titi/api
>>> >> >> for
>>> >> >> > Rest resources (with
>>> >> org.springframework.security.web.FilterChainProxy)
>>> >> >> >
>>> >> >> > /titi/api works (even if i still have the Execption : invoking
>>> >> >> > Observer{class=org.apache.tomee.webservices.TomeeJaxRsService})
>>> >> >> >
>>> >> >> > but /titi is ko
>>> >> >> >
>>> >> >> > 2014-07-02 18:47:15,995 ERROR
>>> >> >> > com.dassault_systemes.dsi.servlet.ErrorServlet : Exception
>>> caught
>>> >> lately
>>> >> >> in
>>> >> >> > web layer
>>> >> >> > java.lang.NullPointerException
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.onMessage(CxfRsHttpListener.java:170)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> org.apache.openejb.server.rest.RsServlet.service(RsServlet.java:53)
>>> >> >> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>>> >> >> > at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>>
>>> >>
>>> >> >>
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> >>
>>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>
>>> >>
>>> >> >>
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> >> >
>>> >> >>
>>> >>
>>> com.dassault_systemes.dsi.cas.DsiStandaloneCasFilter.doFilter(DsiStandaloneCasFilter.java:35)
>>>
>>> >>
>>> >> >>
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> >> >
>>> >> >>
>>> >>
>>> com.dassault_systemes.dsi.servlet.SetupFilter.doFilter(SetupFilter.java:98)
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
>>>
>>> >>
>>> >> >>
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>>>
>>> >>
>>> >> >>
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>
>>> >>
>>> >> >>
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> >> >
>>> >> >>
>>> >>
>>> com.dassault_systemes.dsi.servlet.VaryFilter.doFilterInternal(VaryFilter.java:31)
>>>
>>> >>
>>> >> >>
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>>>
>>> >>
>>> >> >>
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>
>>> >>
>>> >> >>
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> >> >
>>> >> >>
>>> >>
>>> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:919)
>>>
>>> >>
>>> >> >>
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:1015)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>
>>> >>
>>> >> >>
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>>
>>> >>
>>> >> >>
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>>>
>>> >>
>>> >> >>
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> >>
>>> >>
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
>>>
>>> >>
>>> >> >>
>>> >> >> > at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
>>>
>>> >>
>>> >> >>
>>> >> >> >  at
>>> >> >> >
>>> >> >>
>>> >>
>>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>>>
>>> >>
>>> >> >>
>>> >> >> > 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)
>>> >> >> >
>>> >> >> >
>>> >> >> > ErrorServlet is configured like this :
>>> >> >> >
>>> >> >> > <servlet>
>>> >> >> >         <servlet-name>ErrorServlet</servlet-name>
>>> >> >> >
>>> >> >> >
>>> >> >>
>>> >>
>>> <servlet-class>com.dassault_systemes.dsi.servlet.ErrorServlet</servlet-class>
>>>
>>> >>
>>> >> >>
>>> >> >> >     </servlet>
>>> >> >> >     <servlet-mapping>
>>> >> >> >         <servlet-name>ErrorServlet</servlet-name>
>>> >> >> >         <url-pattern>/WEB-INF/ErrorServlet</url-pattern>
>>> >> >> >     </servlet-mapping>
>>> >> >> >     <error-page>
>>> >> >> >         <error-code>500</error-code>
>>> >> >> >         <location>/WEB-INF/ErrorServlet</location>
>>> >> >> >     </error-page>
>>> >> >> >
>>> >> >> >
>>> >> >> > 2014-07-02 17:32 GMT+02:00 Romain Manni-Bucau [via TomEE &
>>> OpenEJB] <
>>> >> >> > [hidden email] <
>>> http://user/SendEmail.jtp?type=node&node=4670275&i=1>>:
>>> >>
>>> >> >> >
>>> >> >> >> no, this works fine. Did you ensure there is no mapping
>>> conflict
>>> >> >> >> between both? (/spring/* and /rest/* instead of /spring/* and
>>> >> >> >> /spring/rest/* for instance)
>>> >> >> >>
>>> >> >> >>
>>> >> >> >> Romain Manni-Bucau
>>> >> >> >> Twitter: @rmannibucau
>>> >> >> >> Blog: http://rmannibucau.wordpress.com/
>>> >> >> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>> >> >> >> Github: https://github.com/rmannibucau
>>> >> >> >>
>>> >> >> >>
>>> >> >> >> 2014-07-02 17:16 GMT+02:00 herau <[hidden email]
>>> >> >> >> <http://user/SendEmail.jtp?type=node&node=4670273&i=0>>:
>>> >> >> >>
>>> >> >> >> > If i set in my system.properties this property :
>>> >> >> >> >
>>> >> >> >> > *openejb.jaxrs.application = false*
>>> >> >> >> >
>>> >> >> >> > i can go to my index page but my rest ressources doesn't
>>> works.
>>> >> >> >> >
>>> >> >> >> > my index page is rendered with spring mvc but my rest api is
>>> >> managed
>>> >> >> by
>>> >> >> >> > jersey (through a filter declared in spring security)
>>> >> >> >> >
>>> >> >> >> > any known issue with spring mvc
>>> >> >> >> > and org.springframework.security.web.FilterChainProxy ?
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> > 2014-07-02 15:41 GMT+02:00 Aurélien Leboulanger <
>>> >> >> >> > [hidden email] <
>>> >> http://user/SendEmail.jtp?type=node&node=4670273&i=1>>:
>>> >> >>
>>> >> >> >> >
>>> >> >> >> >> i run only one instance of tomee.
>>> >> >> >> >>
>>> >> >> >> >> i use tomEE+ 1.6.0 and i only modify the
>>> conf/system.properties
>>> >> to
>>> >> >> add
>>> >> >> >> the
>>> >> >> >> >> jersey property.
>>> >> >> >> >>
>>> >> >> >> >> i have the same issue with the tomee plugin :
>>> >> >> >> >>
>>> >> >> >> >> <plugin>
>>> >> >> >> >>                 <groupId>org.apache.openejb.maven</groupId>
>>> >> >> >> >>                 <artifactId>tomee-maven-plugin</artifactId>
>>> >> >> >> >>                 <version>1.6.0</version>
>>> >> >> >> >>                 <configuration>
>>> >> >> >> >>                     <systemVariables>
>>> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >>
>>> >> >>
>>> >>
>>> <com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>true</com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>
>>>
>>> >>
>>> >> >>
>>> >> >> >>
>>> >> >> >> >>                     </systemVariables>
>>> >> >> >> >>                     <!--<path>/wp</path>-->
>>> >> >> >> >>                     <context>wp</context>
>>> >> >> >> >>                     <tomeeClassifier>plus</tomeeClassifier>
>>> >> >> >> >>                      <libs>
>>> >> >> >> >>
>>> >> <lib>mysql:mysql-connector-java:5.1.23</lib>
>>> >> >> >> >>                     </libs>
>>> >> >> >> >>                 </configuration>
>>> >> >> >> >>             </plugin>
>>> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >> >> 2014-07-02 12:41 GMT+02:00 Romain Manni-Bucau [via TomEE &
>>> >> OpenEJB]
>>> >> >> <
>>> >> >> >> >> [hidden email] <
>>> >> http://user/SendEmail.jtp?type=node&node=4670273&i=2>>:
>>> >> >>
>>> >> >> >>
>>> >> >> >> >>
>>> >> >> >> >>  hi
>>> >> >> >> >>>
>>> >> >> >> >>> yes the conf/system.property is global.
>>> >> >> >> >>>
>>> >> >> >> >>> I use jersey with 1.6.0.2 without much more than this
>>> property.
>>> >> >> >> >>>
>>> >> >> >> >>> something is weird, dont you have another tomee instance
>>> running
>>> >> >> >> >>> somewhere? seems you run on webprofile but then the error
>>> can't
>>> >> >> happen
>>> >> >> >> >>> since these classes are nor here
>>> >> >> >> >>>
>>> >> >> >> >>>
>>> >> >> >> >>>
>>> >> >> >> >>> Romain Manni-Bucau
>>> >> >> >> >>> Twitter: @rmannibucau
>>> >> >> >> >>> Blog: http://rmannibucau.wordpress.com/
>>> >> >> >> >>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>> >> >> >> >>> Github: https://github.com/rmannibucau
>>> >> >> >> >>>
>>> >> >> >> >>>
>>> >> >> >> >>> 2014-07-02 10:42 GMT+02:00 herau <[hidden email]
>>> >> >> >> >>> <http://user/SendEmail.jtp?type=node&node=4670267&i=0>>:
>>> >> >> >> >>>
>>> >> >> >> >>> > maybe helpful to known that when i launch TomEE, i have
>>> this
>>> >> kind
>>> >> >> of
>>> >> >> >> >>> logs :
>>> >> >> >> >>> >
>>> >> >> >> >>> > Jul 02, 2014 10:38:57 AM
>>> >> org.apache.tomee.catalina.TomcatLoader
>>> >> >> >> >>> > optionalService
>>> >> >> >> >>> > INFO: Optional service not installed:
>>> >> >> >> >>> > org.apache.tomee.webservices.TomeeJaxRsService
>>> >> >> >> >>> > Jul 02, 2014 10:38:57 AM
>>> >> org.apache.tomee.catalina.TomcatLoader
>>> >> >> >> >>> > optionalService
>>> >> >> >> >>> > INFO: Optional service not installed:
>>> >> >> >> >>> > org.apache.tomee.webservices.TomeeJaxWsService
>>> >> >> >> >>> >
>>> >> >> >> >>> >
>>> >> >> >> >>> >
>>> >> >> >> >>> > --
>>> >> >> >> >>> > View this message in context:
>>> >> >> >> >>>
>>> >> >> >>
>>> >> >>
>>> >>
>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670266.html
>>> >> >> >> >>>
>>> >> >> >> >>> > Sent from the TomEE Users mailing list archive at
>>> Nabble.com.
>>> >> >> >> >>>
>>> >> >> >> >>>
>>> >> >> >> >>> ------------------------------
>>> >> >> >> >>>  If you reply to this email, your message will be added to
>>> the
>>> >> >> >> >>> discussion below:
>>> >> >> >> >>>
>>> >> >> >> >>>
>>> >> >> >>
>>> >> >>
>>> >>
>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670267.html
>>> >> >> >> >>>  To unsubscribe from IllegalArgument TomEEJaxRsService,
>>> click
>>> >> here
>>> >> >> >> >>> <
>>> >> >> >>
>>> >> >> >> >>> .
>>> >> >> >> >>> NAML
>>> >> >> >> >>> <
>>> >> >> >>
>>> >> >>
>>> >>
>>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>> >>
>>> >> >>
>>> >> >> >>
>>> >> >> >> >>>
>>> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >> >> --
>>> >> >> >> >> Aurélien Leboulanger
>>> >> >> >> >> portail web : http://etudiant.univ-mlv.fr/~aleboula/
>>> >> >> >> >> 06 - 87 - 75 - 44 - 87
>>> >> >> >> >>
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> > --
>>> >> >> >> > Aurélien Leboulanger
>>> >> >> >> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
>>> >> >> >> > 06 - 87 - 75 - 44 - 87
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> > --
>>> >> >> >> > View this message in context:
>>> >> >> >>
>>> >> >>
>>> >>
>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670272.html
>>> >> >> >>
>>> >> >> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>> >> >> >>
>>> >> >> >>
>>> >> >> >> ------------------------------
>>> >> >> >>  If you reply to this email, your message will be added to the
>>> >> >> discussion
>>> >> >> >> below:
>>> >> >> >>
>>> >> >> >>
>>> >> >>
>>> >>
>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670273.html
>>> >> >> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click
>>> here
>>> >> >> >> <
>>> >> >> >> .
>>> >> >> >> NAML
>>> >> >> >> <
>>> >> >>
>>> >>
>>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>> >>
>>> >> >>
>>> >> >> >>
>>> >> >> >
>>> >> >> >
>>> >> >> >
>>> >> >> > --
>>> >> >> > Aurélien Leboulanger
>>> >> >> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
>>> >> >> > 06 - 87 - 75 - 44 - 87
>>> >> >> >
>>> >> >> >
>>> >> >> >
>>> >> >> >
>>> >> >> > --
>>> >> >> > View this message in context:
>>> >> >>
>>> >>
>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670274.html
>>> >> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>> >> >>
>>> >> >>
>>> >> >> ------------------------------
>>> >> >>  If you reply to this email, your message will be added to the
>>> >> discussion
>>> >> >> below:
>>> >> >>
>>> >> >>
>>> >>
>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670275.html
>>> >>
>>> >> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>>> >> >> <
>>> >>
>>> >> >> .
>>> >> >> NAML
>>> >> >> <
>>> >>
>>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>> >>
>>> >> >>
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >> > --
>>> >> > View this message in context:
>>> >>
>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670276.html
>>> >>
>>> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>> >>
>>> >>
>>> >> ------------------------------
>>> >>  If you reply to this email, your message will be added to the
>>> discussion
>>> >> below:
>>> >>
>>> >>
>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670277.html
>>>
>>> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>>> >> <
>>>
>>> >> .
>>> >> NAML
>>> >> <
>>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Aurélien Leboulanger
>>> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
>>> > 06 - 87 - 75 - 44 - 87
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > View this message in context:
>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670279.html
>>>
>>> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>>
>>>
>>> ------------------------------
>>>  If you reply to this email, your message will be added to the
>>> discussion below:
>>>
>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670280.html
>>>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4670252&code=bGVib3VsYW5nZXIuYXVyZWxpZW5AZ21haWwuY29tfDQ2NzAyNTJ8LTgzNDU4MTk5MA==>
>>> .
>>> NAML
>>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>
>>
>>
>> --
>> Aurélien Leboulanger
>> portail web : http://etudiant.univ-mlv.fr/~aleboula/
>> 06 - 87 - 75 - 44 - 87
>>
>
>
>
> --
> Aurélien Leboulanger
> portail web : http://etudiant.univ-mlv.fr/~aleboula/
> 06 - 87 - 75 - 44 - 87
>



-- 
Aurélien Leboulanger
portail web : http://etudiant.univ-mlv.fr/~aleboula/
06 - 87 - 75 - 44 - 87




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670285.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: IllegalArgument TomEEJaxRsService

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Yes, it is in tomee and we should use this one by default.

You can create a conf/exclusions.list with
http://svn.apache.org/repos/asf/tomee/tomee/trunk/container/openejb-core/src/main/resources/default.exclusions
but commons-lang3- line or add
openejb.classloader.forced-load=org.apache.commons.lang3 in
conf.system.properties


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-07-03 8:44 GMT+02:00 herau <le...@gmail.com>:
> With the webProfile classifier it's works. Thanks for your help ;-)
>
> In production, i have to work with TomEE+ so i will try your solution with
> the configuration in conf.d/cxf-rs.properties.
>
> Just another question, the jar containing the library
> org.apache.commons.lang3 seems to be removed from the classpath, but it's
> not appear in the log.
> maybe have a conflict with libraries in tomEE ?
>
> Exeception : java.lang.NoSuchMethodError:
> org.apache.commons.lang3.StringUtils.isNoneEmpty([Ljava/lang/CharSequence;)Z
>
>
>
>
> 2014-07-02 19:48 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
> ml-node+s979440n4670277h8@n4.nabble.com>:
>
>> src/main/tomee/conf/conf.d/cxf-rs.properties
>>
>> if you have tomee maven plugin just ensure you use either default
>> classifier (nothing specified) or webprofile one. If that's the case
>> you really can't have this issue and it means you have a dead instance
>> running somewhere.
>>
>>
>> Romain Manni-Bucau
>> Twitter: @rmannibucau
>> Blog: http://rmannibucau.wordpress.com/
>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> Github: https://github.com/rmannibucau
>>
>>
>> 2014-07-02 19:26 GMT+02:00 herau <[hidden email]
>> <http://user/SendEmail.jtp?type=node&node=4670277&i=0>>:
>>
>> > I only work with The tomee plugin.
>> > I'll try to deactivate the tomee jaxrs but i don't understand where i
>> have
>> > tout put The property ? In conf/system.properties ?
>> > Le 2 juil. 2014 19:13, "Romain Manni-Bucau [via TomEE & OpenEJB]" <
>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4670277&i=1>>
>> a écrit :
>> >
>> >> check you local installation or reproduce it with tomee maven plugin
>> >> to let us dig.
>> >>
>> >> Maybe try forcing tomee jaxrs to be deactivated:
>> >> conf/conf.d/cxf-rs.properties and set disabled = true.
>> >>
>> >> BTW you don't need jersey to do JAXRS with tomee.
>> >>
>> >>
>> >> Romain Manni-Bucau
>> >> Twitter: @rmannibucau
>> >> Blog: http://rmannibucau.wordpress.com/
>> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> >> Github: https://github.com/rmannibucau
>> >>
>> >>
>> >> 2014-07-02 18:49 GMT+02:00 herau <[hidden email]
>> >> <http://user/SendEmail.jtp?type=node&node=4670275&i=0>>:
>> >>
>> >> > spring is configured to /titi and a Jersey filter is set to /titi/api
>> >> for
>> >> > Rest resources (with
>> org.springframework.security.web.FilterChainProxy)
>> >> >
>> >> > /titi/api works (even if i still have the Execption : invoking
>> >> > Observer{class=org.apache.tomee.webservices.TomeeJaxRsService})
>> >> >
>> >> > but /titi is ko
>> >> >
>> >> > 2014-07-02 18:47:15,995 ERROR
>> >> > com.dassault_systemes.dsi.servlet.ErrorServlet : Exception caught
>> lately
>> >> in
>> >> > web layer
>> >> > java.lang.NullPointerException
>> >> >  at
>> >> >
>> >>
>> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.onMessage(CxfRsHttpListener.java:170)
>>
>> >>
>> >> > at
>> org.apache.openejb.server.rest.RsServlet.service(RsServlet.java:53)
>> >> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>> >> > at
>> >> >
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>
>> >>
>> >> >  at
>> >> >
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>
>> >>
>> >> > at
>> >> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
>> >> >  at
>> >> >
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>
>> >>
>> >> > at
>> >> >
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>
>> >>
>> >> >  at
>> >> >
>> >>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>>
>> >>
>> >> > at
>> >> >
>> >>
>> com.dassault_systemes.dsi.cas.DsiStandaloneCasFilter.doFilter(DsiStandaloneCasFilter.java:35)
>>
>> >>
>> >> >  at
>> >> >
>> >>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>>
>> >>
>> >> > at
>> >> >
>> >>
>> com.dassault_systemes.dsi.servlet.SetupFilter.doFilter(SetupFilter.java:98)
>> >> >  at
>> >> >
>> >>
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>>
>> >>
>> >> > at
>> >> >
>> >>
>> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
>>
>> >>
>> >> >  at
>> >> >
>> >>
>> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
>>
>> >>
>> >> > at
>> >> >
>> >>
>> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>>
>> >>
>> >> >  at
>> >> >
>> >>
>> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
>>
>> >>
>> >> > at
>> >> >
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>
>> >>
>> >> >  at
>> >> >
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>
>> >>
>> >> > at
>> >> >
>> >>
>> com.dassault_systemes.dsi.servlet.VaryFilter.doFilterInternal(VaryFilter.java:31)
>>
>> >>
>> >> >  at
>> >> >
>> >>
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)
>>
>> >>
>> >> > at
>> >> >
>> >>
>> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>>
>> >>
>> >> >  at
>> >> >
>> >>
>> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
>>
>> >>
>> >> > at
>> >> >
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>
>> >>
>> >> >  at
>> >> >
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>
>> >>
>> >> > at
>> >> >
>> >>
>> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:919)
>>
>> >>
>> >> >  at
>> >> >
>> >>
>> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:1015)
>>
>> >>
>> >> > at
>> >> >
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>
>> >>
>> >> >  at
>> >> >
>> >>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>
>> >>
>> >> > at
>> >> >
>> >>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>
>> >>
>> >> >  at
>> >> >
>> >>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>
>> >>
>> >> > at
>> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
>> >> >  at
>> >> >
>> >>
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
>>
>> >>
>> >> > at
>> >> >
>> >>
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>>
>> >>
>> >> >  at
>> >> >
>> >>
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>>
>> >>
>> >> > at
>> >>
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
>> >> >  at
>> >> >
>> >>
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>
>> >>
>> >> > at
>> >> >
>> >>
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>> >> >  at
>> >> >
>> >>
>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
>>
>> >>
>> >> > at
>> >> >
>> >>
>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
>>
>> >>
>> >> >  at
>> >> >
>> >>
>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>>
>> >>
>> >> > 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)
>> >> >
>> >> >
>> >> > ErrorServlet is configured like this :
>> >> >
>> >> > <servlet>
>> >> >         <servlet-name>ErrorServlet</servlet-name>
>> >> >
>> >> >
>> >>
>> <servlet-class>com.dassault_systemes.dsi.servlet.ErrorServlet</servlet-class>
>>
>> >>
>> >> >     </servlet>
>> >> >     <servlet-mapping>
>> >> >         <servlet-name>ErrorServlet</servlet-name>
>> >> >         <url-pattern>/WEB-INF/ErrorServlet</url-pattern>
>> >> >     </servlet-mapping>
>> >> >     <error-page>
>> >> >         <error-code>500</error-code>
>> >> >         <location>/WEB-INF/ErrorServlet</location>
>> >> >     </error-page>
>> >> >
>> >> >
>> >> > 2014-07-02 17:32 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
>> >> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4670275&i=1>>:
>>
>> >> >
>> >> >> no, this works fine. Did you ensure there is no mapping conflict
>> >> >> between both? (/spring/* and /rest/* instead of /spring/* and
>> >> >> /spring/rest/* for instance)
>> >> >>
>> >> >>
>> >> >> Romain Manni-Bucau
>> >> >> Twitter: @rmannibucau
>> >> >> Blog: http://rmannibucau.wordpress.com/
>> >> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> >> >> Github: https://github.com/rmannibucau
>> >> >>
>> >> >>
>> >> >> 2014-07-02 17:16 GMT+02:00 herau <[hidden email]
>> >> >> <http://user/SendEmail.jtp?type=node&node=4670273&i=0>>:
>> >> >>
>> >> >> > If i set in my system.properties this property :
>> >> >> >
>> >> >> > *openejb.jaxrs.application = false*
>> >> >> >
>> >> >> > i can go to my index page but my rest ressources doesn't works.
>> >> >> >
>> >> >> > my index page is rendered with spring mvc but my rest api is
>> managed
>> >> by
>> >> >> > jersey (through a filter declared in spring security)
>> >> >> >
>> >> >> > any known issue with spring mvc
>> >> >> > and org.springframework.security.web.FilterChainProxy ?
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > 2014-07-02 15:41 GMT+02:00 Aurélien Leboulanger <
>> >> >> > [hidden email] <
>> http://user/SendEmail.jtp?type=node&node=4670273&i=1>>:
>> >>
>> >> >> >
>> >> >> >> i run only one instance of tomee.
>> >> >> >>
>> >> >> >> i use tomEE+ 1.6.0 and i only modify the conf/system.properties
>> to
>> >> add
>> >> >> the
>> >> >> >> jersey property.
>> >> >> >>
>> >> >> >> i have the same issue with the tomee plugin :
>> >> >> >>
>> >> >> >> <plugin>
>> >> >> >>                 <groupId>org.apache.openejb.maven</groupId>
>> >> >> >>                 <artifactId>tomee-maven-plugin</artifactId>
>> >> >> >>                 <version>1.6.0</version>
>> >> >> >>                 <configuration>
>> >> >> >>                     <systemVariables>
>> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> <com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>true</com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>
>>
>> >>
>> >> >>
>> >> >> >>                     </systemVariables>
>> >> >> >>                     <!--<path>/wp</path>-->
>> >> >> >>                     <context>wp</context>
>> >> >> >>                     <tomeeClassifier>plus</tomeeClassifier>
>> >> >> >>                      <libs>
>> >> >> >>
>> <lib>mysql:mysql-connector-java:5.1.23</lib>
>> >> >> >>                     </libs>
>> >> >> >>                 </configuration>
>> >> >> >>             </plugin>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> 2014-07-02 12:41 GMT+02:00 Romain Manni-Bucau [via TomEE &
>> OpenEJB]
>> >> <
>> >> >> >> [hidden email] <
>> http://user/SendEmail.jtp?type=node&node=4670273&i=2>>:
>> >>
>> >> >>
>> >> >> >>
>> >> >> >>  hi
>> >> >> >>>
>> >> >> >>> yes the conf/system.property is global.
>> >> >> >>>
>> >> >> >>> I use jersey with 1.6.0.2 without much more than this property.
>> >> >> >>>
>> >> >> >>> something is weird, dont you have another tomee instance running
>> >> >> >>> somewhere? seems you run on webprofile but then the error can't
>> >> happen
>> >> >> >>> since these classes are nor here
>> >> >> >>>
>> >> >> >>>
>> >> >> >>>
>> >> >> >>> Romain Manni-Bucau
>> >> >> >>> Twitter: @rmannibucau
>> >> >> >>> Blog: http://rmannibucau.wordpress.com/
>> >> >> >>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> >> >> >>> Github: https://github.com/rmannibucau
>> >> >> >>>
>> >> >> >>>
>> >> >> >>> 2014-07-02 10:42 GMT+02:00 herau <[hidden email]
>> >> >> >>> <http://user/SendEmail.jtp?type=node&node=4670267&i=0>>:
>> >> >> >>>
>> >> >> >>> > maybe helpful to known that when i launch TomEE, i have this
>> kind
>> >> of
>> >> >> >>> logs :
>> >> >> >>> >
>> >> >> >>> > Jul 02, 2014 10:38:57 AM
>> org.apache.tomee.catalina.TomcatLoader
>> >> >> >>> > optionalService
>> >> >> >>> > INFO: Optional service not installed:
>> >> >> >>> > org.apache.tomee.webservices.TomeeJaxRsService
>> >> >> >>> > Jul 02, 2014 10:38:57 AM
>> org.apache.tomee.catalina.TomcatLoader
>> >> >> >>> > optionalService
>> >> >> >>> > INFO: Optional service not installed:
>> >> >> >>> > org.apache.tomee.webservices.TomeeJaxWsService
>> >> >> >>> >
>> >> >> >>> >
>> >> >> >>> >
>> >> >> >>> > --
>> >> >> >>> > View this message in context:
>> >> >> >>>
>> >> >>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670266.html
>> >> >> >>>
>> >> >> >>> > Sent from the TomEE Users mailing list archive at Nabble.com.
>> >> >> >>>
>> >> >> >>>
>> >> >> >>> ------------------------------
>> >> >> >>>  If you reply to this email, your message will be added to the
>> >> >> >>> discussion below:
>> >> >> >>>
>> >> >> >>>
>> >> >>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670267.html
>> >> >> >>>  To unsubscribe from IllegalArgument TomEEJaxRsService, click
>> here
>> >> >> >>> <
>> >> >>
>> >> >> >>> .
>> >> >> >>> NAML
>> >> >> >>> <
>> >> >>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>> >>
>> >> >>
>> >> >> >>>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> Aurélien Leboulanger
>> >> >> >> portail web : http://etudiant.univ-mlv.fr/~aleboula/
>> >> >> >> 06 - 87 - 75 - 44 - 87
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Aurélien Leboulanger
>> >> >> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
>> >> >> > 06 - 87 - 75 - 44 - 87
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > View this message in context:
>> >> >>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670272.html
>> >> >>
>> >> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >> ------------------------------
>> >> >>  If you reply to this email, your message will be added to the
>> >> discussion
>> >> >> below:
>> >> >>
>> >> >>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670273.html
>> >> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>> >> >> <
>> >> >> .
>> >> >> NAML
>> >> >> <
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Aurélien Leboulanger
>> >> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
>> >> > 06 - 87 - 75 - 44 - 87
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > View this message in context:
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670274.html
>> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ------------------------------
>> >>  If you reply to this email, your message will be added to the
>> discussion
>> >> below:
>> >>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670275.html
>>
>> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>> >> <
>>
>> >> .
>> >> NAML
>> >> <
>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>> >>
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670276.html
>>
>> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670277.html
>>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4670252&code=bGVib3VsYW5nZXIuYXVyZWxpZW5AZ21haWwuY29tfDQ2NzAyNTJ8LTgzNDU4MTk5MA==>
>> .
>> NAML
>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
> --
> Aurélien Leboulanger
> portail web : http://etudiant.univ-mlv.fr/~aleboula/
> 06 - 87 - 75 - 44 - 87
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670279.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Re: IllegalArgument TomEEJaxRsService

Posted by herau <le...@gmail.com>.
With the webProfile classifier it's works. Thanks for your help ;-)

In production, i have to work with TomEE+ so i will try your solution with
the configuration in conf.d/cxf-rs.properties.

Just another question, the jar containing the library
org.apache.commons.lang3 seems to be removed from the classpath, but it's
not appear in the log.
maybe have a conflict with libraries in tomEE ?

Exeception : java.lang.NoSuchMethodError:
org.apache.commons.lang3.StringUtils.isNoneEmpty([Ljava/lang/CharSequence;)Z




2014-07-02 19:48 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
ml-node+s979440n4670277h8@n4.nabble.com>:

> src/main/tomee/conf/conf.d/cxf-rs.properties
>
> if you have tomee maven plugin just ensure you use either default
> classifier (nothing specified) or webprofile one. If that's the case
> you really can't have this issue and it means you have a dead instance
> running somewhere.
>
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-07-02 19:26 GMT+02:00 herau <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4670277&i=0>>:
>
> > I only work with The tomee plugin.
> > I'll try to deactivate the tomee jaxrs but i don't understand where i
> have
> > tout put The property ? In conf/system.properties ?
> > Le 2 juil. 2014 19:13, "Romain Manni-Bucau [via TomEE & OpenEJB]" <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4670277&i=1>>
> a écrit :
> >
> >> check you local installation or reproduce it with tomee maven plugin
> >> to let us dig.
> >>
> >> Maybe try forcing tomee jaxrs to be deactivated:
> >> conf/conf.d/cxf-rs.properties and set disabled = true.
> >>
> >> BTW you don't need jersey to do JAXRS with tomee.
> >>
> >>
> >> Romain Manni-Bucau
> >> Twitter: @rmannibucau
> >> Blog: http://rmannibucau.wordpress.com/
> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> Github: https://github.com/rmannibucau
> >>
> >>
> >> 2014-07-02 18:49 GMT+02:00 herau <[hidden email]
> >> <http://user/SendEmail.jtp?type=node&node=4670275&i=0>>:
> >>
> >> > spring is configured to /titi and a Jersey filter is set to /titi/api
> >> for
> >> > Rest resources (with
> org.springframework.security.web.FilterChainProxy)
> >> >
> >> > /titi/api works (even if i still have the Execption : invoking
> >> > Observer{class=org.apache.tomee.webservices.TomeeJaxRsService})
> >> >
> >> > but /titi is ko
> >> >
> >> > 2014-07-02 18:47:15,995 ERROR
> >> > com.dassault_systemes.dsi.servlet.ErrorServlet : Exception caught
> lately
> >> in
> >> > web layer
> >> > java.lang.NullPointerException
> >> >  at
> >> >
> >>
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.onMessage(CxfRsHttpListener.java:170)
>
> >>
> >> > at
> org.apache.openejb.server.rest.RsServlet.service(RsServlet.java:53)
> >> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> >> > at
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>
> >>
> >> >  at
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> >>
> >> > at
> >> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
> >> >  at
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>
> >>
> >> > at
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> >>
> >> >  at
> >> >
> >>
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>
> >>
> >> > at
> >> >
> >>
> com.dassault_systemes.dsi.cas.DsiStandaloneCasFilter.doFilter(DsiStandaloneCasFilter.java:35)
>
> >>
> >> >  at
> >> >
> >>
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>
> >>
> >> > at
> >> >
> >>
> com.dassault_systemes.dsi.servlet.SetupFilter.doFilter(SetupFilter.java:98)
> >> >  at
> >> >
> >>
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>
> >>
> >> > at
> >> >
> >>
> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
>
> >>
> >> >  at
> >> >
> >>
> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
>
> >>
> >> > at
> >> >
> >>
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>
> >>
> >> >  at
> >> >
> >>
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
>
> >>
> >> > at
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>
> >>
> >> >  at
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> >>
> >> > at
> >> >
> >>
> com.dassault_systemes.dsi.servlet.VaryFilter.doFilterInternal(VaryFilter.java:31)
>
> >>
> >> >  at
> >> >
> >>
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)
>
> >>
> >> > at
> >> >
> >>
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>
> >>
> >> >  at
> >> >
> >>
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
>
> >>
> >> > at
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>
> >>
> >> >  at
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> >>
> >> > at
> >> >
> >>
> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:919)
>
> >>
> >> >  at
> >> >
> >>
> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:1015)
>
> >>
> >> > at
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>
> >>
> >> >  at
> >> >
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> >>
> >> > at
> >> >
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>
> >>
> >> >  at
> >> >
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>
> >>
> >> > at
> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> >> >  at
> >> >
> >>
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
>
> >>
> >> > at
> >> >
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>
> >>
> >> >  at
> >> >
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>
> >>
> >> > at
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> >> >  at
> >> >
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>
> >>
> >> > at
> >> >
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> >> >  at
> >> >
> >>
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
>
> >>
> >> > at
> >> >
> >>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
>
> >>
> >> >  at
> >> >
> >>
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>
> >>
> >> > 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)
> >> >
> >> >
> >> > ErrorServlet is configured like this :
> >> >
> >> > <servlet>
> >> >         <servlet-name>ErrorServlet</servlet-name>
> >> >
> >> >
> >>
> <servlet-class>com.dassault_systemes.dsi.servlet.ErrorServlet</servlet-class>
>
> >>
> >> >     </servlet>
> >> >     <servlet-mapping>
> >> >         <servlet-name>ErrorServlet</servlet-name>
> >> >         <url-pattern>/WEB-INF/ErrorServlet</url-pattern>
> >> >     </servlet-mapping>
> >> >     <error-page>
> >> >         <error-code>500</error-code>
> >> >         <location>/WEB-INF/ErrorServlet</location>
> >> >     </error-page>
> >> >
> >> >
> >> > 2014-07-02 17:32 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
> >> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4670275&i=1>>:
>
> >> >
> >> >> no, this works fine. Did you ensure there is no mapping conflict
> >> >> between both? (/spring/* and /rest/* instead of /spring/* and
> >> >> /spring/rest/* for instance)
> >> >>
> >> >>
> >> >> Romain Manni-Bucau
> >> >> Twitter: @rmannibucau
> >> >> Blog: http://rmannibucau.wordpress.com/
> >> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> >> Github: https://github.com/rmannibucau
> >> >>
> >> >>
> >> >> 2014-07-02 17:16 GMT+02:00 herau <[hidden email]
> >> >> <http://user/SendEmail.jtp?type=node&node=4670273&i=0>>:
> >> >>
> >> >> > If i set in my system.properties this property :
> >> >> >
> >> >> > *openejb.jaxrs.application = false*
> >> >> >
> >> >> > i can go to my index page but my rest ressources doesn't works.
> >> >> >
> >> >> > my index page is rendered with spring mvc but my rest api is
> managed
> >> by
> >> >> > jersey (through a filter declared in spring security)
> >> >> >
> >> >> > any known issue with spring mvc
> >> >> > and org.springframework.security.web.FilterChainProxy ?
> >> >> >
> >> >> >
> >> >> >
> >> >> > 2014-07-02 15:41 GMT+02:00 Aurélien Leboulanger <
> >> >> > [hidden email] <
> http://user/SendEmail.jtp?type=node&node=4670273&i=1>>:
> >>
> >> >> >
> >> >> >> i run only one instance of tomee.
> >> >> >>
> >> >> >> i use tomEE+ 1.6.0 and i only modify the conf/system.properties
> to
> >> add
> >> >> the
> >> >> >> jersey property.
> >> >> >>
> >> >> >> i have the same issue with the tomee plugin :
> >> >> >>
> >> >> >> <plugin>
> >> >> >>                 <groupId>org.apache.openejb.maven</groupId>
> >> >> >>                 <artifactId>tomee-maven-plugin</artifactId>
> >> >> >>                 <version>1.6.0</version>
> >> >> >>                 <configuration>
> >> >> >>                     <systemVariables>
> >> >> >>
> >> >> >>
> >> >>
> >>
> <com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>true</com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>
>
> >>
> >> >>
> >> >> >>                     </systemVariables>
> >> >> >>                     <!--<path>/wp</path>-->
> >> >> >>                     <context>wp</context>
> >> >> >>                     <tomeeClassifier>plus</tomeeClassifier>
> >> >> >>                      <libs>
> >> >> >>
> <lib>mysql:mysql-connector-java:5.1.23</lib>
> >> >> >>                     </libs>
> >> >> >>                 </configuration>
> >> >> >>             </plugin>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> 2014-07-02 12:41 GMT+02:00 Romain Manni-Bucau [via TomEE &
> OpenEJB]
> >> <
> >> >> >> [hidden email] <
> http://user/SendEmail.jtp?type=node&node=4670273&i=2>>:
> >>
> >> >>
> >> >> >>
> >> >> >>  hi
> >> >> >>>
> >> >> >>> yes the conf/system.property is global.
> >> >> >>>
> >> >> >>> I use jersey with 1.6.0.2 without much more than this property.
> >> >> >>>
> >> >> >>> something is weird, dont you have another tomee instance running
> >> >> >>> somewhere? seems you run on webprofile but then the error can't
> >> happen
> >> >> >>> since these classes are nor here
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>> Romain Manni-Bucau
> >> >> >>> Twitter: @rmannibucau
> >> >> >>> Blog: http://rmannibucau.wordpress.com/
> >> >> >>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> >> >>> Github: https://github.com/rmannibucau
> >> >> >>>
> >> >> >>>
> >> >> >>> 2014-07-02 10:42 GMT+02:00 herau <[hidden email]
> >> >> >>> <http://user/SendEmail.jtp?type=node&node=4670267&i=0>>:
> >> >> >>>
> >> >> >>> > maybe helpful to known that when i launch TomEE, i have this
> kind
> >> of
> >> >> >>> logs :
> >> >> >>> >
> >> >> >>> > Jul 02, 2014 10:38:57 AM
> org.apache.tomee.catalina.TomcatLoader
> >> >> >>> > optionalService
> >> >> >>> > INFO: Optional service not installed:
> >> >> >>> > org.apache.tomee.webservices.TomeeJaxRsService
> >> >> >>> > Jul 02, 2014 10:38:57 AM
> org.apache.tomee.catalina.TomcatLoader
> >> >> >>> > optionalService
> >> >> >>> > INFO: Optional service not installed:
> >> >> >>> > org.apache.tomee.webservices.TomeeJaxWsService
> >> >> >>> >
> >> >> >>> >
> >> >> >>> >
> >> >> >>> > --
> >> >> >>> > View this message in context:
> >> >> >>>
> >> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670266.html
> >> >> >>>
> >> >> >>> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >> >> >>>
> >> >> >>>
> >> >> >>> ------------------------------
> >> >> >>>  If you reply to this email, your message will be added to the
> >> >> >>> discussion below:
> >> >> >>>
> >> >> >>>
> >> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670267.html
> >> >> >>>  To unsubscribe from IllegalArgument TomEEJaxRsService, click
> here
> >> >> >>> <
> >> >>
> >> >> >>> .
> >> >> >>> NAML
> >> >> >>> <
> >> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >> >>
> >> >> >>>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> Aurélien Leboulanger
> >> >> >> portail web : http://etudiant.univ-mlv.fr/~aleboula/
> >> >> >> 06 - 87 - 75 - 44 - 87
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Aurélien Leboulanger
> >> >> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
> >> >> > 06 - 87 - 75 - 44 - 87
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > View this message in context:
> >> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670272.html
> >> >>
> >> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ------------------------------
> >> >>  If you reply to this email, your message will be added to the
> >> discussion
> >> >> below:
> >> >>
> >> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670273.html
> >> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
> >> >> <
> >> >> .
> >> >> NAML
> >> >> <
> >>
> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Aurélien Leboulanger
> >> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
> >> > 06 - 87 - 75 - 44 - 87
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670274.html
> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >>
> >>
> >> ------------------------------
> >>  If you reply to this email, your message will be added to the
> discussion
> >> below:
> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670275.html
>
> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
> >> <
>
> >> .
> >> NAML
> >> <
> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >
> >
> >
> >
> > --
> > View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670276.html
>
> > Sent from the TomEE Users mailing list archive at Nabble.com.
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670277.html
>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4670252&code=bGVib3VsYW5nZXIuYXVyZWxpZW5AZ21haWwuY29tfDQ2NzAyNTJ8LTgzNDU4MTk5MA==>
> .
> NAML
> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
Aurélien Leboulanger
portail web : http://etudiant.univ-mlv.fr/~aleboula/
06 - 87 - 75 - 44 - 87




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670279.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: IllegalArgument TomEEJaxRsService

Posted by Romain Manni-Bucau <rm...@gmail.com>.
src/main/tomee/conf/conf.d/cxf-rs.properties

if you have tomee maven plugin just ensure you use either default
classifier (nothing specified) or webprofile one. If that's the case
you really can't have this issue and it means you have a dead instance
running somewhere.


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-07-02 19:26 GMT+02:00 herau <le...@gmail.com>:
> I only work with The tomee plugin.
> I'll try to deactivate the tomee jaxrs but i don't understand where i have
> tout put The property ? In conf/system.properties ?
> Le 2 juil. 2014 19:13, "Romain Manni-Bucau [via TomEE & OpenEJB]" <
> ml-node+s979440n4670275h46@n4.nabble.com> a écrit :
>
>> check you local installation or reproduce it with tomee maven plugin
>> to let us dig.
>>
>> Maybe try forcing tomee jaxrs to be deactivated:
>> conf/conf.d/cxf-rs.properties and set disabled = true.
>>
>> BTW you don't need jersey to do JAXRS with tomee.
>>
>>
>> Romain Manni-Bucau
>> Twitter: @rmannibucau
>> Blog: http://rmannibucau.wordpress.com/
>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> Github: https://github.com/rmannibucau
>>
>>
>> 2014-07-02 18:49 GMT+02:00 herau <[hidden email]
>> <http://user/SendEmail.jtp?type=node&node=4670275&i=0>>:
>>
>> > spring is configured to /titi and a Jersey filter is set to /titi/api
>> for
>> > Rest resources (with org.springframework.security.web.FilterChainProxy)
>> >
>> > /titi/api works (even if i still have the Execption : invoking
>> > Observer{class=org.apache.tomee.webservices.TomeeJaxRsService})
>> >
>> > but /titi is ko
>> >
>> > 2014-07-02 18:47:15,995 ERROR
>> > com.dassault_systemes.dsi.servlet.ErrorServlet : Exception caught lately
>> in
>> > web layer
>> > java.lang.NullPointerException
>> >  at
>> >
>> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.onMessage(CxfRsHttpListener.java:170)
>>
>> > at org.apache.openejb.server.rest.RsServlet.service(RsServlet.java:53)
>> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>> > at
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>
>> >  at
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>
>> > at
>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
>> >  at
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>
>> > at
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>
>> >  at
>> >
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>>
>> > at
>> >
>> com.dassault_systemes.dsi.cas.DsiStandaloneCasFilter.doFilter(DsiStandaloneCasFilter.java:35)
>>
>> >  at
>> >
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>>
>> > at
>> >
>> com.dassault_systemes.dsi.servlet.SetupFilter.doFilter(SetupFilter.java:98)
>> >  at
>> >
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>>
>> > at
>> >
>> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
>>
>> >  at
>> >
>> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
>>
>> > at
>> >
>> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>>
>> >  at
>> >
>> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
>>
>> > at
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>
>> >  at
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>
>> > at
>> >
>> com.dassault_systemes.dsi.servlet.VaryFilter.doFilterInternal(VaryFilter.java:31)
>>
>> >  at
>> >
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)
>>
>> > at
>> >
>> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>>
>> >  at
>> >
>> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
>>
>> > at
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>
>> >  at
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>
>> > at
>> >
>> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:919)
>>
>> >  at
>> >
>> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:1015)
>>
>> > at
>> >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>
>> >  at
>> >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>
>> > at
>> >
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>
>> >  at
>> >
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>
>> > at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
>> >  at
>> >
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
>>
>> > at
>> >
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>>
>> >  at
>> >
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>>
>> > at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
>> >  at
>> >
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>
>> > at
>> >
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>> >  at
>> >
>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
>>
>> > at
>> >
>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
>>
>> >  at
>> >
>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>>
>> > 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)
>> >
>> >
>> > ErrorServlet is configured like this :
>> >
>> > <servlet>
>> >         <servlet-name>ErrorServlet</servlet-name>
>> >
>> >
>> <servlet-class>com.dassault_systemes.dsi.servlet.ErrorServlet</servlet-class>
>>
>> >     </servlet>
>> >     <servlet-mapping>
>> >         <servlet-name>ErrorServlet</servlet-name>
>> >         <url-pattern>/WEB-INF/ErrorServlet</url-pattern>
>> >     </servlet-mapping>
>> >     <error-page>
>> >         <error-code>500</error-code>
>> >         <location>/WEB-INF/ErrorServlet</location>
>> >     </error-page>
>> >
>> >
>> > 2014-07-02 17:32 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4670275&i=1>>:
>> >
>> >> no, this works fine. Did you ensure there is no mapping conflict
>> >> between both? (/spring/* and /rest/* instead of /spring/* and
>> >> /spring/rest/* for instance)
>> >>
>> >>
>> >> Romain Manni-Bucau
>> >> Twitter: @rmannibucau
>> >> Blog: http://rmannibucau.wordpress.com/
>> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> >> Github: https://github.com/rmannibucau
>> >>
>> >>
>> >> 2014-07-02 17:16 GMT+02:00 herau <[hidden email]
>> >> <http://user/SendEmail.jtp?type=node&node=4670273&i=0>>:
>> >>
>> >> > If i set in my system.properties this property :
>> >> >
>> >> > *openejb.jaxrs.application = false*
>> >> >
>> >> > i can go to my index page but my rest ressources doesn't works.
>> >> >
>> >> > my index page is rendered with spring mvc but my rest api is managed
>> by
>> >> > jersey (through a filter declared in spring security)
>> >> >
>> >> > any known issue with spring mvc
>> >> > and org.springframework.security.web.FilterChainProxy ?
>> >> >
>> >> >
>> >> >
>> >> > 2014-07-02 15:41 GMT+02:00 Aurélien Leboulanger <
>> >> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4670273&i=1>>:
>>
>> >> >
>> >> >> i run only one instance of tomee.
>> >> >>
>> >> >> i use tomEE+ 1.6.0 and i only modify the conf/system.properties to
>> add
>> >> the
>> >> >> jersey property.
>> >> >>
>> >> >> i have the same issue with the tomee plugin :
>> >> >>
>> >> >> <plugin>
>> >> >>                 <groupId>org.apache.openejb.maven</groupId>
>> >> >>                 <artifactId>tomee-maven-plugin</artifactId>
>> >> >>                 <version>1.6.0</version>
>> >> >>                 <configuration>
>> >> >>                     <systemVariables>
>> >> >>
>> >> >>
>> >>
>> <com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>true</com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>
>>
>> >>
>> >> >>                     </systemVariables>
>> >> >>                     <!--<path>/wp</path>-->
>> >> >>                     <context>wp</context>
>> >> >>                     <tomeeClassifier>plus</tomeeClassifier>
>> >> >>                      <libs>
>> >> >>                         <lib>mysql:mysql-connector-java:5.1.23</lib>
>> >> >>                     </libs>
>> >> >>                 </configuration>
>> >> >>             </plugin>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> 2014-07-02 12:41 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB]
>> <
>> >> >> [hidden email] <http://user/SendEmail.jtp?type=node&node=4670273&i=2>>:
>>
>> >>
>> >> >>
>> >> >>  hi
>> >> >>>
>> >> >>> yes the conf/system.property is global.
>> >> >>>
>> >> >>> I use jersey with 1.6.0.2 without much more than this property.
>> >> >>>
>> >> >>> something is weird, dont you have another tomee instance running
>> >> >>> somewhere? seems you run on webprofile but then the error can't
>> happen
>> >> >>> since these classes are nor here
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> Romain Manni-Bucau
>> >> >>> Twitter: @rmannibucau
>> >> >>> Blog: http://rmannibucau.wordpress.com/
>> >> >>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> >> >>> Github: https://github.com/rmannibucau
>> >> >>>
>> >> >>>
>> >> >>> 2014-07-02 10:42 GMT+02:00 herau <[hidden email]
>> >> >>> <http://user/SendEmail.jtp?type=node&node=4670267&i=0>>:
>> >> >>>
>> >> >>> > maybe helpful to known that when i launch TomEE, i have this kind
>> of
>> >> >>> logs :
>> >> >>> >
>> >> >>> > Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
>> >> >>> > optionalService
>> >> >>> > INFO: Optional service not installed:
>> >> >>> > org.apache.tomee.webservices.TomeeJaxRsService
>> >> >>> > Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
>> >> >>> > optionalService
>> >> >>> > INFO: Optional service not installed:
>> >> >>> > org.apache.tomee.webservices.TomeeJaxWsService
>> >> >>> >
>> >> >>> >
>> >> >>> >
>> >> >>> > --
>> >> >>> > View this message in context:
>> >> >>>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670266.html
>> >> >>>
>> >> >>> > Sent from the TomEE Users mailing list archive at Nabble.com.
>> >> >>>
>> >> >>>
>> >> >>> ------------------------------
>> >> >>>  If you reply to this email, your message will be added to the
>> >> >>> discussion below:
>> >> >>>
>> >> >>>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670267.html
>> >> >>>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>> >> >>> <
>> >>
>> >> >>> .
>> >> >>> NAML
>> >> >>> <
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>> >>
>> >> >>>
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Aurélien Leboulanger
>> >> >> portail web : http://etudiant.univ-mlv.fr/~aleboula/
>> >> >> 06 - 87 - 75 - 44 - 87
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Aurélien Leboulanger
>> >> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
>> >> > 06 - 87 - 75 - 44 - 87
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > View this message in context:
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670272.html
>> >>
>> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ------------------------------
>> >>  If you reply to this email, your message will be added to the
>> discussion
>> >> below:
>> >>
>> >>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670273.html
>> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>> >> <
>> >> .
>> >> NAML
>> >> <
>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>> >>
>> >
>> >
>> >
>> > --
>> > Aurélien Leboulanger
>> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
>> > 06 - 87 - 75 - 44 - 87
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670274.html
>> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670275.html
>>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4670252&code=bGVib3VsYW5nZXIuYXVyZWxpZW5AZ21haWwuY29tfDQ2NzAyNTJ8LTgzNDU4MTk5MA==>
>> .
>> NAML
>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670276.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Re: IllegalArgument TomEEJaxRsService

Posted by herau <le...@gmail.com>.
I only work with The tomee plugin.
I'll try to deactivate the tomee jaxrs but i don't understand where i have
tout put The property ? In conf/system.properties ?
Le 2 juil. 2014 19:13, "Romain Manni-Bucau [via TomEE & OpenEJB]" <
ml-node+s979440n4670275h46@n4.nabble.com> a écrit :

> check you local installation or reproduce it with tomee maven plugin
> to let us dig.
>
> Maybe try forcing tomee jaxrs to be deactivated:
> conf/conf.d/cxf-rs.properties and set disabled = true.
>
> BTW you don't need jersey to do JAXRS with tomee.
>
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-07-02 18:49 GMT+02:00 herau <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4670275&i=0>>:
>
> > spring is configured to /titi and a Jersey filter is set to /titi/api
> for
> > Rest resources (with org.springframework.security.web.FilterChainProxy)
> >
> > /titi/api works (even if i still have the Execption : invoking
> > Observer{class=org.apache.tomee.webservices.TomeeJaxRsService})
> >
> > but /titi is ko
> >
> > 2014-07-02 18:47:15,995 ERROR
> > com.dassault_systemes.dsi.servlet.ErrorServlet : Exception caught lately
> in
> > web layer
> > java.lang.NullPointerException
> >  at
> >
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.onMessage(CxfRsHttpListener.java:170)
>
> > at org.apache.openejb.server.rest.RsServlet.service(RsServlet.java:53)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>
> >  at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> > at
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
> >  at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> >  at
> >
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>
> > at
> >
> com.dassault_systemes.dsi.cas.DsiStandaloneCasFilter.doFilter(DsiStandaloneCasFilter.java:35)
>
> >  at
> >
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>
> > at
> >
> com.dassault_systemes.dsi.servlet.SetupFilter.doFilter(SetupFilter.java:98)
> >  at
> >
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>
> > at
> >
> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
>
> >  at
> >
> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
>
> > at
> >
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>
> >  at
> >
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
>
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>
> >  at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> > at
> >
> com.dassault_systemes.dsi.servlet.VaryFilter.doFilterInternal(VaryFilter.java:31)
>
> >  at
> >
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)
>
> > at
> >
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>
> >  at
> >
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
>
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>
> >  at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> > at
> >
> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:919)
>
> >  at
> >
> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:1015)
>
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>
> >  at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> > at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>
> >  at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>
> > at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
> >  at
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
>
> > at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>
> >  at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>
> > at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> >  at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> >  at
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
>
> > at
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
>
> >  at
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>
> > 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)
> >
> >
> > ErrorServlet is configured like this :
> >
> > <servlet>
> >         <servlet-name>ErrorServlet</servlet-name>
> >
> >
> <servlet-class>com.dassault_systemes.dsi.servlet.ErrorServlet</servlet-class>
>
> >     </servlet>
> >     <servlet-mapping>
> >         <servlet-name>ErrorServlet</servlet-name>
> >         <url-pattern>/WEB-INF/ErrorServlet</url-pattern>
> >     </servlet-mapping>
> >     <error-page>
> >         <error-code>500</error-code>
> >         <location>/WEB-INF/ErrorServlet</location>
> >     </error-page>
> >
> >
> > 2014-07-02 17:32 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4670275&i=1>>:
> >
> >> no, this works fine. Did you ensure there is no mapping conflict
> >> between both? (/spring/* and /rest/* instead of /spring/* and
> >> /spring/rest/* for instance)
> >>
> >>
> >> Romain Manni-Bucau
> >> Twitter: @rmannibucau
> >> Blog: http://rmannibucau.wordpress.com/
> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> Github: https://github.com/rmannibucau
> >>
> >>
> >> 2014-07-02 17:16 GMT+02:00 herau <[hidden email]
> >> <http://user/SendEmail.jtp?type=node&node=4670273&i=0>>:
> >>
> >> > If i set in my system.properties this property :
> >> >
> >> > *openejb.jaxrs.application = false*
> >> >
> >> > i can go to my index page but my rest ressources doesn't works.
> >> >
> >> > my index page is rendered with spring mvc but my rest api is managed
> by
> >> > jersey (through a filter declared in spring security)
> >> >
> >> > any known issue with spring mvc
> >> > and org.springframework.security.web.FilterChainProxy ?
> >> >
> >> >
> >> >
> >> > 2014-07-02 15:41 GMT+02:00 Aurélien Leboulanger <
> >> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4670273&i=1>>:
>
> >> >
> >> >> i run only one instance of tomee.
> >> >>
> >> >> i use tomEE+ 1.6.0 and i only modify the conf/system.properties to
> add
> >> the
> >> >> jersey property.
> >> >>
> >> >> i have the same issue with the tomee plugin :
> >> >>
> >> >> <plugin>
> >> >>                 <groupId>org.apache.openejb.maven</groupId>
> >> >>                 <artifactId>tomee-maven-plugin</artifactId>
> >> >>                 <version>1.6.0</version>
> >> >>                 <configuration>
> >> >>                     <systemVariables>
> >> >>
> >> >>
> >>
> <com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>true</com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>
>
> >>
> >> >>                     </systemVariables>
> >> >>                     <!--<path>/wp</path>-->
> >> >>                     <context>wp</context>
> >> >>                     <tomeeClassifier>plus</tomeeClassifier>
> >> >>                      <libs>
> >> >>                         <lib>mysql:mysql-connector-java:5.1.23</lib>
> >> >>                     </libs>
> >> >>                 </configuration>
> >> >>             </plugin>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> 2014-07-02 12:41 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB]
> <
> >> >> [hidden email] <http://user/SendEmail.jtp?type=node&node=4670273&i=2>>:
>
> >>
> >> >>
> >> >>  hi
> >> >>>
> >> >>> yes the conf/system.property is global.
> >> >>>
> >> >>> I use jersey with 1.6.0.2 without much more than this property.
> >> >>>
> >> >>> something is weird, dont you have another tomee instance running
> >> >>> somewhere? seems you run on webprofile but then the error can't
> happen
> >> >>> since these classes are nor here
> >> >>>
> >> >>>
> >> >>>
> >> >>> Romain Manni-Bucau
> >> >>> Twitter: @rmannibucau
> >> >>> Blog: http://rmannibucau.wordpress.com/
> >> >>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> >>> Github: https://github.com/rmannibucau
> >> >>>
> >> >>>
> >> >>> 2014-07-02 10:42 GMT+02:00 herau <[hidden email]
> >> >>> <http://user/SendEmail.jtp?type=node&node=4670267&i=0>>:
> >> >>>
> >> >>> > maybe helpful to known that when i launch TomEE, i have this kind
> of
> >> >>> logs :
> >> >>> >
> >> >>> > Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
> >> >>> > optionalService
> >> >>> > INFO: Optional service not installed:
> >> >>> > org.apache.tomee.webservices.TomeeJaxRsService
> >> >>> > Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
> >> >>> > optionalService
> >> >>> > INFO: Optional service not installed:
> >> >>> > org.apache.tomee.webservices.TomeeJaxWsService
> >> >>> >
> >> >>> >
> >> >>> >
> >> >>> > --
> >> >>> > View this message in context:
> >> >>>
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670266.html
> >> >>>
> >> >>> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >> >>>
> >> >>>
> >> >>> ------------------------------
> >> >>>  If you reply to this email, your message will be added to the
> >> >>> discussion below:
> >> >>>
> >> >>>
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670267.html
> >> >>>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
> >> >>> <
> >>
> >> >>> .
> >> >>> NAML
> >> >>> <
> >>
> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >> >>>
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Aurélien Leboulanger
> >> >> portail web : http://etudiant.univ-mlv.fr/~aleboula/
> >> >> 06 - 87 - 75 - 44 - 87
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Aurélien Leboulanger
> >> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
> >> > 06 - 87 - 75 - 44 - 87
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670272.html
> >>
> >> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >>
> >>
> >> ------------------------------
> >>  If you reply to this email, your message will be added to the
> discussion
> >> below:
> >>
> >>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670273.html
> >>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
> >> <
> >> .
> >> NAML
> >> <
> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >
> >
> >
> > --
> > Aurélien Leboulanger
> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
> > 06 - 87 - 75 - 44 - 87
> >
> >
> >
> >
> > --
> > View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670274.html
> > Sent from the TomEE Users mailing list archive at Nabble.com.
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670275.html
>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4670252&code=bGVib3VsYW5nZXIuYXVyZWxpZW5AZ21haWwuY29tfDQ2NzAyNTJ8LTgzNDU4MTk5MA==>
> .
> NAML
> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670276.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: IllegalArgument TomEEJaxRsService

Posted by Romain Manni-Bucau <rm...@gmail.com>.
check you local installation or reproduce it with tomee maven plugin
to let us dig.

Maybe try forcing tomee jaxrs to be deactivated:
conf/conf.d/cxf-rs.properties and set disabled = true.

BTW you don't need jersey to do JAXRS with tomee.


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-07-02 18:49 GMT+02:00 herau <le...@gmail.com>:
> spring is configured to /titi and a Jersey filter is set to /titi/api for
> Rest resources (with org.springframework.security.web.FilterChainProxy)
>
> /titi/api works (even if i still have the Execption : invoking
> Observer{class=org.apache.tomee.webservices.TomeeJaxRsService})
>
> but /titi is ko
>
> 2014-07-02 18:47:15,995 ERROR
> com.dassault_systemes.dsi.servlet.ErrorServlet : Exception caught lately in
> web layer
> java.lang.NullPointerException
>  at
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.onMessage(CxfRsHttpListener.java:170)
> at org.apache.openejb.server.rest.RsServlet.service(RsServlet.java:53)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>  at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
> at
> com.dassault_systemes.dsi.cas.DsiStandaloneCasFilter.doFilter(DsiStandaloneCasFilter.java:35)
>  at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at
> com.dassault_systemes.dsi.servlet.SetupFilter.doFilter(SetupFilter.java:98)
>  at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> at
> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
>  at
> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
> at
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>  at
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> com.dassault_systemes.dsi.servlet.VaryFilter.doFilterInternal(VaryFilter.java:31)
>  at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)
> at
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
>  at
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:919)
>  at
> com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:1015)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>  at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
>  at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>  at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
>  at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>  at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
>  at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
> 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)
>
>
> ErrorServlet is configured like this :
>
> <servlet>
>         <servlet-name>ErrorServlet</servlet-name>
>
> <servlet-class>com.dassault_systemes.dsi.servlet.ErrorServlet</servlet-class>
>     </servlet>
>     <servlet-mapping>
>         <servlet-name>ErrorServlet</servlet-name>
>         <url-pattern>/WEB-INF/ErrorServlet</url-pattern>
>     </servlet-mapping>
>     <error-page>
>         <error-code>500</error-code>
>         <location>/WEB-INF/ErrorServlet</location>
>     </error-page>
>
>
> 2014-07-02 17:32 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
> ml-node+s979440n4670273h84@n4.nabble.com>:
>
>> no, this works fine. Did you ensure there is no mapping conflict
>> between both? (/spring/* and /rest/* instead of /spring/* and
>> /spring/rest/* for instance)
>>
>>
>> Romain Manni-Bucau
>> Twitter: @rmannibucau
>> Blog: http://rmannibucau.wordpress.com/
>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> Github: https://github.com/rmannibucau
>>
>>
>> 2014-07-02 17:16 GMT+02:00 herau <[hidden email]
>> <http://user/SendEmail.jtp?type=node&node=4670273&i=0>>:
>>
>> > If i set in my system.properties this property :
>> >
>> > *openejb.jaxrs.application = false*
>> >
>> > i can go to my index page but my rest ressources doesn't works.
>> >
>> > my index page is rendered with spring mvc but my rest api is managed by
>> > jersey (through a filter declared in spring security)
>> >
>> > any known issue with spring mvc
>> > and org.springframework.security.web.FilterChainProxy ?
>> >
>> >
>> >
>> > 2014-07-02 15:41 GMT+02:00 Aurélien Leboulanger <
>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4670273&i=1>>:
>> >
>> >> i run only one instance of tomee.
>> >>
>> >> i use tomEE+ 1.6.0 and i only modify the conf/system.properties to add
>> the
>> >> jersey property.
>> >>
>> >> i have the same issue with the tomee plugin :
>> >>
>> >> <plugin>
>> >>                 <groupId>org.apache.openejb.maven</groupId>
>> >>                 <artifactId>tomee-maven-plugin</artifactId>
>> >>                 <version>1.6.0</version>
>> >>                 <configuration>
>> >>                     <systemVariables>
>> >>
>> >>
>> <com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>true</com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>
>>
>> >>                     </systemVariables>
>> >>                     <!--<path>/wp</path>-->
>> >>                     <context>wp</context>
>> >>                     <tomeeClassifier>plus</tomeeClassifier>
>> >>                      <libs>
>> >>                         <lib>mysql:mysql-connector-java:5.1.23</lib>
>> >>                     </libs>
>> >>                 </configuration>
>> >>             </plugin>
>> >>
>> >>
>> >>
>> >>
>> >> 2014-07-02 12:41 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
>> >> [hidden email] <http://user/SendEmail.jtp?type=node&node=4670273&i=2>>:
>>
>> >>
>> >>  hi
>> >>>
>> >>> yes the conf/system.property is global.
>> >>>
>> >>> I use jersey with 1.6.0.2 without much more than this property.
>> >>>
>> >>> something is weird, dont you have another tomee instance running
>> >>> somewhere? seems you run on webprofile but then the error can't happen
>> >>> since these classes are nor here
>> >>>
>> >>>
>> >>>
>> >>> Romain Manni-Bucau
>> >>> Twitter: @rmannibucau
>> >>> Blog: http://rmannibucau.wordpress.com/
>> >>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> >>> Github: https://github.com/rmannibucau
>> >>>
>> >>>
>> >>> 2014-07-02 10:42 GMT+02:00 herau <[hidden email]
>> >>> <http://user/SendEmail.jtp?type=node&node=4670267&i=0>>:
>> >>>
>> >>> > maybe helpful to known that when i launch TomEE, i have this kind of
>> >>> logs :
>> >>> >
>> >>> > Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
>> >>> > optionalService
>> >>> > INFO: Optional service not installed:
>> >>> > org.apache.tomee.webservices.TomeeJaxRsService
>> >>> > Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
>> >>> > optionalService
>> >>> > INFO: Optional service not installed:
>> >>> > org.apache.tomee.webservices.TomeeJaxWsService
>> >>> >
>> >>> >
>> >>> >
>> >>> > --
>> >>> > View this message in context:
>> >>>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670266.html
>> >>>
>> >>> > Sent from the TomEE Users mailing list archive at Nabble.com.
>> >>>
>> >>>
>> >>> ------------------------------
>> >>>  If you reply to this email, your message will be added to the
>> >>> discussion below:
>> >>>
>> >>>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670267.html
>> >>>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>> >>> <
>>
>> >>> .
>> >>> NAML
>> >>> <
>> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Aurélien Leboulanger
>> >> portail web : http://etudiant.univ-mlv.fr/~aleboula/
>> >> 06 - 87 - 75 - 44 - 87
>> >>
>> >
>> >
>> >
>> > --
>> > Aurélien Leboulanger
>> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
>> > 06 - 87 - 75 - 44 - 87
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670272.html
>>
>> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670273.html
>>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4670252&code=bGVib3VsYW5nZXIuYXVyZWxpZW5AZ21haWwuY29tfDQ2NzAyNTJ8LTgzNDU4MTk5MA==>
>> .
>> NAML
>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
> --
> Aurélien Leboulanger
> portail web : http://etudiant.univ-mlv.fr/~aleboula/
> 06 - 87 - 75 - 44 - 87
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670274.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Re: IllegalArgument TomEEJaxRsService

Posted by herau <le...@gmail.com>.
spring is configured to /titi and a Jersey filter is set to /titi/api for
Rest resources (with org.springframework.security.web.FilterChainProxy)

/titi/api works (even if i still have the Execption : invoking
Observer{class=org.apache.tomee.webservices.TomeeJaxRsService})

but /titi is ko

2014-07-02 18:47:15,995 ERROR
com.dassault_systemes.dsi.servlet.ErrorServlet : Exception caught lately in
web layer
java.lang.NullPointerException
 at
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.onMessage(CxfRsHttpListener.java:170)
at org.apache.openejb.server.rest.RsServlet.service(RsServlet.java:53)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at
com.dassault_systemes.dsi.cas.DsiStandaloneCasFilter.doFilter(DsiStandaloneCasFilter.java:35)
 at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
com.dassault_systemes.dsi.servlet.SetupFilter.doFilter(SetupFilter.java:98)
 at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
 at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
 at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
com.dassault_systemes.dsi.servlet.VaryFilter.doFilterInternal(VaryFilter.java:31)
 at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
 at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:919)
 at
com.dassault_systemes.dsi.servlet.XForwardedFilter.doFilter(XForwardedFilter.java:1015)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
 at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
 at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
 at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
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)


ErrorServlet is configured like this :

<servlet>
        <servlet-name>ErrorServlet</servlet-name>

<servlet-class>com.dassault_systemes.dsi.servlet.ErrorServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>ErrorServlet</servlet-name>
        <url-pattern>/WEB-INF/ErrorServlet</url-pattern>
    </servlet-mapping>
    <error-page>
        <error-code>500</error-code>
        <location>/WEB-INF/ErrorServlet</location>
    </error-page>


2014-07-02 17:32 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
ml-node+s979440n4670273h84@n4.nabble.com>:

> no, this works fine. Did you ensure there is no mapping conflict
> between both? (/spring/* and /rest/* instead of /spring/* and
> /spring/rest/* for instance)
>
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-07-02 17:16 GMT+02:00 herau <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4670273&i=0>>:
>
> > If i set in my system.properties this property :
> >
> > *openejb.jaxrs.application = false*
> >
> > i can go to my index page but my rest ressources doesn't works.
> >
> > my index page is rendered with spring mvc but my rest api is managed by
> > jersey (through a filter declared in spring security)
> >
> > any known issue with spring mvc
> > and org.springframework.security.web.FilterChainProxy ?
> >
> >
> >
> > 2014-07-02 15:41 GMT+02:00 Aurélien Leboulanger <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4670273&i=1>>:
> >
> >> i run only one instance of tomee.
> >>
> >> i use tomEE+ 1.6.0 and i only modify the conf/system.properties to add
> the
> >> jersey property.
> >>
> >> i have the same issue with the tomee plugin :
> >>
> >> <plugin>
> >>                 <groupId>org.apache.openejb.maven</groupId>
> >>                 <artifactId>tomee-maven-plugin</artifactId>
> >>                 <version>1.6.0</version>
> >>                 <configuration>
> >>                     <systemVariables>
> >>
> >>
> <com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>true</com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>
>
> >>                     </systemVariables>
> >>                     <!--<path>/wp</path>-->
> >>                     <context>wp</context>
> >>                     <tomeeClassifier>plus</tomeeClassifier>
> >>                      <libs>
> >>                         <lib>mysql:mysql-connector-java:5.1.23</lib>
> >>                     </libs>
> >>                 </configuration>
> >>             </plugin>
> >>
> >>
> >>
> >>
> >> 2014-07-02 12:41 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
> >> [hidden email] <http://user/SendEmail.jtp?type=node&node=4670273&i=2>>:
>
> >>
> >>  hi
> >>>
> >>> yes the conf/system.property is global.
> >>>
> >>> I use jersey with 1.6.0.2 without much more than this property.
> >>>
> >>> something is weird, dont you have another tomee instance running
> >>> somewhere? seems you run on webprofile but then the error can't happen
> >>> since these classes are nor here
> >>>
> >>>
> >>>
> >>> Romain Manni-Bucau
> >>> Twitter: @rmannibucau
> >>> Blog: http://rmannibucau.wordpress.com/
> >>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >>> Github: https://github.com/rmannibucau
> >>>
> >>>
> >>> 2014-07-02 10:42 GMT+02:00 herau <[hidden email]
> >>> <http://user/SendEmail.jtp?type=node&node=4670267&i=0>>:
> >>>
> >>> > maybe helpful to known that when i launch TomEE, i have this kind of
> >>> logs :
> >>> >
> >>> > Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
> >>> > optionalService
> >>> > INFO: Optional service not installed:
> >>> > org.apache.tomee.webservices.TomeeJaxRsService
> >>> > Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
> >>> > optionalService
> >>> > INFO: Optional service not installed:
> >>> > org.apache.tomee.webservices.TomeeJaxWsService
> >>> >
> >>> >
> >>> >
> >>> > --
> >>> > View this message in context:
> >>>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670266.html
> >>>
> >>> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >>>
> >>>
> >>> ------------------------------
> >>>  If you reply to this email, your message will be added to the
> >>> discussion below:
> >>>
> >>>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670267.html
> >>>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
> >>> <
>
> >>> .
> >>> NAML
> >>> <
> http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>>
> >>
> >>
> >>
> >> --
> >> Aurélien Leboulanger
> >> portail web : http://etudiant.univ-mlv.fr/~aleboula/
> >> 06 - 87 - 75 - 44 - 87
> >>
> >
> >
> >
> > --
> > Aurélien Leboulanger
> > portail web : http://etudiant.univ-mlv.fr/~aleboula/
> > 06 - 87 - 75 - 44 - 87
> >
> >
> >
> >
> > --
> > View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670272.html
>
> > Sent from the TomEE Users mailing list archive at Nabble.com.
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670273.html
>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4670252&code=bGVib3VsYW5nZXIuYXVyZWxpZW5AZ21haWwuY29tfDQ2NzAyNTJ8LTgzNDU4MTk5MA==>
> .
> NAML
> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
Aurélien Leboulanger
portail web : http://etudiant.univ-mlv.fr/~aleboula/
06 - 87 - 75 - 44 - 87




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670274.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: IllegalArgument TomEEJaxRsService

Posted by Romain Manni-Bucau <rm...@gmail.com>.
no, this works fine. Did you ensure there is no mapping conflict
between both? (/spring/* and /rest/* instead of /spring/* and
/spring/rest/* for instance)


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-07-02 17:16 GMT+02:00 herau <le...@gmail.com>:
> If i set in my system.properties this property :
>
> *openejb.jaxrs.application = false*
>
> i can go to my index page but my rest ressources doesn't works.
>
> my index page is rendered with spring mvc but my rest api is managed by
> jersey (through a filter declared in spring security)
>
> any known issue with spring mvc
> and org.springframework.security.web.FilterChainProxy ?
>
>
>
> 2014-07-02 15:41 GMT+02:00 Aurélien Leboulanger <
> leboulanger.aurelien@gmail.com>:
>
>> i run only one instance of tomee.
>>
>> i use tomEE+ 1.6.0 and i only modify the conf/system.properties to add the
>> jersey property.
>>
>> i have the same issue with the tomee plugin :
>>
>> <plugin>
>>                 <groupId>org.apache.openejb.maven</groupId>
>>                 <artifactId>tomee-maven-plugin</artifactId>
>>                 <version>1.6.0</version>
>>                 <configuration>
>>                     <systemVariables>
>>
>> <com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>true</com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>
>>                     </systemVariables>
>>                     <!--<path>/wp</path>-->
>>                     <context>wp</context>
>>                     <tomeeClassifier>plus</tomeeClassifier>
>>                      <libs>
>>                         <lib>mysql:mysql-connector-java:5.1.23</lib>
>>                     </libs>
>>                 </configuration>
>>             </plugin>
>>
>>
>>
>>
>> 2014-07-02 12:41 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
>> ml-node+s979440n4670267h98@n4.nabble.com>:
>>
>>  hi
>>>
>>> yes the conf/system.property is global.
>>>
>>> I use jersey with 1.6.0.2 without much more than this property.
>>>
>>> something is weird, dont you have another tomee instance running
>>> somewhere? seems you run on webprofile but then the error can't happen
>>> since these classes are nor here
>>>
>>>
>>>
>>> Romain Manni-Bucau
>>> Twitter: @rmannibucau
>>> Blog: http://rmannibucau.wordpress.com/
>>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>> Github: https://github.com/rmannibucau
>>>
>>>
>>> 2014-07-02 10:42 GMT+02:00 herau <[hidden email]
>>> <http://user/SendEmail.jtp?type=node&node=4670267&i=0>>:
>>>
>>> > maybe helpful to known that when i launch TomEE, i have this kind of
>>> logs :
>>> >
>>> > Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
>>> > optionalService
>>> > INFO: Optional service not installed:
>>> > org.apache.tomee.webservices.TomeeJaxRsService
>>> > Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
>>> > optionalService
>>> > INFO: Optional service not installed:
>>> > org.apache.tomee.webservices.TomeeJaxWsService
>>> >
>>> >
>>> >
>>> > --
>>> > View this message in context:
>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670266.html
>>>
>>> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>>
>>>
>>> ------------------------------
>>>  If you reply to this email, your message will be added to the
>>> discussion below:
>>>
>>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670267.html
>>>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4670252&code=bGVib3VsYW5nZXIuYXVyZWxpZW5AZ21haWwuY29tfDQ2NzAyNTJ8LTgzNDU4MTk5MA==>
>>> .
>>> NAML
>>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>
>>
>>
>> --
>> Aurélien Leboulanger
>> portail web : http://etudiant.univ-mlv.fr/~aleboula/
>> 06 - 87 - 75 - 44 - 87
>>
>
>
>
> --
> Aurélien Leboulanger
> portail web : http://etudiant.univ-mlv.fr/~aleboula/
> 06 - 87 - 75 - 44 - 87
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670272.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Re: IllegalArgument TomEEJaxRsService

Posted by herau <le...@gmail.com>.
If i set in my system.properties this property :

*openejb.jaxrs.application = false*

i can go to my index page but my rest ressources doesn't works.

my index page is rendered with spring mvc but my rest api is managed by
jersey (through a filter declared in spring security)

any known issue with spring mvc
and org.springframework.security.web.FilterChainProxy ?



2014-07-02 15:41 GMT+02:00 Aurélien Leboulanger <
leboulanger.aurelien@gmail.com>:

> i run only one instance of tomee.
>
> i use tomEE+ 1.6.0 and i only modify the conf/system.properties to add the
> jersey property.
>
> i have the same issue with the tomee plugin :
>
> <plugin>
>                 <groupId>org.apache.openejb.maven</groupId>
>                 <artifactId>tomee-maven-plugin</artifactId>
>                 <version>1.6.0</version>
>                 <configuration>
>                     <systemVariables>
>
> <com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>true</com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>
>                     </systemVariables>
>                     <!--<path>/wp</path>-->
>                     <context>wp</context>
>                     <tomeeClassifier>plus</tomeeClassifier>
>                      <libs>
>                         <lib>mysql:mysql-connector-java:5.1.23</lib>
>                     </libs>
>                 </configuration>
>             </plugin>
>
>
>
>
> 2014-07-02 12:41 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
> ml-node+s979440n4670267h98@n4.nabble.com>:
>
>  hi
>>
>> yes the conf/system.property is global.
>>
>> I use jersey with 1.6.0.2 without much more than this property.
>>
>> something is weird, dont you have another tomee instance running
>> somewhere? seems you run on webprofile but then the error can't happen
>> since these classes are nor here
>>
>>
>>
>> Romain Manni-Bucau
>> Twitter: @rmannibucau
>> Blog: http://rmannibucau.wordpress.com/
>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> Github: https://github.com/rmannibucau
>>
>>
>> 2014-07-02 10:42 GMT+02:00 herau <[hidden email]
>> <http://user/SendEmail.jtp?type=node&node=4670267&i=0>>:
>>
>> > maybe helpful to known that when i launch TomEE, i have this kind of
>> logs :
>> >
>> > Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
>> > optionalService
>> > INFO: Optional service not installed:
>> > org.apache.tomee.webservices.TomeeJaxRsService
>> > Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
>> > optionalService
>> > INFO: Optional service not installed:
>> > org.apache.tomee.webservices.TomeeJaxWsService
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670266.html
>>
>> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670267.html
>>  To unsubscribe from IllegalArgument TomEEJaxRsService, click here
>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4670252&code=bGVib3VsYW5nZXIuYXVyZWxpZW5AZ21haWwuY29tfDQ2NzAyNTJ8LTgzNDU4MTk5MA==>
>> .
>> NAML
>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
> --
> Aurélien Leboulanger
> portail web : http://etudiant.univ-mlv.fr/~aleboula/
> 06 - 87 - 75 - 44 - 87
>



-- 
Aurélien Leboulanger
portail web : http://etudiant.univ-mlv.fr/~aleboula/
06 - 87 - 75 - 44 - 87




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670272.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: IllegalArgument TomEEJaxRsService

Posted by Romain Manni-Bucau <rm...@gmail.com>.
hi

yes the conf/system.property is global.

I use jersey with 1.6.0.2 without much more than this property.

something is weird, dont you have another tomee instance running
somewhere? seems you run on webprofile but then the error can't happen
since these classes are nor here



Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-07-02 10:42 GMT+02:00 herau <le...@gmail.com>:
> maybe helpful to known that when i launch TomEE, i have this kind of logs :
>
> Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
> optionalService
> INFO: Optional service not installed:
> org.apache.tomee.webservices.TomeeJaxRsService
> Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
> optionalService
> INFO: Optional service not installed:
> org.apache.tomee.webservices.TomeeJaxWsService
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670266.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Re: IllegalArgument TomEEJaxRsService

Posted by herau <le...@gmail.com>.
maybe helpful to known that when i launch TomEE, i have this kind of logs : 

Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
optionalService
INFO: Optional service not installed:
org.apache.tomee.webservices.TomeeJaxRsService
Jul 02, 2014 10:38:57 AM org.apache.tomee.catalina.TomcatLoader
optionalService
INFO: Optional service not installed:
org.apache.tomee.webservices.TomeeJaxWsService



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670266.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: IllegalArgument TomEEJaxRsService

Posted by herau <le...@gmail.com>.
i put the property in conf/system.properties but i still have the same error. 



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252p4670265.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: IllegalArgument TomEEJaxRsService

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi

didnt check too deeply Idea to say but you can put it in conf/system.properties


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-07-01 14:18 GMT+02:00 herau <le...@gmail.com>:
> Hi everyone,
>
> I'm trying to use TomEE+ 1.6.0 for a Spring (4.0.3.RELEASE) / Jersey (1.17)
> application.
>
> I launch tomEE (through Intellij Idea) with this system variable to be able
> to use jersey :
> -Dcom.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager=true
>
> When i launch TomEE, Springs beans are correctly registered but at the end
> of the launch i have this Exception :
>
> Jul 01, 2014 1:49:53 PM org.apache.openejb.observer.ObserverManager
> fireEvent
> SEVERE: error invoking
> Observer{class=org.apache.tomee.webservices.TomeeJaxRsService}
> java.lang.IllegalArgumentException: java.lang.ThreadLocal is not an
> interface
>         at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:496)
>         at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:722)
>         at
> org.apache.cxf.jaxrs.utils.InjectionUtils.createThreadLocalProxy(InjectionUtils.java:893)
>         at
> org.apache.cxf.jaxrs.model.AbstractResourceInfo.findContextFields(AbstractResourceInfo.java:95)
>         at
> org.apache.cxf.jaxrs.model.AbstractResourceInfo.<init>(AbstractResourceInfo.java:64)
>         at
> org.apache.cxf.jaxrs.model.ClassResourceInfo.<init>(ClassResourceInfo.java:82)
>         at
> org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:227)
>         at
> org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:218)
>         at
> org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.createResourceInfo(JAXRSServiceFactoryBean.java:204)
>         at
> org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClasses(JAXRSServiceFactoryBean.java:167)
>         at
> org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setResourceClasses(JAXRSServerFactoryBean.java:255)
>         at
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.deployApplication(CxfRsHttpListener.java:387)
>         at
> org.apache.openejb.server.rest.RESTService.deployApplication(RESTService.java:453)
>         at
> org.apache.openejb.server.rest.RESTService.afterApplicationCreated(RESTService.java:273)
>         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:1600)
>         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:633)
>         at
> org.apache.tomee.catalina.TomcatWebAppBuilder.deployWar(TomcatWebAppBuilder.java:622)
>         at
> org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps(TomcatWebAppBuilder.java:593)
>         at
> org.apache.tomee.catalina.deployment.TomcatWebappDeployer.deploy(TomcatWebappDeployer.java:44)
>         at org.apache.openejb.assembler.DeployerEjb.deploy(DeployerEjb.java:168)
>         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.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:182)
>         at
> org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:164)
>         at
> org.apache.openejb.security.internal.InternalSecurityInterceptor.invoke(InternalSecurityInterceptor.java:34)
>         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.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:182)
>         at
> org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:164)
>         at
> org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:180)
>         at
> org.apache.openejb.monitoring.StatsInterceptor.invoke(StatsInterceptor.java:99)
>         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.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:182)
>         at
> org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:164)
>         at
> org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:80)
>         at
> org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:212)
>         at
> org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:181)
>         at
> org.apache.openejb.server.ejbd.EjbRequestHandler.doEjbObject_BUSINESS_METHOD(EjbRequestHandler.java:370)
>         at
> org.apache.openejb.server.ejbd.EjbRequestHandler.processRequest(EjbRequestHandler.java:181)
>         at
> org.apache.openejb.server.ejbd.EjbDaemon.processEjbRequest(EjbDaemon.java:344)
>         at org.apache.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:240)
>         at org.apache.openejb.server.ejbd.EjbServer.service(EjbServer.java:86)
>         at
> org.apache.openejb.server.httpd.ServerServlet.service(ServerServlet.java:58)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>         at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>         at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
>         at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
>         at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
>         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)
>
>
> Note : i have not exception when i launch tomEE with tomee maven plugin but
> the application doesn't works. The configured jersey path return a "404 not
> found".
>
> <plugin>
>                 <groupId>org.apache.openejb.maven</groupId>
>                 <artifactId>tomee-maven-plugin</artifactId>
>                 <version>1.6.0</version>
>                 <configuration>
>                     <systemVariables>
>
> <com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>true</com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager>
>                     </systemVariables>
>                     <path>/wp</path>
>                     <libs>
>                         <lib>mysql:mysql-connector-java:5.1.23</lib>
>                     </libs>
>                 </configuration>
>             </plugin>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgument-TomEEJaxRsService-tp4670252.html
> Sent from the TomEE Users mailing list archive at Nabble.com.