tomcat启动问题

回复 收藏
本帖最后由 xf2008 于 2016-3-21 18:42 编辑

http://www.bt.com/static/image/common/logo.png启动tomcat时出现一下错误,但setclasspath.sh这个文件存在权限也正确
Cannot find /etc/bin/setclasspath.sh
This file is needed to run this program
在启动浏览器出现
QQ图片20160316165955.png


INFO: Deployment of web application directory /usr/local/tomcat/webapps/manager has finished in 132 ms
Mar 16, 2016 1:32:33 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/local/tomcat/webapps/examples
Mar 16, 2016 1:32:33 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /usr/local/tomcat/webapps/examples has finished in 379 ms
Mar 16, 2016 1:32:33 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/local/tomcat/webapps/host-manager
Mar 16, 2016 1:32:33 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /usr/local/tomcat/webapps/host-manager has finished in 141 ms
Mar 16, 2016 1:32:33 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/local/tomcat/webapps/ROOT
Mar 16, 2016 1:32:33 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /usr/local/tomcat/webapps/ROOT has finished in 64 ms
Mar 16, 2016 1:32:33 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1287 ms
Mar 16, 2016 1:32:33 AM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[localhost:8005]:
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
        at java.net.ServerSocket.bind(ServerSocket.java:375)
        at java.net.ServerSocket.(ServerSocket.java:237)
        at org.apache.catalina.core.StandardServer.await(StandardServer.java:426)
        at org.apache.catalina.startup.Catalina.await(Catalina.java:781)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:727)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:428)
Mar 16, 2016 1:32:33 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8080"]
Mar 16, 2016 1:32:33 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
Mar 16, 2016 1:32:33 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Mar 16, 2016 1:32:33 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8080"]
Mar 16, 2016 1:32:33 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8080"]
Mar 16, 2016 1:32:33 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
Mar 16, 2016 1:32:33 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-bio-8009"]



2016-03-16 17:02 举报
已邀请:
0

乐橙306

赞同来自:

1.麻烦 贴出   tomcat  log日志信息   

2.麻烦 贴出  你安装tomcat 的步骤   

3.这是我的tomcat安装过程  可参考
2015.12.7   tomcat单机多实例
http://note.youdao.com/share/?id=476e79d5b26984cacc22c81c50c221da&type=note
0

心怡呆呆

赞同来自:

楼上你的分享过期了,求最新的地址
0

hazhuer

赞同来自:

检查下的你的java的版本   跟你环境变量和tomcat中定义的是不是一致的   

回复帖子,请先登录注册

退出全屏模式 全屏模式 回复
评分
可选评分理由: