Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2003-12-02
3
Medium Priority
?
354 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 1000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

650 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