Tomcat simple solution

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Tomcat simple solution

Postby sergh27 » 08. November 2013 20:42

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
sergh27
 
Posts: 1
Joined: 08. November 2013 20:36
XAMPP Version: 1.8.3-2
Operating System: windows

Re: Tomcat simple solution

Postby sdo1web » 02. December 2013 23:59

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
sdo1web
 
Posts: 2
Joined: 04. June 2013 03:15
XAMPP Version: 1.8.3-3
Operating System: Window 7

Re: Tomcat simple solution

Postby Nobbie » 03. December 2013 18:55

What you need, is called "JDK" (Java Developmen Kit"), but you have installed, is called "JRE" (Java Runtime Environment).
Nobbie
 
Posts: 7152
Joined: 09. March 2008 13:04

Re: Tomcat simple solution

Postby sdo1web » 10. December 2013 06:35

Thanks
sdo1web
 
Posts: 2
Joined: 04. June 2013 03:15
XAMPP Version: 1.8.3-3
Operating System: Window 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 55 guests