• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Tomcat Class Loader Prefeence

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wanna know what is the prefwerence of tomcat class loading.
Actually I hve som jar file(javax extensions from jdk1.3) and now i m using jdk1.4.
These lib are also available in jdk1.4 but my program is dependent on jdk1.3 (extensions)and for me it is alo must that i should use JDK1.4 as there are some other modules dependencies on it.
Is there ne way to change the preference so that tomcat will load the (jar file in my webapp lib and not in jdk1.4 lib)
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's documentation on the classloader in the Tomcat docs, that is fairly complete.

As for your trouble with *some* parts relying on 1.3 and other parts needing 1.4, are you *sure* that they depend on 1.3 ? I'm fairly certain Sun went to great lengths to preserve 'backward compatibility', such that programs written under 1.3 will also function under 1.4. If the dependancies you're talking about are XML parsers, you're in luck. There is a good section on how to use the 1.4 'endorsed jars' mechanism in the Tomcat docs...

Here are the Tomcat Docs on Class Loaders
[ June 13, 2003: Message edited by: Mike Curwen ]
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic