Mar 7, 2011

Changing Port number of Websphere Community Server

How will I change the default port number: 8080 of Websphere Community Server's web component?

If you quickly want the answer, you need to open the file in the location:  [wasce-install-dir]\var\config and change the value against HTTPPort attribute. Restart the server then. It should work.

There are people who are in quick need of finding such details and will not bother reading much about how it works or what was it like before. Just like JBoss and many such application servers, they all use Tomcat as the web component. And the whole world knows that it stores the port number in the server.xml file.

Once I was using JBoss server and found myself in a need to change the port number. I know what to look for. It must be the server.xml file. I searched for it and it was found in the \server\[config]\deploy\jbossweb.sar directory. However, When I started using this IBM's server for the first time, my efforts to locate the server.xml failed. Finally managed to locate it in the file: which is referred by config.xml present in the same directory.

No comments:

Post a Comment

You may also like these writeups

Related Posts with Thumbnails