Skip to Content
author's profile photo Former Member
Former Member

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????

Regards

-Sandip

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 21, 2011 at 03:40 PM

    what's the error?

    what's your environment?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.