Hi all!

I'm migrating from Apache2/JK2/Tomcat 5.0.28 to Tomcat standalone (don't need php anymore), and have some questions regarding the matter.

1) Since Tomcat now will be serving all the static content as well, will it require more threads than when only serving dynamic content?

2) In Apache I'm using mod_rewrite to rewrite requests to mydomain.com/ to mydomain.com/myapp. I've implemented this behaviour by using response.sendRedirect in a scriptlet in the index.jsp of my ROOT app. Is this the preferred way of doing this?

3) In Apache I'm using some aliases to serve images stored outside my appbase from insisde my webapp (Alias /myapp/alias "/path/outside/appbase"). I've implemented this by creating context xml files for all my aliases with appBase="/path/outside/appbase" path="/myapp/alias". Again, is this the preferred way of doing this?

4) I've compiled jsvc and adapted the Tomcat5.sh to start the server. If I do "Tomcat5.sh stop ; Tomcat5.sh start" to do a restart of the server my machine hangs. If I allow a pause between stop and start then the server starts with no problem. Is this a known issue?

Any other hints and tips to complete the setup of my server is also much appreciated.


Trond

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to