Is it supported to configure 'audit-mode' to use 'jms' in BPMS 6 installed on Tomcat 7 ?
Issue
- How to configure
audit-modetojmsinBPMS 6installed onTomcat 7(JWS 3) ? - With enabling
audit-mode = jmswhat users can achieve is to push the audit logging to be asynchronous for achieving
better performance of jBPM process engine. - Also, the
business-central.warshipped withBPMS 6.3.0contains the messaging queue definitions in form of filebpms-jms.xmlfile. However, in absence of proper messaging broker installed onTomcatit is not useful anyway with respect of the current requirement. Referring to the generic deployment installer forTomcat 7it can be seen that evenjbpm.audit.jms.propertiesfile is missing underbusiness-central.war\WEB-INF\classeslocation. If user tries to add this properties file explicitly and install/configure other messaging brokers likeActive MQinTomcatand configure the JNDI under like below, it still does not work withBusiness Centralapplication.
<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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
