[jBPM] - jbpm console doesnt see process instance that was started by java
by sebb
sebb [https://community.jboss.org/people/sebb] created the discussion
"jbpm console doesnt see process instance that was started by java"
To view the discussion, visit: https://community.jboss.org/message/648432#648432
--------------------------------------------------------------
So here is my setup:
- jbpm 5.2 installer
- executed ant install.demo
- executed ant start.demo
- executed evaluation sample process in eclipse
- opened jbpm console
Result: I cant see the evaluation process instance in the console.
I browsed the forum and found that you have to use the JPAWorkingMemoryDbLogger. But when using the JPA logger I get a nullpointer:
java.lang.NullPointerException
at org.jbpm.process.audit.JPAWorkingMemoryDbLogger.addVariableLog(JPAWorkingMemoryDbLogger.java:124)
at org.jbpm.process.audit.JPAWorkingMemoryDbLogger.logEventCreated(JPAWorkingMemoryDbLogger.java:84)
So I guess something is still wrong. What do I have to configure after a plain install of the jbpm 5.2 installer in order to make the history log work? The documentation is unclear in chapter 7 since it just shows one file to modify and not the initial setup.
Any hints are appreciated, thanks =)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/648432#648432]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 4 months
[jBPM] - Re: Unable to generate PNG document from the Web Designer 2.0.
by a_nat
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/C... http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/C... 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/defa..."},{"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.evalu...","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&con...]
12 years, 4 months