I'm trying to write a tag that takes form input and inserts it into a database. (Perhaps not clean, but I'm playing around. )
I'm using Netbeans 4.x ( which includes
Tomcat 5.5.x ).
WHen I submit the form I get the following error ( truncated )
I read the JNDI HOW-TO, other Tomcat documents relating to
JDBC and JNDI naming, as well as other research. The result is a slightly mixed approach that closely matches the recommendations from the HOW-TO. Comparing what I have to the HOW-TO, I don't know where the issue is.
Here's the server.xml entry:
Here's the context.xml ( within the webapp file system ) entry :
Here's the deployment descriptor for the webapp:
and finally the code that's supposed to be initializing the DataSource
The line it specifically hiccups on is this one:
Any input would be appreciated, thanks!