Tomcat configuration file ../context.xml seems to be broken. Please make sure it is parsable and valid. See the server log for details



I'm making a simple connection pool. When I try to run this project I'm having this error.

Tomcat configuration file ../context.xml seems to be broken. Please make sure it is parsable and valid. See the server log for details.

This is my context file. Project name is connpool1




<Context antiJARLocking="true" path="/tomPool1"/>
<Resource name="connpool" auth="Container" type="javax.sql.DataSource"

maxActive="100" maxIdle="30" maxWait="10000"

username="root" password="access99" driverClassName="com.mysql.jdbc.Driver"

url="jdbc:mysql://localhost:3306/connpool"/>

</Context>




I tired lots of question's answers online. But this error is not fixing. Please help me.


No comments:

Post a Comment