当前位置: 技术问答>java相关
各位大虾,为什么我的Tomcat启动不起来了?
来源: 互联网 发布时间:2015-01-01
本文导语: 好像是我的断口号被占用了!可是我查看了一下没有啊!昨天还是好好,不知为什么会这样?希望大虾帮忙,先谢了! | 在命令行里面执行 startup.bat 出现什么提示?,请将提示写出来。 ...
好像是我的断口号被占用了!可是我查看了一下没有啊!昨天还是好好,不知为什么会这样?希望大虾帮忙,先谢了!
|
在命令行里面执行 startup.bat 出现什么提示?,请将提示写出来。
|
jdk路径设置好吗,还有classpath
|
可能就是端口号,要不就是环境变量
|
Here's how I got Tomcat running on my Win98 machine: 1/ Install JDK1.3 in C:
2/ Download "jakarta-tomcat-4.0-b1.zip" and unzip it. Double click on "jakarta-tomcat-4.0-b1" folder and rename the "jakarta- tomcat-4.0-b1" subfolder to "Tomcat"
3/ Move "Tomcat" folder to C:
4/ Run DOS. Click on "Properties" button. In "Memory" tab, set the value for "initial environment" as 4096. Click on "OK". Close that DOS box and re-open another one
5/ cd to c:Tomcatbin. Type -> "set JAVA_HOME=C:/jdk1.3" ->
Hit "Enter"
6/ Type -> "set TOMCAT_HOME = c:Tomcat" -> Hit "enter" 7/ Type -> "startup" -> Hit "Enter"
8/ That's it.
Note:
You can have JDK and Tomcat installed in drive other than C: If that the case, change drive letter accordingly.
Good luck,
2/ Download "jakarta-tomcat-4.0-b1.zip" and unzip it. Double click on "jakarta-tomcat-4.0-b1" folder and rename the "jakarta- tomcat-4.0-b1" subfolder to "Tomcat"
3/ Move "Tomcat" folder to C:
4/ Run DOS. Click on "Properties" button. In "Memory" tab, set the value for "initial environment" as 4096. Click on "OK". Close that DOS box and re-open another one
5/ cd to c:Tomcatbin. Type -> "set JAVA_HOME=C:/jdk1.3" ->
Hit "Enter"
6/ Type -> "set TOMCAT_HOME = c:Tomcat" -> Hit "enter" 7/ Type -> "startup" -> Hit "Enter"
8/ That's it.
Note:
You can have JDK and Tomcat installed in drive other than C: If that the case, change drive letter accordingly.
Good luck,
|
你怎么查的端口号阿,你是不是装了jbuiler,而且还在运行servlet什么的,呵呵,要不,你用的是什么平台?nt下面的话,你运行startup.bat有新弹出一个窗口吗,要没有的话那问题可就多了,呵呵,说具体点阿