Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Incompatible xmlparserv2.jar & JBO

 
Alexei Vinogradov
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
Alexei Vinogradov
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic