I created a mainly empty dynamic web project in eclipse.
It has
The web.xml is
Your question is a tad ambiguous but I'll give it a try.
Delete the textprojekt.xml that you edited, make those same changes in the context.xml for your project, and restart tomcat.
It may be caused by a conflict between the two xml files. Changing the xml file that is created by tomcat does nto change the context.xml file for the webapp. At least it doesn't change on tomcat6.0.18 that I use for dev work.
Hope that's helpful.
I think this is a bug in Tomcat. I filed a bug report but they claim it works as designed. Tomcat has 3 modes of deployment: Directory, WAR and Context Fragment. In your case, it gets confused when reloading.
Here is the sequence leading to the error,
If you only change the XML in META-INF, everything should work for you.