Re: Tomcat Datasource , can we define them in war file (whithout accessing to Admin console)?

2006-01-03 Thread Bruce Tong
On 12/26/05, Legolas Woodland [EMAIL PROTECTED] wrote: Is it possible to make a data-source without admin console ? I mean by defining the data-source in web.xml or in Context.xml (i think i read somewhere that we could put context.xml into meta-inf folder and it will act like Context

Re: Tomcat Datasource , can we define them in war file (whithout accessing to Admin console)?

2006-01-03 Thread Andre Van Klaveren
Like Bruce said, you can define a DataSource as part of your application's context. It's the same format as the context definition in server.xml except it's deployed with your application as an XML file (context.xml) inside the META-INF directory of the WAR. Here's a link to explain how to do

Re: Tomcat Datasource , can we define them in war file (whithout accessing to Admin console)?

2005-12-27 Thread Legolas Woodland
Khawaja Shams wrote: Hello, I am assuming that you are trying to define this datasource in order to do application server managed connection pooling. The closest I have done to what you described is declare a datasource as a global resource in the server.xml and refer to it in context

Re: Re: Tomcat Datasource , can we define them in war file (whithout

2005-12-27 Thread Warren Pace
@tomcat.apache.org Subject: Re: Tomcat Datasource , can we define them in war file (whithout accessing to Admin console)? Khawaja Shams wrote: Hello, I am assuming that you are trying to define this datasource in order to do application server managed connection pooling. The closest I have done

Re: Tomcat Datasource , can we define them in war file (whithout accessing to Admin console)?

2005-12-26 Thread Khawaja Shams
Hello, I am assuming that you are trying to define this datasource in order to do application server managed connection pooling. The closest I have done to what you described is declare a datasource as a global resource in the server.xml and refer to it in context definition. You can define a