Re: Shared email resource

2009-10-17 Thread Ken T.
On Sat, 17 Oct 2009 08:28:30 -0400, Martin Gainty wrote: > Curt/Ken > > what is the solution? > How did you get this to work? > I'm not sure exactly what the problem was, but moving the declaration to the global section of the server.xml file and then back to the context.xml file after I got

RE: Shared email resource

2009-10-17 Thread Martin Gainty
m: ktectr...@gmail.com > Subject: Re: Shared email resource > Date: Sat, 17 Oct 2009 12:07:28 + > > On Fri, 16 Oct 2009 10:00:46 -0500, Curtis Garman wrote: > > > Ken, have you got your problem resolved? > > > > Yes, I j

Re: Shared email resource

2009-10-17 Thread Ken T.
On Fri, 16 Oct 2009 10:00:46 -0500, Curtis Garman wrote: > Ken, have you got your problem resolved? > Yes, I just got it working! Thank you all for your help! -- Ken T. - To unsubscribe, e-mail: users-unsubscr...@tomcat.a

Re: Shared email resource

2009-10-16 Thread Curtis Garman
Ken, have you got your problem resolved? 2009/10/15 Mikolaj Rydzewski : > Curtis Garman wrote: >> >> I've only every declared in in META-INF/context.xml > > It's fine to define Resource completely in context.xml. > But if one uses GlobalNamingResources (as OP does) he has to declare mapping > in c

Re: Shared email resource

2009-10-15 Thread Mikolaj Rydzewski
Curtis Garman wrote: I've only every declared in in META-INF/context.xml It's fine to define Resource completely in context.xml. But if one uses GlobalNamingResources (as OP does) he has to declare mapping in context.xml as I described. Anyway, it works for me all the times :-) Of course, in

Re: Shared email resource

2009-10-15 Thread Ken T.
On Thu, 15 Oct 2009 09:24:13 -0500, Caldarale, Charles R wrote: >> From: news [mailto:n...@ger.gmane.org] On Behalf Of Ken T. Subject: >> Shared email resource >> >> In /etc/tomcat6/web.xml, I have: > > Shouldn't that be /etc/tomcat6/conf/web.xml? Are you running a real > Tomcat, or a 3rd-party

Re: Shared email resource

2009-10-15 Thread Curtis Garman
I've only every declared in in META-INF/context.xml ...but I've also experienced another problem before that you may be having and that is truncating the resource name...it will take your valid name and chop off part of it (seems to truncate at / ) and then complain that it couldn't find the resour

RE: Shared email resource

2009-10-15 Thread Caldarale, Charles R
> From: news [mailto:n...@ger.gmane.org] On Behalf Of Ken T. > Subject: Shared email resource > > In /etc/tomcat6/web.xml, I have: Shouldn't that be /etc/tomcat6/conf/web.xml? Are you running a real Tomcat, or a 3rd-party repackaged one? If the latter, it's difficult to tell where the proper

Re: Shared email resource

2009-10-15 Thread Mikolaj Rydzewski
Ken T. wrote: I'm having some difficulty setting up a shared email resource under Tomcat and I can't seem to find the answer anywhere online. Everything seems to be working under Tomcat, but for some reason my application can't find the JNDI name.. You have to include mapping in Context