[JBoss Messaging] - Re: Reset button
by weston.price@jboss.com
anonymous wrote :
| Another problem with JBossMQ (most probably) is that JBoss JCA connection pool is very itchy about not closing database connections. So, when a consumer stalls, it might keep the connections open indefinitly and this will lead to terrible other problems. Just do a search on the forums and you will see that a lot of people who switch to JBoss experience significant problems with JCA.
| And in my configuration you see a lot of dead database connections combined with a decrease in MQ activity.
|
This is absurd. Instead of making blanket generalizations like this, point to specific examples or at the very least post your issue to the JCA forum. You are always free to include your *-ds.xml file and any *specfics* you think makes JBoss JCA 'itchy'.
anonymous wrote :
| 3. drop JBoss JCA, it is simplly too itchy about connection closing (but this is a different story)
|
More drivel. Again, provide specfic examples and some sort of working example that you believe exhibits this problem.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978321#3978321
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978321
19 years, 8 months
[JBoss jBPM] - Problem Sending a email via ActionHandler
by Froschfinger
hi, i want to develop a Workflow prototype for my faculty at the TU Dresden, but i have a big problem. I want to send emails to different persons after completing tasks. i wrote two classes which handle the actions with the Javamail API. As a standalone application it works but if i put it in a ActionHandler Jboss said, that he couldn't find the javamail.default.providers int the database. Does anybody know how to solve this problem or is there another solution for sending emails. the stacktrace looks like:
| Caused by: org.jbpm.JbpmException: couldn't get value for file 'META-INF/javamail.default.providers'
| at org.jbpm.file.def.FileDefinition.getBytes(FileDefinition.java:186)
| at org.jbpm.instantiation.ProcessClassLoader.getResourceAsStream(ProcessClassLoader.java:43)
| at java.lang.Class.getResourceAsStream(Class.java:1331)
| at javax.mail.Session$4.run(Session.java:1193)
| at java.security.AccessController.doPrivileged(Native Method)
| at javax.mail.Session.getResourceAsStream(Session.java:1190)
| at javax.mail.Session.loadResource(Session.java:1082)
| at javax.mail.Session.loadProviders(Session.java:889)
| at javax.mail.Session.<init>(Session.java:210)
| at javax.mail.Session.getDefaultInstance(Session.java:299)
| at com.sample.action.MailSend.sendMail(MailSend.java:38)
| at com.sample.action.MyActionHandler.execute(MyActionHandler.java:30)
| at org.jbpm.graph.def.Action.execute(Action.java:123)
| at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235)
| ... 68 more
| Caused by: org.jbpm.JbpmException: file 'META-INF/javamail.default.providers' not found in db
| at org.jbpm.file.def.FileDefinition.getByteArray(FileDefinition.java:210)
| at org.jbpm.file.def.FileDefinition.getBytesFromDb(FileDefinition.java:202)
| at org.jbpm.file.def.FileDefinition.getBytes(FileDefinition.java:183)
| ... 81 more
|
I work with JBPM 3.1.2 and the Javamail API 1.4
I really hope somebody could give me some hints.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978319#3978319
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978319
19 years, 8 months
[JBoss jBPM] - Problem getting out of a join
by GrimShieldsson
The start task splits into three task nodes. Two (the right side) of the task nodes transition to a join. That join then immediately splits into 3 task nodes. The single task node splits into 5 task nodes.
There's some more splitting and joining, but my problem is when the two join, and then split.
In the process definition below, the left side follows the PM-? task nodes while the right side follows the BPM-? task nodes.
My problem is that the process gets stuck in Join 2, it gets there but never leaves. The left side continues on, and Join-5 keeps on going, even though it should be waiting on the BPM-? execution path fo finish. However, even though PM-15 is exited, and the end-task is entered, the process isn't finished.
When I run it with the PM-? paths commented out, it runs just fine. It runs just fine when I have the BPM-? commented out. I've even tried to put a task-node in between Join-2 and Fork-2, but that didn't help.. it never left Join-2.
<?xml version="1.0" encoding="UTF-8"?>
<process-definition name="Mini-IM" xmlns="urn:jbpm.org:jpdl-3.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:jbpm.org:jpdl-3.1 urn:jbpm.org:jpdl-3.1 ">
<exception-handler>
</exception-handler>
<start-state name="Project Starts">
<variable name="projectName" access="read,write"
mapped-name="projectName" />
<variable name="projectNumber" access="read,write"
mapped-name="projectNumber" />
<variable name="projectDescription" access="read,write"
mapped-name="projectDescription" />
<assignment
class="com.wellsfargo.im.jbpm.handlers.AssignmentHandler"
config-type="field">
ProjectManager
</start-state>
<task-node name="PM-1">
<assignment actor-id="Jim" />
</task-node>
<task-node name="BPM-1">
</task-node>
<task-node name="BPM-2">
</task-node>
<task-node name="PM-2">
<assignment actor-id="Jim" />
</task-node>
<task-node name="PM-3">
<assignment actor-id="Jim" />
</task-node>
<task-node name="PM-4">
<assignment actor-id="Jim" />
</task-node>
<task-node name="PM-5">
<assignment actor-id="Jim" />
</task-node>
<task-node name="PM-6">
<assignment actor-id="Jim" />
</task-node>
<task-node name="PM-7">
<assignment actor-id="Jim" />
</task-node>
<task-node name="PM-8">
<assignment actor-id="Jim" />
</task-node>
<task-node name="PM-9">
<assignment actor-id="Jim" />
</task-node>
<!-- BPM Task Nodes -->
<task-node name="BPM-3">
</task-node>
<task-node name="BPM-4">
</task-node>
<task-node name="BPM-5">
</task-node>
<task-node name="BPM-6">
</task-node>
<task-node name="PM-15">
</task-node>
<end-state name="Project Ends">
</end-state>
</process-definition>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978309#3978309
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978309
19 years, 8 months