The following looks like the root cause:

Caused by: java.lang.OutOfMemoryError: unable to create new native thread
       at java.lang.Thread.start0(Native Method)
       at java.lang.Thread.start(Thread.java:640)
       at com.sun.jndi.ldap.Connection.<init>(Connection.java:218)

LDAP connections are fairly expensive and you should use an object
pool (ala PoolingContextSource) for queries for attributes, and you
use a simple LdapContextSource for authentication with pooled="false"
for authentication.  Please share your deployerConfigContext.xml and
I'll review it for best practices w/r/t LDAP.

M

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to