title: incorrect config.xml
body: <p>What is incorrect in my <code>config.xml</code> file for tomcat 7.0</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;Context&gt;
     &lt;WatchedResource&gt;WEB-INF/web.xml&lt;/WatchedResource&gt;
     &lt;Manager pathname="" /&gt;
     &lt;Resource name="jdbc/mkyongdb" auth="Container" type="javax.sql.DataSource"
             maxActive="100" maxIdle="30" maxWait="10000"
             username="user" password="12345" driverClassName="com.mysql.jdbc.Driver"
             url="jdbc:mysql://127.0.0.1:3306/mkyongdb"/&gt;
  &lt;/Context&gt;
  </code></pre>
  
  <p>An error occurs when I`m publishing the application on the server:</p>
  
  <blockquote>
    <p>Could not load the Tomcat server configuration at \Servers\Tomcat v7.0
    Server at      localhost-config. The configuration may be corrupt or
    incomplete. Resource is out of sync with the file system:
    <code>/Servers/Tomcat v7.0 Server at      localhost-config/context.xml</code>.</p>
  </blockquote>
  
  <p>But now this error occurs:</p>
  
  <blockquote>
    <p>Could not load the Tomcat server configuration at <code>\Servers\Tomcat v7.0</code>
    Server at <code>localhost-config</code>. The configuration may be corrupt or
    incomplete. Element type "Resource" must be followed by either
    attribute specifications, ">" or "/>".</p>
  </blockquote>