0

我在heroku中托管的应用程序出现问题,我在这里迷路了。首先是细节:

该应用程序是一个监听 http 请求(post)的 Web 服务,将一些数据转换为要发送到另一个 Web 服务的肥皂消息。

  • 它是一个 Java 应用程序,maven 项目,你使用 Jersey 来公开我的休息服务和 AXIS2 来创建存根以调用第三方服务并发送肥皂消息。

该服务运行良好,我在本地设置了一个 Apache Tomcat 服务器并且运行良好。我将它推送到heroku,所有请求都超时。日志变得疯狂,似乎 heroku 创建了多个线程,并且我的调试行每次出现多次,所以最后我得到一个 H-12 错误但有时操作会继续运行,即使出现超时错误我也可以看到手术成功。

我在这里迷路了,有什么建议可以调试吗?在 Heroku 中设置配置?任何事物?

非常感谢 !!

编辑: *在与 Heroku 在这里和那里的一些消息之后,他们声称这不是 Heroku 问题。但是,我将相同的应用程序部署到 CloudBees 并在那里顺利运行。*

日志的一部分:(很大,我不能全部粘贴),我可以看到它在某个时候永远循环,但我不知道为什么这发生在 Heroku 而不是我本地的 Tomcat 中。

此日志下方的 Java 代码。

2013-08-14T11:10:05.211415+00:00 app[web.1]: 2013-08-14 11:09:25,132 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisOperation - Entry: AxisOperation::getInputAction
2013-08-14T11:10:05.302301+00:00 app[web.1]: 2013-08-14 11:09:28,554 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisOperation - Exit: AxisOperation::getInputAction null
2013-08-14T11:10:05.400942+00:00 app[web.1]: 2013-08-14 11:09:28,554 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisOperation - Entry: AxisOperation::setSoapAction, previous soapAction: null updated soapAction: urn:aDD_Set
2013-08-14T11:10:05.491836+00:00 app[web.1]: 2013-08-14 11:09:28,554 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisOperation - Exit: AxisOperation::setSoapAction
2013-08-14T11:10:05.590298+00:00 app[web.1]: 2013-08-14 11:09:28,554 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisService - mapActionToOperation: Mapping Action to Operation: action: aDD_Set; operation: org.apache.axis2.description.OutInAxisOperation@63cea096named: {https://wsdlt.mailmanagement.ch}aDD_Set
2013-08-14T11:10:05.686160+00:00 app[web.1]: 2013-08-14 11:09:28,555 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisService - DEBUG_FRAME = org.apache.axis2.util.JavaUtils.callStackToString(JavaUtils.java:564)
2013-08-14T11:10:05.781155+00:00 app[web.1]:    DEBUG_FRAME = org.apache.axis2.description.AxisService.mapActionToOperation(AxisService.java:821)
2013-08-14T11:10:05.872017+00:00 app[web.1]:    DEBUG_FRAME = org.apache.axis2.description.AxisService.addOperation(AxisService.java:667)
2013-08-14T11:10:05.963805+00:00 app[web.1]:    DEBUG_FRAME = ch.mailmanagement.wsdlt.SQLEP_DeinDeal24Stub.populateAxisService(SQLEP_DeinDeal24Stub.java:83)
2013-08-14T11:10:06.056816+00:00 app[web.1]:    DEBUG_FRAME = ch.mailmanagement.wsdlt.SQLEP_DeinDeal24Stub.<init>(SQLEP_DeinDeal24Stub.java:155)
2013-08-14T11:10:06.148557+00:00 app[web.1]:    DEBUG_FRAME = ch.mailmanagement.wsdlt.SQLEP_DeinDeal24Stub.<init>(SQLEP_DeinDeal24Stub.java:143)
2013-08-14T11:10:06.239199+00:00 app[web.1]:    DEBUG_FRAME = ch.mailmanagement.wsdlt.SQLEP_DeinDeal24Stub.<init>(SQLEP_DeinDeal24Stub.java:193)
2013-08-14T11:10:06.330053+00:00 app[web.1]:    DEBUG_FRAME = ch.deindeal.utils.Connector2Navision.getStub(Connector2Navision.java:43)
2013-08-14T11:10:06.422462+00:00 app[web.1]:    DEBUG_FRAME = ch.deindeal.servlets.Product_Listener.sendAddProductJson2Nav(Product_Listener.java:55)
2013-08-14T11:10:06.513911+00:00 app[web.1]:    DEBUG_FRAME = sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-08-14T11:10:06.604438+00:00 app[web.1]:    DEBUG_FRAME = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2013-08-14T11:10:06.694775+00:00 app[web.1]:    DEBUG_FRAME = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2013-08-14T11:10:06.787233+00:00 app[web.1]:    DEBUG_FRAME = java.lang.reflect.Method.invoke(Method.java:616)
2013-08-14T11:10:06.881756+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
2013-08-14T11:10:07.019128+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
2013-08-14T11:10:07.113107+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
2013-08-14T11:10:07.207812+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
2013-08-14T11:10:07.299744+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
2013-08-14T11:10:07.390147+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
2013-08-14T11:10:07.502095+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
2013-08-14T11:10:07.599578+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)
2013-08-14T11:10:07.692928+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)
2013-08-14T11:10:07.793717+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
2013-08-14T11:10:07.891240+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
2013-08-14T11:10:07.988826+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
2013-08-14T11:10:08.081153+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
2013-08-14T11:10:08.176898+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
2013-08-14T11:10:08.270800+00:00 app[web.1]:    DEBUG_FRAME = javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
2013-08-14T11:10:08.380129+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
2013-08-14T11:10:08.479684+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
2013-08-14T11:10:08.576501+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
2013-08-14T11:10:08.667801+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
2013-08-14T11:10:08.762017+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
2013-08-14T11:10:08.853310+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
2013-08-14T11:10:08.949795+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
2013-08-14T11:10:09.046074+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
2013-08-14T11:10:09.148684+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
2013-08-14T11:10:09.254481+00:00 app[web.1]:    DEBUG_FRAME = org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
2013-08-14T11:10:09.346373+00:00 app[web.1]:    DEBUG_FRAME = org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
2013-08-14T11:10:09.443165+00:00 app[web.1]:    DEBUG_FRAME = org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
2013-08-14T11:10:09.537368+00:00 app[web.1]:    DEBUG_FRAME = java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
2013-08-14T11:10:09.629936+00:00 app[web.1]:    DEBUG_FRAME = java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2013-08-14T11:10:09.724946+00:00 app[web.1]:    DEBUG_FRAME = java.lang.Thread.run(Thread.java:679)
2013-08-14T11:10:09.821164+00:00 app[web.1]:
2013-08-14T11:10:09.915402+00:00 app[web.1]: 2013-08-14 11:09:31,808 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisOperation - Entry: AxisOperation::getInputAction
2013-08-14T11:10:10.007314+00:00 app[web.1]: 2013-08-14 11:09:31,808 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisOperation - Debug: AxisOperation::getInputAction - using soapAction
2013-08-14T11:10:10.098711+00:00 app[web.1]: 2013-08-14 11:09:31,808 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisOperation - Exit: AxisOperation::getInputAction urn:aDD_Set
2013-08-14T11:10:10.196483+00:00 app[web.1]: 2013-08-14 11:09:31,808 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisService - mapActionToOperation: Mapping Action to Operation: action: urn:aDD_Set; operation: org.apache.axis2.description.OutInAxisOperation@63cea096named: {https://wsdlt.mailmanagement.ch}aDD_Set
2013-08-14T11:10:10.313217+00:00 app[web.1]: 2013-08-14 11:09:31,809 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisService - DEBUG_FRAME = org.apache.axis2.util.JavaUtils.callStackToString(JavaUtils.java:564)
2013-08-14T11:10:10.406680+00:00 app[web.1]:    DEBUG_FRAME = org.apache.axis2.description.AxisService.mapActionToOperation(AxisService.java:821)
2013-08-14T11:10:10.503817+00:00 app[web.1]:    DEBUG_FRAME = org.apache.axis2.description.AxisService.addOperation(AxisService.java:671)
2013-08-14T11:10:10.594496+00:00 app[web.1]:    DEBUG_FRAME = ch.mailmanagement.wsdlt.SQLEP_DeinDeal24Stub.populateAxisService(SQLEP_DeinDeal24Stub.java:83)
2013-08-14T11:10:10.684708+00:00 app[web.1]:    DEBUG_FRAME = ch.mailmanagement.wsdlt.SQLEP_DeinDeal24Stub.<init>(SQLEP_DeinDeal24Stub.java:155)
2013-08-14T11:10:10.775556+00:00 app[web.1]:    DEBUG_FRAME = ch.mailmanagement.wsdlt.SQLEP_DeinDeal24Stub.<init>(SQLEP_DeinDeal24Stub.java:143)
2013-08-14T11:10:10.869511+00:00 app[web.1]:    DEBUG_FRAME = ch.mailmanagement.wsdlt.SQLEP_DeinDeal24Stub.<init>(SQLEP_DeinDeal24Stub.java:193)
2013-08-14T11:10:10.960444+00:00 app[web.1]:    DEBUG_FRAME = ch.deindeal.utils.Connector2Navision.getStub(Connector2Navision.java:43)
2013-08-14T11:10:11.053732+00:00 app[web.1]:    DEBUG_FRAME = ch.deindeal.servlets.Product_Listener.sendAddProductJson2Nav(Product_Listener.java:55)
2013-08-14T11:10:11.145467+00:00 app[web.1]:    DEBUG_FRAME = sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-08-14T11:10:11.237472+00:00 app[web.1]:    DEBUG_FRAME = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2013-08-14T11:10:11.331725+00:00 app[web.1]:    DEBUG_FRAME = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2013-08-14T11:10:11.425849+00:00 app[web.1]:    DEBUG_FRAME = java.lang.reflect.Method.invoke(Method.java:616)
2013-08-14T11:10:11.526988+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
2013-08-14T11:10:11.618648+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
2013-08-14T11:10:11.710186+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
2013-08-14T11:10:11.801199+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
2013-08-14T11:10:11.912056+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
2013-08-14T11:10:12.004772+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
2013-08-14T11:10:12.103079+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
2013-08-14T11:10:12.204056+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)
2013-08-14T11:10:12.295579+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)
2013-08-14T11:10:12.401165+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
2013-08-14T11:10:12.498186+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
2013-08-14T11:10:12.590338+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
2013-08-14T11:10:12.681735+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
2013-08-14T11:10:12.781134+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
2013-08-14T11:10:12.876145+00:00 app[web.1]:    DEBUG_FRAME = javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
2013-08-14T11:10:12.966751+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
2013-08-14T11:10:13.058653+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
2013-08-14T11:10:13.153885+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
2013-08-14T11:10:13.246024+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
2013-08-14T11:10:13.336630+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
2013-08-14T11:10:13.427091+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
2013-08-14T11:10:13.521203+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
2013-08-14T11:10:13.611776+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
2013-08-14T11:10:13.702643+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
2013-08-14T11:10:13.796324+00:00 app[web.1]:    DEBUG_FRAME = org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
2013-08-14T11:10:13.888971+00:00 app[web.1]:    DEBUG_FRAME = org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
2013-08-14T11:10:13.989727+00:00 app[web.1]:    DEBUG_FRAME = org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
2013-08-14T11:10:14.080646+00:00 app[web.1]:    DEBUG_FRAME = java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
2013-08-14T11:10:14.175454+00:00 app[web.1]:    DEBUG_FRAME = java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2013-08-14T11:10:14.267640+00:00 app[web.1]:    DEBUG_FRAME = java.lang.Thread.run(Thread.java:679)
2013-08-14T11:10:14.358530+00:00 app[web.1]:
2013-08-14T11:10:14.460395+00:00 app[web.1]: 2013-08-14 11:09:35,236 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisOperation - Entry: AxisOperation::getInputAction
2013-08-14T11:10:14.551510+00:00 app[web.1]: 2013-08-14 11:09:35,236 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisOperation - Exit: AxisOperation::getInputAction null
2013-08-14T11:10:14.645889+00:00 app[web.1]: 2013-08-14 11:09:35,236 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisOperation - Entry: AxisOperation::setSoapAction, previous soapAction: null updated soapAction: urn:aDD_Product
2013-08-14T11:10:14.749829+00:00 app[web.1]: 2013-08-14 11:09:35,236 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisOperation - Exit: AxisOperation::setSoapAction
2013-08-14T11:10:14.841815+00:00 app[web.1]: 2013-08-14 11:09:35,236 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisService - mapActionToOperation: Mapping Action to Operation: action: aDD_Product; operation: org.apache.axis2.description.OutInAxisOperation@12910b0bnamed: {https://wsdlt.mailmanagement.ch}aDD_Product
2013-08-14T11:10:14.939665+00:00 app[web.1]: 2013-08-14 11:09:35,236 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisService - DEBUG_FRAME = org.apache.axis2.util.JavaUtils.callStackToString(JavaUtils.java:564)
2013-08-14T11:10:15.031552+00:00 app[web.1]:    DEBUG_FRAME = org.apache.axis2.description.AxisService.mapActionToOperation(AxisService.java:821)
2013-08-14T11:10:15.123221+00:00 app[web.1]:    DEBUG_FRAME = org.apache.axis2.description.AxisService.addOperation(AxisService.java:667)
2013-08-14T11:10:15.218142+00:00 app[web.1]:    DEBUG_FRAME = ch.mailmanagement.wsdlt.SQLEP_DeinDeal24Stub.populateAxisService(SQLEP_DeinDeal24Stub.java:95)
2013-08-14T11:10:15.310464+00:00 app[web.1]:    DEBUG_FRAME = ch.mailmanagement.wsdlt.SQLEP_DeinDeal24Stub.<init>(SQLEP_DeinDeal24Stub.java:155)
2013-08-14T11:10:15.403189+00:00 app[web.1]:    DEBUG_FRAME = ch.mailmanagement.wsdlt.SQLEP_DeinDeal24Stub.<init>(SQLEP_DeinDeal24Stub.java:143)
2013-08-14T11:10:15.496004+00:00 app[web.1]:    DEBUG_FRAME = ch.mailmanagement.wsdlt.SQLEP_DeinDeal24Stub.<init>(SQLEP_DeinDeal24Stub.java:193)
2013-08-14T11:10:15.587066+00:00 app[web.1]:    DEBUG_FRAME = ch.deindeal.utils.Connector2Navision.getStub(Connector2Navision.java:43)
2013-08-14T11:10:15.677971+00:00 app[web.1]:    DEBUG_FRAME = ch.deindeal.servlets.Product_Listener.sendAddProductJson2Nav(Product_Listener.java:55)
2013-08-14T11:10:15.785332+00:00 app[web.1]:    DEBUG_FRAME = sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-08-14T11:10:15.876339+00:00 app[web.1]:    DEBUG_FRAME = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2013-08-14T11:10:15.967781+00:00 app[web.1]:    DEBUG_FRAME = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2013-08-14T11:10:16.061998+00:00 app[web.1]:    DEBUG_FRAME = java.lang.reflect.Method.invoke(Method.java:616)
2013-08-14T11:10:16.155372+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
2013-08-14T11:10:16.246360+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
2013-08-14T11:10:16.337972+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
2013-08-14T11:10:16.432039+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
2013-08-14T11:10:16.530836+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
2013-08-14T11:10:16.621954+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
2013-08-14T11:10:16.712591+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
2013-08-14T11:10:16.805399+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)
2013-08-14T11:10:16.900001+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)
2013-08-14T11:10:16.992340+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
2013-08-14T11:10:17.085957+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
2013-08-14T11:10:17.177752+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
2013-08-14T11:10:17.272726+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
2013-08-14T11:10:17.363042+00:00 app[web.1]:    DEBUG_FRAME = com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
2013-08-14T11:10:17.456669+00:00 app[web.1]:    DEBUG_FRAME = javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
2013-08-14T11:10:17.549878+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
2013-08-14T11:10:17.640205+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
2013-08-14T11:10:17.732889+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
2013-08-14T11:10:17.823515+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
2013-08-14T11:10:17.916957+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
2013-08-14T11:10:18.019158+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
2013-08-14T11:10:18.112855+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
2013-08-14T11:10:18.203207+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
2013-08-14T11:10:18.297400+00:00 app[web.1]:    DEBUG_FRAME = org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
2013-08-14T11:10:18.389069+00:00 app[web.1]:    DEBUG_FRAME = org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
2013-08-14T11:10:18.484542+00:00 app[web.1]:    DEBUG_FRAME = org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
2013-08-14T11:10:18.575953+00:00 app[web.1]:    DEBUG_FRAME = org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
2013-08-14T11:10:18.666575+00:00 app[web.1]:    DEBUG_FRAME = java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
2013-08-14T11:10:18.756752+00:00 app[web.1]:    DEBUG_FRAME = java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2013-08-14T11:10:18.847093+00:00 app[web.1]:    DEBUG_FRAME = java.lang.Thread.run(Thread.java:679)
2013-08-14T11:10:18.939735+00:00 app[web.1]:
2013-08-14T11:10:19.031729+00:00 app[web.1]: 2013-08-14 11:09:38,669 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisOperation - Entry: AxisOperation::getInputAction
2013-08-14T11:10:19.126387+00:00 app[web.1]: 2013-08-14 11:09:42,417 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisOperation - Debug: AxisOperation::getInputAction - using soapAction
2013-08-14T11:10:19.219583+00:00 app[web.1]: 2013-08-14 11:09:42,417 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisOperation - Exit: AxisOperation::getInputAction urn:aDD_Product
2013-08-14T11:10:19.310694+00:00 app[web.1]: 2013-08-14 11:09:42,417 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisService - mapActionToOperation: Mapping Action to Operation: action: urn:aDD_Product; operation: org.apache.axis2.description.OutInAxisOperation@12910b0bnamed: {https://wsdlt.mailmanagement.ch}aDD_Product
2013-08-14T11:10:19.407251+00:00 app[web.1]: 2013-08-14 11:09:42,418 [http-nio-58581-exec-3] DEBUG org.apache.axis2.description.AxisService - DEBUG_FRAME = org.apache.axis2.util.JavaUtils.callStackToString(JavaUtils.java:564)
2013-08-14T11:10:19.498592+00:00 app[web.1]:    DEBUG_FRAME = org.apache.axis2.description.AxisService.mapActionToOperation(AxisService.java:821)
2013-08-14T11:10:19.591805+00:00 app[web.1]:    DEBUG_FRAME = org.apache.axis2.description.AxisService.addOperation(AxisService.java:671)
2013-08-14T11:10:19.683798+00:00 app[web.1]:    DEBUG_FRAME = ch.mailmanagement.wsdlt.SQLEP_DeinDeal24Stub.populateAxisService(SQLEP_DeinDeal24Stub.java:95)
2013-08-14T11:10:19.775164+00:00 app[web.1]:    DEBUG_FRAME = ch.mailmanagement.wsdlt.SQLEP_DeinDeal24Stub.<init>(SQLEP_DeinDeal24Stub.java:155)
2013-08-14T11:10:19.869090+00:00 app[web.1]:    DEBUG_FRAME = ch.mailmanagement.wsdlt.SQLEP_DeinDeal24Stub.<init>(SQLEP_DeinDeal24Stub.java:143)
2013-08-14T11:10:19.963585+00:00 app[web.1]:    DEBUG_FRAME = ch.mailmanagement.wsdlt.SQLEP_DeinDeal24Stub.<init>(SQLEP_DeinDeal24Stub.java:193)
2013-08-14T11:10:20.055228+00:00 app[web.1]:    DEBUG_FRAME = ch.deindeal.utils.Connector2Navision.getStub(Connector2Navision.java:43)

这是卡住并且似乎运行了很长时间的方法。

    //Generate client from the Stub.  
    SQLEP_DeinDeal24Stub stub = null;

        logger.debug(">>>>> Creating connection."); 
        **stub = new SQLEP_DeinDeal24Stub(URL);**
        logger.debug(">>>>> Connection created.");

这就是它内部的作用:粗体字母表示该方法运行时间过长。

public SQLEP_DeinDeal24Stub(org.apache.axis2.context.ConfigurationContext configurationContext,
            java.lang.String targetEndpoint, boolean useSeparateListener)
            throws org.apache.axis2.AxisFault {
             //To populate AxisService
             logger.debug(">>>>> Populating axis service");
             **populateAxisService();**
             logger.debug(">>>>> Populating faults");
             populateFaults();     
        }

private void populateAxisService() throws org.apache.axis2.AxisFault {

     //creating the Service with a unique name
     _service = new org.apache.axis2.description.AxisService("SQLEP_DeinDeal24" + getUniqueSuffix());
     addAnonymousOperations();

        //creating the operations
        org.apache.axis2.description.AxisOperation __operation;

        _operations = new org.apache.axis2.description.AxisOperation[6];

                   __operation = new org.apache.axis2.description.OutInAxisOperation();


            __operation.setName(new javax.xml.namespace.QName("https://XXXXXX", "aDD_Purchase"));
        _service.addOperation(__operation);




            _operations[0]=__operation;


                   __operation = new org.apache.axis2.description.OutInAxisOperation();


            __operation.setName(new javax.xml.namespace.QName("https://XXXXXXX", "gET_Product_Stock"));
        _service.addOperation(__operation);




            _operations[1]=__operation;


                   __operation = new org.apache.axis2.description.OutInAxisOperation();


            __operation.setName(new javax.xml.namespace.QName("https://XXXXXXX", "aDD_Set"));
        _service.addOperation(__operation);




            _operations[2]=__operation;


                   __operation = new org.apache.axis2.description.OutInAxisOperation();


            __operation.setName(new javax.xml.namespace.QName("https://XXXXXXX", "aDD_Product"));
        _service.addOperation(__operation);




            _operations[3]=__operation;


                   __operation = new org.apache.axis2.description.OutInAxisOperation();


            __operation.setName(new javax.xml.namespace.QName("https://XXXXXXX", "gET_PurchaseResponse"));
        _service.addOperation(__operation);
4

0 回答 0