Home
Analytics
Librarie conflict on xml api [websphere WAS 6]
maxime
Hi,
I try to integrate the BIRT Engine in a J2EE application (JIRA).
Depending of the server environment, the application doesn't react as whished.
Indeed with a server Tomcat every things work fine, however it's not the case on Websphere 6.0 (jdk IBM 1.4). The birt engine doesn't start (the factory returns by Platform is null).
After many times spend to determine the cause of the dysfunction I know yet why there is this problem, however I don't have solutions. On this environment WAS, there are conflicts between 3 JIRA libraries and server libs. The libraries are the following: xmlrpc2.0.jar, xml-apis-1.0.b2.jar, xercesimpl-2.6.2.jar. If I remove theses libraries from my WEB-INF/lib, the birt engine starts. My application is deployed with the class-loader mode : PARENT_LAST. The problem is that I need theses libraries for the rest of the application.
I want to know, if you have returns on this subject, if you know existing issues on this point. What is the correspondence between all theses xml api and whesphere libraries ? What are the xml apis used by Platform to generate the factory ? What can I do ? It's a really bloking point.
Thank's for answer.
Find more posts tagged with
Comments
cypherdj
Hi Maxime,
what version of Birt are you using?
Looking at the contents of WEB-INF/platform/plugins, it would appear that Birt 2.2 uses:
xercesImpl.jar v2.8.0
jaxrpc.jar v1.1
I cannot see any dependence from Birt to xml-apis as far as I can tell.
What you could try is to replace your application jars with the versions Birt uses in WEB-INF/lib and see if your application starts correctly after that.
Best of luck, and keep us posted,
Cedric
cypherdj
I looked into this a bit more and indeed there is a dependency on xml-apis. Its version in Birt-2.3.1 is 1.3.4 (ReportEngine/plugins/javax.xml_1.3.4.v200806030440.jar)
So if you downloaded birt-runtime-2.3.1, copy the following jars into WEB-INF/lib and see if it has any effect on your app:
ReportEngine/plugins/javax.xml_1.3.4.v200806030440.jar
ReportEngine/plugins/org.apache.xerces_2.9.0.v200805270400.jar
WebViewerExample/WEB-INF/lib/jaxrpc.jar
Best of luck,
Cedric
maxime
Hi Cedric,
Thank's for your answer.
I used the birt engine 2.2.2 with a jvm IBM 1.4.
After 2 weeks of investigation the only working solution was to remove theses jar, and let the application using the server libs. However due to the difference of version, the JIRA iso-functionality was not certain. We didn't have a confirmation even by atlassian team. Therefore we stop our investigation on the topic.