-
45. Re: May I integrate Apache + Tomcat + JBoss ?
rsal Mar 13, 2002 11:30 AM (in response to dmaster)Hello guys,
Quick questions on this subject. I'm trying to follow the steps outlined, but can seem to find AutoWebApp... in my server.xml file? I'm looking in JBOSS_HOME/catalina/conf but don't see that in the file. I'm using the latest JBoss and Tomcat bundle. Am I looking at the wrong config file? Also, I don't see a mod_jk.conf-auto either? Any ideas?
I'm on Win98 with Apache 1.3.23
Thanks,
/rick -
46. Re: May I integrate Apache + Tomcat + JBoss ?
rbrindl Mar 13, 2002 3:09 PM (in response to dmaster)I finally found the reason for this error in another thread:
http://main.jboss.org/thread.jsp?forum=50&thread=6544
once again its incompatibility between xml-parser implementations. Now i am using crimson again, and it works. -
47. Re: May I integrate Apache + Tomcat + JBoss ?
rsal Mar 13, 2002 9:25 PM (in response to dmaster)I got it working. I had to create the mod_jk.conf and workers.properties files. I added the include to the Apache httpd conf and it all worked. The only problem is that you really can't auto-deploy your war's or ear's anymore, because mod_jk.conf isn't automatically created by Tomcat. I wonder why it doesn't create this for you? I noticed that the Standalone version of Tomcat does do this as well. Possibly a question for the Tomcat users list??
/rick -
48. Re: May I integrate Apache Tomcat JBoss ?
banur Mar 21, 2002 1:20 PM (in response to dmaster)Thanks, Manu, for compiling the HowTo document and getting all the info in one place.
Banu -
49. Re: May I integrate Apache Tomcat JBoss ?
nedi Mar 22, 2002 12:29 AM (in response to dmaster)I have configure like fowllowing
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c
WebAppConnection warpConnection warp 192.168.10.102:8008
#WebAppDeploy webapps warpConnection /*.jsp
#WebAppDeploy webapps warpConnection /vpms/
WebAppDeploy examples warpConnection /examples
WebAppDeploy ROOT warpConnection /root
WebAppInfo /webapp-info
ENV. is win2000 + apache1.3 + JBoss-2.4.4_Tomcat-4.0.1
it startup ok
but web i access the jsp
the first time it can work
but when you fresh it
it will have some error -
50. Re: May I integrate Apache + Tomcat + JBoss ?
timh Mar 24, 2002 1:07 PM (in response to dmaster)I'm attempting something similiar with no luck and I've run out of ideas. My configuration is two tier. I've got Apache 1.3.20 running on a SparcStation with Suse 7.3. I'm using mod_webapp to point to a second linux box running RedHat 7.2. On the Redhat box, I've got JBoss-2.4.4_Tomcat-4.0.1. I bring up JBoss/Tomcat using run_with_catalina. When I then bring up apache on the sparc box, the error message I get is as follow:
[09:59:36,619,EmbeddedCatalinaServiceSX] [org.apache.catalina.connector.warp.WarpConfigurationHandler] Cannot find "/usr/local/JBoss_Tomcat/catalina/webapps/jboss" for appl. "jboss" host "carter.theharringtons.ws"
[09:59:36,620,EmbeddedCatalinaServiceSX] [org.apache.catalina.connector.warp.WarpConfigurationHandler] Error deploying web application "jboss" under <http://carter.theharringtons.ws:80/jboss/>
I've tried using a soft link to point /usr/local/JBoss_Tomcat/catalina/webapps/jboss to usr/local/JBoss_Tomcat/catalina/work/carter.theharringtons.ws/jboss
This allows me to access the servelets and JSP (tomcat examples) through apache on the sparc box but I can't get to the EJB's. The URL www.theharringtons.ws/jboss/ brings up a directory listing of the files under /jboss.
I can access the JBOSS example HelloEJB from the Redhat box using it's IP address and port 8080. So I'm confident the EJB's are deploying correctly. It appears the warp connect does not know where to look for them. Httpd.conf has been triple checked and the jboss log shows no deployment problems.
Any help with this would be appreciated.
TimH -
51. Re: May I integrate Apache + Tomcat + JBoss ?
ahamedkabir Mar 27, 2002 4:37 AM (in response to dmaster)This is for those who are trying to integrate seperate Apache server with jboss and tomcat Jboss 2.3 and tomcat
3.2.x using mod_jk. The apache server installation is ‘apache_1.3.22-win32-x86.exe .I have tested and using in NT environment .
Steps:
1.Install apache web server
2.Copy mod_jk.dll to modules directory of Apache
Apache\modules
3.Edit document root in httpd.conf (D:\Apache Group\Apache\conf)
DocumentRoot "C:/JBoss-2.4.3_Tomcat-3.2.3/tomcat/webapps"
(Assuming JBoss is installed in C:\)
4. .Edit in httpd.conf <Directory "D:/Apache Group/Apache/htdocs"> to
<Directory "C:/JBoss-2.4.3_Tomcat-3.2.3/tomcat/webapps">
(Assuming the Apache server is installed in D:/Apache Group directory)
5.Add line to httpd.conf for including mod_jk.conf-auto
Include C:/JBoss-2.4.3_Tomcat-3.2.3/tomcat/conf/mod_jk.conf-auto
(Assuming JBoss is installed in C:\)
6.Edit mod_jk.conf file inside Tomcat_Home/conf/mod_jk.conf
JkWorkersFile C:/JBoss-2.4.3_Tomcat-3.2.3/tomcat/conf/workers.properties
JkLogFile C:/JBoss-2.4.3_Tomcat-3.2.3/tomcat/logs/jk.log
(Assuming JBoss is installed in C:\)
7. Edit workers.properties file properties
1.workers.tomcat_home
2.workers.java_home
8.If mod_jk_conf_auto is available inside the tomcat_home/conf/, check the hard coded paths inside this file and correct them if required (In normal case, when Apache runs for the first time, this file will be created automatically)
9. Run the batch file run_with_tomcat
10. Start Apache Server
11. Open a browser window and try the URL http://localhost -
52. Re: May I integrate Apache + Tomcat + JBoss ?
emike May 10, 2002 2:28 PM (in response to dmaster)Hi everybody.
sorry for my english, i'm french.
I'm also trying to integrate JBoss 2.4.4+Catalina 4.0.1 with apache. I'm glad to have found this thread, telling me that it's possible.
According to jtwomey, i have first to integrate tomcat/apache like told in the tomcat docs (the modify the jboss.jcml file).
The tomcat docs instruct that i have to modify my httpd.conf to include the file mod_jk-auto.conf which is automatically generated by tomcat.
My problem is that this file is never generated... (since, i think, the directive in the server.xml is not read).
How can i have this file generated ?
Thanks to everyone
Mike -
53. Re: May I integrate Apache + Tomcat + JBoss ?
emike May 10, 2002 4:05 PM (in response to dmaster)re-reading all of the posts in the thread, i finally did it.
Thanks for all to everybody
Mike -
54. Re: May I integrate Apache + Tomcat + JBoss ?
munisp May 11, 2002 9:24 PM (in response to dmaster)I notice that most of the earlier post had to apache 1.3.xx-tomcat4.xx-Jboss2.4.x. How do I integrate Apache2.0.xx-tomcat4.xx-jboss3.0. Do the same instructions apply to Apache2.0.xx-tomcat4.xx-jboss3.0.
thanks -
55. Re: May I integrate Apache + Tomcat + JBoss ?
integ May 16, 2002 1:43 AM (in response to dmaster)Anybody has had any luck in trying to get jboss-3.0.0RC2_tomcat-4.0.3 talk to Apache. I know there r several threads speaking abt JBoss2.x and Apache. I am wondering if anyone has found success with JBoss3.0RC2.
-
56. Re: May I integrate Apache + Tomcat + JBoss ?
safx Jul 31, 2003 10:42 AM (in response to dmaster)I just downloaded Apache 2.0, but there is no mod_webapp module in the installation. Where do you get the module?
SAF -
57. Re: May I integrate Apache + Tomcat + JBoss ?
dashaun Jul 31, 2003 2:41 PM (in response to dmaster)I might be mistaken, but jboss 3.x doesn't seem to have a jboss.jcml file.
Where would I put my apj13 connector info?
DaShaun -
58. Re: May I integrate Apache + Tomcat + JBoss ?
dashaun Jul 31, 2003 3:01 PM (in response to dmaster)I might be mistaken, but jboss 3.x doesn't seem to have a jboss.jcml file.
Where would I put my apj13 connector info?
DaShaun -
59. Re: May I integrate Apache + Tomcat + JBoss ?
jonlee Jul 31, 2003 5:42 PM (in response to dmaster)Get the downloadable JBoss 3.0 quick guide. I can't vouch for it as I didn't use Tomcat much with 3.0 - the configuration was all over the place. You should be able to find the free documentation from the documentation link on the right side of the JBoss forum pages. It will talk about configuring an Embedded CatalinaSX MBean to add the AJP13 connector.
The JBoss 3.2.x Tomcat configuration is different and there might have been the incorporation of that in later 3.0.x releases although I do not remember any notification of such a change so you would need to check and see which information applies to your release. We've documented a basic JK2 technote for 3.2.x at http://www.amitysolutions.com.au/documents/JK2-technote.pdf. Hopefully we've ironed all the typos out of it but if you use it and find any issues, please let us know.