 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Stig Stavik Guest
|
Posted: Mon Feb 09, 2004 9:31 pm Post subject: Tomcat 5.0.16 and JNDI JDBC Datasource |
|
|
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
|
Posted: Wed Feb 11, 2004 4:02 am Post subject: Re: Tomcat 5.0.16 and JNDI JDBC Datasource |
|
|
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 |
|
 |
|
|
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
|
|