RE: Config: zip-files
It should work if you rename the file from blah.zip to blah.jar -Original Message- From: Roland Carlsson [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 14, 2001 5:16 AM To: [EMAIL PROTECTED] Subject: Re: Config: zip-files That didn't help. Tomcat still can't find the driver. I have tried to put the zip-files in the TOMCAT_HOME/lib to but that didn't work either. Aren't there anywhere in the config-files where I can add the zip-library to the classpath? Thanks in advance Roland - Original Message - From: "ADAM FOWLER" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2001 2:06 PM Subject: Re: Config: zip-files > JAVA_HOME/jre/lib > > Adam. > > At 13:51 14/06/2001 +0200, you wrote: > >Hi! > >I got a zip-library containing jdbc drivers. Where do I put this so it is > accesseble to the whole server? > > > >Thanks in advance > >Roland Carlsson > > > > > > > > Adam Fowler > Second year Computer Science undergraduate > University of Wales, Aberystwyth > e-mail: [EMAIL PROTECTED] > web: http://gucciboy.dyndns.org/aff9 > "Every new beginning comes from some > other beginning's end" > >
Re: Config: zip-files (dev pls look!)
Hmm.. I read the Servlet 2.2 spec today and missed that. Must get more coffee :-) Thanks Roland - Original Message - From: "Randy Layman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2001 2:10 PM Subject: RE: Config: zip-files (dev pls look!) > > Section 9.4 of the Servlet 2.2 spec (page 44) states that > WEB-INF/lib/*.jar is the location for Java Archives and does not mention any > other resources. Since .zip is not mentioned, if you used them in the lib > folder then you could have a non-compliant webapp, which would make Tomcat a > non-compliant web server, which would violate the whole purpose of a > "Reference" implementation. > > Randy > > > > -Original Message- > > From: Roland Carlsson [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, June 14, 2001 8:37 AM > > To: [EMAIL PROTECTED] > > Subject: Re: Config: zip-files (dev pls look!) > > > > > > Renaming the zip to jar did the trick for me. > > > > If any developer are looking perphaps they can explain why > > tomcat doesn't support .zip-files (of academic interest). > > > > Regards > > Roland > > - Original Message - > > From: "Kershaw, David" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, June 14, 2001 2:32 PM > > Subject: RE: Config: zip-files > > > > > > > On my windows NT installation I had to resort to hardcoding > > the zip file > > > into the classpath. This was the only way it worked. There > > is probably a > > > correct way to do it. For example: > > > > > > Location > > > C:\tomcat\jakarta-tomcat-3.2.1\lib\classes12.zip > > > > > > and > > > > > > CLASSPATH = ...;C:\tomcat\jakarta-tomcat-3.2.1\lib\classes12.zip > > > > > > Dave > > > > > > -Original Message- > > > From: ADAM FOWLER [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, June 14, 2001 8:06 AM > > > To: [EMAIL PROTECTED] > > > Subject: Re: Config: zip-files > > > > > > > > > JAVA_HOME/jre/lib > > > > > > Adam. > > > > > > At 13:51 14/06/2001 +0200, you wrote: > > > >Hi! > > > >I got a zip-library containing jdbc drivers. Where do I > > put this so it is > > > accesseble to the whole server? > > > > > > > >Thanks in advance > > > >Roland Carlsson > > > > > > > > > > > > > > > > > > Adam Fowler > > > Second year Computer Science undergraduate > > > University of Wales, Aberystwyth > > > e-mail: [EMAIL PROTECTED] > > > web: http://gucciboy.dyndns.org/aff9 > > > "Every new beginning comes from some > > > other beginning's end" > > > > > > > > >
RE: Config: zip-files (dev pls look!)
Section 9.4 of the Servlet 2.2 spec (page 44) states that WEB-INF/lib/*.jar is the location for Java Archives and does not mention any other resources. Since .zip is not mentioned, if you used them in the lib folder then you could have a non-compliant webapp, which would make Tomcat a non-compliant web server, which would violate the whole purpose of a "Reference" implementation. Randy > -Original Message- > From: Roland Carlsson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 14, 2001 8:37 AM > To: [EMAIL PROTECTED] > Subject: Re: Config: zip-files (dev pls look!) > > > Renaming the zip to jar did the trick for me. > > If any developer are looking perphaps they can explain why > tomcat doesn't support .zip-files (of academic interest). > > Regards > Roland > - Original Message - > From: "Kershaw, David" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, June 14, 2001 2:32 PM > Subject: RE: Config: zip-files > > > > On my windows NT installation I had to resort to hardcoding > the zip file > > into the classpath. This was the only way it worked. There > is probably a > > correct way to do it. For example: > > > > Location > > C:\tomcat\jakarta-tomcat-3.2.1\lib\classes12.zip > > > > and > > > > CLASSPATH = ...;C:\tomcat\jakarta-tomcat-3.2.1\lib\classes12.zip > > > > Dave > > > > -Original Message- > > From: ADAM FOWLER [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, June 14, 2001 8:06 AM > > To: [EMAIL PROTECTED] > > Subject: Re: Config: zip-files > > > > > > JAVA_HOME/jre/lib > > > > Adam. > > > > At 13:51 14/06/2001 +0200, you wrote: > > >Hi! > > >I got a zip-library containing jdbc drivers. Where do I > put this so it is > > accesseble to the whole server? > > > > > >Thanks in advance > > >Roland Carlsson > > > > > > > > > > > > > Adam Fowler > > Second year Computer Science undergraduate > > University of Wales, Aberystwyth > > e-mail: [EMAIL PROTECTED] > > web: http://gucciboy.dyndns.org/aff9 > > "Every new beginning comes from some > > other beginning's end" > > > > >
Re: Config: zip-files (dev pls look!)
Renaming the zip to jar did the trick for me. If any developer are looking perphaps they can explain why tomcat doesn't support .zip-files (of academic interest). Regards Roland - Original Message - From: "Kershaw, David" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2001 2:32 PM Subject: RE: Config: zip-files > On my windows NT installation I had to resort to hardcoding the zip file > into the classpath. This was the only way it worked. There is probably a > correct way to do it. For example: > > Location > C:\tomcat\jakarta-tomcat-3.2.1\lib\classes12.zip > > and > > CLASSPATH = ...;C:\tomcat\jakarta-tomcat-3.2.1\lib\classes12.zip > > Dave > > -Original Message- > From: ADAM FOWLER [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 14, 2001 8:06 AM > To: [EMAIL PROTECTED] > Subject: Re: Config: zip-files > > > JAVA_HOME/jre/lib > > Adam. > > At 13:51 14/06/2001 +0200, you wrote: > >Hi! > >I got a zip-library containing jdbc drivers. Where do I put this so it is > accesseble to the whole server? > > > >Thanks in advance > >Roland Carlsson > > > > > > > > Adam Fowler > Second year Computer Science undergraduate > University of Wales, Aberystwyth > e-mail: [EMAIL PROTECTED] > web: http://gucciboy.dyndns.org/aff9 > "Every new beginning comes from some > other beginning's end" > >
RE: Config: zip-files
On my windows NT installation I had to resort to hardcoding the zip file into the classpath. This was the only way it worked. There is probably a correct way to do it. For example: Location C:\tomcat\jakarta-tomcat-3.2.1\lib\classes12.zip and CLASSPATH = ...;C:\tomcat\jakarta-tomcat-3.2.1\lib\classes12.zip Dave -Original Message- From: ADAM FOWLER [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 14, 2001 8:06 AM To: [EMAIL PROTECTED] Subject: Re: Config: zip-files JAVA_HOME/jre/lib Adam. At 13:51 14/06/2001 +0200, you wrote: >Hi! >I got a zip-library containing jdbc drivers. Where do I put this so it is accesseble to the whole server? > >Thanks in advance >Roland Carlsson > > > Adam Fowler Second year Computer Science undergraduate University of Wales, Aberystwyth e-mail: [EMAIL PROTECTED] web: http://gucciboy.dyndns.org/aff9 "Every new beginning comes from some other beginning's end"
RE: Config: zip-files
Probably just change the name to .jar and put it in either $TOMCAT_HOME/lib or WEB-INF/lib for the particular application that uses it. - r > -Original Message- > From: Roland Carlsson [mailto:[EMAIL PROTECTED]] > Sent: June 14, 2001 8:16 AM > To: [EMAIL PROTECTED] > Subject: Re: Config: zip-files > > > That didn't help. Tomcat still can't find the driver. I have > tried to put the zip-files in the TOMCAT_HOME/lib to but that > didn't work either. Aren't there anywhere in the config-files > where I can add the zip-library to the classpath? > > Thanks in advance > Roland > > - Original Message - > From: "ADAM FOWLER" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, June 14, 2001 2:06 PM > Subject: Re: Config: zip-files > > > > JAVA_HOME/jre/lib > > > > Adam. > > > > At 13:51 14/06/2001 +0200, you wrote: > > >Hi! > > >I got a zip-library containing jdbc drivers. Where do I > put this so it is > > accesseble to the whole server? > > > > > >Thanks in advance > > >Roland Carlsson > > > > > > > > > > > > > Adam Fowler > > Second year Computer Science undergraduate > > University of Wales, Aberystwyth > > e-mail: [EMAIL PROTECTED] > > web: http://gucciboy.dyndns.org/aff9 > > "Every new beginning comes from some > > other beginning's end" > > > > >
Re: Config: zip-files
That didn't help. Tomcat still can't find the driver. I have tried to put the zip-files in the TOMCAT_HOME/lib to but that didn't work either. Aren't there anywhere in the config-files where I can add the zip-library to the classpath? Thanks in advance Roland - Original Message - From: "ADAM FOWLER" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2001 2:06 PM Subject: Re: Config: zip-files > JAVA_HOME/jre/lib > > Adam. > > At 13:51 14/06/2001 +0200, you wrote: > >Hi! > >I got a zip-library containing jdbc drivers. Where do I put this so it is > accesseble to the whole server? > > > >Thanks in advance > >Roland Carlsson > > > > > > > > Adam Fowler > Second year Computer Science undergraduate > University of Wales, Aberystwyth > e-mail: [EMAIL PROTECTED] > web: http://gucciboy.dyndns.org/aff9 > "Every new beginning comes from some > other beginning's end" > >
Re: Config: zip-files
JAVA_HOME/jre/lib Adam. At 13:51 14/06/2001 +0200, you wrote: >Hi! >I got a zip-library containing jdbc drivers. Where do I put this so it is accesseble to the whole server? > >Thanks in advance >Roland Carlsson > > > Adam Fowler Second year Computer Science undergraduate University of Wales, Aberystwyth e-mail: [EMAIL PROTECTED] web: http://gucciboy.dyndns.org/aff9 "Every new beginning comes from some other beginning's end"
Config: zip-files
Hi! I got a zip-library containing jdbc drivers. Where do I put this so it is accesseble to the whole server? Thanks in advance Roland Carlsson