This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes HTTP Status 404 - /admin/j_security_check Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "HTTP Status 404 - /admin/j_security_check" Watch "HTTP Status 404 - /admin/j_security_check" New topic
Author

HTTP Status 404 - /admin/j_security_check

manoj rajkumar
Greenhorn

Joined: Sep 11, 2006
Posts: 22
Hi,
When I enter the login an password (tomcat/tomcat)in the admin console of tomcat, I get the error :
1> HTTP Status 403 - Access to the requested resource has been denied

When I try again(on the same browser window), I get the error:

2> HTTP Status 404 - /admin/j_security_check

When I close the window and open a new browser, I get 403 error.

Question:
1> Please help me in solving the problem and help me to login into the admin console (more important).
2> Why does the status change?

Note:
I am using tomcat 4.1.31
I verified the tomcat-users.xml has the right values.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by manoj rajkumar:
I am using tomcat 4.1.31

Why are you using such an outdated version of Tomcat?


I verified the tomcat-users.xml has the right values.

Saying that a config file has the right values doen't help much in a forum.
If the file is small (which tomcat-users.xml is) post the contents of the file. Change the username and/or password if you're concerned about posting them but let folks see how you've configured things.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
manoj rajkumar
Greenhorn

Joined: Sep 11, 2006
Posts: 22
a> Hi Beth, I am working on 2 versions of tomcat:
1> Primary: apache-tomcat-5.5.17
2> tomcat 4.1.31
Just to see the differences between the 2 versions.

b> Yes, I just wanted to mention that I am using tomcat/tomcat as username/password.

c> Is there any other forum where such basic questions are asked? Because I found that the questions asked over here are regarding advanced concepts like : How to configure a particular plug-in.... etc .

d> Thanks for the tips which help me in getting answers to my questions.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by manoj rajkumar:
a> Hi Beth, I am working on 2 versions of tomcat:
1> Primary: apache-tomcat-5.5.17
2> tomcat 4.1.31
Just to see the differences between the 2 versions.

Is it working as expected in version 5.5?


b> Yes, I just wanted to mention that I am using tomcat/tomcat as username/password.

If there is a mistake in your config file, nobody here can see it.
My point was that it's easier to post the contents of the config file (and much more useful) than to just say "It's correct".



c> Is there any other forum where such basic questions are asked? Because I found that the questions asked over here are regarding advanced concepts like : How to configure a particular plug-in.... etc .

This forum is open to any and all questions regarding ApacheTomcat.
No questions are too basic.
Ask anything you like.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: HTTP Status 404 - /admin/j_security_check
 
Similar Threads
j_security_check question
Form Login Refresh
j_security_check error in Tomcat
ldap error message with tomcat
Problem in using TOMCAT