You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Caldarale, Charles R" <Ch...@unisys.com> on 2008/10/24 15:57:19 UTC
RE: How can I use a class in javax package from the jar file in
WEB-INF/libinstead of the one in common/lib.
> From: Kevin SeongHyun Lee [mailto:public.class.kevin@gmail.com]
> Subject: How can I use a class in javax package from the jar
> file in WEB-INF/libinstead of the one in common/lib.
>
> it must be designed to work in any Tomcat server
> with default Tomcat libraries and the server admin
> also said he has to keep it there.
The javamail.jar file is *not* part of the default Tomcat libraries - your sysadmin (or some 3rd-party Tomcat repackager) put it there, thereby imposing it on all the webapps for that Tomcat installation.
You may have to provide two versions of your webapp - one with javamail.jar included, one without, and let the customer choose which to use based on the environment.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: How can I use a class in javax package from the jar file in WEB-INF/libinstead of the one in common/lib.
Posted by Kevin SeongHyun Lee <pu...@gmail.com>.
Yeah, absolutely. :)
Well, they have their policy though. So I have to respect that.
Thanks Chuck.
Regards,
Kevin
2008/10/25 Caldarale, Charles R <Ch...@unisys.com>
> > From: Kevin SeongHyun Lee [mailto:public.class.kevin@gmail.com]
> > Subject: Re: How can I use a class in javax package from the
> > jar file in WEB-INF/libinstead of the one in common/lib.
> >
> > Well, that javamail.jar in the common/lib is, as far as I
> > know, from the repository of the Linux server.
>
> Hence my comment about the "3rd-party repackager" - which frequently create
> problems that installations of a real Tomcat do not have.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
RE: How can I use a class in javax package from the jar file in
WEB-INF/libinstead of the one in common/lib.
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Kevin SeongHyun Lee [mailto:public.class.kevin@gmail.com]
> Subject: Re: How can I use a class in javax package from the
> jar file in WEB-INF/libinstead of the one in common/lib.
>
> Well, that javamail.jar in the common/lib is, as far as I
> know, from the repository of the Linux server.
Hence my comment about the "3rd-party repackager" - which frequently create problems that installations of a real Tomcat do not have.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: How can I use a class in javax package from the jar file in WEB-INF/libinstead of the one in common/lib.
Posted by Kevin SeongHyun Lee <pu...@gmail.com>.
Thanks Chuck for your reply.
Well, that javamail.jar in the common/lib is, as far as I know, from the
repository of the Linux server.
Yeah, I think so too. I may need to provide to or I can simply document it
so the client can know what to do.
Regards,
Kevin
2008/10/25 Caldarale, Charles R <Ch...@unisys.com>
> > From: Kevin SeongHyun Lee [mailto:public.class.kevin@gmail.com]
> > Subject: How can I use a class in javax package from the jar
> > file in WEB-INF/libinstead of the one in common/lib.
> >
> > it must be designed to work in any Tomcat server
> > with default Tomcat libraries and the server admin
> > also said he has to keep it there.
>
> The javamail.jar file is *not* part of the default Tomcat libraries - your
> sysadmin (or some 3rd-party Tomcat repackager) put it there, thereby
> imposing it on all the webapps for that Tomcat installation.
>
> You may have to provide two versions of your webapp - one with javamail.jar
> included, one without, and let the customer choose which to use based on the
> environment.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>