Re: configuring jndi datasource

2018-08-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Francesco, On 8/1/18 4:10 PM, Francesco Viscomi wrote: > I do not understand unfortunately; I have only one file under conf > directory: contex.xml; You shouldn't be modifying that file, because it will apply to all contexts. Instead, you should cr

Re: configuring jndi datasource

2018-08-01 Thread Mark Thomas
On 01/08/18 21:10, Francesco Viscomi wrote: > I do not understand unfortunately; > I have only one file under conf directory: contex.xml; > So every application installed on this instance of tomcat can view the > resource; It is like I have configured the resource globally; No it is not. Configu

Re: configuring jndi datasource

2018-08-01 Thread Francesco Viscomi
I do not understand unfortunately; I have only one file under conf directory: contex.xml; So every application installed on this instance of tomcat can view the resource; It is like I have configured the resource globally; I can understand it, if every application has it's own context.xml file but

Re: configuring jndi datasource

2018-08-01 Thread Mark Thomas
On 01/08/18 20:22, Francesco Viscomi wrote: > Hi all, > I'm using tomcat 8.5 and I need to configure a datasource in tomcat; > > If a configure it in the contex.xml file under conf directory using the tag > everythings goes well. > > But if I configure it in the server.xml file under the conf di