Showing posts with label Tomcat. Show all posts
Showing posts with label Tomcat. Show all posts

Sunday, August 11, 2013

Tomcat - Application System Error - Access is Denied

Application: Tomcat
OS: Windows
Error: Unable to open the service 'Tomcat7'

When you install Tomcat on a Windows machine, the following error is seen on rebooting the machine.


Reason: Tomcat7w.exe accesses resources that require administrator privileges.
Solutions: Configure Tomcat7w.exe to run as administrator. To configure Tomcat7w.exe run as administrator
    • Right-click on Tomcat7w.exe
    • Click on Properties
    • Click on Compatibility
    • Under Privilege Level, check the box 'Run this program as an administrator'
    • Click OK
    • Reboot the machine

Saturday, July 20, 2013

Tomcat Version

Here is a way to find the version of Tomcat installation. Run the following in your command prompt

java -classpath %CATALINA_HOME%\server\lib\catalina.jar org.apache.catalina.util.ServerInfo