Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat Admin login issue

 
Mike Jenkins
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For my Tomcat 4.1.27 Java container (on Windows server) I have to use the startup.bat and shutdown.bat to start and stop the Web Server.

I tried using the http://myserver:8080/admin/login.jsp with the correct username and password that I got from conf/tomcat-users.xml.

It gives me back a reply:
Access to requested resource has been denied

The form looks like this:


I tried to find j_security_check and there doesnt seem to be any reference to it anywhere in the Tomat folder. Please advise how I can correct this issue so I can use the Tomcat Admin GUI.
[ July 16, 2007: Message edited by: Mike Jenkins ]
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15284
39
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"j_security_check" is a special value that Tomcat (and any other servlet container) recognises. Why are you putting this in a "response.encodeURL(...)" call? Just try it without that:

<form method="post" action="j_security_check" name="loginForm">
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic