Is it supported to configure 'audit-mode' to use 'jms' in BPMS 6 installed on Tomcat 7 ?
Issue
- How to configure
audit-mode
tojms
inBPMS 6
installed onTomcat 7
(JWS 3
) ? - With enabling
audit-mode = jms
what users can achieve is to push the audit logging to be asynchronous for achieving
better performance of jBPM process engine. - Also, the
business-central.war
shipped withBPMS 6.3.0
contains the messaging queue definitions in form of filebpms-jms.xml
file. However, in absence of proper messaging broker installed onTomcat
it is not useful anyway with respect of the current requirement. Referring to the generic deployment installer forTomcat 7
it can be seen that evenjbpm.audit.jms.properties
file is missing underbusiness-central.war\WEB-INF\classes
location. If user tries to add this properties file explicitly and install/configure other messaging brokers likeActive MQ
inTomcat
and configure the JNDI under like below, it still does not work withBusiness Central
application.
<Resource name="java:/JmsXA"
auth="Container"
type="org.apache.activemq.ActiveMQConnectionFactory"
description="JMSConnectionFactory"
factory="org.apache.activemq.jndi.JNDIReferenceFactory"
brokerURL="vm://127.0.0.1?brokerConfig=xbean:activemq.xml"
brokerName="bpmsAuditJms"
useEmbeddedBroker="true"></Resource>
<Resource
name="queue/KIE.AUDIT.ALL"
auth="Container"
type="org.apache.activemq.command.ActiveMQQueue"
description="KIE.AUDIT.ALL Queue"
factory="org.apache.activemq.jndi.JNDIReferenceFactory"
physicalName="queue/KIE.AUDIT.ALL">
</Resource>
After making these changes and starting ActiveMQ
with the Tomcat
server, they appear to be starting up the services and shuts down immediately. Is there a document which details about steps required to install/configure a messaging broker with Tomcat 7
and configure audit-mode
to jms
in BPMS 6
?
Environment
- Red Hat JBoss BPM Suite (BPMS)
- 6.3.0
- Apache Tomcat
- 7.0.59
- Red Hat JBoss Web Server (JWS)
- 3.0
- ActiveMQ (A-MQ)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.