This content has been marked as final.
Show 4 replies
-
2. Re: Overriding Xalan.jar with older version for web-app.
drnickit Dec 13, 2005 5:01 AM (in response to drnickit)I already tried everything standing in this documentation. But nothing could make our program work.
NOW after try and error i added our xerces.jar to the endorsed lib.
There i renamed it to 1-xerces.jar. Then i renamed the rest also to 2-xalan.jar, 3-xercesImp.jar, ... etc.
Now our program works. I know this isn't the right thing to do but hey it works.
If you have any comments on this please let me know.
Best regards -
3. Re: Overriding Xalan.jar with older version for web-app.
jaikiran Dec 13, 2005 8:51 AM (in response to drnickit)How have you packaged your application. if you post the details of the same then we can know the reason why its not working
-
4. Re: Overriding Xalan.jar with older version for web-app.
drnickit Dec 13, 2005 10:55 AM (in response to drnickit)Ok with folowing installation our program does not work:
We use jboss-4.0.3SP1
We made a copy of the default directory.
We deleted all exessive files and subdirectories until we only had following:jbossweb-tomcat55.sar
client-deployer-service.xml
jbossjca-service.xml
properties-service.xml
jboss-local-jdbc.rar
jboss-xa-jdbc.rar
jboss-ha-local-jdbc.rar
jboss-ha-xa-jdbc.rar
We packaged our application in a WAR which looks like this:
*.jsp
WEB-INF
classes
*.properties
web.xml
lib
xalan.jar
xerces.jar
castor-0.9.4.1.jar
crimson.jar
jaxp.jar
jndi.jar
jta.jar
*ExternalCompany.jar*
*OurApplication.jar*
In the web.xml we declare all the servlets necessary for the program of the external company and session-timeout-config.
This external program uses an older version of xerces and xalan.jar.
But the application gives errors because i think it uses the xerces of the endorsed lib instead of the ones in our lib-directory.
If we put the xerces and xalan in the lib of the defined server it doesn't work either.
Neither does it work when we create a java2parentdelegation in jboss-web.xml and add this xml to our war.
I hope this is enough information to find a better solution.
best regards.