I think you need to work out what sort of authentication the manager
app is using and if it is using the default MemoryUserDatabase, where
that file is being stored. Have a look in the server.xml, this is the
relevant section in myne:
<Resource auth="Container" description="User database that can be
updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
name="UserDatabase" pathname="conf/tomcat-users.xml"
type="org.apache.catalina.UserDatabase"/>
</GlobalNamingResources>
..and if that is no help take a look at the web.xml file in the
manager application to see how security is being implemented.
Brian
On Thu, May 8, 2008 at 10:54 AM, Soren Aalto <[EMAIL PROTECTED]> wrote:
> I installed Tomcat 5.5 using apt on Ubuntu 8.04. Quite
> novel, since I've always installed from tarballs before.
> Tomcat 5.5 has unbundled the stock webapps and
> manager app, so I had to install tomcat5.5, -webapps
> and -manager.
>
> However, I can't get user authentication to work with
> the manager app. I've made the usual changes
> to $TOMCAT_HOME/conf/tomcat-users.xml, namely
>
> <?xml version='1.0' encoding='utf-8'?>
> <tomcat-users>
> <role rolename="manager"/>
> <role rolename="tomcat"/>
> <role rolename="admin"/>
> <role rolename="role1"/>
> <user username="soren" password="******" roles="manager,admin"/>
> <user username="tomcat" password="tomcat" roles="tomcat"/>
> <user username="both" password="tomcat" roles="tomcat,role1"/>
> <user username="role1" password="tomcat" roles="role1"/>
> </tomcat-users>
>
> ...which is exactly what has worked before on
> Tomcat 5.0.x and Tomcat 6.0, but it doesn't
> work now.
>
> Is there someplace where I have to make a config
> change to get it to use...is it MemoryRealm for
> user authentication?
>
> I'm kinda stuck, because I can't work on any
> webapps if I can't deploy them...
>
> Oh, and the profusion of symlinks between
> /usr/share/tomcat5.5, /var/lib/tomcat5.5 and
> /etc/tomcat5.5 is, uh, confusing at first...
>
> --
> Soren Aalto
> Director: ICT
> University of Zululand
> >
>
--
Brian Silberbauer
Consultant
+27 (0)83 566 2705
skype: brian.silberbauer
http://www.linkedin.com/in/briansilberbauer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
For the ctjug home page see http://www.ctjug.org.za
-~----------~----~----~----~------~----~------~--~---