Solved

IIS 5 + Tomcat - jsp served thru root, not a directory

Posted on 2003-12-02
3
343 Views
Last Modified: 2010-04-20
Hi,

I have IIS installed and running smoothly.  It has a website running on a header of sub.domain.com. It also runs a site on the
default site.

We now have a jsp app running on http://localhost/app.

We want to change tomcat so it responds to the host header of app.domain.com and not to use the /app bit.

Now, we changed the following - on the understanding it would sort it out.

Rename home>\tomcat\webapps\ROOT to home>\tomcat\webapps\ROOT_tomcat.
Rename home>\tomcat\webapps\app to home>\tomcat\webapps\ROOT.


Update home>\config\amber.properties.
Change the following lines:
doc_base=/app to doc_base=/
image_base=/app/images/ to image_base=/images/
command_base=/app/dscgi/ds.py/ to command_base=/dscgi/ds.py/


Modify the Tomcat connector configuration file for the specified web server.

Update the home>\tomcat\conf\ntiis\uriworkermap.properties file.

Change the following lines:
/app=$(default.worker) to /=$(default.worker)
/app/*=$(default.worker) to /*=$(default.worker)


Now - this is all very well, but I havent restarted IIS yet, but I was wondering if:

- The stuff we have done is correct?
- we need to anything to the server.xml to get it to see the app.domain.com
- should I set up a website in IIS to respond to the header app.domain.com? and set its home dir to home>\tomcat\webapps\ROOT
- there is anything else we would need?
0
Comment
Question by:mmc98dl1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
ackava earned 250 total points
ID: 10028271
Well the solution is here...

http://jspisapi.neurospeech.com , we had similar problem and trying to find solution but too complex method of tomcat's documentation lead us to develop our own solution called JspISAPI. The details of installation is given in the website.

It has features:
1) eliminate 8080 port from urls
2) redunce load on tomcat as images and other resources are handled by IIS
3) support http keep alive for jsp and servlets
4) easy setup for SSL by IIS, no hassle for setting up SSL for tomcat

- Akash Kava
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question