Jon,

    Actually, there isn't a mail.jar or activation.jar in common/lib or
anywhere in the tomcat directory structure for that matter. But your comment
got me thinking... I moved the mail.jar and activation.jar from the
WEB-INF/lib directory of my application to the common/lib folder and lo and
behold it all began to work. Curious... wonder why it wasn't there to begin
with.

    Anyway, thanks to all for the responses...

        -C-

----- Original Message ----- 
From: "Jon Wingfield" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 26, 2003 1:19 PM
Subject: Re: Mail Session oddity


> But mail.jar and activation.jar are also in the common/lib directory.
> I'll bet it's a ClassLoader issue and the exception is really a wrapped
> ClassCastException.
>
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
>
> Jon
>
> Cord Awtry wrote:
>
> > Yo Yaov,
> >
> >     Actually, I didn't truncate the wrong part... that IS the root
cause, I
> > left off the beginning and truncated the lowerhalf of the root cause
> > stacktrace. As for the mail.jar and activation.jar those already are in
the
> > WEB-INF/lib directory.
> >
> >     So now you see where the oddity is :)
> >
> >         -C-
> >
> > ----- Original Message ----- 
> > From: "Shapira, Yoav" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Friday, September 26, 2003 1:02 PM
> > Subject: RE: Mail Session oddity
> >
> >
> >
> > Howdy,
> >
> >
> >><rest truncated for space>
> >
> >
> > You truncated the wrong part: don't truncate the Root Cause part of the
> > stack trace, post it ;)
> >
> >
> >>   The oddness comes into play in that it works just fine if I run
> >
> > tomcat
> >
> >>through my IDE (CodeGuide). It has to be some sort of classpath problem
> >
> > but
> >
> >>I can't for the life of me figure out what it could be. Has anyone seen
> >>anything like this or have any ideas?
> >
> >
> > CodeGuide is placing mail.jar and activation.jar on the webapp's
> > classpath.  You need those jars in the WEB-INF/lib directory of your
> > webapp if you want to use the mail API.
> >
> > Yoav Shapira
> >
> >
> >
> > This e-mail, including any attachments, is a confidential business
> > communication, and may contain information that is confidential,
proprietary
> > and/or privileged.  This e-mail is intended only for the individual(s)
to
> > whom it is addressed, and may not be saved, copied, printed, disclosed
or
> > used by anyone else.  If you are not the(an) intended recipient, please
> > immediately delete this e-mail from your computer system and notify the
> > sender.  Thank you.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to