You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Najarian <jn...@yahoo.com> on 2006/10/01 18:27:35 UTC
Re: Struggling with basic database connection
Alan,
Did you ever resolve this? I don't have enough
information here to help you.
Thanks,
John Najarian
--- Alan Chandler <al...@chandlerfamily.org.uk> wrote:
> On Saturday 23 September 2006 15:23, David Smith
> wrote:
> > Correction: context.xml belongs in META-INF of the
> war archive.
> >
>
> I have just conducted experiments with Tomcat 5.0
>
> putting a context.xml file in META-INF doesn't
> appear to work
>
> I have not been having success with putting in
> conf/server.xml - but I have
> had success with putting the context in
> conf/Catalina/localhost/akcmoney.xml
>
>
> --
> Alan Chandler
> http://www.chandlerfamily.org.uk
>
>
>
---------------------------------------------------------------------
> 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
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
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: Struggling with basic database connection
Posted by Martin Gainty <mg...@hotmail.com>.
Alan-
context.xml identified Naming and Session management items
more info available at
http://tomcat.apache.org/tomcat-5.0-doc/deployer-howto.html
HTH
Martin --
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: "Alan Chandler" <al...@chandlerfamily.org.uk>
To: <us...@tomcat.apache.org>
Sent: Sunday, October 01, 2006 1:42 PM
Subject: Re: Struggling with basic database connection
> On Sunday 01 October 2006 17:27, John Najarian wrote:
>> Alan,
>>
>> Did you ever resolve this? I don't have enough
>> information here to help you.
> ...
>
> Sort of ...
>
> The WTP plugin for eclipse copies what is in META-INF/context.xml and writes
> it into CATALINA_BASE/conf/server.xml.
>
> So for tomcat5.0, I have relied on testing/debuging like that so far, and
> achieving the same manually when I come to deploy on the production server.
>
> At some stage soon, I will be changing to tomcat 5.5 but I am not sure where
> to go to make things work then, as I am still not sure there is any
> definitive guide to where these things go and how tomcat deals with a
> META-INF/context.xml
>
>
>
>>
>> --- Alan Chandler <al...@chandlerfamily.org.uk> wrote:
>> > On Saturday 23 September 2006 15:23, David Smith
>> >
>> > wrote:
>> > > Correction: context.xml belongs in META-INF of the
>> >
>> > war archive.
>> >
>> >
>> > I have just conducted experiments with Tomcat 5.0
>> >
>> > putting a context.xml file in META-INF doesn't
>> > appear to work
>> >
>> > I have not been having success with putting in
>> > conf/server.xml - but I have
>> > had success with putting the context in
>> > conf/Catalina/localhost/akcmoney.xml
>> >
>> >
>> > --
>> > Alan Chandler
>> > http://www.chandlerfamily.org.uk
>>
>> ---------------------------------------------------------------------
>>
>> > 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
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam? Yahoo! Mail has the best spam
>> protection around
>> http://mail.yahoo.com
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam? Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>>
>> ---------------------------------------------------------------------
>> 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
>
> --
> Alan Chandler
> http://www.chandlerfamily.org.uk
>
>
> ---------------------------------------------------------------------
> 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: Struggling with basic database connection
Posted by Alan Chandler <al...@chandlerfamily.org.uk>.
On Sunday 01 October 2006 17:27, John Najarian wrote:
> Alan,
>
> Did you ever resolve this? I don't have enough
> information here to help you.
...
Sort of ...
The WTP plugin for eclipse copies what is in META-INF/context.xml and writes
it into CATALINA_BASE/conf/server.xml.
So for tomcat5.0, I have relied on testing/debuging like that so far, and
achieving the same manually when I come to deploy on the production server.
At some stage soon, I will be changing to tomcat 5.5 but I am not sure where
to go to make things work then, as I am still not sure there is any
definitive guide to where these things go and how tomcat deals with a
META-INF/context.xml
>
> --- Alan Chandler <al...@chandlerfamily.org.uk> wrote:
> > On Saturday 23 September 2006 15:23, David Smith
> >
> > wrote:
> > > Correction: context.xml belongs in META-INF of the
> >
> > war archive.
> >
> >
> > I have just conducted experiments with Tomcat 5.0
> >
> > putting a context.xml file in META-INF doesn't
> > appear to work
> >
> > I have not been having success with putting in
> > conf/server.xml - but I have
> > had success with putting the context in
> > conf/Catalina/localhost/akcmoney.xml
> >
> >
> > --
> > Alan Chandler
> > http://www.chandlerfamily.org.uk
>
> ---------------------------------------------------------------------
>
> > 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
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> 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
--
Alan Chandler
http://www.chandlerfamily.org.uk
---------------------------------------------------------------------
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