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

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.

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

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

configuring jndi datasource

2018-08-01 Thread Francesco Viscomi
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 directory, a message tell me that the resource that i have

Problem configuring JNDI DataSource for Oracle

2006-06-22 Thread Ashvini K Saxena
I am trying to use a datasource to access an Oracle database (Tomcat 5.5.9 and Oracle 9i). I have configured a datasource in the context.xml as follows: ?xml version=1.0 encoding=UTF-8? Context reloadable=true Resource name=jdbc/reportdb type=javax.sql.DataSource

Re: Problem configuring JNDI DataSource for Oracle

2006-06-22 Thread Ashvini K Saxena
I figured it out. I had followed Tomcat documentation while doing this. The Oracle example in the documentation mentioned url as jdbc:oracle:thin:[EMAIL PROTECTED]:1521:mysid Following that I specified my url as jdbc:oracle:thin:[EMAIL PROTECTED]:1521:rep while actually it should be

Re: Problem configuring JNDI DataSource for Oracle

2006-06-22 Thread Ashvini K Saxena
Nope, with that it only gives a proper error message, Invalid connection string format, a valid format is: host:port:sid On Fri, 23 Jun 2006 00:48:54 +0530, Ashvini K Saxena [EMAIL PROTECTED] said: I figured it out. I had followed Tomcat documentation while doing this. The Oracle example in