tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chema <demablo...@gmail.com>
Subject Re: Access to manager webapp (JAAS exception)
Date Fri, 01 Jul 2011 15:26:17 GMT
2011/7/1 Mark Thomas <markt@apache.org>:
> On 01/07/2011 15:22, Chema wrote:
>> Hi:
>>
>> I've just installed ( unzipped ) Tomcat 7.0.14 and I'm trying to
>> access to manager web application.
>
> What else did you change?
>


I think nothing.
There is a log when server starts that I dont understand :

01-jul-2011 17:23:55 org.apache.catalina.realm.JAASRealm setContainer
INFO: Set JAAS app name Catalina

any idea ?

I've downloaded 7.0.16 release and  this log doesnt occur when server starts
I don`t know if I changed something on former installation ( 7.0.14 )  ...


Thanks








> Mark
>
>>
>> So,
>>
>> http://127.0.0.1:8080/manager/html
>>
>> and popup a browser logging form.
>>
>> My conf/tomcat-users.xml is
>>
>> <tomcat-users>
>>  <role rolename="manager-gui"/>
>>  <user username="tomcat" password="tomcat" roles="manager-gui"/>
>> </tomcat-users>
>>
>>
>> But, when I try to log in, an exception occurs:
>>
>> 01-jul-2011 16:10:51 org.apache.catalina.realm.JAASRealm authenticate
>> java.lang.SecurityException:
>>       at com.sun.security.auth.login.ConfigFile.<init>(Unknown Source)
>>
>>
>> Why ? There isnt configured in my server to use JAAS.
>> Indeed , conf/server.xml has
>>
>>  <GlobalNamingResources>
>>     <Resource auth="Container"
>> factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
>> name="UserDatabase" pathname="conf/tomcat-users.xml"
>> type="org.apache.catalina.UserDatabase"/>
>>   </GlobalNamingResources>
>>
>> Any ideas ?
>>
>> Thanks and regards
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message