Name jdbc is not bound in this Context – Mea Cup O' Jo
Skip to content


Name jdbc is not bound in this Context

If you ever get this error that most likely means that you defined your data source in context.xml but forgot to add resource reference to the web.xml. Easy fix – just add the following to web.xml

	
		My Datasource
		jdbc/myds
		javax.sql.DataSource
		Container
	

Posted in Java, Web stuff.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.