tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Tomcat and jar loading
Date Thu, 26 Jun 2008 13:02:28 GMT

I have a brief question regarding the way tomcat loads jar files. 

Are the references to all jar files in common\lib and shared\lib loaded on
server startup? 

I know classes are loaded once they are requested, but I added a new jar
file that was never there before (so no classes were loaded) and I couldn't
reference the classes. Is this because the classpath that tomcat uses
references every single jar file, and the jvm needs to be stopped in order
for the new jar file to appear on the classpath?

I just bought a tomcat book, so hopefully I can stop asking these silly
questions soon!!


This message  may  contain  confidential  and  privileged information.
If you are not  the intended  recipient please  accept our  apologies.
Please do not disclose, copy or distribute  information in this e-mail
or take any  action in reliance on its  contents: to do so is strictly
prohibited and may be unlawful. Please inform us that this message has
gone  astray  before  deleting it.  Thank  you for  your co-operation.

NHSmail is used daily by over 100,000 staff in the NHS. Over a million
messages  are sent every day by the system.  To find  out why more and
more NHS personnel are  switching to  this NHS  Connecting  for Health
system please visit

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message