You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Johan Peeters <jo...@alcatel.be> on 2000/08/08 06:35:35 UTC

zip files

Hi,

A source of small nuisance in this otherwise fine product: some vendors
supply their class files in other (legal) formats than jar - Oracle, for
example, supplies .zip files. At present .zip files do not appear to be
put in the classpath if they are in the web-inf/lib directory.

While on the subject of Oracle files in the lib directory, Jason Rumney
mentioned in a previous post that there he had some doubts as to whether
they could go in there. I have lightly tested this (after renaming the
.zip file to .jar :-), and it appears to work. It remains to be seen
whether it continues to do so when used in anger - it is my
understanding that Oracle supplies implementations of interfaces in
these zip files. So that should be OK. Anyone any views on this?

Best Wishes,

Yo

--
Johan Peeters mailto:johan.peeters@alcatel.be
Software Architect - Net Commerce
Alcatel - Gen. De Wittelaan 11 A bus 1 - 2800 Mechelen - Belgium
Phone: +32 15 29 3427 Fax: +32 3 240 4800



Re: zip files

Posted by Jason Pell <Ja...@dssonline.com.au>.
I extracted the classes111_01.zip file and put it into a jar so that it
would work correctly.

It is a terrible pain, zip is supported by java in java.util.zip, so why not
support it in
tomcat as well.

Johan Peeters wrote:

> Hi,
>
> A source of small nuisance in this otherwise fine product: some vendors
> supply their class files in other (legal) formats than jar - Oracle, for
> example, supplies .zip files. At present .zip files do not appear to be
> put in the classpath if they are in the web-inf/lib directory.
>
> While on the subject of Oracle files in the lib directory, Jason Rumney
> mentioned in a previous post that there he had some doubts as to whether
> they could go in there. I have lightly tested this (after renaming the
> .zip file to .jar :-), and it appears to work. It remains to be seen
> whether it continues to do so when used in anger - it is my
> understanding that Oracle supplies implementations of interfaces in
> these zip files. So that should be OK. Anyone any views on this?
>
> Best Wishes,
>
> Yo
>
> --
> Johan Peeters mailto:johan.peeters@alcatel.be
> Software Architect - Net Commerce
> Alcatel - Gen. De Wittelaan 11 A bus 1 - 2800 Mechelen - Belgium
> Phone: +32 15 29 3427 Fax: +32 3 240 4800



--
Jason Pell
Senior Analyst/Programmer
Deakin Software Services Pty Ltd
12 Gheringhap St, Geelong Victoria 3220 Australia
Phone: 03 5227 8858 International: +61 3 5227 8858
Fax: 03 5227 8907 International: +61 3 5227 8907
E-mail Jason.Pell@dssonline.com.au
http://www.dssonline.com.au
Customer Support Hotline: 1800 620 497

"Callista - the brightest solution in university management"

---------------------------------------------------------------
Important Notice: The contents of this email transmission,
including attachments, may be privileged and confidential.
Any unauthorised use of the contents is expressly prohibited.
If you have received this transmission in error, please advise
the sender by return email or telephone immediately and
destroy all versions.
---------------------------------------------------------------



Re: zip files

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Johan Peeters wrote:

> How do you modify the filename filter?
>
> Yo
>
> Jason Pell wrote:
>
> > Thinking about it again, I would imagine that all that would be required is
> > the modification of the
> > filename filter for the WEB-INF\lib directory to include jar files.  But I
> > wonder whether this is
> > supported by the Servlets 2.2 standard?
> >
>

You can find out for yourself by downloading the spec -- it's not all that hard
to read or understand.

    http://java.sun.com/products/servlet/download.html

For the record, the Servlet 2.2 specification supports *jar* files in WEB-INF/lib
and unpacked classes in WEB-INF/classes only.

> > Anyone know?
> >

Craig McClanahan



Re: zip files

Posted by Johan Peeters <jo...@alcatel.be>.
How do you modify the filename filter?

Yo

Jason Pell wrote:

> Thinking about it again, I would imagine that all that would be required is
> the modification of the
> filename filter for the WEB-INF\lib directory to include jar files.  But I
> wonder whether this is
> supported by the Servlets 2.2 standard?
>
> Anyone know?
>
> Johan Peeters wrote:
>
> > Hi,
> >
> > A source of small nuisance in this otherwise fine product: some vendors
> > supply their class files in other (legal) formats than jar - Oracle, for
> > example, supplies .zip files. At present .zip files do not appear to be
> > put in the classpath if they are in the web-inf/lib directory.
> >
> > While on the subject of Oracle files in the lib directory, Jason Rumney
> > mentioned in a previous post that there he had some doubts as to whether
> > they could go in there. I have lightly tested this (after renaming the
> > .zip file to .jar :-), and it appears to work. It remains to be seen
> > whether it continues to do so when used in anger - it is my
> > understanding that Oracle supplies implementations of interfaces in
> > these zip files. So that should be OK. Anyone any views on this?
> >
> > Best Wishes,
> >
> > Yo
> >
> > --
> > Johan Peeters mailto:johan.peeters@alcatel.be
> > Software Architect - Net Commerce
> > Alcatel - Gen. De Wittelaan 11 A bus 1 - 2800 Mechelen - Belgium
> > Phone: +32 15 29 3427 Fax: +32 3 240 4800
>
> --
> Jason Pell
> Senior Analyst/Programmer
> Deakin Software Services Pty Ltd
> 12 Gheringhap St, Geelong Victoria 3220 Australia
> Phone: 03 5227 8858 International: +61 3 5227 8858
> Fax: 03 5227 8907 International: +61 3 5227 8907
> E-mail Jason.Pell@dssonline.com.au
> http://www.dssonline.com.au
> Customer Support Hotline: 1800 620 497
>
> "Callista - the brightest solution in university management"
>
> ---------------------------------------------------------------
> Important Notice: The contents of this email transmission,
> including attachments, may be privileged and confidential.
> Any unauthorised use of the contents is expressly prohibited.
> If you have received this transmission in error, please advise
> the sender by return email or telephone immediately and
> destroy all versions.
> ---------------------------------------------------------------



--
Johan Peeters mailto:johan.peeters@alcatel.be
Software Architect - Net Commerce
Alcatel - Gen. De Wittelaan 11 A bus 1 - 2800 Mechelen - Belgium
Phone: +32 15 29 3427 Fax: +32 3 240 4800



Re: zip files

Posted by Jason Pell <Ja...@dssonline.com.au>.
Thinking about it again, I would imagine that all that would be required is
the modification of the
filename filter for the WEB-INF\lib directory to include jar files.  But I
wonder whether this is
supported by the Servlets 2.2 standard?

Anyone know?

Johan Peeters wrote:

> Hi,
>
> A source of small nuisance in this otherwise fine product: some vendors
> supply their class files in other (legal) formats than jar - Oracle, for
> example, supplies .zip files. At present .zip files do not appear to be
> put in the classpath if they are in the web-inf/lib directory.
>
> While on the subject of Oracle files in the lib directory, Jason Rumney
> mentioned in a previous post that there he had some doubts as to whether
> they could go in there. I have lightly tested this (after renaming the
> .zip file to .jar :-), and it appears to work. It remains to be seen
> whether it continues to do so when used in anger - it is my
> understanding that Oracle supplies implementations of interfaces in
> these zip files. So that should be OK. Anyone any views on this?
>
> Best Wishes,
>
> Yo
>
> --
> Johan Peeters mailto:johan.peeters@alcatel.be
> Software Architect - Net Commerce
> Alcatel - Gen. De Wittelaan 11 A bus 1 - 2800 Mechelen - Belgium
> Phone: +32 15 29 3427 Fax: +32 3 240 4800



--
Jason Pell
Senior Analyst/Programmer
Deakin Software Services Pty Ltd
12 Gheringhap St, Geelong Victoria 3220 Australia
Phone: 03 5227 8858 International: +61 3 5227 8858
Fax: 03 5227 8907 International: +61 3 5227 8907
E-mail Jason.Pell@dssonline.com.au
http://www.dssonline.com.au
Customer Support Hotline: 1800 620 497

"Callista - the brightest solution in university management"

---------------------------------------------------------------
Important Notice: The contents of this email transmission,
including attachments, may be privileged and confidential.
Any unauthorised use of the contents is expressly prohibited.
If you have received this transmission in error, please advise
the sender by return email or telephone immediately and
destroy all versions.
---------------------------------------------------------------