tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vnalla <v_na...@hotmail.com>
Subject Re: How to configure Loggin, Featrues, Interceptors for CXF web services
Date Wed, 17 Aug 2016 14:43:30 GMT
Hi,

finally I was able to deploy my web service as pojo. it does not like
<load-on-startup> tag in the web.xml.

However there is another deployment error, but the service is getting
deployed and works fine. This happens for every pojo web service including
pojo-webservice example. Is there any way to get around this issue? Looks
like it is related to WebBeansContext.

17-Aug-2016 09:08:30.725 INFO [localhost-startStop-1]
org.apache.tomee.catalina.TomcatWebAppBuilder.init -------------------------
localhost -> /pojo-webservice
17-Aug-2016 09:08:31.054 INFO [localhost-startStop-1]
org.apache.openejb.config.ConfigurationFactory.configureApplication
Configuring enterprise application:
C:\apache-tomee-plume-7.0.1\webapps\pojo-webservice
17-Aug-2016 09:08:31.282 INFO [localhost-startStop-1]
org.apache.openejb.config.ConfigurationFactory.configureService Configuring
Service(id=Default Managed Container, type=Container, provider-id=Default
Managed Container)
17-Aug-2016 09:08:31.282 INFO [localhost-startStop-1]
org.apache.openejb.config.AutoConfig.createContainer Auto-creating a
container for bean pojo-webservice.Comp233793921: Container(type=MANAGED,
id=Default Managed Container)
17-Aug-2016 09:08:31.283 INFO [localhost-startStop-1]
org.apache.openejb.assembler.classic.Assembler.createRecipe Creating
Container(id=Default Managed Container)
17-Aug-2016 09:08:31.295 INFO [localhost-startStop-1]
org.apache.openejb.core.managed.SimplePassivater.init Using directory
C:\apache-tomee-plume-7.0.1\temp for stateful session passivation
17-Aug-2016 09:08:31.341 INFO [localhost-startStop-1]
org.apache.openejb.config.AppInfoBuilder.build Enterprise application
"C:\apache-tomee-plume-7.0.1\webapps\pojo-webservice" loaded.
17-Aug-2016 09:08:31.351 INFO [localhost-startStop-1]
org.apache.openejb.assembler.classic.Assembler.createApplication Assembling
app: C:\apache-tomee-plume-7.0.1\webapps\pojo-webservice
17-Aug-2016 09:08:31.545 INFO [localhost-startStop-1]
org.apache.openejb.assembler.classic.Assembler.createApplication Deployed
Application(path=C:\apache-tomee-plume-7.0.1\webapps\pojo-webservice)
17-Aug-2016 09:08:31.921 INFO [localhost-startStop-1]
sun.reflect.DelegatingMethodAccessorImpl.invoke At least one JAR was scanned
for TLDs yet contained no TLDs. Enable debug logging for this logger for a
complete list of JARs that were scanned but no TLDs were found in them.
Skipping unneeded JARs during scanning can improve startup time and JSP
compilation time.
17-Aug-2016 09:08:32.376 SEVERE [localhost-startStop-1]
org.apache.openejb.server.webservices.WsService.afterApplicationCreated
Error deploying CXF webservice for servlet ws
 javax.xml.ws.WebServiceException: Service resource injection failed
	at
org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:163)
	at
org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:70)
	at
org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:45)
	at
org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:50)
	at
org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:114)
	at
org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:420)
	at
org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:56)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at
org.apache.openejb.observer.ObserverManager$MethodInvocation.invoke(ObserverManager.java:406)
	at
org.apache.openejb.observer.ObserverManager$InvocationList.invoke(ObserverManager.java:521)
	at
org.apache.openejb.observer.ObserverManager.doFire(ObserverManager.java:111)
	at
org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:100)
	at
org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:217)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1707)
	at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:116)
	at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
	at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:170)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
	at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
	at
org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:110)
	... 30 more


Thanks,
Venkat




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/How-to-configure-Loggin-Featrues-Interceptors-for-CXF-web-services-tp4679440p4679785.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message