wood burning stoves 2.0*
The moose likes Oracle/OAS and the fly likes Incompatible xmlparserv2.jar & JBO Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Incompatible xmlparserv2.jar & JBO" Watch "Incompatible xmlparserv2.jar & JBO" New topic
Author

Incompatible xmlparserv2.jar & JBO

Alexei Vinogradov
Greenhorn

Joined: Sep 25, 2003
Posts: 17
Hi all,
i have a problem.
My web application uses bc4j for orion server 1.0.2.2 (jbo). I have ported it to Tomcat 4.x without too much effort. But porting to IAS 9.0.3 seems to be the hell. BC4J (JBO) uses xmlparserv2.jar & xalan.jar & xerces.jar and runs fine at any platform, BUT when startin 9.0.3 the xmlparserv2 from IAS_HOME/lib is bound and it is not compatible with my own xmlparserv2 from application's /WEB-INF/lib. I have got NoSuchMethodError if I use new xmlparserv2 with my app, and the same problem when i use the older xmlparserv2 with IAS 9.0.3.
The only idea that i have in the moment is to rebuild all bcj4/jbo components from orion to the newest of oracle, but the would be a big headache...
Any other ideas?
[ December 23, 2003: Message edited by: Alexei Vinogradov ]
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

"xmlparserv2 from IAS_HOME/lib is bound "
What do you mean by this. It sounds like it is using the jar from Oracle and won't use you classes in your Jar, so either put your jar first in the ClassPath, or remove Oracle's from the ClassPath.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Alexei Vinogradov
Greenhorn

Joined: Sep 25, 2003
Posts: 17
Originally posted by Mark Spritzler:
"xmlparserv2 from IAS_HOME/lib is bound "
What do you mean by this. It sounds like it is using the jar from Oracle and won't use you classes in your Jar, so either put your jar first in the ClassPath, or remove Oracle's from the ClassPath.
Mark

They are not in the classpath variable. What could help was <web-app-class-loader> element with search-local-class=true. But it did not really help,
cause he tried to use the SAXParserFactory from "oracle 9.0.3" xmlparserv2.jar and not from mines.. do not know why...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Incompatible xmlparserv2.jar & JBO
 
Similar Threads
Oracle JDeveloper Entity Association errors
Oracle JDeveloper Entity Association errors
[OAS] Change jdbc driver
soap / ssl problem in JDeveloper
BeeServlet and MVC2... again