Running Railo Express on Vista using Start.bat
April 29th, 2009
There appears to be an issue starting Railo Express on Windows Vista, at least on the test machines and VMs I’m using. Basically you double click on start.bat, the DOS window opens, and then closes. This is because Windows Vista is starting the batch file with System32 as the working directory, and the batch file is looking to start java from that folder. The fix is fortunately simple.
At the top of the start.bat file, just change the directory to the root Railo folder that start.bat is in. In the end, your batch file will look like this:
1 2 | cd %~dp0% "jre/bin/java" -DSTOP.PORT=8887 -DSTOP.KEY=railo -Xms256M -Xmx512M -jar lib/start.jar server.xml |
