• Tomcat无法启动解决办法


    [2014-04-12 12:34:39] [error] [ 1080] 操作系统找不到已输入的环境选项。
    [2014-04-12 12:34:39] [error] [ 1052] Failed to start Java
    [2014-04-12 12:34:39] [error] [ 1052] ServiceStart returned 4
    [2014-04-12 12:34:39] [info]  [ 1088] Run service finished.
    [2014-04-12 12:34:39] [info]  [ 1088] Commons Daemon procrun finished
    [2014-04-12 12:35:10] [info]  [ 4460] Commons Daemon procrun (1.0.15.0 64-bit) started
    [2014-04-12 12:35:10] [info]  [ 4460] Running 'Tomcat7' Service...
    [2014-04-12 12:35:10] [info]  [ 3392] Starting service...
    [2014-04-12 12:35:10] [error] [  796] CreateJavaVM Failed
    [2014-04-12 12:35:10] [error] [  796] 操作系统找不到已输入的环境选项。
    [2014-04-12 12:35:10] [error] [ 3392] Failed to start Java
    [2014-04-12 12:35:10] [error] [ 3392] ServiceStart returned 4
    [2014-04-12 12:35:11] [info]  [ 4460] Run service finished.
    [2014-04-12 12:35:11] [info]  [ 4460] Commons Daemon procrun finished
    [2014-04-12 12:36:10] [info]  [ 5080] Commons Daemon procrun (1.0.15.0 64-bit) started
    [2014-04-12 12:36:10] [info]  [ 5080] Debugging 'Tomcat7' service...
    [2014-04-12 12:36:10] [info]  [ 5080] Starting service...
    [2014-04-12 12:36:11] [error] [ 1088] CreateJavaVM Failed
    [2014-04-12 12:36:11] [error] [ 1088] 操作系统找不到已输入的环境选项。
    [2014-04-12 12:36:11] [error] [ 5080] Failed to start Java
    [2014-04-12 12:36:11] [error] [ 5080] ServiceStart returned 4
    [2014-04-12 12:36:11] [info]  [ 5080] Debug service finished with exit code 4
    [2014-04-12 12:36:11] [error] [ 5080] Commons Daemon procrun failed with exit value: 3 (Failed to run service as console application)
    [2014-04-12 12:36:15] [info]  [ 1008] Commons Daemon procrun (1.0.15.0 64-bit) started
    [2014-04-12 12:36:16] [info]  [ 1008] Running 'Tomcat7' Service...
    [2014-04-12 12:36:16] [info]  [ 3076] Starting service...
    [2014-04-12 12:36:16] [error] [ 3424] CreateJavaVM Failed
    [2014-04-12 12:36:16] [error] [ 3424] 操作系统找不到已输入的环境选项。
    [2014-04-12 12:36:16] [error] [ 3076] Failed to start Java
    [2014-04-12 12:36:16] [error] [ 3076] ServiceStart returned 4
    [2014-04-12 12:36:16] [info]  [ 1008] Run service finished.
    [2014-04-12 12:36:16] [info]  [ 1008] Commons Daemon procrun finished
    解决办法:控制台进入tomcat/bin目录下,运行service.bat install,问题解决
    
    删除服务:service.bat  remove tomcat
  • 相关阅读:
    1月28日 layout_list_item
    1月27日 listview_MyListAdapter
    1月26日 listviewxml
    1月25日 textview
    1月24日 人月神话3
    体温填报(三)
    体温填报(二)
    体温填报(一)
    家庭记账本(六)
    家庭记账本(五)
  • 原文地址:https://www.cnblogs.com/zhangyongjian/p/3660306.html
Copyright © 2020-2023  润新知