Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to increase graphics rendering timeout in DNG 6.0.2?

 I have a fairly large screen flow diagram in DNG 6.0.2 using the new Diagram format.  Whenever I select the option to "Download as PNG", I get an Internal Server Error from a timeout.  I've replicated with Chrome and FF 31 ESR.  Also, the diagram will not render when embedded in a text artifact and will not appear in a generated Word document.
Error 500: Internal Server Error

java.util.concurrent.TimeoutException: Timeout waiting for task. (More info found at entry [d775d768ec216590] in the RM application server log)

The relevant rm.log section is found below.  Any ideas on how to increase the timeout period and avoid this error?

Thanks,
Robert
2016-09-08 14:04:56,263 [WebContainer : 2 @@ 14:04 v070339 <Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36@172.20.155.85> /rm/embeddeddocuments/download] ERROR ibm.rdm.fronting.server.services.RMRestServiceBase  - CRRRS1007E  A problem occurred in the Requirements Management (RM) server: Entry [d775d768ec216590]
java.lang.RuntimeException: java.util.concurrent.TimeoutException: Timeout waiting for task.
at com.google.common.base.Throwables.propagate(Throwables.java:160)
at com.ibm.rdm.fronting.server.services.embeddeddocuments.EmbeddedDocumentRestService.doGet(EmbeddedDocumentRestService.java:257)
at com.ibm.rdm.fronting.server.services.RMRestService.doGetInternal(RMRestService.java:81)
at com.ibm.rdm.fronting.server.services.RMRestService.runInternalMethod(RMRestService.java:470)
at com.ibm.rdm.fronting.server.services.RMRestService.handleMethod(RMRestService.java:403)
at com.ibm.rdm.fronting.server.services.RMRestService.performService(RMRestService.java:339)
at com.ibm.rdm.fronting.server.services.RMRestServiceBase.service(RMRestServiceBase.java:261)
at com.ibm.rdm.fronting.server.services.RMBridgeService.service(RMBridgeService.java:137)
at sun.reflect.GeneratedMethodAccessor470.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy144.service(Unknown Source)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doRestService(AbstractTeamServerServlet.java:971)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2520)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:2315)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.access$0(AbstractTeamServerServlet.java:2300)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet$1.service(AbstractTeamServerServlet.java:248)
at com.ibm.team.repository.service.internal.compatibility.auth.DelegatedAuthHandlerService$1.run(DelegatedAuthHandlerService.java:252)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleAuthentication(AbstractTeamServerServlet.java:2018)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1768)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:138)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:74)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:165)
at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:198)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3923)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:986)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)
Caused by: java.util.concurrent.TimeoutException: Timeout waiting for task.
at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:269)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:96)
at com.ibm.rdm.fronting.server.services.embeddeddocuments.EmbeddedDocumentRestService.createImageFromDocument(EmbeddedDocumentRestService.java:334)
at com.ibm.rdm.fronting.server.services.embeddeddocuments.EmbeddedDocumentRestService.doGet(EmbeddedDocumentRestService.java:254)
... 60 more

0 votes

Comments

 BTW, the timeout error is coming up in about 10 seconds.  So it is not a long wait.



One answer

Permanent link
How large are your diagrams ?  I have an open PMR on the RM exporter process going haywire (*) when large page size ( e.g. 3 feet by 5 feet ) are previewed.    The exporter process may be in play in your scenario.   Our Jazz applications run on AIX and Rational Support cannot replicate the behavior as they don't use AIX.   The documents in RM were created by Adobe Illustrator CS6 (Windows).   I can download for viewing ( PDF ) and my PDF viewer will show it.  I will try to see if download as PNG is available for these artifacts.

(*) When one tries to preview one of these large page documents, the preview doesn't display and there will be an exporter process on the RM server using 25% or more of CPU whilst doing nothing that can be detected by O/S utilities.  Every few days I look for these processes and give'm the boot.

0 votes

Comments

 Hi Kevin,

My page size is not the problem (the diagram should fit on a legal sized sheet of paper).  However, my diagram is a screen flow diagram that contains 7 embedded images (screen shots), each around 100 KB in size.  I have another version of the diagram with only 5 embedded images, and it will render in an embedded document and generate PNG download without error.

I don't know if this is related to your PMR, but we will open our own.
Thanks,
Robert

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 08 '16, 4:35 p.m.

Question was seen: 2,266 times

Last updated: Sep 15 '16, 12:10 p.m.

Confirmation Cancel Confirm