tomcat启动报错

严重: The web application [/shenhua_iam_webapp] appears to have started a thread
named [Thread-2] but has failed to stop it. This is very likely to create a mem
ory leak.
2013-10-16 17:44:32 org.apache.catalina.loader.WebappClassLoader checkThreadLoca
lMapForLeaks
严重: The web application [/shenhua_iam_webapp] created a ThreadLocal with key o
f type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@37cb50b2]) and a va
lue of type [org.apache.cxf.bus.CXFBusImpl] (value [org.apache.cxf.bus.CXFBusImp
l@45a0f3c5]) but failed to remove it when the web application was stopped. Threa
ds are going to be renewed over time to try and avoid a probable memory leak.
2013-10-16 17:44:32 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\tomcat7042\webapps\docs
2013-10-16 17:44:32 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\tomcat7042\webapps\examples
2013-10-16 17:44:33 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\tomcat7042\webapps\host-manager
2013-10-16 17:44:33 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\tomcat7042\webapps\manager
2013-10-16 17:44:33 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\tomcat7042\webapps\ROOT
2013-10-16 17:44:34 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8080"]
2013-10-16 17:44:34 org.apache.coyote.AbstractProtocol start

JNDI数据源配置如下报此错误 tomcat版本7.0.42
<Resource name="jdbc/grcspDS" type="javax.sql.DataSource" driverClassName="oracle.jdbc.driver.OracleDriver"
     url="jdbc:oracle:thin:@dm02-scan.sh217.com:1531@shrsg" password="shdb" username="shdb"/>


数据源配置如上会导致部分tomcat下报错 ,修改配置
<Resource name="jdbc/grcspDS" type="javax.sql.DataSource" driverClassName="oracle.jdbc.driver.OracleDriver"
     url="jdbc:oracle:thin:@dm02-scan.sh217.com:1531/shrsg" password="shdb" username="shdb"/>
解决
URL:jdbc:oracle:thin:@dm02-scan.sh217.com:1531/shrsg 将@变/解决

你可能感兴趣的:(tomcat)