Did you remove the contents from the server.xml? Or just paste the same contents to the META-INF/context.xml file?
You might want to add the contents of the context.xml file to the thread message. -----Original Message----- From: Leon [mailto:leon.m...@hccnet.nl] Sent: Thursday, January 10, 2013 11:53 AM To: Tomcat Users List Subject: Re: add database resource Unfortunately still same error Regards, Léon Op 10 jan. 2013 om 04:29 heeft Christopher Schultz <ch...@christopherschultz.net> het volgende geschreven: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Leon, > > On 1/9/13 5:37 PM, leon.m...@hccnet.nl wrote: >> Op Wo, 9 januari, 2013 10:37 pm schreef Christopher Schultz: Tried to >> creat a context.xml in META-INF/context.xml, however, not sure about >> the full conten. >> >> Are you able to provide met a contect.xml with example code, where i >> can adjust variables? ould help a lot! > > Just take your <Context> element out of server.xml and put the whole > thing into META-INF/context.xml. > >>> I know nothing about Hibernate, but you may have to post your >>> Hibernate configuration in order to get any further, here. >> >> If needed not a problem, but hopefully a correct context.xml will do > > A proper context.xml is unlikely to have any bearing on your problem. > I'm just trying to get other noise out of the way. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with undefined - http://www.enigmail.net/ > > iEYEAREIAAYFAlDuNZoACgkQ9CaO5/Lv0PBuQQCgiTgdJbzjtiJDKf8mIV/N7fo1 > Pj4AnjBp/2ZhkzFNUHjlcoF+gO+B+7cJ > =i+2h > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org