Did you change the name of the messaging loader repository to "cris3"?
The default one is:
<loader-repository>jboss.messaging:loader=ScopedLoaderRepository <loader-repository-config>java2ParentDelegation=false</loader-repository-config> </loader-repository>
Sorry , I tried that first and got a different exception (but I didn't look closely enough at it - it was a simple security config issue) so I started reading and found some documentation that gave me the idea that maybe the part before loader should be the domain name of my MBean.
Thanks for the quick response.
Just a side-note; rather than having to share classloaders, which isn't always the easiest thing to do in a complex deployment, do you have a pending issue on cleaning up the jboss-messaging-client.jar? It's a bit bloated at the moment. And do you plan to better integrate Messaging in the 4.0 series in the near future (i.e. skip the isloation)?
The isolation is required for 4.x, since we depend on versions of JBoss AOP, JBoss Remoting, JBoss Serialization that aren't available in 4.x
When JBoss 5 is released we will be using the same versions as in the AS so the deployment should be much smaller and we won't have to do scoped deployments which frankly are a pain in the arse, but there's no real way to avoid them for 4.x