Axis2 java web service, Tomcat and Apache HTTP server
Hi all,
I have a situation where a Tomcat server (port 8080) and an Apache HTTP server (port 80) run on the same machine. Tomcat is connected to Apache through mod_proxy. I've deployed axis2.war on Tomcat with the intention to upload an axis2 web service. I've edited httpd.conf to connect the service with Apache and I can access the wsdl file at:
http://<server name>/axis2/services/<service name>?wsdl
However the wsdl file uses the following web service address:
http://<server name>:8080/axis2/services/<service name>?wsdl
As a result clients can't access the service (port 8080 is blocked). Is there a solution to the problem? Is there another standard way to serve Axis2 java services through Apache http server?
Thanks,
Kostas
- Login or register to post comments
- Printer friendly version
- 775 reads











Add the following parameter into the axis2.xml
Hi,
You need to add a parameter to the axis2.xml to enable this. Add the following parameter to the axis2.xml under the transportReceiver section.
Uncomment the following to enable Apache2 mod_proxy. The port on the Apache server is 80
in this case.
-->
<!--<parameter name="proxyPort">80</parameter>-->
Thanks,
Keith.
Thanks
Thanks Keith,
Your post helped me to resolve this issue.
Regards,
Kostas