Timeout while calling OutputService | Community
Skip to main content
diogomiranda
Level 3
Nov 21, 2018 11:32 AM UTC
Solved

Timeout while calling OutputService

Hello,

We are experiencing an timeout while calling Output Service. The output service is taking around 320 seconds to complete the task.

We increased the timeout time for more than that, but still we are getting a timeout.

In the error below we can see that even after increasing the timeout in the console (see printscreen below) we are still getting an error.

Caused by: ALC-DSC-305-000: com.adobe.idp.dsc.transaction.MarkedForRollbackException: The current transaction has been marked for rollback.  This means one of three things; 1) The transaction has timed-out (the timeout period was set to [950(sec)], while the actual transaction took [319(sec)]), 2) An unhandled Runtime exception occurred when calling another service (please check the logs for more detail), or 3) This is a JTA transaction and this service has explicitly marked the transaction for rollback

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

at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionBMTAdapter_3af08fdf.doRequiresNew(Unknown Source)

at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvider.java:133)

at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionTemplate.java:79)

at com.adobe.printSubmitter.service.OutputServiceImpl.invokeGeneratePDFOutputWithSMT(OutputServiceImpl.java:382)

at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutput2(OutputServiceImpl.java:361)

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

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

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

at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.java:118)

at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor.java:140)

at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)

at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassivationInterceptor.java:53)

at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)

at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(TransactionInterceptor.java:74)

at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTransactionBMTAdapterBean.java:197)

at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionBMTAdapter_3af08fdf.doBMT(Unknown Source)

at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvider.java:95)

at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInterceptor.java:72)

at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)

at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStrategyInterceptor.java:55)

at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)

at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateInterceptor.java:37)

at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)

at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterceptor.java:188)

at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)

at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)

at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)

at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)

at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:131)

at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:93)

at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:225)

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

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

at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:893)

... 69 more

Anyone ever experienced this?

PS: I also add that this is PRODUCTION environment, we had the same situation in INTEGRATION environment with the same input data but there, after incresing the timeout value the problem is solved.

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
WasilZeeAccepted solution
Employee
Nov 21, 2018 3:01 PM UTC

Please increase Websphere transaction time-out : AEM forms * 9.3 Configuring WebSphere time-out settings

Cheers,

Wasil

5 replies

diogomiranda
Level 3
Nov 27, 2018 8:45 PM UTC

it worked thanks

Translate
diogomiranda
Level 3
Nov 27, 2018 8:44 PM UTC

It worked thanks

Translate
diogomiranda
Level 3
Nov 21, 2018 4:55 PM UTC

Thanks. I will try and report back what happens.

Translate
Mayank_Gandhi
Employee
Nov 21, 2018 3:55 PM UTC

As wasil suggested you might need to increase the transaction time-out for the server as well, currently you have increased the timeout at the service level.

Translate
WasilZeeAccepted solution
Employee
Nov 21, 2018 3:01 PM UTC

Please increase Websphere transaction time-out : AEM forms * 9.3 Configuring WebSphere time-out settings

Cheers,

Wasil

Translate