You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by kalin mintchev <ka...@el.net> on 2006/01/23 10:31:40 UTC
blank admin
hi all...
i realize this is probably a retarded question but it is a retarded
problem too...
new installation of tomcat 5.0.30 with jdk 1.4.2. when i go to
http://myserver:8080
and login as manager - no problems there. but if i go to the admin
directory i get a blank page. the admin directory under server/webapps has
exactly the same permissions as manager and here is my tomcat-users.xml:
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="manager" password="very-secret" roles="manager"/>
<user username="admin" password="bigger-secret" roles="admin,manager"/>
</tomcat-users>
this is probably normal but i would like to mention that even if i change
the order if the elements in the tomcat-users and put admin first after
restarting the server they get switched back in this order...
any help appreciated... thanks...
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: blank admin
Posted by Glen Mazza <gr...@verizon.net>.
kalin mintchev wrote:
>
> tomcat-users.xml:
>
>>><?xml version='1.0' encoding='utf-8'?>
>>><tomcat-users>
>>> <role rolename="manager"/>
>>> <role rolename="admin"/>
>>> <user username="manager" password="very-secret" roles="manager"/>
>>><user username="admin" password="bigger-secret"
>>>roles="admin,manager"/>
>>></tomcat-users>
>>>this is probably normal but i would like to mention that even if i change
>>>the order if the elements in the tomcat-users and put admin first after
>>>restarting the server they get switched back in this order...
>>
>>I sense tomcat-users.xml may not be your problem--it seems something
>>URL-related to me.
>
>
> like how?
>
It seems what you have in your tomcat-users.xml file is OK, although I
would use try a different username instead of "admin" because it matches
the role name. (I don't know if that is commonly done for Tomcat, however.)
I use TC 5.5, where the Admin app is a separate download from the main
distribution. FWIW, it works fine for me on 5.5, using a tomcat-users
file very similar to yours.
Sorry I can't help you much here I guess.
Glen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: blank admin
Posted by kalin mintchev <ka...@el.net>.
> kalin mintchev escribió:
>> hi all...
>> i realize this is probably a retarded question but it is a retarded
>> problem too...
>> new installation of tomcat 5.0.30 with jdk 1.4.2. when i go to
>> http://myserver:8080
>> and login as manager - no problems there.
>
> But doesn't http://myserver:8080 just take you to the "Congratulations!
> You've successfully installed Tomcat!" home page?
yes it does. there are 3 links on the top left side under Administration:
Status
Tomcat Administration
Tomcat Manager
clicking Tomcat Administration takes me to http://myserver:8080/admin/ and
i just get a blank page whereas if i go to
http://myserver:8080/manager/html i enter the manager user/password and it
works fine. i tried http://myserver:8080/admin/html but i get 404.
>
> but if i go to the admin
>> directory i get a blank page. the admin directory under server/webapps
has
>> exactly the same permissions as manager and here is my
tomcat-users.xml:
>> <?xml version='1.0' encoding='utf-8'?>
>> <tomcat-users>
>> <role rolename="manager"/>
>> <role rolename="admin"/>
>> <user username="manager" password="very-secret" roles="manager"/>
>> <user username="admin" password="bigger-secret"
>> roles="admin,manager"/>
>> </tomcat-users>
>> this is probably normal but i would like to mention that even if i change
>> the order if the elements in the tomcat-users and put admin first after
>> restarting the server they get switched back in this order...
>
> I sense tomcat-users.xml may not be your problem--it seems something
> URL-related to me.
like how?
thanks...
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: blank admin
Posted by Glen Mazza <gr...@verizon.net>.
kalin mintchev escribió:
> hi all...
>
> i realize this is probably a retarded question but it is a retarded
> problem too...
>
> new installation of tomcat 5.0.30 with jdk 1.4.2. when i go to
> http://myserver:8080
> and login as manager - no problems there.
But doesn't http://myserver:8080 just take you to the "Congratulations!
You've successfully installed Tomcat!" home page? (There's nothing to
log into there.) It would probably be best to state the exact URLs you
are using in the "good" and "bad" cases here.
but if i go to the admin
> directory i get a blank page. the admin directory under server/webapps has
> exactly the same permissions as manager and here is my tomcat-users.xml:
>
> <?xml version='1.0' encoding='utf-8'?>
> <tomcat-users>
> <role rolename="manager"/>
> <role rolename="admin"/>
> <user username="manager" password="very-secret" roles="manager"/>
> <user username="admin" password="bigger-secret" roles="admin,manager"/>
> </tomcat-users>
>
> this is probably normal but i would like to mention that even if i change
> the order if the elements in the tomcat-users and put admin first after
> restarting the server they get switched back in this order...
>
I sense tomcat-users.xml may not be your problem--it seems something
URL-related to me.
Glen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org