How to change the TIBCO Hawk WebConsole Port

In previous post we talked about this new WebConsole introducing by the last version series of TIBCO Hawk, the 5.x series. You can see more information about it here. One of the most important things is that the webconsole is deployed using the 8080 as a default port. This post is so common that is almost imposible to be free in your server when you want to deploy or start the WebConsole. For example, this port is the default of the Tomcat web-server, the JBoss/WildFly application server, even is the default port of the TIBCO Administrator (the older one) so it’s an important thing to know how to change it.

The first thing you have to know is that the WebConsole is built on top of a regular Tomcat web-server. Tomcat, as many of you should know, it’s an opensource webcontainer and it’s very used in many web developments. You can get more information about it here.

The ports used by the application deployed on a Tomcat server are configuring in the Tomcat server configuration because all the application uses different HTTPConnectors configured are configured as a server level, so you have to change the tomcat configuration to change the default port used by the Hawk WebConsole.

To do that, you have to go to this folder: <TIBCO_HOME>/hawk/5.1/webconsole/tomcat/conf and change the content of the file: server.xml. You will find a Connect tag with the following information:

<Connector port="8080" protocol="HTTP/1.1"
 redirectPort="8443" />

You will have to change the attribute port from 8080 to the port you want, in our case, we are going to try: 9877. So, the tag should be changed like this:
<Connector port="9877" protocol="HTTP/1.1"
redirectPort="8443" />

And now, you can start the TIBCO Hawk WebConsole as normal using the shell script like we told in the previous post, as you can get it perfecly changed:

TIBCO VM-2014-12-31-13-15-32


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s