• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Incompatible xmlparserv2.jar & JBO

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
It's exactly the same and completely different as this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic