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 Mon, 15 Aug 2016 17:22:47 GMT
I tried with web.xml like below, but still it results in deployment error:

<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" version="3.1">
	
	<servlet>
		<servlet-name>TestService</servlet-name>
		<servlet-class>com.mycompany.test.TestPortImpl</servlet-class>
		<load-on-startup>1</load-on-startup>
	</servlet>
	<servlet-mapping>
		<servlet-name>TestService</servlet-name>
		<url-pattern>/*</url-pattern>
	</servlet-mapping>

</web-app>


Caused by: org.apache.tomee.catalina.TomEERuntimeException:
java.lang.NullPointerException: name cannot be null
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1269)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1115)
	at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:133)
	at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
	at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5076)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
	... 52 more
Caused by: java.lang.NullPointerException: name cannot be null
	at
org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:128)
	at
org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:83)
	at
org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:2446)
	at
org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1955)
	at
org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:378)
	at
org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:419)
	at
org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:1032)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1235)

Appreciate if you could point me to an example that works. 

thanks,
Venkat




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

Mime
View raw message