I had tried again with the realm off and I can use the database through the datasource in my vista version but on my XP version I have the message jdbc not bound to this context.
2009/6/11, Guillaume M <geama...@gmail.com>: > My context.xml file is in my webapp's META-INF directory and my > web.xml is in my webapp's WEB-INF directory. There isn't any change in > the results after those corrections. > > This webapp worked fine enough for some years on my laptop, saddly it > had broken down recently and I don't remember the exact configuration > it had. I had to reinstall everything from the webapp I saved on USB > key. > > Thank you for your help. > > Guillaume. > > 2009/6/11, Caldarale, Charles R <chuck.caldar...@unisys.com>: >>> From: Guillaume M [mailto:geama...@gmail.com] >>> Subject: Realm and Datasource configuration in Context >>> >>> context.xml >> >> Let's get this sorted first. Where is your context.xml file located? It >> should be in your webapp's META-INF directory. >> >>> <Context docBase="${app.name}" path="/CQC" privileged="true" >> >> You must not use the docBase or path attributes in a <Context> element, >> unless the element is declared in server.xml, which you should never do >> on >> any recent version of Tomcat. >> >> Answer the above question, fix your <Context> element, try again, and let >> us >> know what happens. >> >> - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org