This week's giveaway is in the Testing forum.
We're giving away four copies of TDD for a Shopping Website LiveProject and have Steven Solomon on-line!
See this thread for details.
Win a copy of TDD for a Shopping Website LiveProject this week in the Testing 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 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

Administration of tomcat server

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I am using tomcat4.x and jdk1.4. As I am unable to login as admin.
After typying the below url
http://localhost ortnumber/manager
I am getting the password window. I am unable to login with any values. so pls help me in this matter so that i can administrate my server.
thanks in advance
 
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to add a user in '<tomcat_root>\conf\tomcat-users.xml' like this:

now you can make a logon by calling 'http://127.0.0.1/admin' and/or 'http://127.0.0.1/manager/html'
Rene
[ November 07, 2002: Message edited by: Rene Larsen ]
 
palukuri nag
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai rene
I fallowed your instructions. But i am unable to login as admin.
After placing the tag in the tomcat-users.xml
When i am using the following link
http://192.168.100.3:1977/manager
it is not at all prompting for the login window and showing blank page.
 
Rene Larsen
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try the URL in the upper left corner of the tomcat index page
OR
http://192.168.100.3:1977/manager/html

Rene
 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nag:
When you installed Tomcat, it would have prompted you for an Administrator LoginID & Password. Your inputs are stored in a file called tomcat-users.xml under %CATALINA_HOME%\conf. In case you forgot your adminstrator userid/password, you can always open this ascii file and see it.
Now,
if you just type http://localhost ort/manager, you will be first prompted for the ID/password. Then it response will be blank or FAIL - unknown command.
The correct syntax to use the manager webapplication is

http://{host}:{port}/manager/{command}?{parameters}

.
One of the commands you can use is list.
You can find more about manager webapp in your tomcat documentation..usually %CATALINA-HOME%\docs\tomcat\manager-howto.html.
Hope this helped to solve your issue
 
Good heavens! What have you done! Here, try to fix it with 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