Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Setting Load balancer for JBoss using Apache and mod_jk

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am trying to set loadbalancer for JBoss using Apache and mod_jk.
1) I have modified httpd.conf file by adding following line at end:
Include APACHE_HOME/conf/mod-jk.conf

2) created APACHE_HOME/conf/mod-jk.conf file
3) Created APACHE_HOME/conf/workers.properties file
4) Created APACHE_HOME/conf/uriworkermap.properties file
5) Placed mod_jk.so in APACHE_HOME/modules folder

When I am starting the Apache server, it is giving me error saying:
"Cannot load C:/Program Files/Apache Group/Apache2/modules/mod_jk.so into server:The specified module could not be found."

Can somebody help on this? I am badly stuck on this problem.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you post what you have in your APACHE_HOME/conf/mod-jk.conf file?

Also your workers.properties too, just in case.

Mark
 
Kshitija Ambulgekar
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Contents of mod-jk.conf are



workers.properties

 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First, is this your actual IP/URL address of the App Servers you want to forward to, node1.mydomain.com?

worker.node1.host=node1.mydomain.com

Also, it looks like the loading part of the module, the line in the mod_jk.conf file is commented out

#LoadModule jk_module modules/mod_jk.so This line is included in httpd.conf file

You had only mentioned in the first post of this thread that you only added this line below

Include APACHE_HOME/conf/mod-jk.conf

which just includes the conf file, not load the module

Mark
 
reply
    Bookmark Topic Watch Topic
  • New Topic