Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am new to Java and Linux. I have a JSP site and a java web service deployed on a GlassFish server (working OK).

I need to change the port of both the application and web-service.

I have changed the listener port in the domain.xml file, but the web application is still trying to connect to the WSDL on port 8080.

How can I change the configuration of the web service port?


share|improve this question
up vote 1 down vote accepted

To wrap this up, it probably belongs more in StackOverflow rather than ServerFault as it is code related...

The problem was that the code of the application went to the original web-service and was not changeable via any configuration change.

I sorted the issue on basis of the code I found at: totd_2_change_the_endpoint and
which I used to create the QName object.

@KPWINC: Thanks for the time and effort!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.