Could somebody just help me with this a little? Please? :-) I have read the
tomcat-iis howto, and the tomcat workers howto...
I set-up the two servers, A and B.
A has IIS and tomcat, B has only tomcat.
I defined two workers that start ok so far as the log says.
One is ajp12 the other ajp12remote. The definition for ajp12remote seems ok.
# ajp12remote definition
worker.ajp12remote.port=8007
worker.ajp12remote.host=DevelopmentServerHost
worker.ajp12remote.type=ajp12
A has a context under tomcat webapps for "Test". I defined Test in server.xml. B has
a context called "Development".
I mount Development as follows:
/Development/*=ajp12remote
I think part of my problem may be in the server.xml of server A. I have the context
defined for Development as follows:
<Host name="DevelopmentServerHost" >
<Context path="/Development"
debug="9"
reloadable="true" >
</Context>
</Host>
On server B a worker is set for port 8007, called ajp12. The isap_redirect.dll is not
functional (as IIS is not installed, I have PWS, but could never get it to work...).
Please help me.
Hello,
I am attempting to set-up the following worker configuration but do not know how to
approach it. Here is what I would like to do:
- I have a server, e.g. "A", with IIS and Tomcat 3.2.
- A different server, e.g. "B" with Tomcat 3.2
- I want IIS on server "A" to serve to different versions of an application, a "Test"
version and a "Development" version.
- I would like to have the Test content to reside on server A and have the JSPs and
Servlets served by server A's local copy of Tomcat. The gifs, html, etc would be
served by A's IIS.
- The Development content exists on server B. I am trying to get server B's Tomcat to
serve its content. (I still want the gifs, html, etc. located on server B to be
served by server A's IIS).
Is this possible? Is this sane? What is the easiest way to do this?
As an example, the tomcat-iss-howto shows a fail-over configuration with an "Examples"
context served on one Tomcat and "Webpages" served on a different tomcat (on a
different server). That is great but where is the content located for context
"Webpages"? Is it on the first server in the webapps directory or on the second
server in its webapps directory. What do the context elements look like in the
tomcat's server.xml? Is there an entry for both contexts only in the first server's
server.xml, in both server's server.xml?
Any help would be appreciated.