当前位置: 代码迷 >> Java Web开发 >> myeclipse启动tomcat6的有关问题
  详细解决方案

myeclipse启动tomcat6的有关问题

热度:3443   发布时间:2013-02-25 21:11:57.0
myeclipse启动tomcat6的问题
如题,我的MyEclipse之前启动配置的tomcat6一直好好的,不知道怎么回事,第二天启动的时候就出问题了

tomcat6在eclipse中能正常启动,http://localhost:8802正常访问,但是就是不能访问项目,例如我有个项目MPMS,
http://localhost:8802/MPMS 访问的时候一片空白,也不报错。

但是我直接启动tomcat6的话,一切正常。 求各路高手前来帮忙!!

tomcat6在MyEclipse启动的进程如下:

2012-9-7 16:20:22 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_12\bin;C:\Tomcat 6.0\bin
2012-9-7 16:20:22 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8802
2012-9-7 16:20:22 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1522 ms
2012-9-7 16:20:23 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2012-9-7 16:20:23 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.18
_________timeDate = Sat Sep 08 08:00:00 CST 2012
- Loading chain catalog from jar:file:/C:/Tomcat%206.0/webapps/MPMS/WEB-INF/lib/struts-core-1.3.8.jar!/org/apache/struts/chain/chain-config.xml
- Starting: DWRServlet v3.0.0.116.rc1 on Apache Tomcat/6.0.18 / JDK 1.6.0_12 from Sun Microsystems Inc. at /MPMS
- Deprecated public id in dwr.xml. Use: <!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 3.0//EN" "http://getahead.org/dwr//dwr30.dtd">
2012-9-7 16:20:31 org.apache.catalina.startup.HostConfig deployWAR
信息: Deploying web application archive axis2.war
[INFO] Clustering has been disabled
[INFO] Deploying module: addressing-1.5.1 - file:/C:/Tomcat 6.0/webapps/axis2/WEB-INF/modules/addressing-1.5.1.mar
[INFO] Deploying module: jaxws-1.5.1 - file:/C:/Tomcat 6.0/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.5.1.mar
[INFO] Deploying module: script-1.5.1 - file:/C:/Tomcat 6.0/webapps/axis2/WEB-INF/modules/axis2-scripting-1.5.1.mar
[INFO] Deploying module: metadataExchange-1.5.1 - file:/C:/Tomcat 6.0/webapps/axis2/WEB-INF/modules/mex-1.5.1.mar
[INFO] Deploying module: mtompolicy-1.5.1 - file:/C:/Tomcat 6.0/webapps/axis2/WEB-INF/modules/mtompolicy-1.5.1.mar
[INFO] Deploying module: ping-1.5.1 - file:/C:/Tomcat 6.0/webapps/axis2/WEB-INF/modules/ping-1.5.1.mar
[INFO] Deploying module: soapmonitor-1.5.1 - file:/C:/Tomcat 6.0/webapps/axis2/WEB-INF/modules/soapmonitor-1.5.1.mar
[INFO] Deploying module: metadataExchange-1.5.1-impl - file:/C:/Tomcat 6.0/webapps/axis2/WEB-INF/lib/mex-1.5.1-impl.jar
[INFO] Deploying Web service: ManagerUserService.aar - file:/C:/Tomcat 6.0/webapps/axis2/WEB-INF/services/ManagerUserService.aar
[INFO] Deploying Web service: version-1.5.1.aar - file:/C:/Tomcat 6.0/webapps/axis2/WEB-INF/services/version-1.5.1.aar
2012-9-7 16:20:40 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8802
2012-9-7 16:20:40 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2012-9-7 16:20:41 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/63 config=null
2012-9-7 16:20:41 org.apache.catalina.startup.Catalina start
信息: Server startup in 18098 ms

------解决方案--------------------------------------------------------
你的index.jsp是不是就是空白页
------解决方案--------------------------------------------------------
直接启动tomcat6的话,访问路径也是http://localhost:8802么
是不是你的欢迎页面没有设好?
------解决方案--------------------------------------------------------
http://localhost:8802/这个启动正常吗?是不是要设置tomcat的server.xml
------解决方案--------------------------------------------------------
Deprecated public id in dwr.xml. Use: <!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 3.0//EN" "http://getahead.org/dwr//dwr30.dtd">
参考这个试试:
  相关解决方案