This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Tomcat Administration ???

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone
I have just installed Tomcat5.0.25, so far it is working fine, have just tested it using examples only. Now my question is that on http://localhost page it says that ..................
" For security reasons, using the administration webapp is restricted to users with role "admin". The manager webapp is restricted to users with role "manager". Users are defined in $CATALINA_HOME/conf/tomcat-users.xml. "
What actually is this i.e administration? I tried to follow the link Tomcat Administration, it asks for login/password. I refered users.xml, and tried to enter tomcat/tomcat. However the request was denied. Was just trying it, don't have any idea what it is for and how to use it.
Thanks a lot in advance.

Khushi
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Manager lets you stop, start and deploy individual web apps. Generally speaking, the Manager is for 'self-contained' or 'previously deployed' applications.

The Administration console is used to perform changes to the configuration of Tomcat itself. Basically, it is a GUI/web-app editing system for server.xml.

as for tomcat/tomcat -> did you edit the tomcat-users.xml file? (You need to). Assign the 'admin' and 'manager' roles to that user.
ie:
<user username="tomcat" password="tomcat" roles="admin,manager"/>
 
Khushi Panesar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mike Curwen , Thanks a lot. Seems it will help me clear my doubts.

Thanks!!
 
Note to self: don't get into a fist fight with a cactus. Command this tiny ad to do it:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic