Jetty or Tomcat ?
I have same kind of situation (Two clustered two instances of jboss running on two different machines) and I got same error message.
I the error is related to the session replication:
If I store for example String or some other "basic" Java class into session, it gets replicated correcly. (I have tested that).
But if I store my own class, jboss tries to load the class declaration by using RMI and then I get the error message.
Are you sure all your classes are available on the remote node (the replicat)? HAve you deployed all required classes to both instances?
I also see the same error message. I am using jboss-3.0.3 with jetty.
Received Exception javax.naming.CommunicationException [Root exception is java.l
yHA (no security manager: RMI class loader disabled)]
What could be the reason? When I make the bean non clusterable it works.
we need the full stacktrace