Solved

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

Posted on 2003-12-02
3
336 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

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