Tomcat7 fails deploy application

tomcat7windows-server-2008

I have Tomcat7 installed on a Server 2008 R2 server as a service. When I start the service, there were no failures, but I got a 404 when I navigate to Localhost:8080.

I opened up cmd and tried running Tomcat7.exe, but I receive the following errors:

[warn] the system cannot find the Registry key for service 'tomcat7'
[error] Load configuration failed
[error] The system cannot find the file specified.
[error] Commons Daemon procrun failed with exit value: 2 (Failed to load configuration)
{error] the system cannot find the file specified

I install Tomcat for clients by unzipping a folder that includes apache-tomcat, the JDK and the JRE and then adding the paths to the environment variables. I have verified that this zip will successfully install and run Tomcat on many servers with the same OS.

I tried troubleshooting by copying the MSVCR71.DLL file to the Tomcat\bin folder and the JDK\bin folder, but I still get the same error. Is there another place I should be copying that file? (Note: I copied this MSVCR71.DLL from a windows folder- it was not included in Tomcat.)

This server is a newly created server, which I'm told never had another instance of Tomcat on it.

Any help/ leads in the right direction are appreciated.

Best Answer

run this in your command prompt "service.bat install" pointing to bin and this will install the tomcat7 service.

Now if you run tomcat7.exe, server should be starting fine without errors.