RE: Apache, Jboss and mod_jk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I already do it in my "mod-jk.conf" file.

I have a line like this:
JkMount /application/* loadbalancer

But it doesn't work!
:confused:

Max




Deepak Gupta-5 wrote:
> 
> 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@xxxxxxxxxxxxxxxxxxx 
> www.mpstechnologies.com
> -----Original Message-----
> From: Massimiliano Giraldo [mailto:max.xam1983@xxxxxxxxx] 
> Sent: Wednesday, September 17, 2008 1:47 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject:  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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 
> 


-----
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-tp19527344p19530155.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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux