cancel
Showing results for 
Search instead for 
Did you mean: 

Load linkage error - "com/crystaldecisions/sdk/occa/report/data/Fields"

Former Member
0 Kudos

We had installed and were using Crystal Reports for Eclpse with JBoss 4.2. We recently upgraded to JBoss 5.1 Our crystal reports do not work from the web interface anymore. The error we get is:

Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/web/tomcat/service/WebCtxLoader$ENCLoader) previously initiated loading for a different type with name "com/crystaldecisions/sdk/occa/report/data/Fields"

It looks like there might be a class conflict with JBoss jars? Any ideas on which jars to look at would be really appreciated. Any other ideas or suggestions on what this error might be?

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

former_member185028
Active Participant
0 Kudos

Based on the supported platforms document, I don't believe that JBoss 5.1 is on the list of application servers that are supported by Crystal Reports For Eclipse Version 2. I believe that the versions of JBoss that are supported are 4.2 and 5. By not supported, it means that SAP BusinessObjects hasn't tested and certified against these versions.

As for the error, I'm not sure which jar file would be causing the conflict.

Regards.

- Robert

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you Robert. I was able to resolve this error.

The problem was that I had several crystal runtime jars which were deployed in my ear file as well as my war file. It seems that JBoss 4.2 was forgiving with such mistakes, but JBoss 5.1 is not.

Now that I have resolved the loading error, I have yet another one. But will start a separate thread for that.

Thanks.

former_member185028
Active Participant
0 Kudos

Perhaps the error is occurring because "parent-first" versus "self-first" class loading errors. There is an interesting blog that I found when googling the error that talks about this at the following link:

http://frankkieviet.blogspot.com/2009/03/javalanglinkageerror-loader-constraint.html

Regards.

- Robert