Axis2:尚未检测到传输https的端口号

时间:2013-02-04 12:50:05

标签: https port axis2

此错误出现在我服务器的日志中。堆栈跟踪是:

[WARN]尚未检测到传输https的端口号 org.apache.axis2.AxisFault:尚未检测到传输https的端口号     at org.apache.axis2.transport.http.AxisServletListener.getEPRsForService(AxisServletListener.java:94)     at org.apache.axis2.description.AxisEndpoint.calculateEndpointURL(AxisEndpoint.java:198)     at org.apache.axis2.description.AxisEndpoint.calculateEndpointURL(AxisEndpoint.java:175)     at org.apache.axis2.description.AxisEndpoint.getEndpointURL(AxisEndpoint.java:63)     at org.apache.axis2.description.AxisService2WSDL11.getEndpointURL(AxisService2WSDL11.java:1264)     在org.apache.axis2.description.AxisService2WSDL11.generateHttpPort(AxisService2WSDL11.java:738)     在org.apache.axis2.description.AxisService2WSDL11.generateService(AxisService2WSDL11.java:487)     在org.apache.axis2.description.AxisService2WSDL11.generateOM(AxisService2WSDL11.java:233)     在org.apache.axis2.dataretrieval.WSDLDataLocator.outputInlineForm(WSDLDataLocator.java:131)     在org.apache.axis2.dataretrieval.WSDLDataLocator.getData(WSDLDataLocator.java:73)     at org.apache.axis2.dataretrieval.AxisDataLocatorImpl.getData(AxisDataLocatorImpl.java:81)     at org.apache.axis2.description.AxisService.getData(AxisService.java:2964)     在org.apache.axis2.description.AxisService.getWSDL(AxisService.java:1645)     在org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1413)     在org.apache.axis2.transport.http.ListingAgent.handleWSDLRequest(ListingAgent.java:327)     在org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:183)     在org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:260)     在javax.servlet.http.HttpServlet.service(HttpServlet.java:621)     在javax.servlet.http.HttpServlet.service(HttpServlet.java:722)     在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)     在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)     在org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)     在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:168)     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)     在org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)     在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:1001)     at org.apache.coyote.AbstractProtocol $ AbstractConnectionHandler.process(AbstractProtocol.java:579)     at org.apache.tomcat.util.net.JIoEndpoint $ SocketProcessor.run(JIoEndpoint.java:312)     at java.util.concurrent.ThreadPoolExecutor $ Worker.runTask(ThreadPoolExecutor.java:886)     at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:908)     在java.lang.Thread.run(Thread.java:662)

在服务器上未设置https,但显然所有请求都在http。

1 个答案:

答案 0 :(得分:0)

以下文档解释了此错误的原因:

http://axis.apache.org/axis2/java/core/docs/servlet-transport.html