[jBPM] - jBPM 5.4 released !
by Kris Verlaenen
Kris Verlaenen [https://community.jboss.org/people/KrisVerlaenen] created the discussion
"jBPM 5.4 released !"
To view the discussion, visit: https://community.jboss.org/message/778581#778581
--------------------------------------------------------------
http://kverlaen.blogspot.be/2012/11/jbpm-54-released.html http://kverlaen.blogspot.be/2012/11/jbpm-54-released.html
We are proud to announce the release of *jBPM 5.4.0.Final*.
The bits were ready more than a week ago already (and looking at the download statistics quite a few of you already found them ;)), but a busy travel schedule made it difficult to complete the work and announce everything. But here it is !
*Downloads*:
https://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.4.0.Final/ https://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.4.0.Final/
*Documentation*:
http://docs.jboss.org/jbpm/v5.4/userguide/ http://docs.jboss.org/jbpm/v5.4/userguide/
*API and JavaDocs*:
http://docs.jboss.org/jbpm/v5.4/javadocs/ http://docs.jboss.org/jbpm/v5.4/javadocs/
The +jBPM installer+ is probably the best way to get started. Download the http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.4.0.Final/jbpm... full installer and follow the documentation http://docs.jboss.org/jbpm/v5.4/userguide/ch.installer.html here to walk through some of the most important components.
So what's new?
*Simulation*
We've added simulation capabilities to the web-based process designer, that allows you to simulate how a process might behave at runtime. This includes the addition of various simulation-related properties (like resources and duration-related attributes for tasks, and probabilities for diverging gateways etc.). Our implementation is based on the specification created by the http://code.google.com/p/bpswg/ BPSWG (Business Process Simulation Working Group).
Based on these properties, you can run a number of instances of your process and:
* Use the path finder to look at all identified paths
* Look at the generated charts containing information about minimal, maximum and average completion times, etc. using (horizontal and vertical barcharts, pie charts or tables.
* Check the timeline to get an overview of all the recorded events
Maciej did a http://mswiderski.blogspot.be/2012/08/simulation-in-jbpm-draft.html blog recently on the ideas and concepts behind it, and Tihomir did a http://surdilovic.wordpress.com/2012/09/13/business-process-simulation-in... blog, including a 12-minute video, that shows simulation in action.
*Local task service*
When human actors participate in a business process (also known as human workflow), a task service is used to manage the life cycle of the tasks (claiming, completing, task lists, etc.). While we supported the use of a centralized task service (using HornetQ for remoting), we now also support a +local+ version that runs as a simple Java component next to the engine and all the work it does is synchronous and nicely integrated with the transaction of the process engine.
org.jbpm.task.service.TaskService taskService = new org.jbpm.task.service.TaskService( emf, SystemEventListenerFactory.getSystemEventListener()); LocalTaskService localTaskService = new LocalTaskService(taskService); LocalHTWorkItemHandler humanTaskHandler = new LocalHTWorkItemHandler( localTaskService, ksession, OnErrorAction.RETHROW); humanTaskHandler.connect(); ksession.getWorkItemManager().registerWorkItemHandler( "Human Task", humanTaskHandler);
*Spring*
We have improved our http://docs.jboss.org/jbpm/v5.4/userguide/ch.integration.html#d0e7839 Spring support, where you can use a Spring configuration file to configure your environment and inject a ksession and/or task service into your application code. For transactions, it integrates with the Spring transaction manager, supporting both JTA and RESOURCE_LOCAL with shared entity manager factory (emf) or shared entity manager (em).
*JPA2*
jBPM runtime persistence can now also use JPA2 for persistence. That means it is completely independent of the underlying persistence provider (we use Hibernate by default but other persistence providers should be possible as well). You can use Hibernate4 with JPA2 for even better performance. For all the details on how to do this, here's a link to a persistence configuration file for both https://github.com/droolsjbpm/jbpm/blob/master/jbpm-installer/db/jbpm-per... JPA1 and https://github.com/droolsjbpm/jbpm/blob/master/jbpm-installer/db/jbpm-per... JPA2.
*Some of the other features*
* Improvements on some of the BPMN 2.0 constructs in the core engine, related to error events, terminating end events in sub processes,
* Introduction of a business calendar related to timers etc.
* The ability to start a process by name, which will automatically start the latest version of that process.
* We created separate wars for EE6 (AS7) and EE5 (AS5) to avoid a lot of manual dependency management. JBoss AS 7.1.1 is now the new default application server in the installer.
* Improved support for invoking web services from inside your processes.
* A database-backed solution for managing which users are part of which group (UserGroupCallback).
* When configuring handlers for domain-specific services, the ksession is automatically injected as an optional constructor parameter in the handler configuration file.
The details on all fixed issues and new features can be found in detail in https://issues.jboss.org/browse/JBPM JIRA.
jBPM 5.4.0.Final has been released in sync with the latest http://blog.athico.com/2012/11/drools-550final-released.html Drools 5.5.0.Final release.
If you have any questions / issues, let us know:
* Ask questions on IRC: chat.freenode.net:6667 #jbpm (there is a web-based client available http://webchat.freenode.net/ here)
* Create a JIRA issue: https://issues.jboss.org/browse/JBPM https://issues.jboss.org/browse/JBPM
* Ask the community in the https://community.jboss.org/community/jbpm?view=discussions forum
The jBPM team
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/778581#778581]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 9 months
[jBPM] - Could not connect task client: on ip: 127.0.0.1 - port: 5153
by sravanireddy
sravanireddy [https://community.jboss.org/people/sravanireddy] created the discussion
"Could not connect task client: on ip: 127.0.0.1 - port: 5153"
To view the discussion, visit: https://community.jboss.org/message/781844#781844
--------------------------------------------------------------
09/12 12:35:16,955[main] ERROR service.hornetq.HornetQTaskClientConnector.connect - Unable to connect to server using configuration org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5153&host=127-0-0-1
org.jbpm.workflow.instance.WorkflowRuntimeException: [com.sample.evaluation:1 - Self Evaluation:2] -- Could not connect task client: on ip: 127.0.0.1 - port: 5153
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:132)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:279)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:238)
at org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)
at org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:126)
at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)
at org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:194)
at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:309)
at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:170)
at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:140)
at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1098)
at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:320)
at com.sample.ProcessTest.main(ProcessTest.java:35)
Caused by: java.lang.IllegalArgumentException: Could not connect task client: on ip: 127.0.0.1 - port: 5153
at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler.connect(GenericHTWorkItemHandler.java:158)
at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler.executeWorkItem(GenericHTWorkItemHandler.java:180)
at org.drools.process.instance.impl.DefaultWorkItemManager.internalExecuteWorkItem(DefaultWorkItemManager.java:70)
at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:107)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:126)
... 13 more
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/781844#781844]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 9 months
[jBPM] - JBPM 5.4 on Mac OSX Mountain Lion
by Michael Harper
Michael Harper [https://community.jboss.org/people/michael.harper] created the discussion
"JBPM 5.4 on Mac OSX Mountain Lion"
To view the discussion, visit: https://community.jboss.org/message/791947#791947
--------------------------------------------------------------
I recently downloaded the full installer for JBPM 5.4 and first installed on a mac book pro (winter 2011 model i7, osx mountain lion) and I've had the following issues with a clean install running ant start.demo.noeclipse
With Safari, google, mozilla browsers
Note, the same install on bootcamp under windows 8 runs perfectly but our development team works on Mac's the majority of the time.
1 In drools guvnor under knowledge bases when trying to create a package I get a message telling me there was an error because I am not connected to the server although the package name save's correctly
2 Process diagram details are not being saved. They appear to save properly but are empty when re-opened.
3 Process diagrams appear all black (no colours of any kind) and are hard to read.
In the logs I am getting a lot of these kinds of errors;
Any help would be appreciated.
ERROR [org.jbpm.designer.web.server.DictionaryServlet] (http-localhost-127.0.0.1-8080-5) Unexpected end of file from server
09:54:15,213 INFO [org.drools.guvnor.server.RepositoryAssetService] (http-localhost-127.0.0.1-8080-2) USER:admin CHECKING IN asset: [P2] UUID: [5459b1e5-55ad-4af7-a72b-d103a4931d46]
09:54:15,225 ERROR [org.drools.guvnor.server.contenthandler.drools.BPMN2ProcessHandler] (http-localhost-127.0.0.1-8080-2) Unexpected end of file from server: java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:762) [rt.jar:1.7.0_12-ea]
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:623) [rt.jar:1.7.0_12-ea]
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:759) [rt.jar:1.7.0_12-ea]
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:623) [rt.jar:1.7.0_12-ea]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1323) [rt.jar:1.7.0_12-ea]
at org.drools.guvnor.server.contenthandler.drools.BPMN2ProcessHandler.serialize(BPMN2ProcessHandler.java:189) [classes:]
at org.drools.guvnor.server.contenthandler.drools.BPMN2ProcessHandler.storeAssetContent(BPMN2ProcessHandler.java:155) [classes:]
at org.drools.guvnor.server.RepositoryAssetOperations.checkinVersion(RepositoryAssetOperations.java:184) [guvnor-webapp-core-5.5.0.Final.jar:5.5.0.Final]
at org.drools.guvnor.server.RepositoryAssetOperations$Proxy$_$$_WeldClientProxy.checkinVersion(RepositoryAssetOperations$Proxy$_$$_WeldClientProxy.java) [guvnor-webapp-core-5.5.0.Final.jar:5.5.0.Final]
at org.drools.guvnor.server.RepositoryAssetService.checkinVersion(RepositoryAssetService.java:157) [guvnor-webapp-core-5.5.0.Final.jar:5.5.0.Final]
at org.drools.guvnor.server.RepositoryAssetService$Proxy$_$$_WeldClientProxy.checkinVersion(RepositoryAssetService$Proxy$_$$_WeldClientProxy.java) [guvnor-webapp-core-5.5.0.Final.jar:5.5.0.Final]
at org.drools.guvnor.server.AssetServiceServlet.checkinVersion(AssetServiceServlet.java:220) [guvnor-webapp-core-5.5.0.Final.jar:5.5.0.Final]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_12-ea]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_12-ea]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_12-ea]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_12-ea]
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569) [gwt-servlet-2.4.0.jar:]
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208) [gwt-servlet-2.4.0.jar:]
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) [gwt-servlet-2.4.0.jar:]
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) [gwt-servlet-2.4.0.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65) [solder-impl-3.1.1.Final.jar:3.1.1.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74) [solder-impl-3.1.1.Final.jar:3.1.1.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_12-ea]
also
09:53:35,790 INFO [org.jbpm.designer.server.EditorHandler] (http-localhost-127.0.0.1-8080-1) Performing diagram information pre-processing steps.
09:53:35,797 ERROR [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http-localhost-127.0.0.1-8080-1) Unexpected end of file from server
09:53:35,803 ERROR [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http-localhost-127.0.0.1-8080-1) Unexpected end of file from server
09:53:35,810 ERROR [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http-localhost-127.0.0.1-8080-1) Invalid argument
09:53:35,815 ERROR [org.jbpm.designer.web.server.ServletUtil] (http-localhost-127.0.0.1-8080-1) Invalid argument
09:53:35,820 ERROR [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http-localhost-127.0.0.1-8080-1) Error setting up form widgets: Unexpected end of file from server
09:53:35,825 ERROR [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http-localhost-127.0.0.1-8080-1) Error setting up form widgets: Unexpected end of file from server
09:53:35,8
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/791947#791947]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 9 months
[jBPM] - Drools-guvnor session problem
by Sandra Renaud
Sandra Renaud [https://community.jboss.org/people/joploya] created the discussion
"Drools-guvnor session problem"
To view the discussion, visit: https://community.jboss.org/message/795370#795370
--------------------------------------------------------------
Hello all,
I want to try drawing my processes into guvnor.
After downloading the full installer, I rename the war guvnor in drools-guvnor.war and designer-.... in designer.war. I change the preferences.property file into the archive
and then copy both war into the jboss-7 deploy folder.
But when I try to access the url : http://127.0.0.1:8080/drools-guvnor/ http://127.0.0.1:8080/drools-guvnor/
I'm already authenticate as admin and a loader appears and disappears frantically, when I click the menu it ups and dows without stopping (due to reload certainly but it is quite funny).
This is the log :
12:06:34,470 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "drools-guvnor.war"
12:06:47,886 INFO [org.drools.guvnor.server.security.DemoAuthenticator] (http--127.0.0.1-8080-1) Demo login for user (admin) succeeded.
12:06:48,097 WARN [org.jboss.seam.security.permission.SecurityRuleLoader] (http--127.0.0.1-8080-1) No security rules configured - rule base permissions will be unavailable.
12:06:48,300 INFO [org.drools.repository.RulesRepositoryConfigurator] (http--127.0.0.1-8080-4) Creating an instance of the RulesRepositoryConfigurator.
12:06:48,369 INFO [org.apache.jackrabbit.core.RepositoryImpl] (http--127.0.0.1-8080-4) Starting repository...
12:06:48,372 INFO [org.apache.jackrabbit.core.fs.local.LocalFileSystem] (http--127.0.0.1-8080-4) LocalFileSystem initialized at path repository\repository
12:06:48,498 INFO [org.apache.jackrabbit.core.fs.local.LocalFileSystem] (http--127.0.0.1-8080-4) LocalFileSystem initialized at path repository\version
12:06:49,932 INFO [org.apache.jackrabbit.core.RepositoryImpl] (http--127.0.0.1-8080-4) initializing workspace 'default'...
12:06:49,933 INFO [org.apache.jackrabbit.core.fs.local.LocalFileSystem] (http--127.0.0.1-8080-4) LocalFileSystem initialized at path repository\workspaces\default
12:06:51,504 INFO [org.apache.jackrabbit.core.query.lucene.SearchIndex] (http--127.0.0.1-8080-4) Index initialized: repository/repository/index Version: 3
12:06:51,611 INFO [org.apache.jackrabbit.core.query.lucene.SearchIndex] (http--127.0.0.1-8080-4) Index initialized: repository\workspaces\default/index Version: 3
12:06:51,612 INFO [org.apache.jackrabbit.core.RepositoryImpl] (http--127.0.0.1-8080-4) workspace 'default' initialized
12:06:51,617 INFO [org.apache.jackrabbit.core.RepositoryImpl] (http--127.0.0.1-8080-4) SecurityManager = class org.apache.jackrabbit.core.security.simple.SimpleSecurityManager
12:06:51,617 INFO [org.apache.jackrabbit.core.RepositoryImpl] (http--127.0.0.1-8080-4) initializing workspace 'security'...
12:06:51,618 INFO [org.apache.jackrabbit.core.fs.local.LocalFileSystem] (http--127.0.0.1-8080-4) LocalFileSystem initialized at path repository\workspaces\security
12:06:51,793 INFO [org.apache.jackrabbit.core.query.lucene.SearchIndex] (http--127.0.0.1-8080-4) Index initialized: repository\workspaces\security/index Version: 3
12:06:51,794 INFO [org.apache.jackrabbit.core.RepositoryImpl] (http--127.0.0.1-8080-4) workspace 'security' initialized
12:06:51,795 INFO [org.apache.jackrabbit.core.security.simple.SimpleSecurityManager] (http--127.0.0.1-8080-4) init: using Repository LoginModule configuration for Jackrabbit
12:06:51,798 INFO [org.apache.jackrabbit.core.RepositoryImpl] (http--127.0.0.1-8080-4) Repository started (3429ms)
12:06:51,798 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-4) Transient repository initialized
12:06:51,821 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-4) Session opened
12:06:51,837 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-4) Session opened
12:06:51,841 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-5) Session opened
12:06:51,843 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-1) Session opened
12:06:51,844 INFO [stdout] (http--127.0.0.1-8080-4) =============== session-admin-4
12:06:51,844 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-2) Session opened
12:06:51,845 INFO [stdout] (http--127.0.0.1-8080-5) =============== session-admin-5
12:06:51,845 INFO [stdout] (http--127.0.0.1-8080-1) =============== session-admin-6
12:06:51,846 INFO [stdout] (http--127.0.0.1-8080-2) =============== session-admin-7
12:06:51,882 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-2) Session closed
12:06:51,884 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-5) Session closed
12:06:51,885 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-1) Session closed
12:06:51,887 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-4) Session closed
12:07:14,003 INFO [org.drools.guvnor.server.security.DemoAuthenticator] (http--127.0.0.1-8080-1) Demo login for user (admin) succeeded.
12:07:14,078 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-1) Session opened
12:07:14,079 INFO [stdout] (http--127.0.0.1-8080-1) =============== session-admin-8
12:07:14,084 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-1) Session closed
12:07:14,095 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-1) Session opened
12:07:14,096 INFO [stdout] (http--127.0.0.1-8080-1) =============== session-admin-9
12:07:14,096 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-5) Session opened
12:07:14,096 INFO [stdout] (http--127.0.0.1-8080-5) =============== session-admin-10
12:07:14,099 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-1) Session closed
12:07:14,100 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-5) Session closed
12:07:14,119 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-5) Session opened
12:07:14,120 INFO [stdout] (http--127.0.0.1-8080-5) =============== session-admin-11
12:07:14,122 INFO [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-5) Session closed
A lot of sessions are created.
Anyone faces same problem?
Regards,
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/795370#795370]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 9 months
[jBPM] - Invalid JPA definition for ProcessInstanceLog v5.4.0, leads to Hibernate exception
by Julien Serdaru
Julien Serdaru [https://community.jboss.org/people/jserdaru] created the discussion
"Invalid JPA definition for ProcessInstanceLog v5.4.0, leads to Hibernate exception"
To view the discussion, visit: https://community.jboss.org/message/795008#795008
--------------------------------------------------------------
Hello, there. I see that the ProcessInstanceLog class has been modified between 5.3.0 and 5.4.0. The following persistent properties have been added:
@Column(nullable=true)private int status;@Column(nullable=true)private long parentProcessInstanceId;@Column(nullable=true)private String outcome;
However, I think having a nullable property with a primitive type is not going to work when loading data with the "parentProcessInstanceId" or "status" having null values (which happens in my case).
Hibernate complains:
Caused by: java.lang.IllegalArgumentException: *Can not set long field org.jbpm.process.audit.ProcessInstanceLog.parentProcessInstanceId to null value*
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146)
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:150)
at sun.reflect.UnsafeLongFieldAccessorImpl.set(UnsafeLongFieldAccessorImpl.java:62)
at java.lang.reflect.Field.set(Field.java:657)
at *org.hibernate.property.DirectPropertyAccessor$DirectSetter*.set(DirectPropertyAccessor.java:139)
I think a simple fix would be to substitute int with Integer, long with Long, and modifiy the setter/getter methods accordingly.
Am i the only one with the problem? Should I open an issue on Jira?
Thanks for your help.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/795008#795008]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 9 months