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

    NoClassDefFoundError while setting the Security Client

    amathewjboss1

      Hi,

       

         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);

      securityClient.login();

        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?

      Thanks

      Anil Mathew