Hello, i cannot find any "tomcat_start.bat" in the XAMPP root dir (i've downloaded the Selfextracting 7-ZIP archive).
glitzi85 wrote:Tomcat is a Module for Apache.
th1alb wrote:i've downloaded the Selfextracting 7-ZIP archive
th1alb wrote:Hello, i cannot find any "tomcat_start.bat" in the XAMPP root dir
glitzi85 wrote:If you want to start Tomcat with a batch file, go into xampp\tomcat\bin and start the startup.bat
glitzi85 wrote:In my case, nothing happened. Tomcat expects the system variable JRE_HOME or JAVA_HOME to be set to the Java Installation path. On my Machine this was not the case. You can set this Variable in this way:
Start -> Control Panel -> System -> Tab Advanced -> Button Environment Variables
Check both lists for one of the two variables. If they do not exist, you need to create them. If you want to run Tomcat as a service, you need to define the variable in the bottom list (only possible as Administrator), if you want to run Tomcat with your Username, then you need to define it in the upper list. Just hit the New Button and use as Variable name JRE_HOME and as Variable value the path to your Java installation (e.g. C:\Program Files\Java\jre6). Then you need to restart your Computer.
glitzi
@echo off
setlocal
echo Tomcat is starting ...
set JRE_HOME=%SystemDrive%\PortableApps\Java\jre6
set JDK_HOME=%SystemDrive%\PortableApps\Java\jdk1.6.0_14
set JAVA_HOME=%JDK_HOME%
start "Tomcat" /D"%~dp0tomcat\bin" "startup.bat"
REM call "%~dp0tomcat\bin\startup.bat"
REM this will not work, keep current working dir
doskey tomcat_start=%SystemDrive%\PortableApps\XAMPP\tomcat_start.bat
Users browsing this forum: No registered users and 196 guests