Xerces-J 2.61 not working

Having trouble installing Oxygen? Got a bug to report? Post it all here.
petefc
Posts: 16
Joined: Tue Jan 20, 2004 4:07 am

Xerces-J 2.61 not working

Post by petefc »

Hello,

I recently upgraded my eclipse pluggin, and am now getting a message:
"The Expected Xerces version Xerces-J 2.60 was not loaded due to the fact that Xerces-J2.6.1 was found"

Pluggin seems to work, but occasionaly throws errors

thanks
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

Oxygen has a strong dependence on Xerces so it is recommended to use the Xerces version that cames with oXygen that is Xerces 2.6.0. It seems you have Xerces 2.6.1 loaded through Java endorsed mechanism.

We always try to ship the latest Xerces version at the time of release. However we found some problems with Xerces 2.6.1 and we decided not to use it for oXygen 3.1 (released a couple of days after Xerces 2.6.1). I think that was a good decision as there were found some problems with Xerces 2.6.1 and early next week it is planned a new point release, Xerces 2.6.2. For more details see:
http://nagoya.apache.org/eyebrowse/Read ... msgNo=3636

Best Regards,
George
petefc
Posts: 16
Joined: Tue Jan 20, 2004 4:07 am

Pointing to the correct version of xerces.

Post by petefc »

Could you please detail how you point Oxygen stand alone and the eclipse pluggin to a specific instance of xerces. Under prefrences/xml parsers options I can find no way to specify a package.

thanks
petefc
Posts: 16
Joined: Tue Jan 20, 2004 4:07 am

More

Post by petefc »

FYI,

stand alone works fine,

but eclipse, points the the version of xerces in my JDK
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

In order to have the plugin working properly you should remove Xerces 2.6.1 from your JDK. The standalone version works because we use a custom classloader created exactly for this kind of problems, thus even if another Xerces is specified in the JVM extensions or endorsed directories we load and use the Xerces that cames with oXygen. In the plugin case we rely on the eclipse plugin classloader.

Best Regards,
George
Post Reply