-
1. Re: Dirty Metadata - stucked
zippy1 Sep 2, 2008 11:30 AM (in response to spezam)Hi there...
I have had this problem and it has been driving me crazy. I have performed exactly the same on Jboss 4.2.2.GA. It's seems to be a problem with session replication using JDK 6. You have to start up Jboss with the following:
-Dsun.lang.ClassLoader.allowArraySyntax=true
in the run.conf which helped solve my problem.
Hope this helps - let me know if this fixes it for you... -
2. Re: Dirty Metadata - stucked
spezam Sep 2, 2008 11:48 AM (in response to spezam)Zippy,
thanks for the reply.
The error is not thrown anymore, but it seems the session is not replicated at all.
Thanks,
matteo -
3. Re: Dirty Metadata - stucked
zippy1 Sep 2, 2008 12:24 PM (in response to spezam)Hi..
I think this might be another issue. In my setup I've checked the session replication through JMX console and I can see the sessions being replicated correctly. I would double check settings (maybe CacheMode and ClusterConfig UDP settings) in the jboss-service.xml (in \server\\deploy\jboss-web-cluster.sar\META-INF directory).
If that looks ok then on one of the nodes in JMX console go to the the service that is replicating the session data, in my case TomcatClusteringCache service. Check the Members property to make sure all the nodes are appearing.
Hope this helps. -
4. Re: Dirty Metadata - stucked
spezam Sep 2, 2008 12:28 PM (in response to spezam)I will do that, thanks.
Also, I'm investigating on other solutions like Terracotta...it's seems more powerful and with better scaling capabilities.
matteo -
5. Re: Dirty Metadata - stucked
spezam Sep 3, 2008 10:01 AM (in response to spezam)Ok, even after the
-Dsun.lang.ClassLoader.allowArraySyntax=true
flag on the JAVA_OPTS, I got this exception.
15:57:27,073 ERROR [JBossCacheService] loadSession(): id: TLvxyxOX2p5VtvjkEuqjoQ** exception occurred during deserialization
java.lang.ArrayStoreException: org.springframework.security.GrantedAuthorityImpl
Terracotta worked great, and the implementation took no time. Why this has to be so complicated and undocumented!