I had set up Xampp (non-installer version) after unpacking the Tomcat addon. It did not return any errors then. But the problem arose when I invoked Tomcat through Tomcat_start.bat.
Did you run
setup_xampp.bat after installing the Tomcat addon, I am sure you did but it is not clear in the above quote? - this sets up XAMPP for Java and has nothing to do with running it after you install XAMPP and needs some questions answered when you run it.
I know nothing (
a Sgt. Schulz quote)
about Mojopac, but you do, so you may be able to adapt what I post here to be relevant to it.
When using a USB or any portable device the path statements contained in the portable device should be relative not absolute as each time you insert the drive it may not always have the same drive letter you have specified in your absolute path - thus it will break.
For example:
C:\xampp\tomcat - may not always be so - your USB drive would not be
C:\ anyway, would it?
\xampp\tomcat - will always be the case if you install XAMPP to the portable device's root directory.
There is a previous post
USB Tips and Tricks (xampp using relative path) that contains a hack that will do this job for you provided by
patrick_yi_82 who had trouble with absolute paths on a portable device (
I located this using keyword usb in a forum search):
http://community.apachefriends.org/f/viewtopi ... 4289#84289Will the Java SDK always be in a fixed location or will it be placed on the portable device? - if not and whilst moving between PCs then you may have issues - perhaps including the Java SDK in the portable device may alleviate these issues, or at least making sure it is installed on each PC you insert the portable device in includes the correct Java SDK in the location path specified.
This is from my mod_jk.conf file so you may want to edit yours - jforum would not apply if you don't have it installed but is a clue for you if you install any java apps - also note the paths are relative.
- Code: Select all
JkMount /*.jsp ajp13
JkMount /java/* ajp13
JkMount /jsp-examples/* ajp13
JkMount /servlets-examples/* ajp13
JkMount /jforum/* ajp13
I tried to set up tomcat as a service through the tomcat_service_install.bat file in xampp\tomcat\bin folder, but failed. But executing the service.bat file in the same folder started my tomcat session.
Running the
tomcat_service_install.bat only runs the
service.bat file anyway and the code can be read if you look at the bat files in your text editor - again absolute paths may be significant in not being able to run a bat file.
===========================================
1. The new
DeskTopXampp Launch Control for
XAMPP / XAMPPlite
Posted by
Ridgewood available from Ridgewood's
DTX web site
2. Build Rich
AJAX Applications - Faster
TIBCO General Interface Pro Edition but
FREE and
Open Source
Fully working with
NO donations required to get a user/password
===========================================