-
1. jboss 4.0.2 + cluster is not working
xps2nini2000 May 7, 2008 2:38 AM (in response to xps2nini2000)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. -
2. Re: jboss 4.0.2 + cluster is not working
xps2nini2000 May 9, 2008 1:23 AM (in response to xps2nini2000)The problem is with vista.Mod_jk i snot working with vista.When i tried it on windows 2000 .Its saying mod-jk initialized.But http://localhost/jmx-console is saying same thing httpdocs/jmx-console not found.Please help me out.
-
3. Re: jboss 4.0.2 + cluster is not working
xps2nini2000 May 12, 2008 12:28 AM (in response to xps2nini2000)Hey
is anybdy there listening to my problem?Please help me .Its realy urgent and important.Please reply me. -
4. Re: jboss 4.0.2 + cluster is not working
mladen.turk May 12, 2008 11:44 AM (in response to xps2nini2000)IIUC you are running Httpd on Vista. Correct?
How do you run Apache Httpd, as service or via cmd.exe?
If you are running it as a service try via console and see if it works. There are some problems with httpd and Vista security.