Hey all,
I am a newbie when it comes to webhosting, and we are having to make major changes in the way we are hosting our websites. We have two static sites, currently being served by Tomcat 5.0.25. We also have a jsp site that requires that specific version of Tomcat. We are purchasing a new program that uses IIS for its web portal, which I have to get working on the same box as the other three sites. Currently the URL's are domain1.com, and domain2.com for the static sites, and the third site (JSP one) is domain2.com/agile/HcmServlet. Ideally, those will not be changed. I currently have the Tomcat server listening on port 8080, and all three sites work fine when I use that port to go directly to Tomcat. I also have IIS working with the two static sites (I have copied the directories to a different place so both IIS and Tomcat have their own copy of the sites). I have tried 4 or 5 different supposedly "complete how-to's" on this, and I cannot get a single JSP page to load, not even the examples. I think, (and I am not sure about this) my problem lies in the worker2.properties (and maybe the uriworkermap.properties) file. The jakarta pages mention the uriworkermap, but none of the How-to's do.
My worker2.properties
[shm:]
info=Shared memory file. Required for multiprocess servers
file=D:\Server\Apache\Tomcat\5.0\work\jk2.shm
size=1000000
[channel.socket:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8009
[uri:/jsp-examples/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
context=/jsp-examples
[uri:/servlets-examples/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/servlets-examples
[uri:/agile/*]
info=This is where I should have the stuff to show the Agile
context=/agile
Please let me know what I said that was confusing (as I don't know enough to make it clear the first time, I am sure), and any suggestions you may have.
Thanks,
Danny
I am a newbie when it comes to webhosting, and we are having to make major changes in the way we are hosting our websites. We have two static sites, currently being served by Tomcat 5.0.25. We also have a jsp site that requires that specific version of Tomcat. We are purchasing a new program that uses IIS for its web portal, which I have to get working on the same box as the other three sites. Currently the URL's are domain1.com, and domain2.com for the static sites, and the third site (JSP one) is domain2.com/agile/HcmServlet. Ideally, those will not be changed. I currently have the Tomcat server listening on port 8080, and all three sites work fine when I use that port to go directly to Tomcat. I also have IIS working with the two static sites (I have copied the directories to a different place so both IIS and Tomcat have their own copy of the sites). I have tried 4 or 5 different supposedly "complete how-to's" on this, and I cannot get a single JSP page to load, not even the examples. I think, (and I am not sure about this) my problem lies in the worker2.properties (and maybe the uriworkermap.properties) file. The jakarta pages mention the uriworkermap, but none of the How-to's do.
My worker2.properties
[shm:]
info=Shared memory file. Required for multiprocess servers
file=D:\Server\Apache\Tomcat\5.0\work\jk2.shm
size=1000000
[channel.socket:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8009
[uri:/jsp-examples/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
context=/jsp-examples
[uri:/servlets-examples/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/servlets-examples
[uri:/agile/*]
info=This is where I should have the stuff to show the Agile
context=/agile
Please let me know what I said that was confusing (as I don't know enough to make it clear the first time, I am sure), and any suggestions you may have.
Thanks,
Danny