首页 > 系统服务 > 详细

linux tomcat 汤姆凯特

时间:2014-12-22 00:57:34      阅读:588      评论:0      收藏:0      [点我收藏+]
IEDA 启动不了 tomcat .

Application Server was not connected before run configuration stop, reason:
Unable to ping server at localhost:1099

原因是我tomcat 环境没有配置好.没有指定JAVA_HOME和TOMCAT_HOME


在start.sh 中添加好JAVA_HOME 之后.
JAVA_HOME=/usr/local/jdk1.8.0_25
PATH=$JAVA_HOME/bin:$PATH
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
TOMCAT_HOME=/home/MySoft/apache-tomcat-7.0.57

Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program


cannot find bin setclasspath sh this file is needed to run this program

在  bin/setclasspath.sh  添加你的JAVA_HOME
 直接执行的话
Cannot find /Home/apache-tomcat-7.0.57/bin/setclasspath.sh
This file is needed to run this program
 

使用 $sudo 执行即可


linux tomcat 汤姆凯特

原文:http://my.oschina.net/u/1394615/blog/359047

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!