tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: How to configure Loggin, Featrues, Interceptors for CXF web services
Date Mon, 15 Aug 2016 18:17:20 GMT
https://github.com/apache/tomee/tree/master/examples/pojo-webservice

that said your error is linked to another config I think and not to
webservices at all.


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2016-08-15 19:22 GMT+02:00 vnalla <v_nalla@hotmail.com>:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message