[Clustering/JBoss] - Re: round robin on Jboss 5
by bstansberry@jboss.com
Yes, the annotation and the xml are equivalent; no need to use both.
Re: messaging-service.xml, don't change the file, but yes, in a cluster every server needs a distinct value for the ServerPeerID property. The file uses system property substitution syntax:
<attribute name="ServerPeerID">${jboss.messaging.ServerPeerID:0}</attribute>
so you can set the value from the command line and don't have to edit the file:
sh run.sh -c all -b someaddress -Djboss.messaging.ServerPeerID=1
|
| Re: your failover behavior:
|
| 1) What AS release?
|
| 2) Please confirm that the nodes form a cluster after you restart. You can see the view (i.e. group membership) in the jboss:service=DefaultPartition mbean in the jmx-console. It's also logged in server.log.
|
| 3) If you have a proper two-node view, then I'll need more details on how your app works, preferably code showing how the client looks up the bean in JNDI, what it does with the naming Context reference, what it does with the bean reference, plus info on how many threads, etc.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204055#4204055
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204055
17 years, 3 months
[JBoss jBPM] - Re: Problem when deploying jbpm-bpel and Jboss Portal
by eddydiaz
I have the same problem. I have installed jboss-portal-2.7.0.GA and jbpm-bpel-1.1.1. The problem when deploying jbpm-bpel in jboss is:
10:35:29,700 WARN [JMSContainerInvoker] Could not find the queue destination-jndi-name=queue/JbpmCommandQueue
10:35:29,700 WARN [JMSContainerInvoker] destination not found: queue/JbpmCommandQueue reason: javax.naming.NameNotFoundException: JbpmCommandQueue not bound
10:35:29,700 WARN [JMSContainerInvoker] creating a new temporary destination: queue/JbpmCommandQueue
10:35:29,705 INFO [JbpmCommandQueue] Bound to JNDI name: queue/JbpmCommandQueue
10:35:29,816 WARN [JMSContainerInvoker] Could not find the queue destination-jndi-name=queue/JbpmJobQueue
10:35:29,816 WARN [JMSContainerInvoker] destination not found: queue/JbpmJobQueue reason: javax.naming.NameNotFoundException: JbpmJobQueue not bound
10:35:29,816 WARN [JMSContainerInvoker] creating a new temporary destination: queue/JbpmJobQueue
10:35:29,820 INFO [JbpmJobQueue] Bound to JNDI name: queue/JbpmJobQueue
10:35:29,825 INFO [EJBDeployer] Deployed: file:/usr/java/jboss-portal/server/default/tmp/deploy/tmp8608262276747418004jbpm-bpel.ear-contents/jbpm-enterprise.jar
10:35:29,918 INFO [TomcatDeployer] deploy, ctxPath=/jbpm-bpel, warUrl=.../tmp/deploy/tmp8608262276747418004jbpm-bpel.ear-contents/jbpm-bpel-exp.war/
10:35:30,095 INFO [Configuration] configuring from resource: hibernate.cfg.xml
10:35:30,095 INFO [Configuration] Configuration resource: hibernate.cfg.xml
10:35:30,098 ERROR [[/jbpm-bpel]] Exception sending context initialized event to listener instance of class org.jbpm.bpel.web.JbpmConfigurationLoader
org.hibernate.HibernateException: hibernate.cfg.xml not found
at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204054#4204054
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204054
17 years, 3 months