Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

While I'm trying to install Tomcat(apache-tomcat-7.0.23.exe) on my system (Windows XP SP3), which is in company's network, it is showing me the following error:

failed to install tomcat 7 service Check your setting and permission Ignore and continue anyway

I have jdk 7 installed on my computer and giving its jre path while installing tomcat.... I have tried to change the port number 8080 to another port (9090) also while installing but it didnt work !!!!!!

Could you please tell me what the problem is and a possible solution?

share|improve this question

migrated from stackoverflow.com Dec 23 '11 at 13:19

This question came from our site for professional and enthusiast programmers.

2  
perhaps not enough privileges in your machine to install new stuff. Try using tomcat without installing it, you can actually run it without performing installation, just running the .bat files in /bin folder. –  Alfabravo Dec 23 '11 at 9:28
    
also which OS? Some OS require superuser rights for the programs to listen to ports under 1024 –  SJuan76 Dec 23 '11 at 9:42
    
currently trying to install it on win xp –  Nishit Jain Dec 23 '11 at 10:30
1  
Not nearly enough information given - update the original question with OS, whether you are a local admin (probably not), method of installation (I'm assuming the Windows-specific MSI), ... –  SteveD Dec 23 '11 at 11:31
    
i have updated the question with the required details now can u figure out the porblem with that or should i need to give any other information also?? –  Nishit Jain Dec 24 '11 at 17:58
add comment

1 Answer

I was able to start Tomcat7 service by following approach

Set environment variable *CATALINA_HOME to the tomcat directory if not set.*

  • Press Win key then type cmd in search field.
  • Press Ctrl+Shift then click CMD.(This will open command prompt in Admin mode)
  • cd to/your/tomcat/folder
  • fire command service.bat install
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.