users@glassfish.java.net

Re: Problem with performance of LDAP Security Realm in Glassfish V2

From: <glassfish_at_javadesktop.org>
Date: Fri, 12 Dec 2008 14:11:18 PST

Hi -

Running my app on the Sailfin Glassfish version did not seem to help either. I used the following JVM options in the server configuration for both my original Glassfish server that the app was deployed on and the Sailfin deployment:

<jvm-options>-Dcom.sun.jndi.ldap.connect.pool.initsize=5</jvm-options>
<jvm-options>-Dcom.sun.jndi.ldap.connect.pool.prefsize=5</jvm-options>
<jvm-options>-Dcom.sun.jndi.ldap.connect.pool.maxsize=10</jvm-options>
<jvm-options>-Dcom.sun.jndi.ldap.connect.pool.protocol="ssl"</jvm-options>

Unfortunately, there seems to be no change in the slowness that I'm seeing, and since testing with a local installation of OpenDS using SSL did not have any similar issues, I'm going to assume that it must be related to our enterprise LDAP server. I seem to be out of options for tuning/debugging in Glassfish, so I guess I'll live with the performance issues unless I find anything else related to the enterprise LDAP that might help.


Thanks.

Micah
[Message sent by forum member 'mwengren' (mwengren)]

http://forums.java.net/jive/thread.jspa?messageID=321512