Hello, When using ldapjdk under JBoss, the method LDAPException.errorCodeToString() always returns an empty text. After investigation, it appears that the implementation tries to find the bundle with the static call ClassLoader.getSystemResourceAsStream, which under an application server like JBoss does not return the expected ClassLoader. Returned ClassLoader : C:/jboss/bin/run.jar C:/jboss/client/getopt.jar C:/Java/jdk1.6.0_02/lib/tools.jar The child of the returned ClassLoader : C:/jboss/lib/namespace.jar C:/jboss/lib/jboss-system.jar C:/jboss/lib/concurrent.jar C:/jboss/lib/jboss-common.jar C:/jboss/lib/endorsed/xalan.jar C:/jboss/lib/log4j-boot.jar C:/jboss/lib/endorsed/serializer.jar C:/jboss/lib/endorsed/resolver.jar C:/jboss/lib/endorsed/xml-apis.jar C:/jboss/lib/jboss-xml-binding.jar C:/jboss/lib/endorsed/xercesImpl.jar C:/jboss/lib/jboss-jmx.jar The child of the child of the returned ClassLoader : C:/jboss/server/Server1/lib/jboss-jaxrpc.jar C:/jboss/server/Server1/lib/jboss-hibernate.jar C:/jboss/server/Server1/lib/jboss-srp.jar C:/jboss/server/Server1/lib/jboss.jar C:/jboss/server/Server1/lib/jboss-common-jdbc-wrapper.jar C:/jboss/server/Server1/lib/jboss-backport-concurrent.jar C:/jboss/server/Server1/lib/jboss-serialization.jar C:/jboss/server/Server1/lib/jbosssx.jar ... (the whole server class path) C:/jboss/server/Server1/lib/ldapjdk.jar ---> HERE IT IS
I do not know whether this problem has been reported before but my workaround was to change JBoss startup script to include ldapjdk in the JBOSS_CLASSPATH. Are they any plans to change this in the implementation of ldapjdk ? Regards, metatech _______________________________________________ dev-tech-ldap mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-ldap
