[JBoss jBPM] - Re: fault never reaches catchall
by meghanai_99
After getting cvs trunk checked out locally, I built the jbpm-enterprise.ear locally and deployed to my JBoss 4.0.5.GA server. I could access jbpm-console and login to it.
Then I followed steps given on the wiki page to deploy BPEL extension, I got ClassNotFoundException for JobExecutorServlet. I see this servlet is configured in both jbpm-console and jbpm-bpel war files.
The ear file has the class in jbpm-jpdl.jar bundled in it but not jbpm-bpel war file. My global lib folder did not have this jar.
So my question is - why is this jar not bundled in the jbpm-bpel war file? In fact even other jars such as jbpm-bpel.jar and jbpm-bpel-config.jar are not part of war but are copied to global lib folder? what is the reason to keep them global?
Thank you,
Meghana
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043774#4043774
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043774
19 years
[JBoss Messaging] - Re: Problem with JMS rollback
by timfox
"keuller" wrote : Tim,
|
| But my aplication has a time interval when we check Queue and each verification is a new session. If I apply rollback in a Session s1, according with you another software has created session s2 and it will be consumes the message again, thats right ?
|
|
According to the JMS spec rollback caues recovery of the session, so the messages will be immediately redelivered to the *same session* that called rollback. So after rollback they won't be available to be consumed by another session until the first session (the one that called rollback) closes.
anonymous wrote :
| Or if I shutdown my application I'll close the current session and start again my application a new session will be created. So when a start again my application must be consumes all messages stored in table ?
|
| Regards.
Yes, if you close the session that called rollback and create a new one, then that new session should receive the messages again.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043771#4043771
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043771
19 years
[JBoss Seam] - Seam component as a listener
by zzzz8
I would like to have a Seam component used as a listener. Here's what I mean:
@Name("myBean")
| @Stateful
| public class MyClassBean implements MyClass, PacketListener {
| @In
| Connection connection = null;
|
| @In
| List<MyMessageList> messageList = null;
|
| @Create
| public void createBean() {
| connection.addPacketListener(this);
| }
|
| public void processPacket(Packet packet) {
| messageList.add(Packet);
| }
| }
The processPacket method has its interface defined by the PacketListener interface and is thus implemented in my bean. So I want the Seam component to be a listener - this can be seen in the statement:
connection.addPacketListener(this);
This seems to work... up to a point. So when the processPacket method is invoked, I notice messageList doesn't seem to be injected. What am I doing wrong and is there any way around this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043768#4043768
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043768
19 years