mv + java should do the trick. If you get a ClassNotFoundException, then the jar file is utilized.
Tim > -----Original Message----- > From: Pierre Goupil [mailto:[EMAIL PROTECTED] > Sent: Friday, April 13, 2007 11:28 AM > To: Tomcat Users List > Subject: Re: unecessary JAR files > > Hello, World ! > > > Another question asked by the OP which is of interest to me : > > does anyone have a tool that can profile whether or not a jar file gets > utilized during an application? > > > Cheers, > > > Pierre > > > > 2007/4/13, Peter Crowther <[EMAIL PROTECTED]>: > > > > > From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] > > > On 4/12/07, Kevin Gutch <[EMAIL PROTECTED]> wrote: > > > > Do unnecessary jar files affect performance of an application? > > > > > > Only if the classes in the JAR files are called, but then that > > > wouldn't make the JAR file unnecessary :-) . > > > > There are a couple of other minor effects: > > > > - More jars mean more files to scan every 10 seconds if Tomcat is > > configured to check for changed files and reload the webapp > > automatically; > > > > - Class loading typically requires examining more files to load the same > > number of classes. > > > > Both are typically minor - the number of extra jars is generally small > > compared to the total number of files in the application, and class > > loading tends to happen at or near webapp startup. So you'll get > > slightly slower startup, but little observable effect once loaded. > > > > - Peter > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: [EMAIL PROTECTED] > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > A celle qui se souvient de chaque parole prononcée, > Du premier cri du bébé au serment du héros. > Tu es mon témoin éternel. --------------------------------------------------------------------- To start a new topic, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]