In my weblogic domain , 2 application is deployed .
1st Application - has a code which do XSLT transformation using XALAN .For this below preference is set in code
2nd Application - has code which has XSLT tranformer .. but it does not use XALAN .. it use simple SUN java transformer.
But when we deployed the both application in the same weblogic domains .. it does conflict.. 2 nd application ask for XALAN transformer to set .. which is not required for this 2 nd application .. How to solve this kind of conflict ? Any help will be appreciated.
Not sure if this will work, but for the app that uses xalan, try this:
1. Build that library into the archive.
2. Use a weblogic.xml descriptor with these elements (of course you lose portability):
2. Remove the system.setproperty call. If these apps are deployed to the same managed server then I think this is part your problem.
You may need to bounce the server in order to clear out any xalan class instances.
Anyone else feel to correct me, like I said I don't know if this will work.
Just curious though, why would you not settle on one XSLT transformer within a single JVM?
Joined: May 12, 2008
Thanks for your help !! .. I will try this and let you know it works..
"Just curious though, why would you not settle on one XSLT transformer within a single JVM? "
.. .. actually we were testing two application in a Development env and it has only one JVM..it would not happen in case of production.