axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "giovanni zigliara (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5179) axis2.xml httpFrontendHostUrl parameter seems not to work
Date Mon, 07 Nov 2011 11:37:52 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145353#comment-13145353
] 

giovanni zigliara commented on AXIS2-5179:
------------------------------------------

The content of the log mentione in the error:


[#|2011-11-07T12:33:50.174+0100|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=34;_ThreadName=httpSSLWorkerThread-8181-0;_RequestID=6b9ace40-77c3-42a1-8030-c122223e1039;|StandardWrapperValve[AxisServlet]:
PWC1406: Servlet.service() for servlet AxisServlet threw exception
org.apache.axis2.AxisFault: Server does not have an epr for the wsdl epr==>http://127.0.0.1:8080/WS_YYY/services/YYY
	at org.apache.axis2.description.AxisService.getLocationURI(AxisService.java:1615)
	at org.apache.axis2.description.AxisService.setPortAddress(AxisService.java:1498)
	at org.apache.axis2.description.AxisService.printDefinitionObject(AxisService.java:1078)
	at org.apache.axis2.description.AxisService.printUserWSDL(AxisService.java:1112)
	at org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1386)
	at org.apache.axis2.transport.http.ListingAgent.handleWSDLRequest(ListingAgent.java:327)
	at org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:183)
	at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:260)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
	at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
	at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
	at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.process(SSLReadTask.java:444)
	at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.doTask(SSLReadTask.java:230)
	at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
	at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
|#]

[#|2011-11-07T12:33:50.177+0100|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=34;_ThreadName=httpSSLWorkerThread-8181-0;_RequestID=6b9ace40-77c3-42a1-8030-c122223e1039;|ApplicationDispatcher[/WS_SIS]
PWC1231: Servlet.service() for servlet jsp threw exception
java.lang.IllegalStateException: PWC3991: getOutputStream() has already been called for this
response
	at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:717)
	at org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.java:226)
	at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:187)
	at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:180)
	at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:237)
	at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:173)
	at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:124)
	at org.apache.jsp.axis2_002dweb.Error.error500_jsp._jspService(error500_jsp.java from :102)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
	at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
	at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:873)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:560)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:490)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382)
	at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:549)
	at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:438)
	at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:369)
	at org.apache.catalina.core.StandardHostValve.postInvoke(StandardHostValve.java:247)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:649)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
	at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.process(SSLReadTask.java:444)
	at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.doTask(SSLReadTask.java:230)
	at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
	at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
|#]

[#|2011-11-07T12:33:50.178+0100|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=34;_ThreadName=httpSSLWorkerThread-8181-0;_RequestID=6b9ace40-77c3-42a1-8030-c122223e1039;|org.apache.catalina.core.StandardHostValve@1bb8d204:
Exception Processing ErrorPage[errorCode=500, location=/axis2-web/Error/error500.jsp]
java.lang.IllegalStateException: PWC3991: getOutputStream() has already been called for this
response
	at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:717)
	at org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.java:226)
	at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:187)
	at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:180)
	at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:237)
	at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:173)
	at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:124)
	at org.apache.jsp.axis2_002dweb.Error.error500_jsp._jspService(error500_jsp.java from :102)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
	at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
	at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:873)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:560)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:490)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382)
	at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:549)
	at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:438)
	at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:369)
	at org.apache.catalina.core.StandardHostValve.postInvoke(StandardHostValve.java:247)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:649)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
	at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.process(SSLReadTask.java:444)
	at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.doTask(SSLReadTask.java:230)
	at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
	at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
|#]


                
> axis2.xml httpFrontendHostUrl parameter seems not to work
> ---------------------------------------------------------
>
>                 Key: AXIS2-5179
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5179
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.6.1
>         Environment: OS: Win7; App.Server: Sun GlassFish Enterprise Server v2.1.1
>            Reporter: giovanni zigliara
>
> I'm using Axis2 to expose services over both Http and Https (SSL) and It works great!
> In my wsdl I've set the following:
> <soap:address location="http://127.0.0.1:8080/WS_YYY/services/YYY/" />
> but the services will be exposed by a proxy at the following addresses:
> http://A.b.it/YYY/services/YYY  and  https://Assl.b.it/YYY/services/YYY
> Retrieving the wsdl by adding "?wsdl" to the addresses above returns  <soap:address
location="http://privateIP:privatePort/WS_YYY/services/YYY/" />
> Retrieving the wsdl after deployed the services on my laptop (at addresses http://localhost:8080/WS_YYY/services/YYY?wsdl
and https://localhost:8181/WS_YYY/services/YYY?wsdl)
> returns <soap:address location="http://localhost:8080/WS_YYY/services/YYY/" />
> So, I've changed the axis2.xml config file setting
> <parameter name="httpFrontendHostUrl">https://Assl.sistri.it/YYY</parameter>
> and I've depolyed the services again on my laptop.
> Now, Retrieving the wsdl after deployed the services on my laptop (at addresses http://localhost:8080/WS_YYY/services/YYY?wsdl
and https://localhost:8181/WS_YYY/services/YYY?wsdl)
> returns the following error in both cases:
> HTTP Status 500 - 
> --------------------------------------------------------------------------------
> type Exception report
> message
> descriptionThe server encountered an internal error () that prevented it from fulfilling
this request.
> exception 
> org.apache.axis2.AxisFault: Server does not have an epr for the wsdl epr==>http://127.0.0.1:8080/WS_YYY/services/YYY
> note The full stack traces of the exception and its root causes are available in the
Sun GlassFish Enterprise Server v2.1.1 logs.
> --------------------------------------------------------------------------------
> (NOTE: I'll post the mentioned log content in a next comment!)
> Also, setting <parameter name="hostname" locked="true">Assl.b.it</parameter>
and <parameter name="contextRoot">YYY</parameter>
> is uneffective, the retrieved wsdl has always <soap:address location="http://localhost:8080/WS_YYY/services/YYY/"
/>.
> Am I doing something wrong? If so, please, which are the correct steps to obtain the
expected behaviour?
> Thanks in advance.
> Giovanni

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message