Java JAX_WS处理程序错误:类未实现ThreadContextMigrator接口

Java JAX_WS处理程序错误:类未实现ThreadContextMigrator接口,java,web-services,soap,jax-ws,Java,Web Services,Soap,Jax Ws,我有一个JAX-WS服务,它在本地EclipseJava1.6WAS8.5.5环境中运行良好,但在实际的WAS测试服务器上抛出了一个错误 处理程序类不直接引用或实现ThreadContextMigrator。 知道是什么导致了这场冲突吗 我定义了一个处理程序,用于向出站客户端请求消息添加安全头,引用: WebServiceSecuritySoapHandler implements SOAPHandler<SOAPMessageContext> class import javax

我有一个JAX-WS服务,它在本地EclipseJava1.6WAS8.5.5环境中运行良好,但在实际的WAS测试服务器上抛出了一个错误

处理程序
类不直接引用或实现
ThreadContextMigrator
。 知道是什么导致了这场冲突吗

我定义了一个
处理程序
,用于向出站客户端请求消息添加安全头,引用:

WebServiceSecuritySoapHandler implements SOAPHandler<SOAPMessageContext> class 
import javax.xml.namespace.QName;
import javax.xml.soap.Name;
import javax.xml.soap.SOAPElement;
import javax.xml.soap.SOAPEnvelope;
import javax.xml.soap.SOAPFactory;
import javax.xml.soap.SOAPHeader;
import javax.xml.ws.handler.soap.SOAPHandler;
import javax.xml.ws.handler.soap.SOAPMessageContext;

import com.ge.business.application.PSApplication;
import com.ge.codes.OULogFileConstants;
import com.ge.system.LogSystem;
import com.ge.util.LogMessageFormatter;
import com.gebank.art.logging.Log;
堆栈跟踪:

[5/14/15 10:32:56:552 EDT] 000001ba FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/was85/app-it1/profiles/p-a85it1-a/logs/ffdc/as-a85it1-a-1-OUappl1-1_239d0479_15.05.14_10.32.56.5493598364447310372030.txt com.ibm.ws.webservices.utils.PluginsUtils.run 88
[5/14/15 10:32:56:536 EDT] 000001ba WASAxis2Confi E   WSWS7026E: The 'ThreadContextMigrator' plug-ins cannot load correctly because of the following error: org.apache.axis2.deployment.DeploymentException: WSWS7025E: The com.ibm.ws.wsaddressing.jaxws.converters.AddressingPropertiesMigrator class did not implement the ThreadContextMigrator interface.
at com.ibm.ws.websvcs.deployment.WASAxis2ConfigurationBuilder.discoverTCMPlugins(WASAxis2ConfigurationBuilder.java:1213)
at com.ibm.ws.websvcs.deployment.WASAxis2ConfigurationBuilder.loadAxisClientTCMPlugins(WASAxis2ConfigurationBuilder.java:427)
at com.ibm.ws.websvcs.client.WSClientConfigurationFactory.getConfigContext(WSClientConfigurationFactory.java:298)
at com.ibm.ws.websvcs.client.WSClientConfigurationFactory.getClientConfigurationContext(WSClientConfigurationFactory.java:210)
at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:92)
at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:79)
at org.apache.axis2.jaxws.description.DescriptionFactory.createServiceDescription(DescriptionFactory.java:78)
at org.apache.axis2.jaxws.spi.ServiceDelegate.<init>(ServiceDelegate.java:218)
at org.apache.axis2.jaxws.spi.Provider.createServiceDelegate(Provider.java:83)
at org.apache.axis2.jaxws.spi.Provider.createServiceDelegate(Provider.java:79)
at javax.xml.ws.Service.<init>(Service.java:57)
at com.ge.soa.any.AnyServiceSoap12.<init>(AnyServiceSoap12.java:35)
at com.ge.soa.any.AnyServicePortSoap1_2Proxy$Descriptor.init(AnyServicePortSoap1_2Proxy.java:35)
at com.ge.soa.any.AnyServicePortSoap1_2Proxy$Descriptor.<init>(AnyServicePortSoap1_2Proxy.java:23)
at com.ge.soa.any.AnyServicePortSoap1_2Proxy.<init>(AnyServicePortSoap1_2Proxy.java:83)
at com.ge.OU.soa.RealTimeAnyServiceFacade.getSoap1_2Proxy(RealTimeAnyServiceFacade.java:134)
at com.ge.OU.soa.RealTimeAnyServiceFacade.getAnyStandard(RealTimeAnyServiceFacade.java:271)
at com.ge.OU.commands.rto.RealTimeAnyCommand.retrieveRealTime(RealTimeAnyCommand.java:121)
at com.ge.OU.commands.rto.RealTimeAnyCommand.execute(RealTimeAnyCommand.java:73)
at com.ge.OU.servlets.OUController.performTask(OUController.java:1276)
at com.ge.OU.servlets.OUController.doPost(OUController.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1071)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:914)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:461)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:528)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:314)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1864)
[5/14/15 10:32:56:552 EDT]000001ba FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I:ffdc事件在/opt/was85/app-it1/profiles/p-a85it1-a/logs/ffdc/as-a85it1-a-1-OUappl1-1_239d0479_15.05.14_10.32.56.54935983647372030.txt.com.ibm.ws.webservices.utils.PluginsUtils.88上发出
[5/14/15 10:32:56:536美国东部夏令时]000001ba WASAXIS2CONFIG E WSWS7026E:“ThreadContextMigrator”插件无法正确加载,因为出现以下错误:org.apache.axis2.deployment.DeploymentException:WSWSWS7025E:com.ibm.ws.wsaddressing.jaxws.converters.AddressingPropertiesMigrator类未实现ThreadContextMigrator接口。
位于com.ibm.ws.webvcs.deployment.WASAxis2ConfigurationBuilder.discoverTCMPlugins(WASAxis2ConfigurationBuilder.java:1213)
位于com.ibm.ws.webvcs.deployment.WASAxis2ConfigurationBuilder.LoadAxisClientCmplugins(WASAxis2ConfigurationBuilder.java:427)
位于com.ibm.ws.webvcs.client.WSClientConfigurationFactory.getConfigContext(WSClientConfigurationFactory.java:298)
位于com.ibm.ws.webvcs.client.WSClientConfigurationFactory.getClientConfigurationContext(WSClientConfigurationFactory.java:210)
位于org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:92)
位于org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:79)
位于org.apache.axis2.jaxws.description.DescriptionFactory.createServiceDescription(DescriptionFactory.java:78)
位于org.apache.axis2.jaxws.spi.ServiceDelegate(ServiceDelegate.java:218)
位于org.apache.axis2.jaxws.spi.Provider.createServiceDelegate(Provider.java:83)
位于org.apache.axis2.jaxws.spi.Provider.createServiceDelegate(Provider.java:79)
位于javax.xml.ws.Service。(Service.java:57)
位于com.ge.soa.any.AnyServiceSoap12。(AnyServiceSoap12.java:35)
在com.ge.soa.any.AnyServicePortSoap1\u 2Proxy$Descriptor.init(AnyServicePortSoap1\u 2Proxy.java:35)
在com.ge.soa.any.AnyServicePortSoap1\u 2Proxy$Descriptor上。(AnyServicePortSoap1\u 2Proxy.java:23)
在com.ge.soa.any.AnyServicePortSoap1\u 2Proxy。(AnyServicePortSoap1\u 2Proxy.java:83)
位于com.ge.OU.soa.RealTimeAnyServiceFacade.getSoap1_2Proxy(RealTimeAnyServiceFacade.java:134)
位于com.ge.OU.soa.RealTimeAnyServiceFacade.getAnyStandard(RealTimeAnyServiceFacade.java:271)
位于com.ge.OU.commands.rto.RealTimeAnyCommand.retrieveRealTime(RealTimeAnyCommand.java:121)
位于com.ge.OU.commands.rto.RealTimeAnyCommand.execute(RealTimeAnyCommand.java:73)
位于com.ge.OU.servlets.OUController.performTask(OUController.java:1276)
位于com.ge.OU.servlets.OUController.doPost(OUController.java:265)
位于javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
位于javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
位于com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
位于com.ibm.ws.webcontainer.servlet.ServletWrapper.HandlerRequest(ServletWrapper.java:779)
位于com.ibm.ws.webcontainer.servlet.ServletWrapper.HandlerRequest(ServletWrapper.java:478)
位于com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.HandlerRequest(ServletWrapperImpl.java:178)
在com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters上(WebAppFilterManager.java:1071)
位于com.ibm.ws.webcontainer.servlet.CacheServletWrapper.HandlerRequest(CacheServletWrapper.java:87)
位于com.ibm.ws.webcontainer.webcontainer.handleRequest(webcontainer.java:914)
位于com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
位于com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
位于com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:461)
位于com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:528)
在com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:314)上
位于com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
位于com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
在com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted上(AioReadCompletionListener.java:175)
位于com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
位于com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
位于com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
位于com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
位于com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
位于com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
位于com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1864)
[5/14/15 10:32:56:552 EDT] 000001ba FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/was85/app-it1/profiles/p-a85it1-a/logs/ffdc/as-a85it1-a-1-OUappl1-1_239d0479_15.05.14_10.32.56.5493598364447310372030.txt com.ibm.ws.webservices.utils.PluginsUtils.run 88
[5/14/15 10:32:56:536 EDT] 000001ba WASAxis2Confi E   WSWS7026E: The 'ThreadContextMigrator' plug-ins cannot load correctly because of the following error: org.apache.axis2.deployment.DeploymentException: WSWS7025E: The com.ibm.ws.wsaddressing.jaxws.converters.AddressingPropertiesMigrator class did not implement the ThreadContextMigrator interface.
at com.ibm.ws.websvcs.deployment.WASAxis2ConfigurationBuilder.discoverTCMPlugins(WASAxis2ConfigurationBuilder.java:1213)
at com.ibm.ws.websvcs.deployment.WASAxis2ConfigurationBuilder.loadAxisClientTCMPlugins(WASAxis2ConfigurationBuilder.java:427)
at com.ibm.ws.websvcs.client.WSClientConfigurationFactory.getConfigContext(WSClientConfigurationFactory.java:298)
at com.ibm.ws.websvcs.client.WSClientConfigurationFactory.getClientConfigurationContext(WSClientConfigurationFactory.java:210)
at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:92)
at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:79)
at org.apache.axis2.jaxws.description.DescriptionFactory.createServiceDescription(DescriptionFactory.java:78)
at org.apache.axis2.jaxws.spi.ServiceDelegate.<init>(ServiceDelegate.java:218)
at org.apache.axis2.jaxws.spi.Provider.createServiceDelegate(Provider.java:83)
at org.apache.axis2.jaxws.spi.Provider.createServiceDelegate(Provider.java:79)
at javax.xml.ws.Service.<init>(Service.java:57)
at com.ge.soa.any.AnyServiceSoap12.<init>(AnyServiceSoap12.java:35)
at com.ge.soa.any.AnyServicePortSoap1_2Proxy$Descriptor.init(AnyServicePortSoap1_2Proxy.java:35)
at com.ge.soa.any.AnyServicePortSoap1_2Proxy$Descriptor.<init>(AnyServicePortSoap1_2Proxy.java:23)
at com.ge.soa.any.AnyServicePortSoap1_2Proxy.<init>(AnyServicePortSoap1_2Proxy.java:83)
at com.ge.OU.soa.RealTimeAnyServiceFacade.getSoap1_2Proxy(RealTimeAnyServiceFacade.java:134)
at com.ge.OU.soa.RealTimeAnyServiceFacade.getAnyStandard(RealTimeAnyServiceFacade.java:271)
at com.ge.OU.commands.rto.RealTimeAnyCommand.retrieveRealTime(RealTimeAnyCommand.java:121)
at com.ge.OU.commands.rto.RealTimeAnyCommand.execute(RealTimeAnyCommand.java:73)
at com.ge.OU.servlets.OUController.performTask(OUController.java:1276)
at com.ge.OU.servlets.OUController.doPost(OUController.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1071)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:914)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:461)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:528)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:314)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1864)