tomcat启动错误!高分求助!

pinkoo 2004-04-29 06:49:02
目录:webapp\smop
------------------------------------------
tomcat5.0启动信息:

2004-4-29 18:39:28 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on port 8080
2004-4-29 18:39:29 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on port 8100
2004-4-29 18:39:29 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 7301 ms
2004-4-29 18:39:29 org.apache.catalina.realm.JAASRealm setContainer
信息: Setting JAAS app name Catalina
2004-4-29 18:39:29 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2004-4-29 18:39:29 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.0.16
2004-4-29 18:39:30 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2004-4-29 18:39:34 org.apache.catalina.core.StandardContext listenerStart
严重: Skipped installing application listeners due to previous error(s)
2004-4-29 18:39:34 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2004-4-29 18:39:34 org.apache.catalina.core.StandardContext start
严重: Context startup failed due to previous errors
2004-4-29 18:39:35 org.apache.catalina.core.StandardHost getDeployer
信息: Create Host deployer for direct deployment ( non-jmx )
2004-4-29 18:39:35 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /helloapp from URL file:D:\tomcat\webapps\helloapp
2004-4-29 18:39:36 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on port 8080
2004-4-29 18:39:37 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on port 8100
2004-4-29 18:39:37 org.apache.catalina.startup.Catalina start
信息: Server startup in 7550 ms

----------------------------------------------------
server.xml中的context部分:

<Context path="/smop" docBase="smop" debug="1" crossContext="true" reloadable="true" />
---------------------------
WEV-INF\web.xml

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>

<listener>
<listener-class>com.huawei.smop.listeners.SmopSessionListener</listener-class>
</listener>

<servlet>
<servlet-name>smop</servlet-name>
<servlet-class>org.apache.turbine.Turbine</servlet-class>
<init-param>
<param-name>applicationRoot</param-name>
<param-value>webContext</param-value>
</init-param>
<init-param>
<param-name>properties</param-name>
<param-value>/WEB-INF/conf/smop.properties</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>smop</servlet-name>
<url-pattern>/smop/servlet/smop/*</url-pattern>
</servlet-mapping>

<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/smop</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>

</web-app>



救命啊!!!!!!!!!!!!!!!!

...全文
37 4 点赞 打赏 收藏 举报
写回复
4 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
pinkoo 2004-04-30
谢谢各位了!

CoolAbu(阿卜-Never Stop(★★★★)) 兄说的对!

结帐!
  • 打赏
  • 举报
回复
duan123 2004-04-29
你的web.xml的标签顺序不对


lister 在servlet后
  • 打赏
  • 举报
回复
CoolAbu 2004-04-29
com.huawei.smop.listeners.SmopSessionListener
你这个类文件是在WEB-INF\classes\com\huawei\smop\listeners文件夹下么?

如果不行,你换一个TOmcat4.19试试
  • 打赏
  • 举报
回复
stonecsdn 2004-04-29
我也遇到过这中错误,呵呵,不知到是不是tomcat5.0的配置问题
  • 打赏
  • 举报
回复
相关推荐
发帖
Web 开发
加入

8.0w+

社区成员

Java Web 开发
申请成为版主
帖子事件
创建了帖子
2004-04-29 06:49
社区公告
暂无公告