Tomcat在win10下的重装问题

Blues
Blues 2018年03月27日

tomcat 在 win10 系统中假如装在 C 盘,很容易出现一些权限问题,在卸载时点击Uninstall.exe出现无法卸载的问题。简单的删除 tomcat 文件目录后,在重新安装时又无法安装出现如下错误:

'Failed to install Tomcat5 service.
Check your settings and permissions Ignore and
continue anyway(not recommended)!'

(该问题也有可能出现在对 tomcat 版本升级时发生)

问题出现的原因:简单的删除 tomcat 下的文件并不能完全完成对 tomcat 的卸载,残余的服务依然在系统中运行,导致重装失败。


问题解决办法:

  1. 用管理员权限打开 cmd,输入sc delete tomcat9(根据自己版本的填入 tomcat 版本号,例如我的为 tomcat9)
    该方法未出现失败情况。(注意:cmd 要用管理员权限执行)
  2. win+ r 组合键输入 regedit,打开注册表编辑器。找到 tomcat 的服务,删除后就可以完成安装。

tomcat.png

    Senaida
    Senaida  2019-08-20, 10:36

    Hey! I'm at work browsing your blog from my new iphone 3gs!
    Just wanted to say I love reading through your blog and look forward to all your posts!

    Keep up the fantastic work!

    Sophia
    Sophia  2019-08-19, 21:43

    Excellent blog post. I absolutely love this site.

    Thanks!

    game servers
    game servers  2019-07-11, 14:50

    I have read so many content regarding the blogger lovers but
    this paragraph is genuinely a fastidious article, keep it up.

    wedding car hire packages
    wedding car hire packages  2019-07-08, 07:19

    Pretty! This was a really wonderful post. Thank you for providing this info.

    Limo Hire Hampton Park
    Limo Hire Hampton Park  2019-06-28, 21:08

    After looking into a few of the blog posts on your website, I
    honestly like your way of writing a blog. I book-marked it to my bookmark site list and will be checking back in the near future.
    Please check out my website too and tell me
    your opinion.

    https://www.punkjuice.com
    https://www.punkjuice.com  2019-04-28, 06:46

    We are vеry excited tо ⅼet ʏоu know tһаt fօllowing everʏ one of yoսr requests, ᴡe hɑvе brouught
    in some fresh trully thrilling Malaysian eliquid brand names tⲟ ᧐ur boutique including CLOUD NINERS
    Eliquid Ӏf you would love toо review our e-liquid, рlease drop սs a line on https://instagram.com/punkjuicenow ᧐r https://facebook.com/punkjuicenow