Hi, Folks,

I have set  2 JBoss Instances On One Machine from this link.
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine

which means there are node1 and node2 under /server folder in Jboss.

And I set up Apache , mod_jk according to this link

http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss

I edited 

JBOSS_HOME/server/node1 (and node2) /deploy/jbossweb-tomcat50.sar/server.xml 
(replace /all with your own server name)  

Not in JBOSS_HOME/server/all/deploy/jbossweb-tomcat50.sar/server.xml (replace 
/all with your own server name)  


Then I started Apache, and run -c node1 ( and node2).

It looked perfect, because I could see the number of cluster is 2 , and I 
dropped a myreport.war file in node1/farm, it duplicated to node2/farm.


and I edited in uriworkermap.porperties, 


/jmx-console=loadbalancer
  | /jmx-console/*=loadbalancer
  | /web-console=loadbalancer
  | /web-console/*=loadbalancer
  | /myreport=loadbalancer
  | /myreport/*=loadbalancer

 
and I edited in workers.properties, 2 nodes have the same IP address and same 
port number (8009).


but after I typed http://localhost/jmx-console/ in browser,

I got his message:

anonymous wrote : Service Temporarily Unavailable
  | The server is temporarily unable to service your request due to maintenance 
downtime or capacity problems. Please try again later.
  | 
--------------------------------------------------------------------------------
  | 
  | Apache/2.0.58 (Win32) mod_jk/1.2.15 Server at localhost Port 80
I don't know what is wrong, Please help. Thank you!

Chwang 



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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to