Page 1 of 1

Tomcat simple solution

PostPosted: 08. November 2013 20:42
by sergh27
I think is a simple solution but tomcat do not work


Error: Tomcat shutdown unexpectedly.
22:20:29 [Tomcat] This may be due to a blocked port, missing dependencies,
22:20:29 [Tomcat] improper privileges, a crash, or a shutdown by another method.
22:20:29 [Tomcat] Press the Logs button to view error logs and check
22:20:29 [Tomcat] the Windows Event Viewer for more clues
22:20:29 [Tomcat] If you need more help, copy and post this
22:20:29 [Tomcat] entire log window on the forums
22:20:29 [Tomcat] Tomcat Started/Stopped with errors, return code: -1073741510
22:20:29 [Tomcat] Make sure you have Java JDK or JRE installed and the required ports are free
22:20:29 [Tomcat] Check the "/xampp/tomcat/logs" folder for more information

Re: Tomcat simple solution

PostPosted: 02. December 2013 23:59
by sdo1web
I installed the JRE in a directory called Java on the C:\ drive then I set the environmental variables. The msg I got on the command prompt when Tomcat is started through catalina_start.bat are the following;
[XAMPP]: Searching JDK HOME with reg query.....
ERROR: The system was unable to find the specified registry key or value.
.[XAMPP]: Cannot find the current JDK installation!
.[XAMPP]: Cannot set JAVA_HOME. Aborting.....
done.
Press any key to continue...

My XAMPP 1.7.7 is installed on Window 7

Re: Tomcat simple solution

PostPosted: 03. December 2013 18:55
by Nobbie
What you need, is called "JDK" (Java Developmen Kit"), but you have installed, is called "JRE" (Java Runtime Environment).

Re: Tomcat simple solution

PostPosted: 10. December 2013 06:35
by sdo1web
Thanks