Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Tomcat Admin password forgotten

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Is using VirtualHost slowing the connection?  
Author Message
nothing4

External


Since: May 07, 2004
Posts: 2



(Msg. 1) Posted: Fri May 07, 2004 6:59 pm
Post subject: Tomcat Admin password forgotten
Archived from groups: alt>apache>configuration, others (more info?)

When using my web application manager
(http://localhost:8080/admin)
I forgot my password. Is there an XML file i can look at to remember/obtain
(possibly even set).
Thanks

 >> Stay informed about: Tomcat Admin password forgotten 
Back to top
Login to vote
parps

External


Since: May 08, 2004
Posts: 2



(Msg. 2) Posted: Sat May 08, 2004 5:04 am
Post subject: Re: Tomcat Admin password forgotten [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"D E" <nothing.RemoveThis@nothing.com> wrote in message
news:hnOmc.17400$vz5.8124@nwrdny01.gnilink.net...
 > When using my web application manager
 > (http://localhost:8080/admin)
 > I forgot my password. Is there an XML file i can look at to
remember/obtain
 > (possibly even set).
 > Thanks
 >
 >

Check tomcat-users.xml in the conf directory<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Tomcat Admin password forgotten 
Back to top
Login to vote
nothing4

External


Since: May 07, 2004
Posts: 2



(Msg. 3) Posted: Sat May 08, 2004 5:04 am
Post subject: Re: Tomcat Admin password forgotten [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Murray" <parps.RemoveThis@SPAMoffSPAMMER.optusSP4Mnet.com.au> wrote in message
news:409bb3b0$0$12740$afc38c87@news.optusnet.com.au...
 >
 > "D E" <nothing.RemoveThis@nothing.com> wrote in message
 > news:hnOmc.17400$vz5.8124@nwrdny01.gnilink.net...
  > > When using my web application manager
  > > (http://localhost:8080/admin)
  > > I forgot my password. Is there an XML file i can look at to
 > remember/obtain
  > > (possibly even set).
  > > Thanks
  > >
  > >
 >
 > Check tomcat-users.xml in the conf directory
 >
 >
Ok i used the name/password found there with role "tomcat" (default name/pw
= tomcat/tomcat) and it didn't work. now when i go to the url
http:localhost:8080/admin, i get a httpstatus 403 (access to specified
resource has been forbidden)....

How do i "reset" this...

Was that the correct role? If this helps, here is a copy of my
tomcat-users.xml file..

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
</tomcat-users><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Tomcat Admin password forgotten 
Back to top
Login to vote
parps

External


Since: May 08, 2004
Posts: 2



(Msg. 4) Posted: Sat May 08, 2004 5:30 am
Post subject: Re: Tomcat Admin password forgotten [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > Was that the correct role? If this helps, here is a copy of my
 > tomcat-users.xml file..
 >
 > <?xml version='1.0' encoding='utf-8'?>
 > <tomcat-users>
 > <role rolename="tomcat"/>
 > <role rolename="role1"/>
 > <user username="tomcat" password="tomcat" roles="tomcat"/>
 > <user username="role1" password="tomcat" roles="role1"/>
 > <user username="both" password="tomcat" roles="tomcat,role1"/>
 > </tomcat-users>

Add this:

<role name="admin"/>
<user name="admin" password="whatever" roles="admin"/><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Tomcat Admin password forgotten 
Back to top
Login to vote
zzannotozz

External


Since: May 07, 2004
Posts: 1



(Msg. 5) Posted: Sat May 08, 2004 5:30 am
Post subject: Re: Tomcat Admin password forgotten [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Murray" <parps.TakeThisOut@SPAMoffSPAMMER.optusSP4Mnet.com.au> wrote in message
news:409bb99d$0$14771$afc38c87@news.optusnet.com.au...
  > > Was that the correct role? If this helps, here is a copy of my
  > > tomcat-users.xml file..
  > >
  > > <?xml version='1.0' encoding='utf-8'?>
  > > <tomcat-users>
  > > <role rolename="tomcat"/>
  > > <role rolename="role1"/>
  > > <user username="tomcat" password="tomcat" roles="tomcat"/>
  > > <user username="role1" password="tomcat" roles="role1"/>
  > > <user username="both" password="tomcat" roles="tomcat,role1"/>
  > > </tomcat-users>
 >
 > Add this:
 >
 > <role name="admin"/>
 > <user name="admin" password="whatever" roles="admin"/>
 >
I believe to access the manager, you need the "manager" role, and it's
"rolename" and "username", not just "name", so for a user that can access
both the admin and manager tools:
<role rolename="manager" />
<role rolename="admin" />
<user username="yourUserName" password="yourPassword"
roles="admin,manager" />

I'm not sure what the "tomcat" role is, but I don't think it's related to
either the admin or manager tool.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Tomcat Admin password forgotten 
Back to top
Login to vote
raisin

External


Since: May 08, 2004
Posts: 1



(Msg. 6) Posted: Sat May 08, 2004 11:38 am
Post subject: Re: Tomcat Admin password forgotten [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

[This followup was posted to comp.lang.java.programmer]

In article <hnOmc.17400$vz5.8124@nwrdny01.gnilink.net>,
nothing.RemoveThis@nothing.com says...
 > When using my web application manager
 > (http://localhost:8080/admin)
 > I forgot my password. Is there an XML file i can look at to remember/obtain
 > (possibly even set).
 > Thanks


Check the "conf/tomcat-users.xml" file under your Tomcat distribution.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Tomcat Admin password forgotten 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Default admin username/password for tomcat 5 - complete newbie to Tomcat but no time to go through mountains of docs properly (will eventually though honest!) - I want to setup a connection pool to an Oracle 8i database - I need the default user/pass for the admin tool, had a quick wiz through the..

Tomcat/admin; Exception retrieving attribute 'driverClassN.. - Hi, On my old machine the combination of apache_2_0_44-win32-x86-no_ssl.msi, tomcat-4_1_18.exe and mod_jk-2.0.43.dll worked without problems. (Jakarta is using j2sdk as provided bij NetBeansIDE-release351-win32.exe =j2sdk1.4.2). With the /admin..

Comanche apache admin console - Just can't get this to work. Two separate installations, Win2k and XP, comanche just displays an empty window telling me it will locate existing apache installations from the registry but nothing else. Apache is installed and running. Anyone any ideas?

WAP with password - Hi, currently I make a WAP-Site, and I want to secure some pages. I do this with ".htpasswd". My mobile-phone (Siemens S45) seems to be very stupid, because the WAP-Browser on it doesn't remeber the pages, which are password-secure. And all ...

password protection - Hi all, I try to make a folder of my webserver protected by a password using ..htaccess ... Here is my .htaccess file : AuthUserFile /cca/www/htdocs/phpMyAdmin/.htpasswd AuthGroupFile /dev/null AuthName "Restricted Directory" AuthType Basic ...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]