tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24723] - JNDI Datasource HOWTO instructions incorrect - Name jdbc is not bound in this Context
Date Mon, 24 Nov 2003 15:16:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24723>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24723

JNDI Datasource HOWTO instructions incorrect - Name jdbc is not bound in this Context





------- Additional Comments From pjohlie@positiontech.com  2003-11-24 15:16 -------
I actually got the DataSource working as per the example, but only if i used 
the admin interface to add the resource. I added it under the context for my 
app, not in the global.
However, this was almost a catch-22 because the admin interface would 
dump "cannot find driverName" if there wasn't a resource already defined.
So I went directly to the server.xml file and added a "dummy" resource, then 
the admin interface would allow me to modify the url, login, etc.
Then it worked.
For awhile.
Now it seems that when i have ant pop the war file for my app into the tomcat 
webapps dir, and delete the folder for my app under the  webapps dir, i get the 
naming problem after restart.

Do i have to be locked into the admin interface?
whatever

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


Mime
View raw message