-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mark,
On 7/3/2009 11:48 AM, Mark Thomas wrote:
> Christopher Schultz wrote:
>> Ronald,
>>
>> On 7/3/2009 6:34 AM, Ronald Klop wrote:
>>> I'm running Tomcat 6.0.20 in a cluster on 3 nodes. If I restart one I
>>> get this exception:
>>
>>> Caused by: java.io.NotSerializableException:
>>> org.apache.catalina.users.MemoryUser
>> That's an easy one: MemoryUser does not implement Serializable.
>>
>>> <!-- Used by Manager webapp -->
>>> <Resource name="UserDatabase" auth="Container"
>>> type="org.apache.catalina.UserDatabase"
>>> description="User database that can be updated and saved"
>>> factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
>>> pathname="conf/tomcat-users.xml" />
>> This is likely to be the problem: the manager app is trying to share its
>> users across the cluster.
>
> Unlikely. The manager app isn't marked as distributable.
>
> My money would be on an app using the same Realm and putting the authenticated
> Principal object in the session.
I was seduced by the "Used by Manager webapp" comment in the server.xml.
I should have known better :)
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/iEYEARECAAYFAkpQrp0ACgkQ9CaO5/Lv0PDWKwCgryyDFfb8f+/w2sjzyppDvm2N
vFgAmwTsGnzVRfodO8rj2ZcJfi27m7Ui
=YLsf
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...