Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Exception in XMLFormService org.omg.CORBA.COMM_FAILURE

Avatar

Level 4

Hi I am trying to use the FormService from ES2 using  servlet / JSP (java/EJB)  client to invoke it. I see following exception.

I observed that  if the xml data passed is reduced in size then I don't get this error (strange) , I had tried same sample with 8.2 which was working fine.

Any idea?

Thanks

YogLC

2009-12-03 12:18:09,659 WARN  [jacorb.giop.conn] Abnormal connection termination. Lost 1 outstanding replie(s)!

2009-12-03 12:18:09,690 ERROR [com.adobe.formServer.PA.XMLFormAgentWrapper] ALC-FRM-001-013: XMLFormFactory, PAexecute failure: "org.omg.CORBA.COMM_FAILURE"

2009-12-03 12:18:09,784 WARN  [com.adobe.service.ProcessResource] BMC024: Service XMLFormService: Process

ProcessResource@99334e(name=XMLForm.exe,pid=2216) terminated abnormally with error code {3}

2009-12-03 12:18:18,581 ERROR [com.adobe.service.ProcessResource] BMC001: Unexpected exception while rolling back transaction

org.omg.CORBA.TRANSIENT: Retries exceeded, couldn't reconnect to 127.0.0.1:2937  vmcid: 0x0  minor code: 0  completed: No

at org.jacorb.orb.iiop.ClientIIOPConnection.connect(Unknown Source)

at org.jacorb.orb.giop.GIOPConnection.sendMessage(Unknown Source)

at org.jacorb.orb.giop.GIOPConnection.sendRequest(Unknown Source)

at org.jacorb.orb.giop.ClientConnection.sendRequest(Unknown Source)

at org.jacorb.orb.giop.ClientConnection.sendRequest(Unknown Source)

at org.jacorb.orb.Delegate.invoke_internal(Unknown Source)

at org.jacorb.orb.Delegate.invoke(Unknown Source)

at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)

at com.adobe.service._ControlAgentStub.done(_ControlAgentStub.java:106)

at com.adobe.service.ProcessResource.onRollback(ProcessResource.java:975)

at com.adobe.service.ResourcePeer.invokeRollback(ResourcePeer.java:124)

at com.adobe.service.J2EEResourcePeerImpl.afterCompletion(J2EEResourcePeerImpl.java:190)

at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.afterCompletion(SynchronizationImple.java:136)

at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion(TwoPhaseCoordinator.java:340)

at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.cancel(TwoPhaseCoordinator.java:107)

at com.arjuna.ats.arjuna.AtomicAction.abort(AtomicAction.java:201)

at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.rollbackAndDisassociate(TransactionImple.java:1451)

at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:163)

at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.rollback(BaseTransactionManagerDelegate.java:126)

at org.jboss.ejb.EnterpriseContext$UserTransactionImpl.rollback(EnterpriseContext.java:715)

at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew(EjbTransactionBMTAdapterBean.java:228)

at sun.reflect.GeneratedMethodAccessor663.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
4 Replies

Avatar

Former Community Member

I'm facing the same situation here, using LC ES, does anyone know what causes XMLForm.exe to terminate abruptly?

Avatar

Level 4

Now I have simillar error on Assembler service see below for details.

Help is required on this.

Thanks

YogLC

WARNING: "IOP00410215: (COMM_FAILURE) Read of full message failed : bytes reque

ted = 3,751,880 bytes read = 956,320 max wait time = 3,000 total time spent wai

ing = 3,190"

org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 215  completed: No

        at com.sun.corba.se.impl.logging.ORBUtilSystemException.transportReadTi

eoutExceeded(ORBUtilSystemException.java:2600)

        at com.sun.corba.se.impl.logging.ORBUtilSystemException.transportReadTi

eoutExceeded(ORBUtilSystemException.java:2626)

        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.readFu

ly(SocketOrChannelConnectionImpl.java:628)

        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.read(S

cketOrChannelConnectionImpl.java:559)

        at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.readGIOPBo

y(MessageBase.java:413)

        at com.sun.corba.se.impl.transport.CorbaContactInfoBase.finishCreatingM

ssageMediator(CorbaContactInfoBase.java:183)

        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.finish

eadingBits(SocketOrChannelConnectionImpl.java:380)

        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork

SocketOrChannelConnectionImpl.java:1208)

        at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread

performWork(ThreadPoolImpl.java:471)

        at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread

run(ThreadPoolImpl.java:500)

Dec 28, 2011 1:23:36 PM com.adobe.idp.DocumentManagerClient requestRemotePassiv

tion

Avatar

Level 4

Ok, I think I have answer need to extend timeout on client and server.

Modify jvm parameter for both client and server.
i) For server add JVM parameter (run.bat for JBoss)  new parameter while starting.
"-Dcom.sun.CORBA.transport.ORBTCPReadTimeouts=1:15000:300:1"
ii) For clients pass JVM parameter whilce invoking any LCES service
"-Dcom.sun.CORBA.transport.ORBTCPReadTimeouts=1:15000:300:1"
   e.g. for client using ant use  jvmarg  tag
<jvmarg value="-Dcom.sun.CORBA.transport.ORBTCPReadTimeouts=1:15000:300:1"/>

That worked for me.
Thanks
YogLC