+ -
当前位置:首页 → 问答吧 → 急!急!我的Apache Tomcat 6.0为什么一运行startup.bat就一闪而过,启动不了?

急!急!我的Apache Tomcat 6.0为什么一运行startup.bat就一闪而过,启动不了?

时间:2010-03-02

来源:互联网

我的tomcat是6.0的。前两天朋友给我发了个网站我启动是没问题的。可这两天怎么也启动不了。这两天我装过一个开发wap的软件。以为是这个原因可卸载了也不行。网上的办法都试了。重装过,环境变量重配置过且也用java程序调试通过。service.xml也从同学电脑上拷来覆盖过。真是没办法了。下面是logs文件夹里的信息。请高手看看是什么原因?谢谢。
2010-03-02 17:48:42] [info] Procrun (2.0.4.0) started
[2010-03-02 17:48:42] [info] Service Tomcat6 name Apache Tomcat
[2010-03-02 17:48:42] [info] Service Tomcat6 installed
[2010-03-02 17:48:42] [info] Procrun finished.
[2010-03-02 17:48:50] [info] Procrun (2.0.4.0) started
[2010-03-02 17:48:50] [info] Running Service...
[2010-03-02 17:48:50] [info] Starting service...
[2010-03-02 17:48:50] [1030 prunsrv.c] [error] Failed setting process executable 
[2010-03-02 17:48:50] [1269 prunsrv.c] [error] ServiceStart returned 2
[2010-03-02 17:48:50] [info] Run service finished.
[2010-03-02 17:48:50] [info] Procrun finished.
[2010-03-02 17:48:59] [info] Procrun (2.0.4.0) started
[2010-03-02 17:48:59] [info] Running Service...
[2010-03-02 17:48:59] [info] Starting service...
[2010-03-02 17:48:59] [1030 prunsrv.c] [error] Failed setting process executable 
[2010-03-02 17:48:59] [1269 prunsrv.c] [error] ServiceStart returned 2
[2010-03-02 17:48:59] [info] Run service finished.
[2010-03-02 17:48:59] [info] Procrun finished.
[2010-03-02 17:49:48] [info] Procrun (2.0.4.0) started
[2010-03-02 17:49:48] [info] Debugging Service...
[2010-03-02 17:49:48] [info] Starting service...
[2010-03-02 17:49:48] [1030 prunsrv.c] [error] Failed setting process executable 
[2010-03-02 17:49:48] [1269 prunsrv.c] [error] ServiceStart returned 2
[2010-03-02 17:49:48] [info] Debug service finished.
[2010-03-02 17:49:48] [info] Procrun finished.
[2010-03-02 17:49:56] [info] Procrun (2.0.4.0) started
[2010-03-02 17:49:56] [info] Debugging Service...
[2010-03-02 17:49:56] [info] Starting service...
[2010-03-02 17:49:56] [1030 prunsrv.c] [error] Failed setting process executable 
[2010-03-02 17:49:56] [1269 prunsrv.c] [error] ServiceStart returned 2
[2010-03-02 17:49:56] [info] Debug service finished.
[2010-03-02 17:49:56] [info] Procrun finished.
[2010-03-02 17:50:43] [info] Procrun (2.0.4.0) started
[2010-03-02 17:50:43] [info] Running Service...
[2010-03-02 17:50:43] [info] Starting service...
[2010-03-02 17:50:43] [1030 prunsrv.c] [error] Failed setting process executable 
[2010-03-02 17:50:43] [1269 prunsrv.c] [error] ServiceStart returned 2
[2010-03-02 17:50:43] [info] Run service finished.
[2010-03-02 17:50:43] [info] Procrun finished.
[2010-03-02 17:57:58] [info] Procrun (2.0.4.0) started
[2010-03-02 17:57:58] [info] Running Service...
[2010-03-02 17:57:58] [info] Starting service...
[2010-03-02 17:57:58] [1030 prunsrv.c] [error] Failed setting process executable 
[2010-03-02 17:57:58] [1269 prunsrv.c] [error] ServiceStart returned 2
[2010-03-02 17:57:58] [info] Run service finished.
[2010-03-02 17:57:58] [info] Procrun finished.
[2010-03-02 17:58:03] [info] Procrun (2.0.4.0) started
[2010-03-02 17:58:03] [info] Running Service...
[2010-03-02 17:58:03] [info] Starting service...
[2010-03-02 17:58:03] [1030 prunsrv.c] [error] Failed setting process executable 
[2010-03-02 17:58:03] [1269 prunsrv.c] [error] ServiceStart returned 2
[2010-03-02 17:58:03] [info] Run service finished.
[2010-03-02 17:58:03] [info] Procrun finished.
[2010-03-02 18:00:04] [info] Procrun (2.0.4.0) started
[2010-03-02 18:00:04] [info] Debugging Service...
[2010-03-02 18:00:04] [info] Starting service...
[2010-03-02 18:00:04] [1030 prunsrv.c] [error] Failed setting process executable 
[2010-03-02 18:00:04] [1269 prunsrv.c] [error] ServiceStart returned 2
[2010-03-02 18:00:05] [info] Debug service finished.
[2010-03-02 18:00:05] [info] Procrun finished.
[2010-03-02 18:00:44] [info] Procrun (2.0.4.0) started
[2010-03-02 18:00:44] [info] Running Service...
[2010-03-02 18:00:44] [info] Starting service...
[2010-03-02 18:00:44] [1030 prunsrv.c] [error] Failed setting process executable 
[2010-03-02 18:00:44] [1269 prunsrv.c] [error] ServiceStart returned 2
[2010-03-02 18:00:44] [info] Run service finished.
[2010-03-02 18:00:44] [info] Procrun finished.
[2010-03-02 18:02:08] [info] Procrun (2.0.4.0) started
[2010-03-02 18:02:08] [info] Running Service...
[2010-03-02 18:02:08] [info] Starting service...
[2010-03-02 18:02:08] [1030 prunsrv.c] [error] Failed setting process executable 
[2010-03-02 18:02:08] [1269 prunsrv.c] [error] ServiceStart returned 2
[2010-03-02 18:02:08] [info] Run service finished.
[2010-03-02 18:02:08] [info] Procrun finished.
[2010-03-02 18:07:10] [info] Procrun (2.0.4.0) started
[2010-03-02 18:07:10] [info] Running Service...
[2010-03-02 18:07:10] [info] Starting service...
[2010-03-02 18:07:10] [1030 prunsrv.c] [error] Failed setting process executable 
[2010-03-02 18:07:10] [1269 prunsrv.c] [error] ServiceStart returned 2
[2010-03-02 18:07:10] [info] Run service finished.
[2010-03-02 18:07:10] [info] Procrun finished.
[2010-03-02 20:09:35] [info] Procrun (2.0.4.0) started
[2010-03-02 20:09:35] [info] Running Service...
[2010-03-02 20:09:35] [info] Starting service...
[2010-03-02 20:09:35] [1030 prunsrv.c] [error] Failed setting process executable 
[2010-03-02 20:09:35] [1269 prunsrv.c] [error] ServiceStart returned 2
[2010-03-02 20:09:35] [info] Run service finished.
[2010-03-02 20:09:35] [info] Procrun finished.
[2010-03-02 20:09:41] [info] Procrun (2.0.4.0) started
[2010-03-02 20:09:41] [info] Running Service...
[2010-03-02 20:09:41] [info] Starting service...
[2010-03-02 20:09:41] [1030 prunsrv.c] [error] Failed setting process executable 
[2010-03-02 20:09:41] [1269 prunsrv.c] [error] ServiceStart returned 2
[2010-03-02 20:09:41] [info] Run service finished.
[2010-03-02 20:09:41] [info] Procrun finished.
[2010-03-02 20:10:29] [info] Procrun (2.0.4.0) started
[2010-03-02 20:10:29] [info] Running Service...
[2010-03-02 20:10:29] [info] Starting service...
[2010-03-02 20:10:29] [1030 prunsrv.c] [error] Failed setting process executable 
[2010-03-02 20:10:29] [1269 prunsrv.c] [error] ServiceStart returned 2
[2010-03-02 20:10:29] [info] Run service finished.
[2010-03-02 20:10:29] [info] Procrun finished.
[2010-03-02 20:15:26] [info] Procrun (2.0.4.0) started
[2010-03-02 20:15:26] [info] Debugging Service...
[2010-03-02 20:15:26] [info] Starting service...
[2010-03-02 20:15:26] [1030 prunsrv.c] [error] Failed setting process executable 
[2010-03-02 20:15:26] [1269 prunsrv.c] [error] ServiceStart returned 2
[2010-03-02 20:15:26] [info] Debug service finished.
[2010-03-02 20:15:26] [info] Procrun finished.
[2010-03-02 20:16:02] [info] Procrun (2.0.4.0) started
[2010-03-02 20:16:02] [info] Running Service...
[2010-03-02 20:16:02] [info] Starting service...
[2010-03-02 20:16:02] [1030 prunsrv.c] [error] Failed setting process executable 
[2010-03-02 20:16:02] [1269 prunsrv.c] [error] ServiceStart returned 2
[2010-03-02 20:16:02] [info] Run service finished.
[2010-03-02 20:16:02] [info] Procrun finished.
[2010-03-02 20:30:54] [info] Procrun (2.0.4.0) started
[2010-03-02 20:30:54] [info] Running Service...
[2010-03-02 20:30:54] [info] Starting service...
[2010-03-02 20:30:54] [1030 prunsrv.c] [error] Failed setting process executable 
[2010-03-02 20:30:54] [1269 prunsrv.c] [error] ServiceStart returned 2
[2010-03-02 20:30:54] [info] Run service finished.
[2010-03-02 20:30:54] [info] Procrun finished.

作者: YD97513   发布时间: 2010-03-02

不是这个东东启动tomcat,具体的我暂时不知道

作者: guochaojun   发布时间: 2010-03-10

环境变量配置错误导致的

作者: liuwenjunssh   发布时间: 2010-03-10

楼主的问题解决了没,我的也是这样,我用的是6.x的,你知道答案了,麻烦告诉我下,我的QQ:313579845.谢谢了

作者: suhuisuli   发布时间: 2010-03-14

[2010-03-02 17:48:50] [1030 prunsrv.c] [error] Failed setting process executable
[2010-03-02 17:48:50] [1269 prunsrv.c] [error] ServiceStart returned 2

作者: liucy1983   发布时间: 2010-03-15

该回复于2010-03-17 07:43:59被版主删除

  • 对我有用[0]
  • 丢个板砖[0]
  • 引用
  • 举报
  • 管理
  • TOP
#6楼 得分:0回复于:2010-03-29 20:13:27
配置文件里有一个内存设置,好像有关系

作者: qqq_525093551   发布时间: 2010-03-16

我新装的tombat6,也是一闪就过,不过我配了JAVA_HOME,CATALINA_HOME ,CATALINA_BASE三个环境变量就好了,你试试吧

作者: hebeiliuzhao0909   发布时间: 2010-03-29