cancel
Showing results for 
Search instead for 
Did you mean: 

Tomcat / IIS issue -- Help

Former Member
0 Kudos

Hi All,

I have always been tremedously helped by this forum so time and again I ask for help from you all.

I have my BOXI3.1 installed with both IIS and Tomcat.

i have configured it in a bit quick fix manner. The web session flow is some what like this :

1. The user types in the URL it goes to port 8080 which is the default port for IIS.

2. I have a file default.asp in the C:\Inetpub\wwwroot which has a tag

<%response.redirect "http://bobdev.<domain name>.com:8080/InfoViewApp/logon.jsp"%>

3.But as far as my knowledge goes Tomcat uses the canonical port 80.

4. In the present scenario if I stop the iis i am not able to login.

5. I want only the Tomcat no redirection stuff.

Can it be done or what. The tomcat which is installed has come with the BO package.

Regards

Sid

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi

try the following:

1) Shutdown your IIS and disable it (you do not want to use it anyway)

2) Go to <BOBJ installation directory>\Tomcat55\conf

3) Open the server.xml file with a text editor and locate the following line

<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->

4) Direct underneath it you should see a line beginning with <Connector URIEncoding...." >. Copy and paste it in the next row

5) Edit the new line by changing the port and redirectPort+ value (If I understood your question correctly then you should set the port value to be 8080)

6) save the file and restart the Tomcat

Now you should be able to logon in the Tomcat using the following URL

http://bobdev.<domain name>.com:8080/InfoViewApp/logon.jsp

Regards,

Stratos

Former Member
0 Kudos

Hello Everybody,

Thanks a lot. It works .

I am not very familiar with this ports and tomcat configs in rerlation to BO.

If you call can suggest some literature or bolgs or anything I would be highly indebted.

Regards

Sid

When I am using the URL

http://bobdev.<domain name >.com:8080/InfoViewApp/logon.jsp -


Working fine.

but when I am using

http://bobdev.<domain name >.com -


Not working

It is taking me to the default cached Apache page with the Mighty Tomcat Meow page .

am I missing something.

P.S. So by adding the extra line I am redirecting tomcat on both the ports. Is this understanding of mine correct or am I missing something.

Edited by: Siddhartha Ray on Oct 7, 2009 1:39 PM

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Stratos,

I created the file in the root directory. It works but now just a concern will this not affect my login time.

Regards

Sid

Hi Denis,

My IIS is stopped so there is no question of redirection. Plus in the server.xml I have added both the ports 8080 and 80 .

Regards

Sid

Thanks again for all your help and response.

denis_konovalov
Active Contributor
0 Kudos

If you added both 80 and 8080 to server.xml, then you see correct behavior.

you should be able to get to Infoview by this URLs http://server/InfoViewApp or http://server:8080/InfoViewApp

Former Member
0 Kudos

Yeah I am now getting the correct beahviour but only after creating an idex.html in the ROOT folder of the tomcat directory.

Thanks

Former Member
0 Kudos

The generic URL is not working.

0 Kudos

Hi,

what do you mean by generic URL? Can you post it here?

Regards,

Stratos

Former Member
0 Kudos

Hi Startos

The url's are

http://bobdev.getranet.com:8080/InfoViewApp/logon.jsp -


> this URL is working.

but my business users use this url

http://bobdev.getranet.com -


> this url redirects me to the default Tomcat page.

Thanks for the quick responses and help.

Regards

Sid

0 Kudos

Hi,

please do the following:

1) go to <bobj installation directory>\tomcat55\webapps\ROOT

2) Create a file named index.html containing the code found in the following page:

[http://www.instant-web-site-tools.com/html-redirect.html]

Do not forget to insert your own URL in the code

http://bobdev.getranet.com:8080/InfoViewApp/logon.jsp

It should work now.

Regards,

Stratos

denis_konovalov
Active Contributor
0 Kudos

For details on configuring Tomcat please look here :

http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

As to the URL's - what is the end goal for you ?

Http://server:8080/InfoViewApp is the correct URL for Infoview deployed on Tomcat.

if when you go to http://server URL it get's you to Tomcat main page, this means your Tomcat still listens on port 80 or your IIS is still redirecting to Tomcat.

If you want to use IIS and Tomcat together, you need to install IIS to Tomcat connector, see : http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html for instructions on how to configure it.

BasicTek
Advisor
Advisor
0 Kudos

So the default ports for IIS (80) and tomcat (8080) have been reversed? Normally it's the other way around and http://servername:8080/InfoViewApp would = tomcat do the same thing on port 80 should be http://servername/InfoViewApp and http://servername/CmcApp for the CMC.

Regards,

Tim