2 newfriendboy newfriendboy 于 2015.07.13 22:43 提问

为什么tomcat部署上,但是加载项目就是404,这是加载的日志

2015-7-13 22:30:31 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.20.
2015-7-13 22:30:31 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2015-7-13 22:30:32 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2015-7-13 22:30:32 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2015-7-13 22:30:32 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1472 ms
2015-7-13 22:30:32 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2015-7-13 22:30:32 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.29
2015-7-13 22:30:32 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2015-7-13 22:30:33 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2015-7-13 22:30:33 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2015-7-13 22:30:33 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2015-7-13 22:30:33 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2015-7-13 22:30:33 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory monitor
2015-7-13 22:30:48 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2015-7-13 22:30:48 org.apache.catalina.core.StandardContext start
严重: Context [/monitor] startup failed due to previous errors
2015-7-13 22:30:48 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/monitor] registered the JBDC driver [com.microsoft.sqlserver.jdbc.SQLServerDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2015-7-13 22:30:48 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/monitor] registered the JBDC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2015-7-13 22:30:48 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/monitor] appears to have started a thread named [HouseKeeper] but has failed to stop it. This is very likely to create a memory leak.
2015-7-13 22:30:48 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/monitor] created a ThreadLocal with key of type java.lang.ThreadLocal and a value of type cn.rhytech.monitor.sys.dao.SysDao$$EnhancerByCGLIB$$4f523079 but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2015-7-13 22:30:48 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/monitor] created a ThreadLocal with key of type java.lang.ThreadLocal and a value of type cn.rhytech.monitor.sys.dao.SysDao$$EnhancerByCGLIB$$4f523079 but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2015-7-13 22:30:49 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2015-7-13 22:30:49 org.apache.coyote.ajp.AjpAprProtocol start
信息: Starting Coyote AJP/1.3 on ajp-8009
2015-7-13 22:30:49 org.apache.catalina.startup.Catalina start
信息: Server startup in 16910 ms

9个回答

caozhy
caozhy   Ds   Rxr 2015.07.13 22:51

The web application [/monitor] registered the JBDC driver [com.microsoft.sqlserver.jdbc.SQLServerDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

看下jdbc驱动、连接字符串和数据库的配置

frank_20080215
frank_20080215   2015.07.13 23:00

可能路径没有配置正确。

json0_1
json0_1   2015.07.13 23:57

这是路径错误造成的,你可以看下你配置的路径是不是发生错误,之后检查jdbc的链接配置。

u012965373
u012965373   2015.07.14 02:10

放在webapp下面,看看是不是放错位置了

miracle_yao
miracle_yao   2015.07.14 07:53

按照上面说的,先检查路径再确定类包是否齐

yuke198907
yuke198907   2015.07.14 09:01

jdbc驱动或者数据库相关的配置错误

beacon_2011
beacon_2011   Rxr 2015.07.16 15:06

端口号,项目名看看是不是配置正确了

CSDNXIAOD
CSDNXIAOD   2015.07.16 15:26

tomcat 不加载项目
tomcat启动不加载项目
----------------------biu~biu~biu~~~在下问答机器人小D,这是我依靠自己的聪明才智给出的答案,如果不正确,你来咬我啊!

zw0283
zw0283   2015.07.16 16:20

JDBC,你检查一下,包和驱动名之类的,大概就是这个意思

Csdn user default icon
上传中...
上传图片
插入图片