> -----Original Message----- > From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 02, 2002 3:00 PM > To: [EMAIL PROTECTED] > Subject: RE: Doubt about multiple applications > > > I think that the Tomcat isn't load my jar file to the classpath...
tomcat doesn't use the classpath. > Actualy My jar file is a jdbc driver. And my error message > is: no suitable > driver. Thus my jar file wasn't load or the Tomcat don't put > this in the > classpath. > I have a xerces.jar in the lib directory of Tomcat, Can it be > the mistake ? > > if I put app by app in the Tomcat, all works !!! if you mean that you put the jar in each /WEB-INF/lib, that is how it is supposed to work. you need the library in each webapp in order for that web app to see it (if you don't want it in the common/lib) > When I put the jar file in the lib directory of Tomcat, all > works too !!! > every app sees that directory, so it should work :) some drivers may use native libraries and therefore may not be able to load in multiple classloaders(each webapp has its own). Therefore you may not have a choice except to place the jar it in /common/lib. Charlie > > >From: "Cox, Charlie" <[EMAIL PROTECTED]> > >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> > >To: 'Tomcat Users List' <[EMAIL PROTECTED]> > >Subject: RE: Doubt about multiple applications > >Date: Wed, 2 Oct 2002 13:31:57 -0400 > > > >what error are you getting? did you look in the error logs? > > > >Charlie > > > > > -----Original Message----- > > > From: David Mossakowski [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, October 02, 2002 4:02 PM > > > To: Tomcat Users List > > > Subject: Re: Doubt about multiple applications > > > > > > > > > There is no reason for this to be the case. You must be > > > doing something > > > else wrong. > > > > > > There is nothing stopping you from copying application > > > webapps/A into a > > > directory called webapps/Aprime and still have this > > > application working > > > (this requires using links in JSPs that dont hardcode A as in > > > href="/A/something.jsp" of course). > > > > > > d. > > > > > > Ricardo de Souza Moura wrote: > > > > I am using Tomcat 4.0... > > > > I have two applications, A and B > > > > > > > > in the lib directory of A I have a file1.jar, and in the > > > lib directory > > > > of B I have the same file, file1.jar. > > > > > > > > I am not wanting to put my file file1.jar in the lib > > > directory of Tomcat. > > > > > > > > But when the Tomcat load the applications, only one get > access this > > > > resource, file1.jar. Why ? > > > > > > > > Only one application works... > > > > > > > > But if I put only one application by time all works !!!! > > > > > > > > Sorry my bad English !!! > > > > Thanks !!! > > > > > > > > > _________________________________________________________________ > > > > MSN Photos � a maneira mais f�cil e pr�tica de editar e > > > compartilhar sua > > > > fotos: http://photos.msn.com.br > > > > > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > For additional commands, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > > -- > > > David Mossakowski [EMAIL PROTECTED] > > > Instinet Corporation 212.310.7275 > > > > > > > > > > > > ************************************************************** > > > ************** > > > <<Disclaimer>> > > > > > > This message is intended only for the use of the Addressee and > > > may contain information that is PRIVILEGED and/or > > > CONFIDENTIAL or both. > > > > > > This email is intended only for the personal and confidential use > > > of the recipient(s) named above. > > > > > > If the reader of this email is not an intended recipient, you have > > > received this email in error and any review, dissemination, > > > distribution or copying is strictly prohibited. > > > > > > If you have received this email in error, please notify the sender > > > immediately by return mail and permanently deleting the copy > > > you received. > > > > > > Thank you. > > > > > > ************************************************************** > > > ************** > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > >-- > >To unsubscribe, e-mail: > ><mailto:[EMAIL PROTECTED]> > >For additional commands, e-mail: > ><mailto:[EMAIL PROTECTED]> > > > > > _________________________________________________________________ > Converse com seus amigos online, fa�a o download gr�tis do > MSN Messenger: > http://messenger.msn.com.br > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
