Hi there!
I have a process that at some point has to upload a zip file to a server via SFTP. I do not control the size of the ZIP file. It can get pretty big depending on the mood of my users. The problem is the following: when the file gets too big, my upload task fails with the following error being logged in the Java Method Server log:
2013-04-13 17:45:45,599 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/bpm].[DoMethod]] (http-0.0.0.0-9080-1) Servlet.service() for servlet DoMethod threw exception
javax.servlet.ServletException: DfException:: THREAD: http-0.0.0.0-9080-1; MSG: [DM_WORKFLOW_E_WORKITEM_TRANSITION]error: "Workitem (4a0000018000b5c6) fails to make the state transition."; ERRORCODE: 100; NEXT: DfException:: THREAD: http-0.0.0.0-9080-1; MSG: [DM_WORKFLOW_E_ACTION_NOT_ALLOWED]error: "This operation is not allowed when the state is 'paused' for workitem '4a0000018000b5c6'."; ERRORCODE: 100; NEXT: null
at com.documentum.mthdservlet.DoMethod.invokeMethod(Unknown Source)
at com.documentum.mthdservlet.DoMethod.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
I suspect that this occurs because the FTP upload lasts for more than the maximum allowed execution time for an automated task (from the logs, this particular upload lasted for about 2 minutes).
Do you confirm this analysis? And if so, can I increase this max exec time threshold, and how?
Thanks for your help
Olivier Demin