求助!The web application [/Root] registered the JDBC driver [com.mysql.jdbc.Driver
目录结构:D:\xmgk\companyweb\www.test.com\test\Root\工程内容
D:\xmgk\companyweb\www.test.com\testMobile\Root\工程内容
hosts文件添加
127.168.0.0.1 mobile.test.com
tomcat/conf/server:
<Host name="mobile.test.com" appBase="D:\\xmgk\\companyweb\\www.test.com" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
<Context path="" docBase="D:\\xmgk\\companyweb\\www.test.com\\testMobile" reloadable="true" caseSensitive="false" debug="0"> </Context>
</Host>
严重: The web application [/Root] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-4] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-5] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-6] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-7] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-8] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-9] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-10] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.coyote.AbstractProtocol stop
D:\xmgk\companyweb\www.test.com\testMobile\Root\工程内容
hosts文件添加
127.168.0.0.1 mobile.test.com
tomcat/conf/server:
<Host name="mobile.test.com" appBase="D:\\xmgk\\companyweb\\www.test.com" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
<Context path="" docBase="D:\\xmgk\\companyweb\\www.test.com\\testMobile" reloadable="true" caseSensitive="false" debug="0"> </Context>
</Host>
严重: The web application [/Root] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-4] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-5] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-6] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-7] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-8] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-9] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Root] appears to have started a thread named [scheduler_Worker-10] but has failed to stop it. This is very likely to create a memory leak.
七月 26, 2016 10:19:37 上午 org.apache.coyote.AbstractProtocol stop
...全文
相关推荐
Tomcat7和mysql连接池的配置方法和测试
="30" maxWait="10000"/></Context>```在上面的配置文件中,我们定义了一个名为 jdbc/mysql 的数据源,使用 MySQL 数据库驱动程序 com.mysql.jdbc.Driver
NetBeans+Tomcat+MySQL配置
"); // 加载MySQL JDBC驱动 conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/test", "root",
Tomcat7和mysql连接池的配置方法和测试.pdf
com.mysql.jdbc.Driver" type="javax.sql.DataSource" url="jdbc:mysql://localhost:3306/testmysql" username
jsp 从web.xml读取连接数据库的参数
例如:```xml<web-app> <context-param> <param-name>driver</param-name> <param-value>com.mysql.jdbc.Driver
SpringBoot整合Druid数据源过程详解
useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai driver-class-name: com.mysql.jdbc.Driver


