• 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:
  • Devaka Cooray
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
Bartenders:

xerces.jar while migrating to 5.1.2

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
While migrating from WAS4.X to WAS5.1.2 i have a problem with xerces.jar.
Since I should use xerces.jar,
I have included it in the WEB-INF/lib and packed the ear file.

Now will it create any version incompatibility while deploying it in WAS5.1.2,since in WAS5.1.2 these jars comes as default in xml.jar
 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That is correct JDK 1.3( included with WAS V5.1.x ) includes its own version of xerces.jar.

You should be fine if you modify the classloader settings to pick up your Application xerces classes.

In WAS V4.x the default setting of the classloader was essentially PARENT_LAST, and in V5.1.x the default setting is PARENT_FIRST. So if you don't change the V5.1.x from PARENT_FIRST to PARENT_LAST the xerces classes from the JDK will get picked up instead of your Application's xercese classes. It it recommended that you change this setting at the Application level.
 
Brian Stelzer
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Correction to my last post, WAS V5.1.x included JDK 1.4
 
Joel Kris
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is this applicable to jconn2.jar while migrating?
Since the ear has jconn2.jar and my server has jconn2.jar
So how should I set the class loading
Should I change
 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Open your admin console
go to Servers > Application Servers > server_name
Change the Application Classloading Mode to PARENT_LAST

Thanks

Lin
 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess you should put your old jar files as a shared library in WAS 5.1
[ October 10, 2005: Message edited by: Benny Thomas ]
 
You ought to ventilate your mind and let the cobwebs out of it. Use this cup to catch the tiny ads:
Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders
https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing
reply
    Bookmark Topic Watch Topic
  • New Topic