-
1. Re: JBoss + Apache
peterj Mar 16, 2009 11:18 AM (in response to endy)Yes, it is. I have Apache HTTPD and JBoss AS running on our departmental server, each listening to different ports and each performing different duties. And Apache HTTPD is not front-ending JBoss AS.
-
2. Re: JBoss + Apache
dickson1888 Mar 18, 2009 11:22 PM (in response to endy)Hi Endy,
I am doing the job as same as you (migrating to a new server). Still study at how to use JBoss AS 5.0.
As our existing site is a single site for different applications, Apache is the front end and application server and java site are the back end. The Apache works as the single entry point for all applications.
I am still thinking how to connect Apache to JBoss. (use Mod_Proxy or Mod_jk). For JBoss, single server for a single web application (easy to manage). If one JBoss server for multiple web application, it is risk wheneven JBoss server hang for any reason (deploy new application or others); it will affect all web applications under that JBoss server.
What do you think? Peter and Endy.
Thanks for your any suggestion in advance. -
3. Re: JBoss + Apache
peterj Mar 19, 2009 11:12 AM (in response to endy)dickson1888, your suggested configuration is very common.
By the way, if one app hangs (or crashes) on the app server, it will not affect other application. Actually, it probably will not even affect that one application, only that thread for that application. App servers are built to be resilient and tolerant of most app problems. Of course there are exceptions such as memory leaks that affect all apps. In addtion, if you have to reboot the app server to fix an issue with an app, then you will affect all apps. -
4. Re: JBoss + Apache
dickson1888 Mar 19, 2009 9:25 PM (in response to endy)Hi Peter,
Thanks again.
Which connection method (Mod_Proxy or Mod_jk) for apache is better in my configuration? -
5. Re: JBoss + Apache
peterj Mar 20, 2009 3:34 PM (in response to endy)Perhaps this will help: http://www.jboss.org/community/docs/DOC-11433