Webservice URL shows default http port while using port forwarding.
Issue
- We have the below changes in Jboss6.4 EAP configuration
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" redirect-port="80" proxy-name="www.example.com" proxy-port="80" />
where have done port forwarding from 80 to 8080.
-
After restarting jboss, we still the web service url is showing 8080 instead of 80 in the logs:
INFO [org.jboss.ws.cxf.metadata] (MSC service thread 1-7) JBWS024061: Adding service endpoint metadata: id=EPosWebService address=http://10.10.10.10:8080/DemoDROUHT/rationcardservice implementor=aaa.bbb.ccc.EPosService serviceName={http://ccc.bbb.aaa/}EPosServiceService portName={http://ccc.bbb.aaa/}EPosServicePort annotationWsdlLocation=null wsdlLocationOverride=null mtomEnabled=false INFO [org.jboss.ws.cxf.metadata] (MSC service thread 1-7) JBWS024061: Adding service endpoint metadata: id=aaa.bbb.AUAService address=http://10.10.10.10:8080/DemoDROUHT/AUAService implementor=aaa.bbb.AUAService serviceName={http://bbb.aaa/}AUAServiceService portName={http://bbb.aaa/}AUAServicePort annotationWsdlLocation=null wsdlLocationOverride=null mtomEnabled=false
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.