Hi,
We are upgrading our jboss servers to version 4.2.2 and having issues related to JBossTreeCache. The application was running fine with JBoss 4.0.2.
Here is the error that JBoss throws while starting up:
org.jboss.cache.CacheException: Initial state transfer failed: Channel.getState() returned false
at org.jboss.cache.TreeCache.fetchStateOnStartup(TreeCache.java:3363)
at org.jboss.cache.TreeCache.startService(TreeCache.java:1555)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
I've even set the "InitialStateRetrievalTimeout" attribute to 50000 but no use.
Any help will be appreciated.
Thanks
Check the logs of the server that's providing the state to see if it shows anything. If not, try turning on TRACE logging for org.jboss.cache and org.jgroups.protocols.UDP to get more detail on what's going on.