I can't get this to work. It works for anything I have tried, but JBossAS.
I'm using jdk 1.6u4 and JBoss 4.2.1
cd /opt/java/demo/jni/Poller/
and then run this:
/opt/java/bin/java -Dcom.sun.management.jmxremote.port=9998 -Dcom.sun.management.jmxremote.login.config=LDAPAuth -Djava.security.auth.login.config=/opt/jboss/jmxauth.config -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.access.file=/opt/jboss/jmxremote.access SimpleServer
LDAPAuth { com.sun.security.auth.module.LdapLoginModule REQUIRED userProvider="ldap://host:port/ldapstring" userFilter="(&(uid={USERNAME})(objectClass=inetorgperson))" useSSL=false; };
admin readwrite