This is actually a following to another post of mine titled "How to make
Tomcat serve/listen to one more port?"
When I implemented my method of adding a new <Service> element in
server.xml in order to make Tomcat serve one more port, I seem to have
user/authentication problem within VMWare Server 2.
I thought the problem came from the fact that I duplicated an existent
<Service> element, and in that element, there's this <Realm> element:
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
But in Tomcat's official doc about "Realm" (
http://tomcat.apache.org/tomcat-6.0-doc/config/realm.html), I can't find
anything about the "resourceName" attribute. So I suppose both websites are
accessing the same "UserDatabase", right?
So I remove the <Realm> element from the new <Service> element, and the
problem seems to have gone. But I'm not sure what I've done is correct: so
what happens if there's no <Realm> element within a <Service> element?
Tomcat doc doesn't seem to have any mention of it....