Hi How confused do you want to be ....
I started looking at the 4.1 docs as well ... it'll never work I do object to having to download taglibs just to get a simple example working so you can keep all the code from the 4.1 example including the web.xml entry All you really need to change is the server.xml configuration as described in http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html, at least this is what I did and the example seems to work OK. One thing that constantly frustrates me is the apparent ambiguities in the documentation (it's not a criticism before anyone gets upset) the docs state 'Add this in between the </Context> tag of the examples context and the </Host> tag closing the localhost definition' Well there isn't a Context tag in my distro so I just invented one and it works, of course we are always being advised to put our <Context> thing in our web apps these days so that's what I'm going to try next. Good Luck Chers Duncan On 7/15/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: Ken Bowen [mailto:[EMAIL PROTECTED] > Subject: DataSources and Tomcat (continue thread: Re: How to > use connectionpool with tomcat 1.2.9) > > I also want to get the Tomcat DataSource machinery working. > I'm using Tomcat 5.5.9. > > I've slavishly followed the mySQL example in > http://tomcat.apache.org/tomcat-4.1-doc/jndi-datasource-examples-howto.h tml If you're using 5.5, why are you spending any time looking at the 4.1 documentation? Try using the correct doc for the level you have: http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.h tml - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]