title: Tomcat context.xml resource password not allow special charcaters
body: <p>I have been trying for add data source in tomcat conf/context.xml as below.</p>
  
  <pre><code>&lt;Resource name="jdbc/DS1"
                          auth="Container"
                          type="javax.sql.DataSource"
                          driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
                          url="jdbc:sqlserver://121.111.11.91;databaseName=DB_NAME"
                          username="testUanme"
                          password="TT&amp;123$"
                          maxPoolSize="50"
                          removeAbandoned="true"
                          removeAbandonedTimeout="1000"
                          logAbandoned="true"
                          /&gt; 
  </code></pre>
  
  <p>After set Data Source entry in config file i m restarting tomcat and it gives error like:</p>
  
  <p>The reference to entity "TT" must end with the ';' delimiter.</p>
  
  <p>Password not allowing special characters which i have used &amp; and $.</p>
  
  <p>Please suggest what should be there which allows me to enter special characters in password..</p>
  
  <p>Thanks in advance.</p>