Skip to Content
Former Member
Nov 21, 2011 at 03:30 PM

Error in Creating session object in MDM


Hello All,

I was trying to create a session object in MDM. I have added all the jars (MDM Java APIs).

But when I am trying to execute the below code (Under lined), it is giving error.

Please see below:

UserSessionContext userSessionContext = new UserSessionContext("AAA","BBB","CC","DDDD");

// Create a Session Manager.

SessionManager sessionManager = SessionManager.getInstance();

// //Create and authenticate MDM session of the specified type


sessionManager.createSession(userSessionContext,SessionTypes.USERSESSION_TYPE,"Monday2010");_ //Error in this line

The error is giving when i am trying to execute the method createSession(),All the parameters are correctly passed.There is no issue in the parameters in the method.

Please suggest, if there is any pre-requisite / .sca files to be deployed on the MDM server before we create any session objects????