If you put everything (ie. all your Servlet's dependencies)) into the
WAR, ClassLoading
problems seem to go away.

Does anyone know if the same holds true for App Servers (specifically
JBoss)?

thanks


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 5:03 PM
To: Tomcat Users List
Subject: Re: Classpath Issue



Tomcat takes care of this for you so that you don't have to mess around
with classpath issues. Put your  unpacked classes in the WEB-INF/classes
directory of you webapplication. jar files go under the WEB-INF/lib. And
you are good to go.
If you wish to make your classes visible to all applications then place
your unpacked classes under then
<tomcat_installation_dir>/common/classes.
And the packed jar files under <tomcat_installation_dir>/common/lib
And if you still wish to add classes to the classpath then check out
catalina.bat (or tomcat.bat). But be warned this may give rise to
problems
with classloading in the future :-)

RS





"Rui Oliveira" <[EMAIL PROTECTED]> on 02/25/2002 10:51:46 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   "Tomcat Users List" <[EMAIL PROTECTED]>
cc:

Subject:  Classpath Issue

Hello,

sorry for the newbie question...

Can someone please tell me how to configure the classpath for a specific
application only, instead of defining it for all the tomcat
applications?


Thanks in advance
Rui Oliveira


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>









--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

This message contains confidential information and is intended only for the named 
individual
and may not be disseminated without prior permission.  If you are not the named 
addressee,
you should not disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this message in error and delete this 
e-message from your system. E-mail transmission cannot be guaranteed to be secure or 
error-free as
information could be intercepted, corrupted, lost, destroyed, delayed in transmission,
incomplete, or may contain viruses. The sender therefore does not accept liability for 
any
errors or omissions in the contents of this Message which arise as a result of e-mail 
transmission.  If verification is required please request a hard-copy version. This 
message
is provided for informational purposes and should not be construed as a solicitation or
offer to buy or sell any software or services.

 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to