[jBPM] - jbpm-examples with jBPM 5.4
by Gareth Edwards
Gareth Edwards [https://community.jboss.org/people/garethed] created the discussion
"jbpm-examples with jBPM 5.4"
To view the discussion, visit: https://community.jboss.org/message/778683#778683
--------------------------------------------------------------
Hello,
Is there an updated HumanTaskExample that works with jBPM 5.4?
The following lines either contain reomved of depricated methods.
There must be a new way of doing this that I'm not aware of. (These lines are not together in the source code)
contentData = ContentMarshallerHelper.marshal(results, hornetQHTWorkItemHandler.getMarshallerContext(), null);
TaskSummary task3 = taskClient.getTasksAssignedAsPotentialOwner("john", groups, "en-UK").get(0);
taskClient.claim(task3.getId(), "john", groups);
contentData = ContentMarshallerHelper.marshal(results, hornetQHTWorkItemHandler.getMarshallerContext(), null);
Object result = ContentMarshallerHelper.unmarshall("org.drools.marshalling.impl.SerializablePlaceholderResolverStrategy",
content.getContent(), hornetQHTWorkItemHandler.getMarshallerContext(), null);
Any help would be greatlt appreciated.
Regards,
Gareth.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/778683#778683]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 3 months
[Performance Tuning] - out of memory - JBoss 4.01 AS with JDK 1.5.
by ram k
ram k [https://community.jboss.org/people/rammy1984] created the discussion
"out of memory - JBoss 4.01 AS with JDK 1.5."
To view the discussion, visit: https://community.jboss.org/message/786866#786866
--------------------------------------------------------------
Hi All
In the project which i work on we receive the out of memory error . I acquired the heap dump by adding the JVM params. I analyzed the heap dump with memory analyzer and i see huge amount of heap is retained by class *org.apache.tomcat.util.threads.ThreadWithAttributes*. I can see all my entity objects are added to the ArrayList within that class and its never getting released. We are basically exposing our buisness as web services. Its using XFire and Can someone explain how to proceed on these issues. What will be the next step in the analysis? Any ideas will be really appreciated.
JVM params specified in run.bat
set JAVA_OPTS=%JAVA_OPTS% -Xms9728m -Xmx9728m -server -Xss192k -XX:MaxPermSize=128m -XX:+HeapDumpOnCtrlBreak -XX:+HeapDumpOnOutOfMemoryError
Please let me know if any details are to be provided.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/786866#786866]
Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 3 months
[jBPM] - Question about how to add user to assign and execute human task
by Jimmy dong
Jimmy dong [https://community.jboss.org/people/jimmy.dongjia] created the discussion
"Question about how to add user to assign and execute human task"
To view the discussion, visit: https://community.jboss.org/message/717004#717004
--------------------------------------------------------------
Dear all:
I created a jbpm project only include .bpmn file and .ftl file, I start and execute process by jbpm console. At first, a user task node 's +ActorId+ I fill in "john",
and I can use john login console and see personal task. But when I fill in the user task node 's +ActorId as "jimmy" or other name which I set in+
+/jbpm-installer/jboss-5.1.0.GA/server/default/conf/users.properties, I only can login the console ,and start a process,but can't be assigned a personal task.+
+My question is : why only set+ user task node 's +ActorId as "krisv","john",or "mary" can be assigned task, if set+ user task node 's +ActorId as other names in "users.properties",+
+only can login console,but can't assign personal task?+
the content of file users.properties:
admin=admin
krisv=krisv
john=john
mary=mary
jimmy=jimmy
hawis=hawis
marvin=marvin
william=william
daniel=daniel
kim=kim
jason=jason
yuri=yuri
devin=devin
sales-rep=sales-rep
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/717004#717004]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 3 months
[jBPM] - Correct workflow for creating bpmn2 processes
by Gareth Edwards
Gareth Edwards [https://community.jboss.org/people/garethed] created the discussion
"Correct workflow for creating bpmn2 processes"
To view the discussion, visit: https://community.jboss.org/message/785260#785260
--------------------------------------------------------------
Hi,
What is the recommended workflow for creating bpmn2 diagrams.
I find that I can start a diagram with the eclipse plugin (either one) and check it in to the guvnor. I can edit it with the drools-guvnor web app.
After a while, I think after using the latest bpmn2 plugin, the web editor start complaining about ...Caused by: java.lang.ClassCastException: The feature 'processAnalysisData's type 'ProcessAnalysisDataType' does not permit a value of type 'AnyType'
and the diagram will not display using drools-guvnor.
They seem inconsistent with each other. Some process editors are better for adding variables etc.
Some nice how-to guides would be nice.
Somebody must have had success. I'm not doing anything complicated yet.
Maybe I should ditch the latest eclipse plugin.
Gareth.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/785260#785260]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 3 months
[jBPM] - jBPM REST API for custom client application
by Justin Robbins
Justin Robbins [https://community.jboss.org/people/jhrobbin] created the discussion
"jBPM REST API for custom client application"
To view the discussion, visit: https://community.jboss.org/message/734916#734916
--------------------------------------------------------------
Hi folks,
I'd appreciate some suggestions on the topic of exposing jBPM REST API to a custom client application.
Cliff Notes:
Bulding a custom smartphone app (not just using BPM Console client). Better to re-use the REST API already exposed by the Console-Server or roll our own REST API for jBPM? (See details below for better explanation)
Details:
Let's say we want to build a smartphone app that provides a small subset of what the BPM Console browser app does along with some other functionality specific to our own application. To be clear, the smartphone app doesn't just interact with jBPM. If that were the case, then I assume it would be a no-brainer to have the smartphone app directly hit the Console-Server.
I'm thinking the smartphone app makes REST calls to our own server API. From there, one option would be for our server API to make REST API calls to the Console-Server (also running in our server environment) for jBPM related things like get a list of tasks, claim a task, etc.
Would that be preferrable to rolling our own? Or would it be better to skip using the Console-Server and have our API server side code use the jBPM Java API instead. I'm assuming I can do things like get a list of tasks for a user, claim a test, etc using the jBPM Java API (I haven't dug deep into the capabilities of the jBPM Java API). I have seen the list of available URIs prvided by the Console-Server so I think I have a handle on what the Console-Server API exposes.
Many thanks for your input.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/734916#734916]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 3 months
[IronJacamar] - trouble with RAR with ResourceAdapter
by Frank Langelage
Frank Langelage [https://community.jboss.org/people/lafr] created the discussion
"trouble with RAR with ResourceAdapter"
To view the discussion, visit: https://community.jboss.org/message/779991#779991
--------------------------------------------------------------
I have a rar file in charge for some month on JBoss AS7 Alpha1-SNAPSHOT, using ironjacamer 1.0.13.Final now.
After some trouble with the migration from 4.2x it worked fine for a long time. Code was not changed.
Now I encounter problems again.
Validation is still successful:
ksh validator.sh $JBOSS_HOME/standalone/deployments/filesystem.rar
Validation sucessful
standalone.xml contains:
| | <subsystem xmlns="urn:jboss:domain:resource-adapters:1.0"> |
| | <resource-adapters> |
| | <resource-adapter> |
| | <archive>filesystem.rar</archive> |
| | <config-property name="Path">/mbi</config-property> |
| | <connection-definitions> |
| | <connection-definition jndi-name="java:/Filesystem" class-name="biz.mbisoftware.fn.jca.filesystem.FilesystemManagedConnectionFactory"/> |
| | </connection-definitions> |
| | </resource-adapter> |
| | </resource-adapters> |
| | </subsystem> |
Sources are:
FilesystemConnectionFactoryImpl.java
FilesystemConnectionImpl.java
FilesystemConnectionManager.java
FilesystemManagedConnection.java
FilesystemManagedConnectionFactory.java
FilesystemManagedConnectionMetaData.java
FilesystemResourceAdapter.java
ci/FilesystemConnectionFactory.java
ci/FilesystemConnection.java
>From server.log:
22:25:20,347 INFO [org.jboss.as.server.deployment.scanner#startScanner] JBAS015012: Started FileSystemDeploymentService for directory /mbi/tools/jboss/7.2/standalone/deployments
22:25:20,356 INFO [org.jboss.as.server.deployment#start] JBAS015876: Starting deployment of "filesystem.rar"
22:25:48,109 DEBUG [biz.mbisoftware.fn.jca.filesystem.FilesystemManagedConnectionFactory#<init>]
22:25:48,111 DEBUG [biz.mbisoftware.fn.jca.filesystem.FilesystemManagedConnectionFactory#<init>]
22:25:48,112 DEBUG [biz.mbisoftware.fn.jca.filesystem.FilesystemManagedConnectionFactory#setLogWriter] java.io.PrintWriter@1ee88dd
22:25:48,112 DEBUG [biz.mbisoftware.fn.jca.filesystem.FilesystemManagedConnectionFactory#setLogWriter]
22:25:48,113 DEBUG [biz.mbisoftware.fn.jca.filesystem.FilesystemManagedConnectionFactory#createConnectionFactory]
22:25:48,114 DEBUG [biz.mbisoftware.fn.jca.filesystem.FilesystemManagedConnectionFactory#createConnectionFactory] biz.mbisoftware.fn.jca.filesystem.FilesystemConnectionFactoryImpl@15b9f9a
22:25:48,115 INFO [org.jboss.as.connector.deployment#bindConnectionFactory] JBAS010406: Registered connection factory java:/Filesystem
22:25:48,119 INFO [org.jboss.as.connector.deployers.RaXmlDeployer#createObjectsAndInjectValue] IJ020002: Deployed: file:/mbi/tools/jboss/7.2/standalone/tmp/vfs/tempf60d0c19e890fd72/filesystem.rar-dafe9e7274262254/contents/
22:25:53,058 INFO [org.jboss.as.connector.deployment#transition] JBAS010401: Bound JCA ConnectionFactory [java:/Filesystem]
...
22:30:03,300 DEBUG [biz.mbisoftware.fn.jca.filesystem.FilesystemManagedConnectionFactory#hashCode]
22:30:03,304 DEBUG [biz.mbisoftware.fn.jca.filesystem.FilesystemManagedConnectionFactory#hashCode] 17
22:30:03,306 DEBUG [biz.mbisoftware.fn.jca.filesystem.FilesystemConnectionImpl#<init>] biz.mbisoftware.fn.jca.filesystem.FilesystemManagedConnectionFactory@11
22:30:03,307 DEBUG [biz.mbisoftware.fn.jca.filesystem.FilesystemConnectionImpl#<init>]
22:30:03,309 DEBUG [biz.mbisoftware.fn.jca.filesystem.FilesystemConnectionImpl#getRepositoryPath]
22:30:03,311 DEBUG [biz.mbisoftware.fn.jca.filesystem.FilesystemManagedConnectionFactory#getResourceAdapter]
22:30:03,312 DEBUG [biz.mbisoftware.fn.jca.filesystem.FilesystemManagedConnectionFactory#getResourceAdapter] null
22:30:03,314 ERROR [biz.mbisoftware.fn.jca.filesystem.FilesystemConnectionImpl#getRepositoryPath] this.mcf.getResourceAdapter() == null
22:30:03,315 DEBUG [biz.mbisoftware.fn.jca.filesystem.FilesystemManagedConnectionFactory#getResourceAdapter]
22:30:03,317 DEBUG [biz.mbisoftware.fn.jca.filesystem.FilesystemManagedConnectionFactory#getResourceAdapter] null
No instance of FilesystemResourceAdapter taking the "Path" property is created and set for the ManagedConnectionFactory object during deployment.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/779991#779991]
Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 3 months