1 Reply Latest reply on Feb 1, 2011 2:21 AM by Nicklas Karlsson

    NoClassDefFoundError while setting the Security Client

    Anil Mathew Newbie



         I am getting an error ( java.lang.NoClassDefFoundError: org/jboss/security/client/SecurityClientFactory) when i call the below code from my background thread (tomcat):


      SecurityClient securityClient = SecurityClientFactory.getSecurityClient();

      securityClient.setSimple(username, password);


        I am using the Jboss 5.1 and i don't have any issue when i execute the same call from my web tier and i am in a clustered environment.

        Can some one please help?


      Anil Mathew