-
1. Re: The same old question: How Can I Integrate JBoss with Ap
acoliver Feb 15, 2004 3:53 PM (in response to code007)Lets write one together: http://jboss.org/wiki/Wiki.jsp?page=JBossOnPort80
-
2. Re: The same old question: How Can I Integrate JBoss with Ap
code007 Feb 15, 2004 4:18 PM (in response to code007)"acoliver" wrote:
Lets write one together: http://jboss.org/wiki/Wiki.jsp?page=JBossOnPort80
This is a good idea. Let's do it!
code007 -
3. Re: The same old question: How Can I Integrate JBoss with Ap
acoliver Feb 15, 2004 4:45 PM (in response to code007)Great, you'll find I've put some stuff on how to use mod_proxy, port forwarding. I've linked the most comon reference on using mod_jk. You'll find that in JBoss tomcat is under deploy/jboss-web-tomcatxxxx.sar/META-INF/jboss-service.xml (server.xml is embedded). Walk through doing this, ask specific questions and document it as you go. I'll fill in anything you can't.
-
4. Re: The same old question: How Can I Integrate JBoss with Ap
acoliver Feb 15, 2004 5:15 PM (in response to code007)I answered your question.
-
5. Re: The same old question: How Can I Integrate JBoss with Ap
code007 Feb 15, 2004 5:31 PM (in response to code007)fine. I also added a few infos.
I actually had edited the jboss-service.xml.
This is what I have entered there, in analogy to what I have done while integrating Tomcat with APache.
(In the case of Tomcat the file edited was obviously serer.xml.)
--------------
---------------
My workers.propertie looks like this:
# Setting Tomcat & Java Home
#workers.tomcat_home=/usr/local/tomcat
workers.tomcat_home=/usr/local/jboss-3.2.3/server/default/deploy/jbossweb-tomcat41.sar
workers.java_home=/usr/local/java/java
ps=/
worker.list=worker1
worker.worker1.port=8009
worker.worker1..host=jango
worker.worker1.type=ajp13
My httpd.conf includes a .conf file which looks like this:
# My ENtries for tomcat-jk-connector
# Load mod_jk
#
LoadModule jk_module libexec/mod_jk.so
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# Configure mod_jk
#
JkWorkersFile /usr/local/jboss-3.2.3/server/default/deploy/jbossweb-tomcat41.sar/META-INF/workers.properties
JkLogFile /usr/local/jboss-3.2.3/server/default/deploy/jbossweb-tomcat41.sar/META-INF/mod_jk_JBOSS_NEW_15_02_2004.log
JkLogLevel debug
JkMount /examples/* worker1
JkMount /examples/jsp/*.jsp worker1
JkMount /examples/servlet/* worker1
# ##############################
JkMount /* worker1
JkMount /*.jsp worker1
JkMount /*/*.jsp worker1
JkMount /*/servlet/* worker1
<location "/examples/web-inf/">
AllowOverride None
deny from all
code007 -
6. Re: The same old question: How Can I Integrate JBoss with Ap
code007 Feb 15, 2004 5:37 PM (in response to code007)I just found out that my current configuration
DOES work.
-------------------------
While sending you the details I found out a few errors.
Most of them typos in directory names & context mapping issues, since JBoss deals a bit different than Tomcat.
It is getting really late here; I have been sitting here for the last 15 hours, on a sunday!
So I need to go to sleep.
Later I will try with your help to write down a detailed description, specially about the gotchas one encounters here.
After all you have a bunch of packages & technologies thrown together, which is not always transparent, specially from the perspective of a developer.
code007 -
7. Re: The same old question: How Can I Integrate JBoss with Ap
acoliver Feb 15, 2004 5:58 PM (in response to code007)Cool. I was about to reply with the typos that jumped out at me. I look forward to your assistence in documenting this important issue. Thanks for contributing.