| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 736 人关注过本帖
标题:请高手指教,启动tomcat出错!
只看楼主 加入收藏
angelpkj
Rank: 1
等 级:新手上路
帖 子:54
专家分:0
注 册:2008-7-3
结帖率:100%
收藏
 问题点数:0 回复次数:1 
请高手指教,启动tomcat出错!
2010-3-30 11:09:51 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performanc
e in production environments was not found on the java.library.path: C:\Program
Files\Java\jdk1.6.0_07\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WIND
OWS;e:\oracle\ora90\bin;e:\oracle\ora90\Apache\Perl\5.00503\bin\mswin32-x86;C:\P
rogram Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syst
em32\Wbem;C:\Sybase\shared;C:\Program Files\Common Files\Thunder Network\KanKan\
Codecs
2010-3-30 11:09:51 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8090
2010-3-30 11:09:51 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8096
2010-3-30 11:09:51 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 612 ms
2010-3-30 11:09:51 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2010-3-30 11:09:51 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.18
2010-3-30 11:09:52 org.apache.catalina.session.StandardManager doLoad
严重: IOException while loading persisted sessions:

        at (ObjectInputStream
.java:2281)
        at (ObjectInputS
tream.java:2750)
        at (ObjectInputStream.java:780
)
        at (ObjectInputStream.java:280)
        at org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectI
nputStream.java:58)
        at org.apache.catalina.session.StandardManager.doLoad(StandardManager.ja
va:362)
        at org.apache.catalina.session.StandardManager.load(StandardManager.java
:321)
        at org.apache.catalina.session.StandardManager.start(StandardManager.jav
a:637)
        at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:
438)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
271)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:926)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:889)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
16)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2010-3-30 11:09:52 org.apache.catalina.session.StandardManager start
严重: Exception loading sessions from persistent storage

        at (ObjectInputStream
.java:2281)
        at (ObjectInputS
tream.java:2750)
        at (ObjectInputStream.java:780
)
        at (ObjectInputStream.java:280)
        at org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectI
nputStream.java:58)
        at org.apache.catalina.session.StandardManager.doLoad(StandardManager.ja
va:362)
        at org.apache.catalina.session.StandardManager.load(StandardManager.java
:321)
        at org.apache.catalina.session.StandardManager.start(StandardManager.jav
a:637)
        at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:
438)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
271)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:926)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:889)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
16)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
- Unable to find required classes (javax.activation.DataHandler and javax.mail.i
nternet.MimeMultipart). Attachment support is disabled.
- Unable to find required classes (javax.activation.DataHandler and javax.mail.i
nternet.MimeMultipart). Attachment support is disabled.
2010-3-30 11:09:58 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8090
2010-3-30 11:09:58 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8096
2010-3-30 11:09:58 org.apache. init
信息: JK: ajp13 listening on /0.0.0.0:8009
2010-3-30 11:09:58 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/20  config=null
2010-3-30 11:09:58 org.apache.catalina.startup.Catalina start
信息: Server startup in 6391 ms

请高手告诉我什么错误!怎么解决!谢谢
搜索更多相关主题的帖子: 指教 tomcat 
2010-03-30 11:20
baifenghan
Rank: 8Rank: 8
等 级:贵宾
威 望:10
帖 子:258
专家分:952
注 册:2006-3-17
收藏
得分:0 
,这个异常是由于某个配置文件是不全的,最简单的办法就是重新装一下tomcat。这个东西不大,几分钟就好了。
Unable to find required classes (javax.activation.DataHandler and javax.mail.i
nternet.MimeMultipart). Attachment support is disabled.
还有这里,你所需要的jar包也不全,记得不是把jar包完全拷贝到lib目录,只是外部引用的话,一定要配置classpath构建文件,否则是找不到的。
2010-04-02 20:18
快速回复:请高手指教,启动tomcat出错!
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.017574 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved