<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Re: Unable to generate PNG document from the Web Designer 2.0.
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/a_nat">a_nat</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/647649#647649">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi Tihomir,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>First of all thanks for the jar. I tried the jar mentioned in this file, it worked for small processes which din't cross the canvas, but while i tried to share the image for a large file, I got this error. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><em>[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/designer].[TransformerServlet]] (http-localhost-127.0.0.1-8080-4) Servlet.service() for servlet TransformerServlet threw exception: java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.TruncatedFileException from [Module "deployment.designer-2.0-jboss7_png_fix.war:main" from Service Module Loader]</em><br/><em> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)</em><br/><em> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)</em><br/><em> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)</em><br/><em> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)</em><br/><em> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)</em><br/><em> .....</em></p><p><em>.....</em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Also While I tried the PNG button at the bottom of the page, I just kept waiting as the server did not respond. </p><p>I just got this line in the server log, but i din't had any problems trying to access to the url...</p><p><em>15:52:36,804 SEVERE [com.intalio.web.server.TransformerServlet] (http-localhost-127.0.0.1-8080-16) Server returned HTTP response code: 505 for URL: <a class="jive-link-external-small" href="http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/Create">http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/Create</a> Lending Prospect/source/</em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I'm not sure why the resource is not accessible whether its because of the space in the file name or because the file is large.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>So, I got the process image from eclipse and uploaded it to guvnor, but I don't get that in my process definition (<a class="jive-link-external-small" href="http://localhost:8080/gwt-console-server/rs/process/definitions">http://localhost:8080/gwt-console-server/rs/process/definitions</a>)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><pre style="line-height: normal; widows: 2; text-transform: none; font-variant: normal; font-style: normal; text-indent: 0px; letter-spacing: normal; word-wrap: break-word; white-space: pre-wrap; orphans: 2; color: #000000; font-weight: normal; word-spacing: 0px;">{"definitions":[{"id":"LEND.PROSPECT.ONBOARD","name":"Lending Prospect Onboarding","version":0,"packageName":"defaultPackage","deploymentId":"N/A","suspended":false},{"id":"Test2Id","name":"Test2","version":0,"packageName":"defaultPackage","deploymentId":"N/A","suspended":false,"formUrl":"http://localhost:8080/gwt-console-server/rs/form/process/Test2Id/render","diagramUrl":"http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/defaultPackage/LATEST/Test2Id-image.png"},{"id":"com.sample.evaluation","name":"Evaluation","version":0,"packageName":"defaultPackage","deploymentId":"N/A","suspended":false,"formUrl":"http://localhost:8080/gwt-console-server/rs/form/process/com.sample.evaluation/render","diagramUrl":"vfs:/D:/JBPM_POC/jBPM5.2/content/jbpm-gwt-console-server.war/WEB-INF/lib/jbpm-gwt-graph-5.2.0.Final.jar/com.sample.evaluation.png"}]}</pre><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I have the image file for the process with id LEND.PROSPECT.ONBOARD in the default package (name of the file being LEND.PROSPECT.ONBOARD-image.png) , but i can't see that in the process definition even after building the pacakge.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Any ideas / fixes  will be very helpful.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Thanks & Regards,</p><p>Aparna</p><p><br/> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><div class="mcePaste" id="_mcePaste" style="position: absolute; top: 717px; left: 0px;"></div></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/647649#647649">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>