I just installed Tomcat 7 on Windows 7 32 bit. It seems to work fine when I first install, but when I shut down and re-start the computer, I get an error that Tomcat could not be found and the icon is gone from the startup menu. The Tomcat directories are intact. Anyone know the solution to this?
I too had the same error, but it will not affect the function of tomcat in anyway, the system tray tool is not working thats all.
posted 7 years ago
Are you saying the system tray in Windows 7 isn't working? I'm not surprised. One reason I switched to mac. Is there a way to get an Icon on the desktop or another way to start up Tomcat? I have to re-install to get the startup daemon which is a bit of a pain.
Are you using a MAC ? i dont have much idea abt MAC, for windows you can use services.msc
You will always get startup.bat check the Tomcat /bin for more details
posted 7 years ago
I'm running Windows 7 on a Bootcamp partition on a macbook Pro. It is essentially Windows 7. I installed on the mac side and there is a nice startup/shutdown script to use. But I don't see any kind of startup/shutdown utility on the Windows side. Do you know of a way to start it other than being in the system tray? Installing as a service doesn't seem to make a difference. In fact I think I read that when you install, no matter how you configure it, on Windows it installs as a service.
That's funny because i am running windows XP in a MAC Mini, every thing is working completely fine for me, even the system tray icon works for me.
Getting to your story,
I think you are using a JRE 7, i might suggest JRE 6, during the Windows service installation, it will ask you for the selection of JRE, at this point try giving the location of JRE 6, then it worked for me.
Now the service at services.msc is available.
And the ''Tomcat7 application icon'' in the 'C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin' location also works, if you need the Desktop icon then you can use the "Tomcat7w application icon" present in the same location. it works for me,
i just tested it in my Windows 7 (The Normal Version Windows 7 Home Basic Note:- Not the one i mentioned at the beginning).
Finally sorry for the short English, i am new to Javaranch.
I am using jre7, interesting it should cause this. I'll try jre6. I tried to use the startup apps in the bin directory, but had some problems, don't recall what, I'll have to try it again. I didn't see a .bat file. There is a .bat file in the Mac version, but that might be because it's basically linux. The problem I have on the mac side is I can't get the manager and manager-gui roles to function even though I added them the the xml file. Have to play around with it a bit more. Thanks for the info.
Linux, BSD, Unix basically are all related. My point was Mac is different from Windows. As far as installing Tomcat as a service on Windows, I tried that in fact as I think I mentioned whether you check the service box or not in the installer, on Windows you get Tomcat installed as a service, you have no choice. At least that's what I recall reading in the documentation.
Mike Tabak wrote:Linux, BSD, Unix basically are all related.
I know Unix-heads for whom those would be fighting words!
My point was Mac is different from Windows.
Agreed -- night and day!
As far as installing Tomcat as a service on Windows, I tried that in fact as I think I mentioned whether you check the service box or not in the installer, on Windows you get Tomcat installed as a service, you have no choice. At least that's what I recall reading in the documentation.
Once again: don't run any installer! Any. At all. Just unpack the zip file. No installer. None. No installer!