启动 Tomcat 附加 XAMPP 不工作 [英] Starting Tomcat add-on XAMPP not working
问题描述
我安装了 XAMPP 1.7.7,包括:
I installed XAMPP 1.7.7, including:
阿帕奇 2.2.21MySQL 5.5.16PHP 5.3.8phpMyAdmin 3.4.5FileZilla FTP 服务器 0.9.39Tomcat 7.0.21(以 mod_proxy_ajp 作为连接器).
Apache 2.2.21 MySQL 5.5.16 PHP 5.3.8 phpMyAdmin 3.4.5 FileZilla FTP Server 0.9.39 Tomcat 7.0.21 (with mod_proxy_ajp as connector).
我的所有其他服务都适用于 Tomcat.
My all other services work expect for Tomcat.
我现在做的事情是解决这个问题:我意识到我的计算机上没有 java,因为在命令提示符下没有 java 的路径.所以我安装了 JAVA 1.7.0 并设置了环境路径".
Things that I did right now, to fix this: I realized that I did not had java on my computer, as on command prompt there was no path for java. So I installed JAVA 1.7.0 and also set the "Environment path".
但它仍然没有开始.
任何帮助将不胜感激.
问候泽山
推荐答案
假设windows操作系统,
Assuming windows os,
步骤 1. 创建/编辑带有 jdk 路径的环境变量 JAVA_HOME
(重要:- 不是 in
,而只是 c:javajdk_1_7_0
并且不要在末尾放分号).
Step 1. Create/edit an environment variable JAVA_HOME
with path to jdk (important:- not to in
but just c:javajdk_1_7_0
and dont put semicolon at the end).
步骤 2. 创建/编辑环境变量 JRE_HOME
与 jre 的路径(重要:- 再次不是 in
,而只是 所在的文件夹>bin
已定位,末尾没有分号).
step 2. Create/edit an environment variable JRE_HOME
with path to jre (important:- again not to in
but just the folder where bin
is located and no semicolon in the end).
步骤 3. 创建/编辑环境变量 path
应该像这样添加,
<代码><所有以前的路径东西的>;%JAVA_HOME%/bin;.;
step 3. Create/edit an environment variable path
that should be added like this,
< all the previous path stuff's >;%JAVA_HOME%/bin;.;
xampp tomcat 单独查找 %JAVA_HOME%
或 %JRE_HOME%
,因此只需设置 path
和 classpath
变量,直到 bin
文件夹,在这里都不起作用.它仅适用于标准 Apache Tomcat.
The xampp tomcat looks for %JAVA_HOME%
or %JRE_HOME%
individually, so just setting the path
and classpath
variables, up to the bin
folder, will not work here. It works for standard Apache tomcat only.
此外,您的 xampp 版本默认已禁用用户.通过取消注释 x:xampp omcatconf omcat-users.xml
Also, the your version of xampp have disabled the users by default. Enable it by un-commenting the user part in the x:xampp omcatconf omcat-users.xml
这篇关于启动 Tomcat 附加 XAMPP 不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!