---
title: "Unable to open the Service tomcat的解决之道"
author: "pavel"
date: "2011-04-06T13:59:10Z"
tags: ["Tomcat"]
categories: ["编程语言"]
slug: "unable-to-open-the-service-tomcat"
draft: false
lastmod: "2011-04-06T13:59:10Z"
id: 987479
url: "https://pavel.iteye.com/blog/987479"
---

新下载的Tomcat6.0 解压缩完了运行tomcat6.exe屏幕一闪就没了 运行tomcat6w.exe弹出个筐 指定的服务并未以已安装的服务存在 Unable to open the Service 'tomcat6' 我安装了tomcat5，双击startup.bat可以正常启动Tomcat，也可以显示http://localhost:8080/，但是双击tomcat6w.exe却出现"指定的服务并未以已安装的服务存在","Unable to open the service"Tomcat6"。 后来找到了原因，原来是没有安装此项服务。具体安装方法：打开命令行提示符窗口 =&gt; 进入Tomcat安装目录==&gt; 进入bin目录下==&gt; 输入：service.bat install 即可 直接到目录点击这个bat会不会也可以？经过验证：不可以