tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ludwig <mil...@gmx.de>
Subject Re: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
Date Thu, 29 Jan 2009 00:17:05 GMT
Hamacher, Eric schrieb am 28.01.2009 um 08:18:21 (-0600):
> 
>       <Resource name="jdbc/GFDataSource" auth="Container"
>                 type="javax.sql.DataSource"
>                 maxActive="30"
>                 maxIdle="2"
>                 maxWait="1000"
>                 username="username"
>                 password="password"
>                 driverClassName="oracle.jdbc.OracleDriver"
>                 uri="jdbc:oracle:thin:@aserver:2224:DB"/>

Try changing the attribute "uri" to "url". Even though the connect URL
doesn't look like your typical web URL, it is actually used to locate
the service, not only to identify it.

Michael Ludwig

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


Mime
View raw message