[jboss-user] [Clustering/JBoss] - Re: Unable to run multiple cluster nodes.

praveenas do-not-reply at jboss.com
Fri Apr 25 09:13:42 EDT 2008


Hi,

Could not solve the issue. Please find some time to make out this issue. 

           When I have included  attribute in my application and added jboss-web.xml as follows in the WEB-INF of my application as:
 
 <jboss-web>

<replication-config>
<replication-trigger>SET_AND_NON_PRIMITIVE_GET
<replication-granularity>SESSION</replication-granularity>
<replication-field-batch-mode>true</replication-field-batch-mode>
</replication-config>

</jboss-web>

But, I am finding http 404 status when running the Load balancer to cluster the servers. http://10.20.220.135/casper-2.1/app

And when I am trying to run the servers independently like http://10.20.220.15:9999/casper-2.1/app, also I could not find the application running and also got the similar error. Prior to my adding of  attribute and jboss-web.xml, the server independently could run well. 

Please let me know what might have gone wrong with this.  

I have got the server.log file, when I am running both the servers and the load balancer.

2008-04-25 18:41:59,632 INFO  [org.jboss.cache.statetransfer.StateTransferGenerator_140] returning the state for tree rooted in /(1024 bytes)
2008-04-25 18:42:00,650 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Looking for sessions that have expired ...
2008-04-25 18:42:04,333 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.casper] New cluster view for partition casper (id: 5, delta: 1) : [10.20.220.15:1099, 10.20.220.135:1099]
2008-04-25 18:42:04,334 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.casper] membership changed from 1 to 2
2008-04-25 18:42:04,334 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.casper] Begin notifyListeners, viewID: 5
2008-04-25 18:42:04,334 INFO  [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.casper] I am (10.20.220.15:1099) received membershipChanged event:
2008-04-25 18:42:04,334 INFO  [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.casper] Dead members: 0 ([])
2008-04-25 18:42:04,334 INFO  [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.casper] New Members : 1 ([10.20.220.135:1099])
2008-04-25 18:42:04,334 INFO  [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.casper] All Members : 2 ([10.20.220.15:1099, 10.20.220.135:1099])
2008-04-25 18:42:04,334 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.casper] End notifyListeners, viewID: 5
2008-04-25 18:42:04,343 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.casper] getState called.
2008-04-25 18:42:04,343 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.casper] getState for DistributedState
2008-04-25 18:42:04,343 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.casper] getState for HASessionStateTransfer
2008-04-25 18:42:04,343 DEBUG [org.jboss.ha.hasessionstate.server.HASessionStateImpl./HASessionState/Default] Building and returning state of HASessionState
2008-04-25 18:42:04,344 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.casper] getState for HAJNDI
2008-04-25 18:42:04,344 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.casper] getState for DistributedReplicantManager
2008-04-25 18:42:04,458 DEBUG [org.jboss.ha.framework.server.HARMIServerImpl$RefreshProxiesHATarget] replicantsChanged 'HAJNDI' to 2 (intra-view id: -1270392965)
2008-04-25 18:42:04,713 DEBUG [org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge] The list of replicant for the JG bridge has changed, computing and updating local info...
2008-04-25 18:42:04,713 DEBUG [org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge] ... No bridge info was associated to this node
2008-04-25 18:42:04,715 DEBUG [org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge] Updating list of invalidation groups that are bridged...
2008-04-25 18:42:04,715 DEBUG [org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge] ... nothing needs to be bridged.
2008-04-25 18:42:07,016 INFO  [org.jboss.cache.TreeCache] viewAccepted(): [10.20.220.15:33117|5] [10.20.220.15:33117, 10.20.220.135:32833]
2008-04-25 18:42:09,180 INFO  [org.jboss.cache.TreeCache] viewAccepted(): [10.20.220.15:33119|5] [10.20.220.15:33119, 10.20.220.135:32835]
2008-04-25 18:42:10,650 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Looking for sessions that have expired ...
2008-04-25 18:42:20,651 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Looking for sessions that have expired ...

And the server console is showing a message like 

ObjectName: jboss:service=FarmMember,partition=DefaultPartition
  State: CONFIGURED
  I Depend On:
    jboss:service=DefaultPartition
    jboss.web:service=WebServer
    jboss.system:service=MainDeployer

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss:service=DefaultPartition
  State: NOTYETINSTALLED
  Depends On Me:
    jboss.ha:service=HASingletonDeployer
    jboss:service=FarmMember,partition=DefaultPartition


18:40:42,374 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-10.20.220.135-9999
18:40:42,392 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-10.20.220.135-8009
18:40:42,403 INFO  [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 23s:486ms

Note: I have changed the DefaultPartition  as "casper" in the cluster-service.xml file as

I am also finding an error message in the error log of the apache server as:

[Fri Apr 25 17:47:50 2008] [error] [client 10.20.220.15] File does not exist: /usr/local/apache2/htdocs/favicon.ico


I have followed the same procedure given in the doc. 


Thank you..

Praveena, 
Securview



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

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



More information about the jboss-user mailing list