当前位置: 首页 > 知识库问答 >
问题:

保险丝ESB-CXF Webservice故障

薛利
2023-03-14

我在FUSE ESB中公开了一个CXF webservice。在出现异常的情况下,应用程序将抛出SOAP错误,响应在SOAP UI中如下所示。如何避免/删除响应中的classContext标记。

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <soap:Fault>
     <faultcode>soap:Server</faultcode>
     <faultstring>8001 - The request context failed authentication policy!</faultstring>
     <detail>
        <PolicyException xmlns="http://www.example.com/com/xyz/sdp/api/ws"/>
        <ns1:PolicyException xmlns:ns1="http://www.example.com/com/xyz/sdp/api/ws">
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">com.xyz.sdp.api.processors.request.AuthenticationProcessor</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.component.bean.BeanProcessor</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.util.AsyncProcessorHelper</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.component.bean.BeanProcessor</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.impl.ProcessorEndpoint</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.impl.ProcessorEndpoint$1</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.SendProcessor</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.management.InstrumentationProcessor</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.CamelInternalProcessor</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.Pipeline</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.Pipeline</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.management.InstrumentationProcessor</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.CamelInternalProcessor</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.TryProcessor</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.TryProcessor</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.management.InstrumentationProcessor</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.CamelInternalProcessor</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.CamelInternalProcessor</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.util.AsyncProcessorHelper</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.DelegateAsyncProcessor</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.component.cxf.CxfConsumer$1</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.component.cxf.CxfConsumer$1</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.interceptor.ServiceInvokerInterceptor$1</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">java.util.concurrent.Executors$RunnableAdapter</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">java.util.concurrent.FutureTask$Sync</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">java.util.concurrent.FutureTask</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.workqueue.SynchronousExecutor</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.interceptor.ServiceInvokerInterceptor</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.phase.PhaseInterceptorChain</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.ChainInitiationObserver</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.http.AbstractHTTPDestination</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.servlet.ServletController</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.servlet.ServletController</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.servlet.ServletController</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.servlet.CXFNonSpringServlet</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.servlet.AbstractHTTPServlet</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.servlet.AbstractHTTPServlet</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">javax.servlet.http.HttpServlet</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.servlet.AbstractHTTPServlet</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.servlet.ServletHolder</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.servlet.ServletHandler</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.handler.ScopedHandler</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.security.SecurityHandler</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.session.SessionHandler</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.handler.ContextHandler</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.ops4j.pax.web.service.jetty.internal.HttpServiceContext</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.servlet.ServletHandler</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.session.SessionHandler</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.handler.ContextHandler</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.handler.ScopedHandler</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.handler.HandlerWrapper</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.Server</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.AbstractHttpConnection</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.AbstractHttpConnection</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.http.HttpParser</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.http.HttpParser</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.AsyncHttpConnection</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.io.nio.SelectChannelEndPoint</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.io.nio.SelectChannelEndPoint$1</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.util.thread.QueuedThreadPool</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.util.thread.QueuedThreadPool$3</classContext>
           <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">java.lang.Thread</classContext>
           <faultInfo xsi:type="ns2:PFaultInfo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">
              <code>8001</code>
              <message>The request context failed authentication policy!</message>
           </faultInfo>
        </ns1:PolicyException>
     </detail>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>

共有1个答案

罗建弼
2023-03-14

这是由于Karaf造成的一个bug,请参见https://issues.apache.org/jira/browse/Karaf-4429,它使用了一个认可的java.lang.exception,该exception取代了JDK的java.lang.exception来提供增强的日志功能

由于这个特性,您可以在日志中获得关于StackTrace条目的完整OSGi信息(在发送log:display命令时,您是否看到了[bundleid:bundlesymbolicname:bundleversion] 的方括号?)但是它引入了一个bug,使JAXB无法正确地封送SOAP错误。

在Karaf问题解决之前,您可以通过删除文件来解决Fuse ESB实例中的问题:

{FUSE_ESB_HOME}/lib/endorsed/org.apache.karaf.exception-x.x.x.jar

您会在日志中丢失关于StackTrace某些元素的OSGi信息,但其他一切都应该正常工作。

 类似资料:
  • 在许多项目中,我遇到过这种异常。出现这种异常的原因是什么? 据我所知,这可能是因为版本使用不一致。其他可能的情况是什么? 这是因为我们在项目中使用的骆驼版本吗?请帮忙。 组织。奥斯基。框架BundleException:bundle com中未解析的约束。测验div.soa。模块通知[324]:无法解决324.0:缺少要求[324.0]osgi。装电线。包裹( 向大师问好

  • 我已经安装了cave-repository来融合,然后我创建了一个新的存储库。当我试图通过http访问repository时,我从Undertow收到以下错误。 注意:我没有改变底拖设置。它是一个默认的保险丝包。 java.lang.ILLegalStateException:UT010026:此请求不支持Async,因为并非所有筛选器或servlet都标记为支持Async。handleReque

  • 我试图让Maven failsafe插件运行我的集成测试,但即使我在https://maven.apache.org/surefire/maven-failsafe-plugin/usage.html它不起作用。 我的maven项目(MvnTest)如下所示(源文件如下所示): MVN测试仅使用sunfire插件正确运行某些est.java中的测试。输出: 然而,mvn验证命令输出与mvn测试完全

  • 我在linux centos上安装了jboss fuse并运行它。但无法访问管理控制台。 我在redhat的网站上找到了一些相关文档,并按照步骤进行了操作。 https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Fuse/6.0/html/Using_the_Management_Console/files/FMCUGAccess.

  • 我遇到了类似[https://stackoverflow.com/questions/25432810/error-when-trying-to-use-org-codehaus-mojocobertura-maven-plugin2-6的问题]。 日志:目标组织的执行默认cli。科德豪斯。mojo:cobertura maven插件:2.6:instrument失败:插件组织。科德豪斯。mojo