httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Gupta" <d.gu...@mpstechnologies.com>
Subject RE: [users@httpd] Apache, Jboss and mod_jk
Date Wed, 17 Sep 2008 11:13:57 GMT
Hi,

You need to JkMount your URLs from Apache to Jboss add this in your
mod-jk.conf or httpd.conf

JkMount /__application__/* loadbalancer

Regards,
Deepak
Senior Software Eng.
MPS Technologies Ltd.
(A Macmillan Company)
3A, 5th Floor, DLF Corporate Park
Phase III, Gurgaon - HARYANA, INDIA
Office Ph: 91-124-2704114
Email: d.gupta@mpstechnologies.com 
www.mpstechnologies.com
-----Original Message-----
From: Massimiliano Giraldo [mailto:max.xam1983@gmail.com] 
Sent: Wednesday, September 17, 2008 1:47 PM
To: users@httpd.apache.org
Subject: [users@httpd] Apache, Jboss and mod_jk


Hello!

I'm trying to find the solution of my problems in Nabble, but my search
isn't good.

I'm working with Jboss 4.2.3.GA, Apache 2.2.9 and mod_jk, everything working
on Fedora 8.
I would like to create a cluster of two computers and a loadbalancer based
on Apache.

I had no problems creating the cluster: my computers communicate and share
applications.

I installed Apache and it works, showing the Test Page.

Then I tried to configure the web server with mod_jk. I downloaded the
binary version of mod_jk and I followed the guide that I found on
http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Clust
ering_Guide/beta500/html_single/index.html#clustering-http-modjk

The only thing that I modified on configuration was the names of nodes in
workers.properties (I wrote the ip address of each node).

Therefore, after the configuration, I started Jboss on both machines, then
Apache (which is on one of two computers), then I tried to access to my
application, deployed on both Jboss instances, following the link
http://<ip-address>/application/<name-of-application>

What I see on my browser is a "404 not found" error, because Apache looks
for the application in /var/www/html/<name-of-application>

The same thing happens if I try to access to jmx-console of JBoss.

What I think is that the module mod_jk is not loaded and not working
correctly (in the log folder, mod-jk.log does not appear!)

I even tried to compile the sources of mod_jk and use this version of
module, but it doesn't work and it gives me the same error!

Any comments to help me?

Thanks guys!

-----
http://www.pcguide.netsons.org http://www.pcguide.netsons.org 
-- 
View this message in context:
http://www.nabble.com/Apache%2C-Jboss-and-mod_jk-tp19527344p19527344.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message