Expand my Community achievements bar.

Error Occurred: Exception thrown is NOT a DSCException : UnExpected From DSC

Avatar

Level 2

Hey Everybody ,

In the context of my project. I was bring to use LiveCycle ES API  to identify with the server . so when i try to connect using the EJB proposed by livecycle i get this error :

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:ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.chainedExceptionMessage:Internal error. chainedException trace:ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.

at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.doSend(EjbMessageDispatcher.java:175)

at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:66)

at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)

at com.adobe.livecycle.usermanager.client.AuthenticationManagerServiceClient.authenticate(AuthenticationManagerServiceClient.java:109)

at com.gaselys.test.PurgeProcess.main(PurgeProcess.java:71)

Caused by: java.rmi.RemoteException: Remote EJBObject lookup failed for 'ejb/Invocation'; nested exception is:

org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://127.0.0.1:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&socketTimeout=600000&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.initialise(EjbMessageDispatcher.java:105)

at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.doSend(EjbMessageDispatcher.java:141)

... 4 more

Caused by: org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://127.0.0.1:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&socketTimeout=600000&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]

at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:530)

at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)

at org.jboss.remoting.Client.invoke(Client.java:1550)

at org.jboss.remoting.Client.invoke(Client.java:530)

at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:183)

at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)

at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.java:63)

at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)

at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)

at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)

at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)

at $Proxy0.create(Unknown Source)

at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.initialise(EjbMessageDispatcher.java:95)

... 5 more

Caused by: java.net.ConnectException: Connection refused: connect

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(Unknown Source)

at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.SocksSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:187)

at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:801)

at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:526)

... 17 more

NB:  The ejb is working well on my first environment <Dev>

I'm using Livecycle ES 2 9.0

JBoss_4_2_1_GA

Oracle 10g

Any proposal or suggestion will be useful

Naoufal FAHEM

1 Reply

Avatar

Level 2

Awsome I have no more error

i had to make change on my  jboss-service.xml .

change

<attribute name="serverBindAddress">${jboss.bind.address}</attribute>

i changed the ${jboss.bind.address} with my server ip adress.

now everything is working fine