LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Cannot log in to tomcat admin (https://www.linuxquestions.org/questions/slackware-14/cannot-log-in-to-tomcat-admin-458216/)

dave`2005 06-25-2006 02:30 PM

Cannot log in to tomcat admin
 
Hi all, I got tomcat working ok then installed the admin package, i put apache-tomcat-5.5.16-admin/apache-tomcat-5.5.16/server/webapps/admin into /usr/share/tomcat/server/webapps/admin and apache-tomcat-5.5.16-admin/apache-tomcat-5.5.16/conf/Catalina/localhost/admin.xml into /usr/share/tomcat/conf/Catalina/localhost, set the user/group on the folders/files tomcat/tomcat, added an admin/manager tomcat user but i have a problem, when i go to http://localhost:8080/admin and put a wrong password in i get invalid password (ok so far) then i put in the right user/password and it just stays on the same login page, if i try again/refresh i get:
Code:

HTTP Status 404 - /admin/j_security_check

type Status report

message /admin/j_security_check

description The requested resource (/admin/j_security_check) is not available.
Apache Tomcat/5.5.16

If i try http://localhost:8080/admin after that i get the "Tomcat's administration web application is no longer installed by default. Download and install the "admin" package to use it." page.

What i could have done wrong?

Any help greatly appreciated.

uttam.java 07-07-2007 01:23 AM

can't access admin panel from localhost
 
just uncomment the line below in
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="127.0.0.1"/>

{CATALINA_HOME}\conf\Catalina\localhost\admin.xml

it will work

Regards
Uttam.


All times are GMT -5. The time now is 03:44 AM.