> Thanks for your response. Just to add one more item, our
> deployment platform
> in Windows NT and 2000. jdk1.3.
Have no experience with Windows for the live system, however, my development
platform is Win2k :)
> So, what you are saying is that JBoss_Tomcat can coexist with
> Apache without any headaches? I presume that you will have
> to configure Apache into the mix some how. E.g. Tell Tomcat to
> just do the JSP/Servlet processing and leave the presentation
> to Apache. Where do you do the configurations?
Apache can be tied with Tomcat using the mod_jk Apache module. Depending on
your Apache you have either just plug it in (in case of "modular" Apache),
or recompile the Apache if you have all modules built in. I have no
experience using Apache on Windows, so I cannot tell how to plug mod_jk
there.
mod_jk module can be found in the same directory where the Tomcat
distribution is located. In case of Windows this is
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.2/bin/win32/i38
6/
mod_jk "howto" can be found at
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/mod_jk-howto.html
After installing the mod_jk, configuration is trivial: in mod_jk.conf you
have to add following strings:
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
where, ajp13 is the name of the worker (name can be arbitrary to certain
extent :)) from the worker.properties file (it is automatically generated by
Tomcat, you have just to copy it somewhere and remove unnecessary lines like
contexts that you do not want to put online).
The site should be served by Apache, that means that port 80 (or any you
choose for the site) is served by Apache, the Tomcat usually should not be
accessible outside. You can, for example, block the outside connection on
Tomcat's port on firewall, or just remove the the HttpConnectionHandler from
the Tomcat server.xml and check if the Ajp12ConnectionHandler or
Ajp13ConnectionHandler (preffered) are enabled (also should not be
accessible from outside). I have no idea how to configure ports and routing
in Windows, so I'd put firewall anyway.
Few hints:
- ajp12 is an old protocol used in mod_jserv, Tomcat with mod_jk should use
the ajp13 (highly recommended), even the ajp12 is supported and seems to be
configured by default in Tomcat.
- on NT you can put Apache, Tomcat and mod_jk as services, try to look for
docs on http://jakarta.apache.org.
- if you use some other extensions for JSPs (for example .myjsp :)), be sure
that this is also included in mod_jk.conf
Regards,
Roman.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user