Author: alex.guizar(a)jboss.com
Date: 2010-08-04 20:09:11 -0400 (Wed, 04 Aug 2010)
New Revision: 6543
Modified:
jbpm3/branches/jbpm-3.2-soa/modules/enterprise/src/main/etc/jbpm.cfg.xml
jbpm3/branches/jbpm-3.2-soa/modules/enterprise/src/main/resources/META-INF/jboss.xml
Log:
JBPM-2916 specify global destination jndi name in message service factory configuration,
to address intermittent lookup failures in hudson
Modified: jbpm3/branches/jbpm-3.2-soa/modules/enterprise/src/main/etc/jbpm.cfg.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/enterprise/src/main/etc/jbpm.cfg.xml 2010-08-03
22:30:33 UTC (rev 6542)
+++ jbpm3/branches/jbpm-3.2-soa/modules/enterprise/src/main/etc/jbpm.cfg.xml 2010-08-05
00:09:11 UTC (rev 6543)
@@ -2,7 +2,15 @@
<jbpm-context>
<service name="persistence"
factory="org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory" />
- <service name="message"
factory="org.jbpm.msg.jms.JmsMessageServiceFactory" />
+ <service name="message">
+ <factory>
+ <bean class="org.jbpm.msg.jms.JmsMessageServiceFactory">
+ <field name="destinationJndiName">
+ <string value="queue/JbpmJobQueue" />
+ </field>
+ </bean>
+ </factory>
+ </service>
<service name="scheduler"
factory="org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory" />
<service name="tx" factory="org.jbpm.tx.TxServiceFactory"
/>
<service name="logging"
factory="org.jbpm.logging.db.DbLoggingServiceFactory" />
Modified:
jbpm3/branches/jbpm-3.2-soa/modules/enterprise/src/main/resources/META-INF/jboss.xml
===================================================================
---
jbpm3/branches/jbpm-3.2-soa/modules/enterprise/src/main/resources/META-INF/jboss.xml 2010-08-03
22:30:33 UTC (rev 6542)
+++
jbpm3/branches/jbpm-3.2-soa/modules/enterprise/src/main/resources/META-INF/jboss.xml 2010-08-05
00:09:11 UTC (rev 6543)
@@ -1,12 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE jboss PUBLIC
- "-//JBoss//DTD JBOSS 4.0//EN"
+<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN"
"http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
<jboss>
-
<enterprise-beans>
-
<session>
<ejb-name>CommandServiceBean</ejb-name>
<jndi-name>ejb/CommandServiceBean</jndi-name>
@@ -50,20 +47,17 @@
<jndi-name>jbpm/TimerEntityBean</jndi-name>
<local-jndi-name>java:jbpm/TimerEntityBean</local-jndi-name>
</entity>
-
</enterprise-beans>
<assembly-descriptor>
-
<message-destination>
<message-destination-name>JobQueue</message-destination-name>
<jndi-name>queue/JbpmJobQueue</jndi-name>
</message-destination>
+
<message-destination>
<message-destination-name>CommandQueue</message-destination-name>
<jndi-name>queue/JbpmCommandQueue</jndi-name>
</message-destination>
-
</assembly-descriptor>
-
</jboss>
Show replies by date