• 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

ant messing up tomcat

 
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
when i run my ant script it seems to mess up tomcats environment variables

it stops being able to find all the jars, on this box the ALL jars are stored in usr/share/java and not tomcat/common/lib.

is this even possible?
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
/usr/share/java is where (at least for RedHat/Fedora-style distros), the OS-supplied jars reside. Things like jdbc drivers and stuff like that. You really don't want to dump tomcat's internal jars in there. For one thing, they're not stuff you want to - ahem - "share".

I have been known to go the other direction, however, and place a softlink(s) in TOMCAT_HOME/lib to one or more JDBC driver jars in /usr/share/java. Tomcat's OK with that.
 
Wendy L Gibbons
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks, i have gone for links (as i am just working on the customers box and don't feel comfortable making changes that big)
 
reply
    Bookmark Topic Watch Topic
  • New Topic