We have been developing a custom driver for Kaltura video platform using
Java. It is currently a very simple implementation and only uses a basic
functionality, however we are running into issues when trying to use any
of our methods in IDM. When we run just Java methods everything is
working and returns success messages from Kaltura. However, when we
simply invoke blank methods through IDM we dont receive an error but as
soon as we try to just establish a session against Kaltura, example
code:

KalturaConfiguration config = new KalturaConfiguration();
config.setPartnerId(Globals.partnerID);
config.setEndpoint(Globals.endPoint);

// get a new client object using our configuration
KalturaClient client = new KalturaClient(config);

// start a new session (admin/user) and recieve the ks (kaltura session)
string
String userId = Globals.kalturaID;
KalturaSessionType sessionType = (Globals.isAdmin ?
KalturaSessionType.ADMIN : KalturaSessionType.USER);
String ks = client.getSessionService().start(Globals.adminSecr et,
userId, sessionType);
// set the kaltura client to use the recieved ks as default for all
future operations
client.setSessionId(ks);

After calling the above code we receive the following message
inside IDM trace:

DirXML Log Event -------------------
Driver: \IDM\EST\services\Driver Set\Kaltura Driver
Channel: Subscriber
Status: Error
Message: Code(-9131) Error in
vnd.nds.stream://IDM/EST/services/Driver+Set/Kaltura+Driver/Subscriber/UserManagement#XmlData:111
: Error evaluating XPATH expression
'token-xpath("kalturaUsereleteUser($uniqueID)")' :
com.novell.xml.xpath.XPathEvaluationException: function call to
'kalturaUsereleteUser' resulted in an error:
'java.lang.AbstractMethodError:
org.apache.crimson.tree.ElementNode.getTextContent ()Ljava/lang/String;'.
[05/24/13 15:12:00.618]:Kaltura Driver ST:
DirXML Log Event -------------------
Driver: \IDM\EST\services\Driver Set\Kaltura Driver
Channel: Subscriber
Status: Error
Message: Code(-9083) Error submitting event to subscriber:
Code(-9131) Error in
vnd.nds.stream://IDM/EST/services/Driver+Set/Kaltura+Driver/Subscriber/UserManagement#XmlData:111
: Error evaluating XPATH expression
'token-xpath("kalturaUsereleteUser($uniqueID)")' :
com.novell.xml.xpath.XPathEvaluationException: function call to
'kalturaUsereleteUser' resulted in an error:
'java.lang.AbstractMethodError:
org.apache.crimson.tree.ElementNode.getTextContent ()Ljava/lang/String;'.
[05/24/13 15:12:38.768]:Kaltura Driver PT:Receiving DOM document from
application.

We have also tried lower JDKs but have received the same
results. Please let us know if you need any additional information.


--
kfoster
------------------------------------------------------------------------
kfoster's Profile: https://forums.netiq.com/member.php?userid=5132
View this thread: https://forums.netiq.com/showthread.php?t=47851