It’s somehow related to Eclipse. For example:
<Host>
<Context docBase="foo" path="/foo" reloadable="true"
source="org.eclipse.jst.j2ee.server:foo" />
</Host>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Eclipse WTP adds the
sourceattribute to the project-related<Context>element to identify the location of the source code associated with the context (thus, the actual project in the workspace which has been deployed to this server from inside Eclipse).If you wondered about this due to a warning during Tomcat’s startup, since Tomcat 6.0.16 any “unrecognized” XML tags and attributes in the
context.xmlorserver.xmlwill produce a warning about it during the startup, although there’s actually no means of a DTD.Just ignore it. Tomcat shall work fine and Eclipse is happy with it. It won’t occur in real production environment with a worthfully WAR file.