Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tomcat service not running after installing XAMPP [closed]

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

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

  2. Using WinRAR I extracted all contents within it.

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

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

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

  6. 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.

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 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 

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?

like image 447
user1185396 Avatar asked Mar 06 '12 16:03

user1185396


People also ask

Why isn't my Tomcat server is not starting?

Most common issue with Tomcat note starting is that Java is not configured properly, user trying to start Tomcat does not have permissions to do so, or another program is using port 8080 on that server.

Why is Apache not starting with XAMPP?

If Apache cannot start, you won't be able to access your XAMPP dashboard or any sites you have installed on the platform. A port conflict may be the underlying problem. By default, Apache connects over port 80.

What should I do after installing XAMPP?

After the installation is complete, you will find XAMPP under Start | Programs | XAMPP. You can use the XAMPP Control Panel to start/stop all server and also install/uninstall services. The XAMPP control panel for start/stop Apache, MySQL, FileZilla & Mercury or install these server as services.


1 Answers

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.

like image 158
Gipsy Avatar answered Nov 03 '22 20:11

Gipsy