[Design of JBoss jBPM] - Re: MessageService and JMS
by mteira
Sorry for triggering questions that fast. I will try to control myself and investigate a little more before asking.
I've copied jbpm.cfg.xml to the jbpm/jpdl/jar/src/main/config/jbpm.cfg.xml and changed the message service to use the JMS based one:
<service name="message"
| factory="org.jbpm.msg.jms.JmsMessageServiceFactoryImpl" />
Now, I'm getting NPE in JmsMessageServiceFactoryImpl openService. It happens at line 49:
ConnectionFactory connectionFactory = (ConnectionFactory) initialContext.lookup(connectionFactoryJndiName);
I see that the private member connectionFactoryJndiName is initialized to 'null' and there's no method to change it to another value. Is it injected from another place? Is there some code missing here?
Regards.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977627#3977627
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977627
19 years, 6 months
[Design of JBossCache] - Re: Issues with shunned node rejoining a cluster
by bstansberry@jboss.com
Bela can comment better as to whether not getting one last view before you leave is a flaw or intended behavior.
Looks like when a DISCONNECT comes down the channel, GMS sends a LEAVE_REQ to the coord, who, before sending out a new view, replies with a LEAVE_RSP. Upon receipt of the LEAVE_RSP, ParticipantGmsImpl sends a DISCONNECT_OK up to the app, and then passses the DISCONNECT down the channel. When the DISCONNECT gets to NAKACK, it puts it into a state where no further messages are passed up. Thus any subsequent view sent by the coord is dropped.
Any change to this would have to watch out for breaking this bit in JChannel.up():
case Event.VIEW_CHANGE:
| my_view=(View)evt.getArg();
|
| // crude solution to bug #775120: if we get our first view *before* the CONNECT_OK,
| // we simply set the state to connected
| if(connected == false) {
| connected=true;
| synchronized(connect_mutex) { // bug fix contributed by Chris Wampler (bug #943881)
| connect_ok_event_received=true;
| connect_mutex.notify();
| }
| }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977624#3977624
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977624
19 years, 6 months
[Design of POJO Server] - Need more metadata for the JARStructure deployer
by scott.stark@jboss.org
Right now the JARStructure deployer is stumbling around in the dark trying to identify whatever gets passed to it. The two problems I am current seeing are:
1. Its traversing directories it should not, for example, a directory entry in a jar archive.
2. Its not traversing directories it should, for example, a child directory in top level deployment (jbossweb-tomcat6.deployer/jsf-libs).
This might be conflicts in the deployment oriented VFS.isArchive attribute, isLeaf, or just bugs, but we need the ability to explicitly define what the structure of a deployment is in terms of deployment contexts and classpath entries via metadata. With such a notion the ear structure deployer would just be a deployer that obtained this metadata via alternate descriptors. The JARStructure deployer would just be java coded logic to produce this metadata. So basically and extension of the ear application.xml structural elements (module and lib dirs) is what I'm thinking of.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977614#3977614
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977614
19 years, 6 months