6 Replies Latest reply on Jul 24, 2002 8:54 AM by James Chen

    Where to put custom login module .jar

    Jason Vasquez Newbie

      I've developed a custom login module, and I'd like to make it available for use in my JBoss installation. I've packaged up the class into a jar, and tried adding the jar to both $JBOSS_HOME/lib and $JBOSS_HOME/lib/ext. No matter where I place it, whenever I try to log in, I get an exception thrown to the console like this:

      javax.security.auth.login.LoginException: unable to find LoginModule class: <myloginmodule_class>

      There doesn't look to be any typos--Is there anything else special I need to do classpath wise? I thought JBoss automatically loaded the JARS in those lib directories...I don't know for sure.

      Thanks --jason