Announcement Announcement Module
Collapse
No announcement yet.
WebService with JAX-WS Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • WebService with JAX-WS

    Hello,
    I'm trying to publish a Webservice done with JAX_WS but an error occurs:

    [springsource.server.catalina].[localhost].[/TomTesteWS].
    unknown E Exception sending context initialized event to listener instance of class com.sun.xml.ws.transport.http.servlet.WSServletCon textListener
    com.sun.xml.ws.transport.http.servlet.WSServletExc eption: WSSERVLET11: failed to parse runtime descriptor: java.lang.NoClassDefFoundError: javax/xml/ws/WebServiceFeature
    at com.sun.xml.ws.transport.http.servlet.WSServletCon textListener.contextInitialized(WSServletContextLi stener.java:118)
    at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:3843)
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4342)
    at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:525)
    at com.springsource.server.servlet.tomcat.TomcatServl etContainer.addContext(TomcatServletContainer.java :958)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.osgi.service.importer.support. internal.aop.ServiceInvoker.doInvoke(ServiceInvoke r.java:64)
    at org.springframework.osgi.service.importer.support. internal.aop.ServiceInvoker.invoke(ServiceInvoker. java:78)
    at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :171)
    at org.springframework.aop.support.DelegatingIntroduc tionInterceptor.doProceed(DelegatingIntroductionIn terceptor.java:131)
    at org.springframework.aop.support.DelegatingIntroduc tionInterceptor.invoke(DelegatingIntroductionInter ceptor.java:119)
    at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :171)
    at org.springframework.osgi.service.importer.support. LocalBundleContextAdvice.invoke(LocalBundleContext Advice.java:59)
    at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :171)
    at org.springframework.aop.support.DelegatingIntroduc tionInterceptor.doProceed(DelegatingIntroductionIn terceptor.java:131)
    at org.springframework.aop.support.DelegatingIntroduc tionInterceptor.invoke(DelegatingIntroductionInter ceptor.java:119)
    at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :171)
    at org.springframework.aop.framework.JdkDynamicAopPro xy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy44.addContext(Unknown Source)
    at com.springsource.server.web.core.WebModulePersonal ity.deploy(WebModulePersonality.java:391)
    at com.springsource.server.deployer.core.module.Abstr actModule.deploy(AbstractModule.java:229)
    at com.springsource.server.deployer.core.module.Stand ardModule.onStarted(StandardModule.java:505)
    at com.springsource.server.deployer.core.module.Deplo yerBundleListener$2$1.run(DeployerBundleListener.j ava:148)
    at com.springsource.server.concurrent.core.ExecutorSe rviceDelegate$StatisticsGatheringRunnable.run(Exec utorServiceDelegate.java:137)
    at com.springsource.server.concurrent.core.ServerThre adPoolExecutor$1.run(ServerThreadPoolExecutor.java :145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.NoClassDefFoundError: javax/xml/ws/WebServiceFeature
    at com.sun.xml.ws.transport.http.servlet.WSServletCon textListener.contextInitialized(WSServletContextLi stener.java:103)
    ... 32 more

    The server does not support Webservice in jax_ws?

  • #2
    I'm not familiar with the bundle structure for JAX WS but it looks as though the bundle containing com.sun.xml.ws.transport.http.servlet.WSServletCon textListener doesn't have the necessary Import-Package statements to access javax.xml.ws types.

    Rob

    Comment

    Working...
    X