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

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

Re: Problem configuring JNDI DataSource for Oracle

2006-06-22 Thread Sourabh Antani
JNDI resource when there is a space in the path. See if that works for you. Regards, Sourabh - Original Message From: Ashvini K Saxena <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Thursday, June 22, 2006 2:21:19 PM Subject: Re: Problem configuring JNDI DataSource for Oracle

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 exampl

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 jdbc:oracle:th

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: WEB-INF/web.xml In web.xml I am referring to the datasource as: The Reports DataSource jdbc/reportdb javax.sq