on 01-24-2014 01:36 AM
Eric,
I think my student had those 2 entries reversed. I think you should add
this to server.xml:
<Resource name="mail/hsemail" type="javax.mail.Session"
mail.smtp.host="170.192.110.146" Container="auth"/>
And add this to web.xml just above the closing </web-app> tag at the bottom:
<!-- THIS IS FOR CVP EMAIL ELEMENT -->
<resource-ref>
<description> Resource reference to a factory for
javax.mail.Session . . . </description>
<res-ref-name>mail/PSEemail</res-ref-name>
<res-type>javax.mail.Session</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
Cisco Developer Community Forums wrote:
> Eric Tanney has created a new message in the forum "General Discussion
> - All Versions":
>
> --------------------------------------------------------------
> Janine - where in the web.xml file should I put that string? Does is
> matter? I noticed some posts which mentioned the tags have to be
> sequential. As for adding the pther sting to the server.xml file, I
> can't seem to find /web-apps. The only mention of webapps in that file
> is "Â appBase="webapps".
>
> Bill - You not kidding. Seems like this email element isn't as smooth
> as Cisco transitioned. We didn't do an upgrade, we're simply updating
> a server DNS. Do oyu think I should still update the .jar? I don't
> want any other reprecussions to come out of that...
>
> Thanks a lot for all your help!
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2079814>
>
> or simply reply to this email.
yeah
Cisco Developer Community Forums wrote:
> Eric Tanney has created a new message in the forum "General Discussion
> - All Versions":
>
> --------------------------------------------------------------
> So after all this, I should reboot the server, correct?
> Â
> Eric,
>
> I think my student had those 2 entries reversed. I think you should add
> this to server.xml:
> <Resource name="mail/hsemail" type="javax.mail.Session"
> mail.smtp.host="170.192.110.146" Container="auth"/>
>
> And add this to web.xml just above the closing </web-app> tag at the
> bottom:
> <!-- THIS IS FOR CVP EMAIL ELEMENT -->
> <resource-ref>
> <description> Resource reference to a factory for
> javax.mail.Session . . . </description>
> <res-ref-name>mail/PSEemail</res-ref-name>
> <res-type>javax.mail.Session</res-type>
> <res-auth>Container</res-auth>
> </resource-ref>
> </web-app>
>
>
>
> Cisco Developer Community Forums wrote:
> > Eric Tanney has created a new message in the forum "General Discussion
> > - All Versions":
> >
> > --------------------------------------------------------------
> > Janine - where in the web.xml file should I put that string? Does is
> > matter? I noticed some posts which mentioned the tags have to be
> > sequential. As for adding the pther sting to the server.xml file, I
> > can't seem to find /web-apps. The only mention of webapps in that file
> > is "ÿ appBase="webapps".
> >
> > Bill - You not kidding. Seems like this email element isn't as smooth
> > as Cisco transitioned. We didn't do an upgrade, we're simply updating
> > a server DNS. Do oyu think I should still update the .jar? I don't
> > want any other reprecussions to come out of that...
> >
> > Thanks a lot for all your help!
> > --
> > To respond to this post, please click the following link:
> >
> >
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2079814>
> >
> > or simply reply to this email.
>
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2079959>
>
> or simply reply to this email.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: