John, do you still have your standalone Tomcat installed?
To read that message go to:
Start->Run...
Type
cmd.exe
Then type
cd\
This will bring you to the
C:\> command prompt
Now follow this and you should see the message:
C:\>
cd xampp\tomcat\bin
C:\xampp\tomcat\bin>
NET HELPMSG 2185
The service name is invalid.
EXPLANATION
You tried to start a service that is not configured on this system.
ACTION
Check the spelling of the service name or check the configuration information for the service using the Services option
from Server Manager.
C:\xampp\tomcat\bin>
Now type the following to try and start Tomcat again - this is what I see.
C:\xampp\tomcat\bin>
tomcat_service_install.bat
Installing Tomcat as an Service
Installing the service 'Tomcat5' ...
Using CATALINA_HOME: C:\xampp\tomcat
Using CATALINA_BASE: C:\xampp\tomcat
Using JAVA_HOME:
Using JVM: auto
The service 'Tomcat5' has been installed.
C:\xampp\tomcat\bin>
Don't forget I have XP so you will have to find the equivalent in Vista.
If you again get this error:
'service.bat' is not recognized as an internal or external command,
operable program or batch file
Try this:
Go to
My Computer->right click->Properties->Advanced->Environment Variables->User variables
and locate “PATH”.
Click on Edit and add
;C:\xampp\tomcat to the end of the list.
Click
OK,
OK
Now try again to run the bat file - you may have to restart your machine but try the bat file first.
You can double click on the bat file in the bin directory or use the command prompt like above which ever you prefer.
EDIT
Just found this on the net related to Vista - the English is ....
vista is special that way, don't double click the bat file. Right click then select Run As Administer, and it'll open.
your probably wondering why? cuz your account is an admin, thats cuz vista doesn't trust you (or wants to make things harder).
/EDITNo guarantee that this will work as I have not had to deal with this error as I have always added paths that I believe may give issues.
Here is what my User variable path looks like:
C:\xampp\tomcat;C:\Program Files\Java\Sun\SDK\AppServer\bin;C:\Program Files\Java\Sun\AppServer\bin;C:\Program Files\OpenVPN\bin
And here is my System variables that you can add and edit in the same way:
C:\xampp\tomcat;C:\xampp\apache\bin\imagemagick;C:\xampp\OpenSSH\bin;C:xampp\perl;C:\xampp\perl\bin;C:\Program Files\Java\Sun\AppServer\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\spool\DRIVERS\W32X86\3;C:\Program Files\Common Files\Ulead Systems\MPEG;C:\Program Files\OpenVPN\bin;C:\Program Files\QuickTime\QTSystem;C:\Program Files\Symantec\pcAnywhere
So you see to save me having issues I include the paths I think may need to be defined - I have not had issues at all with these paths.
===========================================
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
===========================================