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
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
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