安装 XAMPP 后 Tomcat 服务未运行 [英] Tomcat service not running after installing XAMPP

查看:37
本文介绍了安装 XAMPP 后 Tomcat 服务未运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已按照以下步骤在 Windows 7 Home(64 位)中安装 XAMPP 1.7.7

I have followed the following steps to install XAMPP 1.7.7 in Windows 7 Home(64-bit)

  1. 我下载的是 ZIP 文件而不是 EXE 文件,并将其保存到下载"文件夹中.

  1. I downloaded the ZIP file instead of the the EXE file, and saved it to the "Downloads" folder.

我使用 WinRAR 提取了其中的所有内容.

Using WinRAR I extracted all contents within it.

解压 ZIP 文件后,我将新创建的xampp"文件夹从下载"移动到C:\"

After extracting the ZIP file, I moved the newly created "xampp" folder from "Downloads" to "C:\"

接下来,我关闭了用户帐户控制 (UAC).

Next, I turned off the User Account Control (UAC).

然后,导航到C:\xampp"并创建桌面的快捷方式.

Then, navigated to "C:\xampp" and created a shortcut to the Desktop.

运行新的 XAMPP Control Desktop 快捷方式并启动"MySQL、Apache 和 Tomcat 的快捷方式.对于 MySQL 和 Apache,我看到一个绿色的正在运行"指示器.但是,对于 Tomcat 而言,什么也没有.日志显示 Tomcat 已在端口 8080 上启动,但实际上并非如此,我也没有看到绿色的正在运行"指示器.

Ran the new XAMPP Control Desktop shortcut and "Start"ed the ones for MySQL, Apache and Tomcat. For, MySQL, Apache I see a green "Running" indicator. However, for Tomcat NOTHING. The log shows that Tomcat has started on port 8080, but in reality it is not and I am not seeing green "Running" indicator.

当我打开 Web 浏览器并输入 http://localhost 时,我会看到 XAMPP 启动画面.但是,如果我尝试使用 http://localhost:8080,它会显示无法连接".如果我转到 Tomcat 状态,我会看到:

When I open up Web Browser, and type in http://localhost I see the XAMPP splash screen. But, if I try with http://localhost:8080, it shows "unable to connect". If I go to Tomcat Status I see:

XAMPP 状态此页面为您提供了一个页面,用于查看有关哪些内容正在运行、哪些工作正常以及哪些内容不工作的所有信息.

XAMPP Status This page offers you one page to view all information about what's running and working, and what isn't working.

MySQL database                   ACTIVATED      
    PHP                          ACTIVATED      
    HTTPS (SSL)                  ACTIVATED      
    Common Gateway Interface (CGI)   ACTIVATED      
    Server Side Includes (SSI)   ACTIVATED      
    SMTP Service                   DEACTIVATED      
    FTP Service                DEACTIVATED      
    Tomcat Service                 DEACTIVATED 

为什么 Tomcat 被停用?我试图用 .EXE 文件安装 XAMPP 1.7.7 并且发生了同样的事情.我该如何解决这个问题?

Why is Tomcat DEACTIVATED? I have tried to install XAMPP 1.7.7 with .EXE file and the same thing happens. How can I fix this?

推荐答案

由于某种原因,您的 xampp 应用程序无法运行 calatina_start 批处理文件.转到 c:\xampp\tomcat\ 按catalina_start",它将为您启动批处理文件,然后如果您再次检查 localhost 上的状态,它将显示 tomcat 服务已激活,您可以加载 localhost:8080.但我不知道为什么它不能自动与 xampp 一起运行.希望这可以帮助.如果你想出其他的东西,请告诉我.

For some reason your xampp app can't run the calatina_start batch file. Go to c:\xampp\tomcat\ press "catalina_start", it will start the batch file for you and then if you check the status on localhost again it will show you that tomcat service is activated and you can load localhost:8080. But i don't know the reason why it doesn't run with xampp automatically. Hope this helps. If you figure out something else, let me know.

这篇关于安装 XAMPP 后 Tomcat 服务未运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆