Is it supported to configure 'audit-mode' to use 'jms' in BPMS 6 installed on Tomcat 7 ?

Solution Unverified - Updated -

Issue

  • How to configure audit-mode to jms in BPMS 6 installed on Tomcat 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 with BPMS 6.3.0 contains the messaging queue definitions in form of file bpms-jms.xml file. However, in absence of proper messaging broker installed on Tomcat it is not useful anyway with respect of the current requirement. Referring to the generic deployment installer for Tomcat 7 it can be seen that even jbpm.audit.jms.properties file is missing under business-central.war\WEB-INF\classes location. If user tries to add this properties file explicitly and install/configure other messaging brokers like Active MQ in Tomcat and configure the JNDI under like below, it still does not work with Business 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In