Change Default port for Tomcat

Hi,

We are testing the BO XI 3.1 upgrade. We are currently running BO XI R2 and BO XI 3.1 in the same server in Test environment.

XI R2 Tomcat was installed with default port 8080, and XI 3.1 Tomcat was installed with a different port 8090.

We have a requirement to redirect the InfoView page (http://:/InfoViewApp) to a user friendly URL, such as http://Report/BO. The network team told us that they can not create a DNS with port number, only the server name. The only work around we can think of is to change the default Tomcat port to 8090, so in InfoView URL, we don’t have to type the port number. But is it possible to change the Tomcat default port without having impact on the current BO system?

Or any other workaround you have?


vanessa (BOB member since 2009-01-20)

That’s true that you can’t do it in DNS. DNS just points to a server name, and browsers by default look for port 80.

You need to have something running on port 80 to catch the requests.

There are a couple of options:

  1. Reconfigure the app (in server.xml) to use port 80 instead. If you have PM, there are a couple of places where you’ll need to change the port number accordingly.
  2. Create a new Connector in Tomcat on port 80 that just redirects to :8090/businessobjects/enterprise115
  3. If it’s Windows, it probably has IIS installed. IIS defaults to port 80, so you would just need to start it and create the redirect as in step 2. If you already have IIS running, then it’s even easier.

Joe


joepeters :us: (BOB member since 2002-08-29)

You should be able to do that, no problem - just be sure you don’t still have IIS listening on that port, or you’ll never be sure who’s intercepting your calls…

I set up a home page on IIS with a link to BOXI - the users never need to know the full path name, and I think that works ok. It also lets me put other info on the page, links to documentation, password reset, contact numbers, etc.

They still always bookmark the login page, not sure why I bother : /

B


bdouglas :switzerland: (BOB member since 2002-08-29)

Thanks for your reply. Can you explain for how to do option #2? Where exactly in conf/server.xml to change the default port from 8080 to 8090?


vanessa (BOB member since 2009-01-20)

I believe it’s in the “connector” section. Just search for the current port number and you should find it.


joepeters :us: (BOB member since 2002-08-29)

I am also stuck on this same issue.

I have two installs of InfoView running in XIR2. One is Tocmat (port unknown) and one is IIS (port 8080?). Now I have XIR3 Infoview on 8090.

Our redirect points to the Tomcat XIR2 installation. I can’t figure out how it works though. I validated that if my XIR2 Tomcat is shut down, it redirects to XIR2 IIS InfoView.

Either way, I now need it to point to XIR3 InfoView.

Any advice? How can i even find out what my XIR2 Tomcat InfoView is running on? The URL does not contain a port number. While my IIS InfoView has 8080 in the URL.

Thanks,
Drew


CSGDrew :us: (BOB member since 2008-02-12)

[Moderator Note - Moved to XI Servers forum]


Nick Daniels :uk: (BOB member since 2002-08-15)

This link maybe helpful:

http://www.mkyong.com/tomcat/how-to-change-tomcat-default-port/

Please let me know if this helps. I am going thru the same thing.


adsr13 (BOB member since 2013-09-03)