[jboss-user] [Clustering/JBoss] - jboss 4.0.2 + cluster is not working

xps2nini2000 do-not-reply at jboss.com
Wed May 7 02:38:05 EDT 2008


Hii All
           Please help me .I am not able to see the apache_home/log/mod_jk.log.But when i say http://localhost/web-console , Http page not found comes. But in error.log i can see
File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/WEB_CONSOLE

My uriworkers.property file is 
  | # Simple worker configuration file
  | 
  | # Mount the Servlet context to the ajp13 worker
  | /jmx-console=loadbalancer
  | /jmx-console/*=loadbalancer
  | /web-console=loadbalancer
  | /web-console/*=loadbalancer
  | 


my workers.property file is


  | 
  | # Define list of workers that will be used
  | # for mapping requests
  | # The configuration directives are valid
  | # for the mod_jk version 1.2.18 and later
  | #
  | worker.list=loadbalancer,status
  | 
  | # Define Node1
  | # modify the host as your host IP or DNS name.
  | worker.node1.port=8009
  | worker.node1.host=192.168.81.14
  | worker.node1.type=ajp13
  | worker.node1.lbfactor=1
  | # worker.node1.connection_pool_size=10 (1)
  | 
  | # Define Node2
  | # modify the host as your host IP or DNS name.
  | worker.node2.port=8009
  | worker.node2.host=192.168.81.29
  | worker.node2.type=ajp13
  | worker.node2.lbfactor=1
  | # worker.node1.connection_pool_size=10 (1)
  | 
  | # Load-balancing behaviour
  | worker.loadbalancer.type=lb
  | worker.loadbalancer.balance_workers=node1,node2
  | 
  | # Status worker for managing load balancer
  | worker.status.type=status
  | 
  |             
  | 


my mod-jk.conf i s



  | 
  | # Load mod_jk module
  | # Specify the filename of the mod_jk lib
  | LoadModule jk_module modules/mod_jk.so
  | 
  | # Where to find workers.properties
  | JkWorkersFile conf/workers.properties
  | 
  | # Where to put jk logs
  | JkLogFile logs/mod_jk.log
  | 
  | # Set the jk log level [debug/error/info]
  | JkLogLevel info
  | 
  | # Select the log format
  | JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
  | 
  | # JkOptions indicates to send SSK KEY SIZE
  | # Note: Changed from +ForwardURICompat. 
  | # See http://tomcat.apache.org/security-jk.html  
  | JkOptions +ForwardKeySize +ForwardURICompatUnparsed -ForwardDirectories
  | 
  | # JkRequestLogFormat
  | JkRequestLogFormat "%w %V %T"
  | 
  | # Mount your applications
  | JkMount /EILMT/* loadbalancer
  | 
  | # You can use external file for mount points.
  | # It will be checked for updates each 60 seconds.
  | # The format of the file is: /url=worker
  | # /examples/*=loadbalancer
  | JkMountFile conf/uriworkermap.properties
  | 
  | # Add shared memory.
  | # This directive is present with 1.2.10 and
  | # later versions of mod_jk, and is needed for
  | # for load balancing to work properly
  | # Note: Replaced JkShmFile logs/jk.shm due to SELinux issues. Refer to 
  | # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225452
  | JkShmFile run/jk.shm
  | 
  | # Add jkstatus for managing runtime data
  | <Location /jkstatus/>
  | JkMount status
  | Order deny,allow
  | Deny from all
  | Allow from 127.0.0.1
  | </Location>
  | 


And i hav made changes to server.xml and jboss-service.xml

Pleastell me what shud i do.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148995#4148995

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148995



More information about the jboss-user mailing list