That doesn't say much - any more detail, debug messages, etc? :-)
Yes, sure. Here is some more :)
Could not start TreeCache!unable to setup the protocol stackorg.jgroups.ChannelException: unable to setup the protocol stack
... 136 more
Caused by: org.jgroups.ChannelException: unable to setup the protocol stack
... 137 more
Caused by: java.lang.ClassCastException: org.jgroups.protocols.UDP
Please, let me know if you'd like to take a look at my config file.
Thanks in advance,
You say this is within your WAR file? Where is this picking up the JBoss Cache jars (and dependent jars) from?
That's got to be it. I don't have all of the dependent jars included in my WAR file. When I run the Cache as a globally deployed MBean it must have access to all the files in /server/all/lib directory, but when I run it from my WAR file it is missing the dependent jar files.
Is there a way to make these missing dependent jar files available to my application without including them in my WAR file?
I'd say it's more likely that you have jgroups.jar in your war. A ClassCastException in that location means there is more than one version of the org.jgroups.protocols.UDP class on the classpath.