当许多请求同时命中时,WSO身份服务器进入不可用状态

时间:2015-10-12 10:29:27

标签: wso2 wso2esb wso2is wso2carbon

我正在使用WSO身份服务器来创建SAML令牌。当许多请求同时命中STS服务时,我面临一个问题,身份服务器抛出NPE并进入不可用状态。 WSO网站表示它已作为3.2的一部分修复,但它发生在5.0.0中。任何克服这一点的建议或解决方案都将受到高度赞赏。

下面的附加堆栈跟踪......

  

java.lang.NullPointerException at   org.apache.axis2.handlers.addressing.AddressingOutHandler $ WSAHeaderWriter。(AddressingOutHandler.java:166)     在   org.apache.axis2.handlers.addressing.AddressingOutHandler.doInvoke(AddressingOutHandler.java:131)     在   org.apache.axis2.handlers.AbstractTemplatedHandler.invoke(AbstractTemplatedHandler.java:44)     在org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)at   org.apache.axis2.engine.Phase.invoke(Phase.java:313)at   org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)at at   org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:426)at at   org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:43)     在   org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)     在org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)     在   org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)     在   org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)     在   org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)     在javax.servlet.http.HttpServlet.service(HttpServlet.java:755)at   javax.servlet.http.HttpServlet.service(HttpServlet.java:848)at at   org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)     在   org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)     在   org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)     在javax.servlet.http.HttpServlet.service(HttpServlet.java:848)at   org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)     在   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)     在   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)     在   org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)     在   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)     在   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)     在   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)     在   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)     在   org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)     在   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)     在   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)     在   org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)     在   org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve $ 1.invoke(CarbonTomcatValve.java:47)     在   org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)     在   org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)     在   org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)     在   org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)     在   org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)     在   org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)     在   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)     在   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)     在   org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)     在   org.apache.coyote.AbstractProtocol $ AbstractConnectionHandler.process(AbstractProtocol.java:589)     在   org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.run(NioEndpoint.java:1653)     在   java.util.concurrent.ThreadPoolExecutor中的$ Worker.runTask(ThreadPoolExecutor.java:886)     在   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:908)     在java.lang.Thread.run(Thread.java:619)TID:[0] [IS] [2015-06-24   02:20:45,640] ERROR {org.apache.axis2.transport.http.AxisServlet} -
  {org.apache.axis2.transport.http.AxisServlet}

由于

0 个答案:

没有答案