CDV ❯ ClassCircularityError when integrating Mule ESB with terracotta
-
Bug
-
Status: Open
-
2 Major
-
Resolution:
-
Byte Code Transform
-
-
prodmgmt
-
Reporter: puneetb
-
October 05, 2009
-
0
-
Watchers: 1
-
March 19, 2010
-
Attachments
Description
While integrating mule with terracotta, the following exception comes, on startup -
Exception in thread “Thread-10” java.lang.ClassCircularityError: org/mule/util/ClassUtils
at org.mule.util.MuleUrlStreamHandlerFactory.defaultHandlerCreateStrategy(MuleUrlStreamHandlerFactory.java:107)
at org.mule.util.MuleUrlStreamHandlerFactory.createURLStreamHandler(MuleUrlStreamHandlerFactory.java:84)
at java.net.URL.getURLStreamHandler(URL.java:1107)
at java.net.URL.
This is the same issue as reported in - http://forums.terracotta.org/forums/posts/list/983.page http://forums.terracotta.org/forums/posts/list/2172.page
Steps to reproduce are -
- Download and install the Mule 2.2.1 community edition and set
MULE_HOME environment variable. - Place the tim-quartz-1.6.1 version 1.2.0 jar in the Mule/lib/user
directory. - Remove the existing quartz-all-1.6.0 osgi jar that is in the
mule/lib/opt directory. - Place the attached quartz-all jar in the mule/lib/opt directory.
- Place the attached terracotta-mule-integration-config.xml file in
the mule/lib/user directory. - Use the attached tc-config.xml file.
- Configure the mule server to attach to terracotta by placing the
additional jvm arguments in mule/conf/wrapper.conf. (sample attached)
To start mule use the following command: $MULE_HOME/bin/mule -config terracotta-mule-integration-config.xml
Comments
Puneet Bhardwaj 2009-10-05
Ari Zilka 2009-10-05
Worth fixing sooner rather than later. ZCorum have to hack Mule to get it to work with DSO which makes them a tad uncomfortable.
–Ari
Alex Miller 2009-10-05
Two forum issues where this comes up:
http://forums.terracotta.org/forums/posts/list/983.page http://forums.terracotta.org/forums/posts/list/2172.page
And a workaround is to do something like this to force this class to get loaded in a different context:
Class.forName(“org.mule.util.ClassUtils”);
Steve Harris 2009-10-09
Do you care about this usecase?
TC config xml