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
Possible something with the classloader of the separate thread spawned? Show some code and how it's called (and your app structure)