Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Locked out of Admin screen

Status
Not open for further replies.

dragonfire88

Programmer
Feb 18, 2005
3
US
Hi all,

I'm a newbie with Tomcat/Apache. I was trying to get to the Management screen, but didn't know the password. I kept trying randomly, and now I'm locked out. I get this error:

HTTP Status 403 - Access to the requested resource has been denied

How can I reset Tomcat so that I can log in again?

Also, I don't remember creating a username or password. How do I do that?

I appreciate any help.
 
Hi all,

I added "admin" to tomcat-users.xml, and the role of "admin,manager".

I restarted Tomcat and it seems to let me in now. For some reason, it took two tries.

The problem was fixed regardless.

 
Hi all,

I am able to get Tomcat running, and I left it running on port 8080.

However, my Apache stopped working. It just refuses to startup. I did make additions to the httpd.conf file as follows:

# For PHP 4 do something like this:
LoadModule php4_module "c:/php/php4apache2.dll"
AddType application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir "C:/php-4.3.10-Win32"

# For Tomcat mod_jk modules
LoadModule jk2_module "C:/Program Files/Apache Group/Apache2/libexec/mod_jk2.so"

JkWorkersFile "C:/jakarta-tomcat-5.5.4/conf/workers.properties"

# Optional mod_jk debugging options
JkLogFile "C:/jakarta-tomcat-5.5.4/logs/mod_jk.log "
JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

# Set the JSP examples alias
Alias /examples C:/jakarta-tomcat-5.5.4/webapps/jsp-examples

# Assign workers for JSP files
JkMount /examples/servlet/* testWorker
JkMount /examples/*.jsp testWorker

# Restrict access to the JSP files
<location "/examples/web-inf/">
AllowOverride None
deny from all
</location>

I'm not sure if this is causing the problems. Can someone give me advice?

TIA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top