[jboss-user] [JBoss Web Services] - Re: Migrating secured WS from JBoss 5.1 to 7.1.1

Xavier Dury do-not-reply at jboss.com
Tue Jun 11 05:05:24 EDT 2013


Xavier Dury [https://community.jboss.org/people/xdury] created the discussion

"Re: Migrating secured WS from JBoss 5.1 to 7.1.1"

To view the discussion, visit: https://community.jboss.org/message/822479#822479

--------------------------------------------------------------
I added a jboss-deployment-structure.xml in my ear like this:
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
    <sub-deployment name="myejb.jar">
        <dependencies>
            <module name="org.apache.cxf" slot="main" >
                <imports>
                    <include path="META-INF**" />
                    <include path="org**" />
                    <include path="schemas**" />
                </imports>
            </module>
            <module name="org.apache.ws.security" />
        </dependencies>
    </sub-deployment>
</jboss-deployment-structure>
and now I get a NoClassDefFoundError on javax.servlet.ServletException:
11:00:43,748 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/context].[MyWebService]] (http-/127.0.0.1:8080-2) JBWEB000236: Servlet
.service() for servlet PunctualDataWebService threw exception: java.lang.NoClassDefFoundError: javax/servlet/ServletException
        at org.jboss.wsf.stack.cxf.Messages_$bundle.cannotObtainDestinationFor(Messages_$bundle.java:353)
        at org.jboss.wsf.stack.cxf.RequestHandlerImpl.findDestination(RequestHandlerImpl.java:168)
        at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:85)
        at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:156)
        at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:87)
        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:225)
        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:150)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
        at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:135)
        at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140) [jbossws-spi-2.1.2.Final-redhat-1.jar:2.1.2.Final-redhat-1]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
        at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/822479#822479]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130611/32d5efb9/attachment.html 


More information about the jboss-user mailing list