[jBPM] - Error with connection
by tmmaluleke
tmmaluleke [https://community.jboss.org/people/tmmaluleke] created the discussion
"Error with connection"
To view the discussion, visit: https://community.jboss.org/message/761847#761847
--------------------------------------------------------------
Hello,
Since I changed my database to mysql, when I run the my process I get this error:
| 0 | 27/09 11:03:44,406[main] ERROR service.hornetq.HornetQTaskClientConnector.connect - Unable to connect to server using configuration org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5445&host=127-0-0-1 |
org.jbpm.workflow.instance.WorkflowRuntimeException: [departmentOfEductaion.bpmn:1 - Dept Of Education Evaluation:3] -- Could not connect task client: on ip: 127.0.0.1 - port: 5445
| | at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:130) |
| | at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:205) |
| | at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:164) |
| | 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:124) |
| | at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35) |
| | at org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:188) |
| | at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:303) |
| | at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:168) |
| | at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:138) |
| | at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1082) |
| | at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:320) |
| | at departmentOfEducation.DepartmentProcess.main(DepartmentProcess.java:29) |
Caused by: java.lang.IllegalArgumentException: Could not connect task client: on ip: 127.0.0.1 - port: 5445
| | at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler.connect(GenericHTWorkItemHandler.java:119) |
| | at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler.executeWorkItem(GenericHTWorkItemHandler.java:143) |
| | at org.drools.process.instance.impl.DefaultWorkItemManager.internalExecuteWorkItem(DefaultWorkItemManager.java:70) |
| | at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:105) |
| | at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:124) |
| | ... 13 more |
What can be the cause of this error please help?
I can't connect to jbpm-console and guvnor. Thanx for the help in advanced.
cheers
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/761847#761847]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years
[jBPM] - jBPM 5.3 released
by Kris Verlaenen
Kris Verlaenen [https://community.jboss.org/people/KrisVerlaenen] created the discussion
"jBPM 5.3 released"
To view the discussion, visit: https://community.jboss.org/message/737803#737803
--------------------------------------------------------------
http://kverlaen.blogspot.com/2012/05/jbpm-53-released.html http://kverlaen.blogspot.com/2012/05/jbpm-53-released.html
jBPM 5.3 has just been released. It includes a large amount of smaller improvements and fixes, and also contains a few new bigger features as well:
* We would like to introduce our http://docs.jboss.org/jbpm/v5.3/userguide/ch.eclipse-bpmn-plugin.html new Eclipse editor for defining business process in Eclipse (using the BPMN 2.0 standard). This editor will offer support for the full BPMN2 specification, and currently offers support for at least the same constructs as the previous plugin. We will continue to extend it over time with all the other constructs the jBPM core engine already supports, but we would like to hear your feedback as well !
http://1.bp.blogspot.com/-M0rOaqC7HwI/T7oxPA05MbI/AAAAAAAAASE/lyR1eCUZu_o... http://1.bp.blogspot.com/-M0rOaqC7HwI/T7oxPA05MbI/AAAAAAAAASE/lyR1eCUZu_o...
* A first version of the form builder has been released as well. This form builder allows you to create and edit your forms (for tasks and processes) in a graphical way, using drag and drop. It supports the usual components like labels, text fields and areas, buttons, etc. but already has support for various layouts, scripting, building your own components, etc. [Note: this first version is currently only supported on FireFox but we're working on adding support for all other browsers as well]
http://1.bp.blogspot.com/-Ov7gkMW1v9Q/T7oz5ZdREBI/AAAAAAAAASQ/JBXySeFPPRI... http://1.bp.blogspot.com/-Ov7gkMW1v9Q/T7oz5ZdREBI/AAAAAAAAASQ/JBXySeFPPRI...
* The web designer received a http://surdilovic.wordpress.com/2012/04/10/jbpm-designer-version-2-1-rele... lot of love as well, with new features like user-friendly property editors, color themes, a dictionary, inline form editing, etc.
http://1.bp.blogspot.com/-fokSxkZGTrA/T7o0_8y7rwI/AAAAAAAAASY/OCHQ0XrtrgE... http://1.bp.blogspot.com/-fokSxkZGTrA/T7o0_8y7rwI/AAAAAAAAASY/OCHQ0XrtrgE...
* The jbpm-human-task module has been split up in a jbpm-human-task-core module and sub-modules for the different transport protocols available (hornetq, mina, jms), and a separate war that can be deployed in the application server (and is made easily http://docs.jboss.org/jbpm/v5.3/userguide/ch.human-tasks.html#d0e5383 configurable now). The installer now uses the war (with HornetQ) by default.
* Integration between the jBPM console and Guvnor has been upgraded, to support new packages being added in Guvnor, removal of processes, etc.
* The human task module now supports http://docs.jboss.org/jbpm/v5.3/userguide/ch.human-tasks.html#d0e4934 escalations and notifications.
* Lots of persistence improvements to better support different databases, and we're using a new serialization technology (Protobuf) to better support upgrading / migration in the future.
You can download the release https://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.3.0.Final/ here (if you're not sure what you're looking for, downloading the full installer and then following the http://docs.jboss.org/jbpm/v5.3/userguide/ch.installer.html installer chapter to set up your environment and run through the tooling with a simple example is probably a good idea), or browse the http://docs.jboss.org/jbpm/v5.3/userguide/ documentation and http://docs.jboss.org/jbpm/v5.3/javadocs/ javadocs.
jBPM 5.3.0.Final has been released in sync with the latest http://blog.athico.com/2012/05/drools-540final-released.html Drools 5.4.0.Final release.
We're still updating our docs and writing some blogs on the new features as we speak, so you can expect more updates from us soon!
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/jbpm?view=discussions forum
The jBPM team
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/737803#737803]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years
[jBPM] - Re: Session and thread safety
by Michał Mański
Michał Mański [https://community.jboss.org/people/mmanski] created the discussion
"Re: Session and thread safety"
To view the discussion, visit: https://community.jboss.org/message/762354#762354
--------------------------------------------------------------
Hi,
I use JBPM 5.3.0.Final in my project. My application uses EJB 3.1/JPA 2.0 and runs on JBoss 7.1.1.Final. I have similar problem with thread safety.
When I use one session for whole application, strange exceptions are thrown (e.g. "javax.persistence.PersistenceException: error during managed flush ... caused by: org.hibernate.AssertionFailure: collection [null] was not processed by flush()", "javax.persistence.PersistenceException: error during managed flush ... Caused by: java.util.ConcurrentModificationException" or "org.hibernate.HibernateException: Found two representations of same collection: org.jbpm.persistence.processinstance.ProcessInstanceInfo.eventTypes") if many users use the application simultaneously. I tried to use the ProcessPersistenceContextManager presented by Sebastian, but it didn't resolve the problem - errors still appear.
When I try to user another solution and create new session for every request, I don't know how to dispose sessions. I read in documentation that this method must always be called after finishing using the session, or the engine will not free the memory used by the session. However, I don't know how to correctly dispose a session.
If I try to dispose session before end of transaction, an exception is thrown during committing transaction: "javax.persistence.PersistenceException: error during managed flush ... Caused by: java.lang.IllegalStateException: Illegal method call. This session was previously disposed".
On the other hand, if i dispose session after transaction commits, another exception is thrown: "Could not commit session: javax.persistence.TransactionRequiredException: No active JTA transaction on joinTransaction call".
Does anyone know what is the correct way to dispose a session?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/762354#762354]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years
[Beginner's Corner] - Deployment exception - Binding EJB Home
by Volker Biermann
Volker Biermann [https://community.jboss.org/people/katerchen0815] created the discussion
"Deployment exception - Binding EJB Home"
To view the discussion, visit: https://community.jboss.org/message/760547#760547
--------------------------------------------------------------
Hello,
I am Using JBoss 6 to deploy an application. For several beans this works very good. I have problem with a stateless session bean. What am I doing wrong? The log shows that the bean is deployed but it looks that it can not bound to jndi. Please see below a part of the boot log. I have added the deployment files as attachments. I am convinced that I did something wrong but what?
09:12:27,370 INFO [EjbDeployer] installing bean: ejb/bpserver.jar#BPFinder,uid1044388609
09:12:27,372 INFO [EjbDeployer] with dependencies:
09:12:27,374 INFO [EjbDeployer] and supplies:
09:12:27,375 INFO [EjbDeployer] jndi:bpserver/BPFinder/com.identalink.biopassportadminserver.BPFinder
09:12:27,378 INFO [EjbDeployer] jndi:BPFinder
09:12:27,379 INFO [EjbDeployer] jndi:bpserver/BPFinder
--- info deleted ---
09:12:30,231 INFO [EjbModule] Deploying BPFinder
--- info deleted ---
09:12:53,093 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:jndiName=BPFinder,service=EJB state=Create mode=Manual requiredState=Installed: javax.management.MalformedObjectNameException: Unterminated key property part
--- error stack trace deleted ---
09:12:54,146 INFO [ProxyFactory] Unbind EJB Home 'BPFinder' from jndi 'BPFinder'
Thank you for your help
Katerchen0815
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/760547#760547]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years