多谢!!已更正!!GOVO 写了:wget http://apache.freelamp.com/jakarta/tomc ... 5.9.tar.gz
已经失效。
具体文件移到了http://apache.freelamp.com/tomcat/bin/apache-tomcat-5.5.12.tar.gz
JSP环境设置
- firehare
- 帖子: 2625
- 注册时间: 2005-04-10 16:54
- 来自: 温州大学
- 联系:
-
- 帖子: 13
- 注册时间: 2005-12-02 16:50
firehare 写了:仔细看了你的提示,发现多了一个空格!kennycx 写了:root@ubuntu:~# /opt/tomcat/bin/startup.sh
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr/lib/j2sdk1.5-sun
root@ubuntu:~# /opt/tomcat/bin/shutdown.sh
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr/lib/j2sdk1.5-sun
/opt/tomcat/bin/catalina.sh: line 271: /usr/lib/j2sdk1.5-sun /bin/java: 没有那个文件或目录
启动没提示任何错误,但是无法访问,关闭tomcat的时候又出现没有文件或目录
呵呵,已解决,谢谢~~
上次由 kennycx 在 2005-12-08 21:07,总共编辑 1 次。
- yangcheng
- 帖子: 498
- 注册时间: 2005-09-27 18:24
- 来自: 杭州
-
- 帖子: 113
- 注册时间: 2005-03-27 17:11
- 系统: Linux Mint 14 Nadia
- 来自: Seattle, USA
- 联系:
- firehare
- 帖子: 2625
- 注册时间: 2005-04-10 16:54
- 来自: 温州大学
- 联系:
-
- 帖子: 38
- 注册时间: 2006-03-07 0:37
-
- 帖子: 38
- 注册时间: 2006-03-07 0:37
- Hamtaro
- 帖子: 308
- 注册时间: 2005-04-15 5:59
感谢楼主提供的方法
按照楼主提供的方法,我的配置出现了这个错误
按照楼主提供的方法,我的配置出现了这个错误
使用export命令才解决hamtaro@abao:/opt/tomcat/bin$ sh startup.sh
Cannot find /home/tomcat/bin/setclasspath.sh
This file is needed to run this program
运行 setclasspath.sh 后出现:
hamtaro@abao:/opt/tomcat/bin$ ./setclasspath.sh
The BASEDIR environment variable is not defined
This environment variable is needed to run this program
希望对和我碰到一样错误的朋友有点帮助hamtaro@abao:/opt/tomcat/bin$ export CATALINA_HOME=/opt/tomcat/
AMD Althon64X2 Dual Core Processor 5000+
Jetway Hammar A770
Segate SATA 160G + Segate ATA 80G
Geil DDR2-800 2048 MB
AOC2016SW 1650x1050 with Geforce 9600GT
Windows XP sp3 & ubuntu 10.10
Jetway Hammar A770
Segate SATA 160G + Segate ATA 80G
Geil DDR2-800 2048 MB
AOC2016SW 1650x1050 with Geforce 9600GT
Windows XP sp3 & ubuntu 10.10
-
- 帖子: 32
- 注册时间: 2006-05-15 17:33
Re: JSP环境设置
怎么我输入:firehare 写了: 1、首先要确保安装相关的软件
$sudo apt-get install gcc autoconf sun-j2sdk1.5
sudo apt-get install gcc autoconf sun-j2sdk1.5
却出现如下提示啊:
shiming@huang:~$ sudo apt-get install gcc autoconf sun-j2sdk1.5
E: 无法获得锁 /var/lib/dpkg/lock - open (11 资源暂时不可用)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
请教一下,还有其它一下载地址吗?
--
- firehare
- 帖子: 2625
- 注册时间: 2005-04-10 16:54
- 来自: 温州大学
- 联系:
Re: JSP环境设置
你打开了新立得或其他包管理程序。shiming 写了:怎么我输入:firehare 写了: 1、首先要确保安装相关的软件
$sudo apt-get install gcc autoconf sun-j2sdk1.5
sudo apt-get install gcc autoconf sun-j2sdk1.5
却出现如下提示啊:
shiming@huang:~$ sudo apt-get install gcc autoconf sun-j2sdk1.5
E: 无法获得锁 /var/lib/dpkg/lock - open (11 资源暂时不可用)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
请教一下,还有其它一下载地址吗?
--
我心无畏,源自于我心无知。

