I installed XAMPP 1.7.7, including:
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).
My all other services work expect for Tomcat.
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".
But still its not getting started.
Any help would be appreciated.
Regards Zeeshan
Assuming windows os,
Step 1. Create/edit an environment variable JAVA_HOME with path to jdk (important:- not to \bin but just c:\java\jdk_1_7_0 and dont put semicolon at the end).
step 2. Create/edit an environment variable JRE_HOME with path to jre (important:- again not to \bin but just the folder where bin is located and no semicolon in the end).
step 3. Create/edit an environment variable path that should be added like this,< all the previous path stuff's >;%JAVA_HOME%/bin;.;
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.
Also, the your version of xampp have disabled the users by default. Enable it by un-commenting the user part in the x:\xampp\tomcat\conf\tomcat-users.xml
You need to execute manually following bat file c:\xampp\catalina_start
or
put
catalina_start , catalina_stop
in XAMPP control panel start up
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With