Not able to create Agile session, error thrown: java.lang.NoClassDefFoundError: weblogic/security/sp
Hi,
I am not able to create agile session in small Java standalone program. I am seeing the error:
Error code:60086
weblogic.rjvm.PeerGoneException: ; nested exception is:
weblogic.utils.NestedException: java.lang.NoClassDefFoundError: weblogic/security/spi/WLSUser
I see the error when I tried to create session for Dev/TST in our current setup.
Below is the piece of code I am using to create the session and error stack has also been attached.
---------------------------------------------------------------------------------------------------------
public IAgileSession getSession()throws APIException{
System.out.println("in get session");
AgileSessionFactory factory= AgileSessionFactory.getInstance("http://agileapptest.powellind.pri:9003/Agile");
HashMap params = new HashMap();
params.put(AgileSessionFactory.USERNAME, "XXXXX");