BigWetDog wrote:I'm having the same issue (XAMPPLite 1.7.3 + Tomcat). I examined each of the bat files an how they work. In setenv.bat I set the following:
If I execute tomcat_start.bat from the XAMPP directory or if I use the XAMPP control panel, both "indicate" it's not running, when in fact the javaw process has bee spawned and all of the webapps are running fine.
I did not have to copy the tomcat native library. I suspect there is something in xampp_cli that expects to see the javaw process running from xampp\tomcat\jre.
Don't really have the time to dig deeper but it would be nice to see some input from ApacheFriends
More info: monitoring the xampp_cli process, it's executing \xampp[lite]\tomcat\bin\startup.bat, as expected.
Regardless of whether I specify a JAVA_HOME or a JRE_HOME, if the javaw process is not running from below \xampp[lite] the xampp_cli does not think it's running.
The Xampp status web page will show that Tomcat is up, because status.php checks for an open port 8080.
I don't like work-arounds. I like solutions. There are reasons I have the JDK and jre where they are, and I don't need/want another copy just because this tool doesn't know what's going on. So until I can get my hands on the source code I'm left with killing the javaw process when I need to restart tomcat.
More info: This might get this issue some attention. In the absence of source code for xampp_cli.exe, I disassembled it. It should come as no surprise that "tomcat\bin\startup.bat" and "tomcat\jre\bin\javaw.exe" is hard coded in.
So, xampp_cli.exe can be used to start tomcat, but it won't see it as running if the javaw.exe is in a diiferent path.
One thing that does work is setting up "tomcat\jre\" as a symlink (using mklink in Vista/Server 2008) to the desired actual location. Junction points in XP/2003 should work also, though I haven't tried it yet.
BigWetDog wrote:If you actually copy the JRE (64-bit) to xampp/tomcat/jre, does the control panel work properly?
Also, what is the exact command you are using to create the symlink on the 64 bit system?
I don't have access to a 64-bit setup right now, so I'll help you troubleshooot.
I may be wrong about this, but XAMPP doesn't yet distribute the 64-bit tomcat, so it seems you are trying to run it (xampp tomcat 32-bit) against the 64-bit JRE, and I don't see that working. When you use the control panel to attempt to start tomcat, I understand that it's doesn't show as running, but does it show as running in your task manager?
Users browsing this forum: suze5544 and 66 guests