This content has been marked as final.
Show 1 reply
-
1. Re: Multithreaded access
starksm64 Nov 4, 2001 3:05 AM (in response to davidroy)The default login config class from Sun is not thread safe. We had a workaround to ensure the initial load of
the config file was accessed by a single thread but that was dropped for some reason. The simple workaround
is to create a MBean that is loaded on startup to simply to a JAAS login. It does not even have to use a
valid login as this will simply force the load of the auth.conf file in the MBean startup thread and allow
for multi-threaded access. Alternatively, simply have
a single client make a request against a secured bean and then start your multi-threaded tests.