[jboss-user] [jBPM] - Re: Unable to generate PNG document from the Web Designer 2.0.

a_nat do-not-reply at jboss.com
Thu Jan 19 11:15:43 EST 2012


a_nat [https://community.jboss.org/people/a_nat] created the discussion

"Re: Unable to generate PNG document from the Web Designer 2.0."

To view the discussion, visit: https://community.jboss.org/message/647649#647649

--------------------------------------------------------------
Hi Tihomir,

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. 


+[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]+
 +at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)+
 +at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)+
 +at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)+
 +at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)+
 +at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)+
 +.....+
+.....+

Also While I tried the PNG button at the bottom of the page, I just kept waiting as the server did not respond. 
I just got this line in the server log, but i din't had any problems trying to access to the url...
+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:  http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/Create http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/Create Lending Prospect/source/+

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.

So, I got the process image from eclipse and uploaded it to guvnor, but I don't get that in my process definition ( http://localhost:8080/gwt-console-server/rs/process/definitions http://localhost:8080/gwt-console-server/rs/process/definitions)

{"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"}]}

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.

Any ideas / fixes  will be very helpful.

Thanks & Regards,
Aparna

 


--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/647649#647649]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120119/af3734d8/attachment.html 


More information about the jboss-user mailing list