tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anjib Mulepati <anji...@hotmail.com>
Subject Re: JNDI configuration with 6.0.29
Date Wed, 07 Sep 2011 16:21:07 GMT
I did checked the XML file and it looks correct to me. Following is the 
content:

<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" docBase="C:\Users\amulepati\My 
Projects\ClientDAOTest\build\web" path="/ClientDAOTest">
<Resource auth="Container"
  driverClassName="oracle.jdbc.driver.OracleDriver"
  factory="oracle.jdbc.pool.OracleDataSourceFactory"
  maxActive="20" maxIdle="10" maxWait="-1"
  name="jdbc/dynic" password="sfed_schema"
  type="oracle.jdbc.pool.OracleDataSource"
  url="jdbc:oracle:thin:@//localhost:4001/SAIDIT"
  user="sfed_schema"/>
</Context>

Same config work for Tomcat 7 so I am wondering is there any thing I 
have to different/extra in Tomcat 6

Thanks,
Anjib
On 9/7/2011 12:15 PM, Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Anjib,
>
> On 9/7/2011 11:22 AM, Anjib Mulepati wrote:
>> Yes I am positive
> If you have changed your META-INF/context.xml without doing an
> undeploy/redeploy, Tomcat may be using an older version of the
> deployment descriptor than you think it is.
>
> Take a look at CATALINA_BASE/conf/Catalina/[hostname]/[appname].xml
> and see if it contains what you expect it to contain (i.e. "jdbc/dynic").
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk5nmKEACgkQ9CaO5/Lv0PBgigCghqHFuyP7EdhO52nHXqX61CjV
> 5G8An2j+WGBaf6smXcS7MiCYrOq0iTIH
> =pVtB
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message