You can name it the name of the context(web). The content should be
similar to any other file there. I am giving a sample

<Context docBase="${catalina.home}/webapps/web"
         antiResourceLocking="false" antiJARLocking="false">

</Context>

rgds
Antony Paul


On Mon, 21 Feb 2005 23:18:55 -0800 (PST), U K Laxmi <[EMAIL PROTECTED]> wrote:
> Thanks for the replies. What do u mean by the
> following in ur erlier mail.
> > > >
> > > > Did you defined your newly created context web
> > in
> > > > server.xml or at
> > > > TOMCAT_HOME\conf\Catalina\localhost\some
> > name.xml
> > > >
> 
> Does it mean i need to create a new xml file in
> TOMCAT_HOME\conf\Catalina\localhost? What should be
> it's name? What should it contain? Pls let me know. I
> will try that. I didn't create any file there.
> 
> Thanks again.
> 
> > > > hope it will help.
> > > >
> > > > rgds
> > > > Antony Paul
> > > >
> > > >
> > > >
> > > > On Mon, 21 Feb 2005 22:25:59 -0800 (PST), U K
> > Laxmi
> > > > <[EMAIL PROTECTED]> wrote:
> > > > > Yes i read and did as per the document. When
> > it
> > > > didn't
> > > > > work, i followed the suggetions given to many
> > > > users in
> > > > > the mailing lists in the internet and now i
> > guess
> > > > i
> > > > > messed up. Actually in the error, it says, no
> > > > suitable
> > > > > driver found.
> > > > >
> > > > > I'm using Ms Access as it's free. Do we have
> > any
> > > > free
> > > > > driver available in the form of jar to use in
> > > > place of
> > > > > JDBC-ODBC bridge driver? Or it's not required
> > if
> > > > > configuration is correct. Pls let me know.
> > I've
> > > > pasted
> > > > > all relevant code in my first mail itself. If
> > time
> > > > > permits, any of you can try & give me the
> > > > solution.
> > > > > It'll be a great help.
> > > > >
> > > > > I've integrated tomcat 5.5.7 with apache 2.
> > Does
> > > > this
> > > > > has any impact on the above.
> > > > >
> > > > > --- Antony Paul <[EMAIL PROTECTED]>
> > wrote:
> > > > >
> > > > > > If you followed the tomcat docs you will
> > have no
> > > > > > problem in DBCP
> > > > > > getting to work. Going for
> > Globalnamingresources
> > > > is
> > > > > > needed if you need
> > > > > > to access it will all applications. Try to
> > > > configure
> > > > > > it as per the doc
> > > > > > in following URL.
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html
> > > > > >
> > > > > > follow MySQL config. And no need to put
> > > > commons*.jar
> > > > > > in commons/lib as
> > > > > > TC by default comes with it.
> > > > > >
> > > > > > rgds
> > > > > > Antony Paul
> > > > > >
> > > > > >
> > > > > > On Mon, 21 Feb 2005 21:52:13 -0800 (PST), U
> > K
> > > > Laxmi
> > > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > > I tried without GlobalNamingResources. No
> > > > luck.
> > > > > > When
> > > > > > > googled, i found that if we include
> > > > > > > GlobalNamingResource tag, then it will be
> > > > > > available in
> > > > > > > all web context.
> > > > > > >
> > > > > > > After spending enough time on that, now i
> >
> === message truncated ===
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Helps protect you from nasty viruses.
> http://promotions.yahoo.com/new_mail
>

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

Reply via email to