• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

How do you fix trust level problem to allow Tomcat to start as a service?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The "bin" command "service.bat start" builds the command:

tomcat7.exe //IS//Tomcat7 --StartClass org.apache.startup.Bootstrap --StopClass org.apache.startup.Bootstrap --StartParams start --StopParams stop

which produces the following errors (on Windows 7 64 bit) (that I am looking for answers on how to address them)

[error] Unable to open the Service Manager
[error] Access is denied
[error] Commons Daemon procurn failed with exit value: 7 (Failed to)
[error] Access is denied

Please help.
Thanks,
Mike
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a similar problem. I installed Tomcat 7 on my Windows 7 (Home Premium) laptop. When I boot up the machine an error dialog pops up with complaints

Access is denied.
Unable to open the service 'Tomcat7'.


Yet, in spite of this annoying dialog that I have to dismiss, Tomcat works just fine. I have checked all the log files and found no error listed.

Any ideas?

Thanks, Pete
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try executing the batch file with "Run as administrator" option by right clicking on the batch file.
 
He's giving us the slip! Quick! Grab this tiny ad!
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic