Chapter 13, can't do 1st example beg. page 481
I am running the latest Tomcat(5.0.27).
All is well until I attempt to add the Server.xml changes to my code from page 484(this server.xml addition IS NOT in the code downloads for this chapter so I typed them by hand).
After I added the code and restarted Tomcat the modified server.xml nicely commented with all of it's many config options was replaced with a basic one presumably because the code i added wouldn't allow Tomcat to start. Needless to say, I cannot get to the datasource.
I´ve eyeballed the code extensively and it appears that I´ve not made any typos and so I´m adding valid, well-formed xml to the server.xml file in the location (before the close of the host tag) as specified in the book, but it continues to fail(making backups of the server.xml file and replacing it with the basic version to run.
Any assistance with this problem would be greatly appreciated.
|