Expand my Community achievements bar.

Problem in invoking LiveCycle using EJB

Avatar

Level 4

Hi All,

I am trying to invoke LC using EJB protocol. I referred the code example from the link http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=001001.html#1548359

But I am facing the problem in the same code. Here is the stack trace for the same:

Error Occurred: Exception thrown is NOT a

DSCException : UnExpected From DSC

com.adobe.idp.um.api.UMException

| [com.adobe.livecycle.usermanager.client.AuthenticationManagerServiceClient] errorCode:16385 errorCodeHEX:0x4001 message:Exception thrown is NOT a DSCException : UnExpected From DSC chainedException:java.lang.IllegalStateExceptionchainedExceptionMessage:null chainedException

trace:java.lang.IllegalStateException

at com.adobe.idp.dsc.clientsdk.ServiceClientFactory$1.handleThrowable(

ServiceClientFactory.java:69)

at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(

ServiceClient.java:220)

at com.adobe.livecycle.usermanager.client.AuthenticationManagerServiceClient.authenticate(

AuthenticationManagerServiceClient.java:109)

at in.gov.ebiz.eforms.invocation.AuthenticateUsersTest.main(

AuthenticateUsersTest.java:47)

Caused by: java.lang.NoClassDefFoundError:

javax/ejb/EJBException

at com.adobe.idp.dsc.clientsdk.ServiceClientFactory.evaluateMessageDispatcher(

ServiceClientFactory.java:587)

at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(

ServiceClient.java:215)

... 2 more

Caused by:

java.lang.ClassNotFoundException:

javax.ejb.EJBException

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(

Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

... 4 more

at com.adobe.livecycle.usermanager.client.ManagerServiceClient.throwNonUMExceptionAsUMException(

ManagerServiceClient.java:53)

at com.adobe.livecycle.usermanager.client.ManagerServiceClient.handleException(

ManagerServiceClient.java:95)

at com.adobe.livecycle.usermanager.client.AuthenticationManagerServiceClient.authenticate(

AuthenticationManagerServiceClient.java:113)

at in.gov.ebiz.eforms.invocation.AuthenticateUsersTest.main(

AuthenticateUsersTest.java:47)

Please advice me. Am I missing some jar? or Do I need to configure some settings at the server end?

Regards,

Ambika

0 Replies