Urgent:ClassCircularityError
sasaa Mar 22, 2004 4:12 PMHi All,
We have written an application using JBoss- version 3.2.2RC3 with Axis 1.1 and Java version j2sdk1.4.1_02. We are running concurrent tests on this application and we are getting ClassCircularity error in different places in our code. For every run, we get this error in some different place. ( I have provided a trace for one of these instances).
I have looked up the forum and understand that there was some bug in the way the class loaders were getting used in Java. (bug #4699981).
Has this problem been fixed in Java or a workaround has been introduced in JBoss?
This error is posing very serious problem for us, as it prevents the application to run beyond this point.
Any help will be highly appreciated.
thanks
-----------------------
Here is the exception:
14:15:52,466 ERROR [STDERR] java.lang.ClassCircularityError: boolean_Helper
14:15:52,466 ERROR [STDERR] at java.lang.Class.forName0(Native Method)
14:15:52,486 ERROR [STDERR] at java.lang.Class.forName(Class.java:219)
14:15:52,486 ERROR [STDERR] at org.apache.axis.utils.ClassUtils$2.run(ClassU
tils.java:193)
14:15:52,486 ERROR [STDERR] at java.security.AccessController.doPrivileged(N
ative Method)
14:15:52,486 ERROR [STDERR] at org.apache.axis.utils.ClassUtils.loadClass(Cl
assUtils.java:171)
14:15:52,486 ERROR [STDERR] at org.apache.axis.utils.ClassUtils.forName(Clas
sUtils.java:112)
14:15:52,486 ERROR [STDERR] at org.apache.axis.encoding.ser.BaseFactory.getM
ethod(BaseFactory.java:107)
14:15:52,506 ERROR [STDERR] at org.apache.axis.encoding.ser.BaseDeserializer
Factory.getGetDeserializer(BaseDeserializerFactory.java:264)
14:15:52,506 ERROR [STDERR] at org.apache.axis.encoding.ser.BaseDeserializer
Factory.getSpecialized(BaseDeserializerFactory.java:173)
14:15:52,506 ERROR [STDERR] at org.apache.axis.encoding.ser.BaseDeserializer
Factory.getDeserializerAs(BaseDeserializerFactory.java:117)
14:15:52,506 ERROR [STDERR] at org.apache.axis.encoding.ser.SimpleDeserializ
erFactory.getDeserializerAs(SimpleDeserializerFactory.java:107)
14:15:52,506 ERROR [STDERR] at org.apache.axis.encoding.DeserializationConte
xtImpl.getDeserializer(DeserializationContextImpl.java:466)
14:15:52,536 ERROR [STDERR] at org.apache.axis.encoding.DeserializationConte
xtImpl.getDeserializerForType(DeserializationContextImpl.java:481)
14:15:52,536 ERROR [STDERR] at org.apache.axis.encoding.ser.BeanDeserializer
.getDeserializer(BeanDeserializer.java:458)
14:15:52,536 ERROR [STDERR] at org.apache.axis.encoding.ser.BeanDeserializer
.onStartChild(BeanDeserializer.java:278)
14:15:52,536 ERROR [STDERR] at org.apache.axis.encoding.DeserializationConte
xtImpl.startElement(DeserializationContextImpl.java:963)
14:15:52,536 ERROR [STDERR] at org.apache.axis.message.SAX2EventRecorder.rep
lay(SAX2EventRecorder.java:198)
14:15:52,536 ERROR [STDERR] at org.apache.axis.message.MessageElement.publis
hToHandler(MessageElement.java:722)
14:15:52,546 ERROR [STDERR] at org.apache.axis.encoding.DeserializerImpl.sta
rtElement(DeserializerImpl.java:404)
14:15:52,546 ERROR [STDERR] at org.apache.axis.encoding.ser.BeanDeserializer
.startElement(BeanDeserializer.java:165)
14:15:52,546 ERROR [STDERR] at org.apache.axis.encoding.DeserializationConte
xtImpl.startElement(DeserializationContextImpl.java:976)
14:15:52,546 ERROR [STDERR] at org.apache.axis.message.SAX2EventRecorder.rep
lay(SAX2EventRecorder.java:198)
14:15:52,546 ERROR [STDERR] at org.apache.axis.message.MessageElement.publis
hToHandler(MessageElement.java:722)
14:15:52,546 ERROR [STDERR] at org.apache.axis.message.RPCElement.deserializ
e(RPCElement.java:323)
14:15:52,576 ERROR [STDERR] at org.apache.axis.message.RPCElement.getParams(
RPCElement.java:347)
14:15:52,576 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:
2272)
14:15:52,576 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:
2171)
14:15:52,576 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:
2196)
14:15:52,576 ERROR [STDERR] at com.uniteller.switchcore.isc.impl.Communicato
r.execute(Communicator.java:255)
14:15:52,576 ERROR [STDERR] at com.uniteller.switchcore.isc.impl.Communicato
r.run(Communicator.java:93)
14:15:52,596 ERROR [STDERR] at java.lang.Thread.run(Thread.java:534)