0

hey there,
I am trying to set up tomcat on my computer (I am so new to this, I am not even sure I am explaining my problem correctly.)

I was told to install XAMPP. I did using the installer that appache's web site offers. It says that the installer installs tomcat too. I can see the tomcat folder inside my XAMPP folder, but when I check for status on localhost index page, I see 'tomcat deactivated'. and when I check for status under J2EE section I see the following:

Warning! Tomcat is not started on port 8080.

one of the links in this page is: http://127.0.0.1:8080/. when I click on it, the page that comes up says: Firefox can't establish a connection to the server at 127.0.0.1:8080.

What is wrong? what am I missing. I kindly ask you to help me. thank you in advance!

5
Contributors
5
Replies
14
Views
6 Years
Discussion Span
Last Post by mahadeb
0

alright, I have my issue solved. the problem was:
after runing startup.bat (because I assumed the cmd windows should close itself), I'd assume that something was wrong since the cmd would not close, and I'd close it. no wonder it did not work then :)

0

You need to run manually following bat file
c:\xamppTomcat\catalina_start


or

put

catalina_start
catalina_stop

in XAMPP control panel start up

0

or

put

catalina_start
catalina_stop

in XAMPP control panel start up

How to do this? I tried to copy catalina_start and catalina_stop from tomcat folder into the root of xampp folder, but when I again running xampp control panel and click on Start Tomcat its still not starting. What to do in order to run tomcat from cntrol panel rather than manually from root folder? thanks in advance

0

I tried "catalina_start" and this is what I get.

catalina_start

[XAMPP]: Searching JDK HOME with reg query ...
ERROR: The system was unable to find the specified registry key or value.
. [XAMPP]: Cannot find current JDK installation!
. [XAMPP]: Cannot set JAVA_HOME. Aborting ...

0

I have the same problem as @mmt200575. when I try to run catalina_start.bat it say

catalina_start .

[XAMPP]: Searching JDK HOME with reg query ...
ERROR: The system was unable to find the specified registry key or value.
. [XAMPP]: Cannot find current JDK installation!
. [XAMPP]: Cannot set JAVA_HOME. Aborting ...

I have installed JDK at C:\Program Files (x86)\Java\jdk1.6.0_23\ and also set the registry value of "Java/JDK home" by "C:\Program Files (x86)\Java\jdk1.6.0_23\"
nothing change, same error showing.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.