[jBPM] - Re: Issues oryx to jbpm
by Tihomir Surdilovic
Tihomir Surdilovic [http://community.jboss.org/people/tsurdilovic] created the discussion
"Re: Issues oryx to jbpm"
To view the discussion, visit: http://community.jboss.org/message/623029#623029
--------------------------------------------------------------
Hi Tobias, wow presenting your errors via videos is really cool! Thank you very much.
Issue #1: This issue goes back to the eclipse.bpmn2 ecore model which does not make sure the id property of the definitions node is of type xsd:NCName. I am working on fixing this in their ecore model and should have done soon.
Issue #2: Yes this is also a known Issue which I'm working on in Guvnor. When saving the process Guvnor gets the process JSON from the canvas (via JavaScript) and sends it over to Designer to convert it to BPMN2 format. If Designer is not able to to parse the JSON (because of simple issues or larger) it sends back a blank string to Guvnor, thus your process BPMN2 is gone. Best thing I can advise you until this is fixed to make sure you view the source becore saving your process changes. View source actually does the same steps (except saving bpmn2 in Guvnor) so you will see any possible errors without loosing them in Guvnor.
We will also add a validation button to the toolbar which will allow you to view any errors/warnings before saving your process. Should have that done in about 3-5 weeks.
Issue #3: Again this goes to the eclipse.bpmn2 ecore model. If you look at Semantic.xsd it defines a sequence for the process element:
<xsd:element name="process" type="tProcess" substitutionGroup="rootElement"/>
<xsd:complexType name="tProcess">
<xsd:complexContent>
<xsd:extension base="tCallableElement">
<xsd:sequence>
<xsd:element ref="auditing" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="monitoring" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="property" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="laneSet" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="flowElement" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="artifact" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="supports" type="xsd:QName" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="processType" type="tProcessType" default="none"/>
<xsd:attribute name="isClosed" type="xsd:boolean" default="false"/>
<xsd:attribute name="definitionalCollaborationRef" type="xsd:QName" use="optional"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
however when generating bpmn2 eclipse.bpmn2 does not seem to follow this sequence correctly. I'll look into this and will provide more info soon.
Issue #4: What Designer version are you testing with? Please show the bpmn2 shown in the xml editor of your video.
Thanks again for reporting all this :)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/623029#623029]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 7 months
[jBPM] - Signal/Resume fail task using JBPM5.1final
by satish polasi
satish polasi [http://community.jboss.org/people/satishpolasi] created the discussion
"Signal/Resume fail task using JBPM5.1final"
To view the discussion, visit: http://community.jboss.org/message/623046#623046
--------------------------------------------------------------
Hi,
We have implemented jbpm5.1final and developed 7 .bpmn processes and deployed in production server in client location. We start the process, claim the task assigned to group user and complete the task using jbpm5.1final rest urls such as
1) /gwt-console-server/rs/process/definition/{id}/drms_new_instance - to start the process and assign to group user
2) /gwt-console-server/rs/task/{taskId}/assign/{ifRef} - to claim the task assigned to group user
3) /gwt-console-server/rs/task/{taskId}/close_with_params - to complete the task
For every .bpmn process we have 3 user task (such as task1, task2, task3) to perform to end the process. My question here is when is start the process, the process gets initiated and creates task1 for group user, the group user login in to the application claims the task and completes it. On completion of task1 the process will create task2 in this transition if it fails how do I resume/signal the task or process.
If it fails I am trying to send signal with api methods setProcessState(instanceId, next) and signalExecution(executionId, signal) and there corresponding rest url are
/gwt-console-server/rs/process/instance/{id}/state/{next}
/gwt-console-server/rs/process/tokens/{id}/transition
I appreciate if any one can please help me out in this.
Thanks,
Satish.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/623046#623046]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 7 months
[jBPM] - MalformedObjectNameException and jndi-local-name
by re92
re92 [http://community.jboss.org/people/re92] created the discussion
"MalformedObjectNameException and jndi-local-name"
To view the discussion, visit: http://community.jboss.org/message/623036#623036
--------------------------------------------------------------
I'm running JBoss 4.2.3 with Java 1.5.0_18, and have JBPM 3.3.1 deployed. When I log in to my JBoss console ( http://localhost:8080/web-console http://localhost:8080/web-console), I see the exception at the bottom of this post, perhaps from the navigation applet on the left hand side.
When I set a breakpoint for the exception, I can see that the ObjectName.construct method is getting called with this string:
jboss.j2ee:service=EJB,jndiName=java:ejb/CommandServiceBean
The default jboss.xml file that JBPM comes with has this snippet:
{code:xml}
<local-jndi-name>java:ejb/CommandServiceBean</local-jndi-name>
{code:xml}
If I modify that to
{code:xml}
<local-jndi-name>ejb/CommandServiceBean</local-jndi-name>
{code:xml}
then the error goes away. I'm not too familiar with JNDI naming format.
Does the exception point to some name format conflict between JBoss and JBPM? Is it a benign issue I can ignore? Any suggestions on how I can fix it?
Thanks!
Raj
{noformat}
16:25:26,992 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 2m:2s:954ms
16:26:24,836 ERROR [STDERR] javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
16:26:24,836 ERROR [STDERR] at javax.management.ObjectName.construct(ObjectName.java:529)
16:26:24,836 ERROR [STDERR] at javax.management.ObjectName.<init>(ObjectName.java:1314)
16:26:24,836 ERROR [STDERR] at org.jboss.console.plugins.EJBModuleLister.createContainerName(EJBModuleLister.java:133)
16:26:24,836 ERROR [STDERR] at org.jboss.console.plugins.EJBModuleLister.createBeans(EJBModuleLister.java:79)
16:26:24,836 ERROR [STDERR] at org.jboss.console.plugins.EJBModuleLister.getTreeForResource(EJBModuleLister.java:159)
16:26:24,836 ERROR [STDERR] at org.jboss.console.plugins.helpers.AbstractPluginWrapper.getSubTreeForResource(AbstractPluginWrapper.java:215)
16:26:24,836 ERROR [STDERR] at org.jboss.console.manager.PluginManager.getTreesForResource(PluginManager.java:407)
16:26:24,836 ERROR [STDERR] at org.jboss.console.manager.PluginManager.getTreeForProfile(PluginManager.java:207)
16:26:24,836 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
16:26:24,836 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
16:26:24,836 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
16:26:24,836 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
16:26:24,836 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
16:26:24,836 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
16:26:24,836 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
16:26:24,836 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
16:26:24,836 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
16:26:24,836 ERROR [STDERR] at org.jboss.console.remote.InvokerServlet.processRequest(InvokerServlet.java:105)
16:26:24,836 ERROR [STDERR] at org.jboss.console.remote.InvokerServlet.doPost(InvokerServlet.java:148)
16:26:24,836 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
16:26:24,836 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
16:26:24,836 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
16:26:24,836 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
16:26:24,836 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
16:26:24,836 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
16:26:24,836 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
16:26:24,836 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
16:26:24,836 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
16:26:24,836 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
16:26:24,836 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
16:26:24,836 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
16:26:24,836 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
16:26:24,836 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
16:26:24,836 ERROR [STDERR] at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:856)
16:26:24,836 ERROR [STDERR] at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566)
16:26:24,836 ERROR [STDERR] at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
16:26:24,836 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
{noformat}
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/623036#623036]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 7 months
[JBoss Microcontainer] - JBoss 6.1: Isolating ears from each other
by Greg Jewell
Greg Jewell [http://community.jboss.org/people/jewellgm] created the discussion
"JBoss 6.1: Isolating ears from each other"
To view the discussion, visit: http://community.jboss.org/message/623020#623020
--------------------------------------------------------------
Hello,
I have two ears deployed in the default server of JBoss 6.1. One of the ears (call it service.ear) provides a service to retrieve data from an external source and to translate it to a different structure. The other ear (call it client.ear) utilizes this service. As a result, the client ear contains the class definition the service ear translates the data to.
Naturally, this is causing problems. I am getting the dreaded "expected class Data but got class Data" exception. I've tried many configurations of jboss-classloading.xml and jboss-classloading-domain.xml, but the only thing that I can get to work is the "sledgehammer" jboss-classloading configuration:
<classloading xmlns="urn:jboss:classloading:1.0"
domain="DefaultDomain"
export-all="NON_EMPTY"
import-all="true"
parent-first="true">
</classloading>
As you can imagine, I really don't want this configuration. Can someone provide to me sample files that I need to place in my various ear files that will prevent this error from occurring? I've tried giving each ear their own domain, setting import-all to false, and parent-first to false, but none of those appear to resolve the issue. I've also tried adding jboss-classloading-domain.xml, but I don't understand that well enough.
Thanks!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/623020#623020]
Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 7 months
[jBPM] - jBPM in Websphere
by John Soundrakumar
John Soundrakumar [http://community.jboss.org/people/skjohn] created the discussion
"jBPM in Websphere"
To view the discussion, visit: http://community.jboss.org/message/615076#615076
--------------------------------------------------------------
Hi,
Does jBpm work in websphere.? Does it need Bitronix transaction manager only to work? I ve created a simple process definition with start, task1, task2, end. I am able to complete the task1 when I start the process. In my web applicaiton I am reloading the StatefulKnowledgeSession from the database and I register a workitem handlder
StatefulKnowledgeSession ksession = JPAKnowledgeService.+loadStatefulKnowledgeSession+(sessionid , kbase, **null);**
ksession.getWorkItemManager().registerWorkItemHandler("Human Task", th);
ksession.getWorkItemManager().completeWorkItem(wit.getId(), **null**);
the work item is not getting saved and wit.getId throwing null pointer exception. the same taskhandler persists in the first task1 without any problem.
Any clues? thanks for your help.
****TestWorkItemHandler th = *new* TestWorkItemHandler();
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/615076#615076]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 7 months