Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Kevin Baker on August 20, 2002, 05:13:58 AM
-
I am integrating jboss with apache. I would like to use mod_proxy to perform the redirects... has anyone installed this yet?
If not where would I get a copy of the mod_webapp or mod_jk2 to use instead?
I have read a couple of the Tomcat integration howto's, but don't understand how to install a module into Apache.
-
Kevin Baker wrote:
> I would like to use
> mod_proxy to perform the redirects... has anyone installed
> this yet?
mod_proxy is a standard feature. You use it every time you access the server manager.
Charlie
-
You probably already saw this, but I thought I would point it out.
http://www.helmuth.net/mitel-sme/Tomcat/tomcat-v4.0_Apache-howto.htm
RE: Obtaining a copy of mod_webapp:
The mod_webapp RPM is one of the ones that I install when I install Tomcat:
rpm -Uvh http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/v4.0/rpms/mod_webapp-1.0-1.i386.rpm
Is the most up to date one I could find, and it seems to work.
Please let everyone know how the JBoss efforts go!
Thanks and I hope this helps!!
-Dave
-
Thanks! I guess I had not looked closely enough at the existing htttpd.conf
Can I assign a ProxyPass to a specific virtualhost or is it global to the httpd process?
Example httpd.conf code:
ServerName www.missionvi.local
ProxyPass /jboss-example http://localhost:8080/jboss-example/
ProxyPassReverse /jboss-example http://localhost:8080/jboss-example/
-
Thanks again Charlie. As Charlie pointed out the mod_proxy is already installed in the standard e-smith installation, so its really simple to use it to integrate webservers other than Apache. In this case JBoss. Below are the basics.
1.) Create the file:
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/92ProxyPassJBoss
2.) Edit and add the following lines
### JBoss Proxy Server Redirect for /account requests
ProxyPass /jboss-example http://jboss.domain.local:8080/jboss-example/
ProxyPassReverse /jboss-example http://jboss.domain.local:8080/jboss-example/
3.)Change the jboss.domain.local:8080 URL and IP to the where you have the JBoss service running.
4.) Change "/jboss-example" to the correct webapp name depending on the Java web-application deployment directory.
This is not a complete integration with e-smith, but does the job for individual webapps. If it is possible to designate a ProxyPass to a specific virtualhost, then it would be simple to fully integrate. Any ideas on this?
NOTE: This will definately work as a simple method for integrating Tomcat or Jetty as well.
-
Has anyone gotten ProxyRemote working?
I would like try connecting to try some thing like:
ProxyRemote *://jboss.domain.com/ http://jboss.domain.com:8080/
Otherwise maybe something with mod_rewrite...
-
I have a procedure and a pip-dream project if anyone is interested in integrating JBoss with e-smith.
http://www.missionvi.com/dev/jboss_esmith/#whatsdone