AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tomcat 5.0.16 and JNDI JDBC Datasource

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases
View previous topic :: View next topic  
Author Message
Stig Stavik
Guest





PostPosted: Mon Feb 09, 2004 9:31 pm    Post subject: Tomcat 5.0.16 and JNDI JDBC Datasource Reply with quote



I'm having trouble setting ut a datasource in a context I've created
with the administration tool.
After I've filled in _the correct_ values in the fields, I get this
error when trying to click the "Data Source" link under the context:

javax.servlet.ServletException: Exception retrieving attribute
'driverClassName'
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
admin.resources.listDataSources_jsp._jspService(listDataSources_jsp.java:429)

(and so on....)


I've seen a couple of posts on this when trying to find an answer on
google. It seems like a bunch of people are having this problem, but I
haven't found any post regarding any possible solution!


--
StSt

Back to top
Allen Chesley
Guest





PostPosted: Wed Feb 11, 2004 4:02 am    Post subject: Re: Tomcat 5.0.16 and JNDI JDBC Datasource Reply with quote



Use the JDBC documentation for Tomcat 5 and compare it to the context XML
file under $CATALINA_HOMEconfCatalinalocalhost When I ran into this
problem I fixed it by adding a missing auth="Container" in the Resource
line of the context XML file.

On Mon, 09 Feb 2004 22:31:00 +0100, Stig Stavik wrote:

Quote:
I'm having trouble setting ut a datasource in a context I've created with
the administration tool.
After I've filled in _the correct_ values in the fields, I get this error
when trying to click the "Data Source" link under the context:

javax.servlet.ServletException: Exception retrieving attribute
'driverClassName'
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
admin.resources.listDataSources_jsp._jspService(listDataSources_jsp.java:429)

(and so on....)


I've seen a couple of posts on this when trying to find an answer on
google. It seems like a bunch of people are having this problem, but I
haven't found any post regarding any possible solution!


Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.