This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ant messing up tomcat

 
Wendy Gibbons
Bartender
Posts: 1107
Eclipse IDE Oracle VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • 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?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17625
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • 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 Gibbons
Bartender
Posts: 1107
Eclipse IDE Oracle VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • 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)
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic