I am configuring the JBoss 4.3.2 and ActiveMQ 5.2 and am following the steps
in 

http://activemq.apache.org/integrating-apache-activemq-with-jboss.html

I finished up to 5 steps as outlined. Done with header "Configuring Apache
ActiveMQ"

When I restart JBoss... I am getting the following exception. Please help me
get past this. 

Thanks in advance
Kiran

12:51:21,359 WARN  
[ActiveMQResourceAdapter] Could not start up embeded ActiveMQ Broker
'xbean:broker-config.xml': org/antlr/runtime/RecognitionException

Here is my broker-config.xml

<!-- START SNIPPET: xbean -->
<beans xmlns="http://activemq.apache.org/schema/core";>

        <!-- put the following as the first child of the beans tag -->
        <bean xmlns=""
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>

        <broker useJmx="true" brokerName="bruce.broker1">

                <!-- put the following as the first child of the broker tag -->
                <managementContext><!-- we'll use an existing one (JBoss) 
instead of
creating one -->
                        <managementContext createConnector="false"/>
                </managementContext>

                <!-- In ActiveMQ 4, you can setup destination policies. note: 
this xml
format may still change a bit -->
                <destinationPolicy>
                        <policyMap>
                                <policyEntries>
                                        <policyEntry topic="FOO.>">
                                                <dispatchPolicy>
                                                        
<strictOrderDispatchPolicy />
                                                </dispatchPolicy>
                                                <subscriptionRecoveryPolicy>
                                                        
<lastImageSubscriptionRecoveryPolicy />
                                                </subscriptionRecoveryPolicy>
                                        </policyEntry>
                                </policyEntries>
                        </policyMap>
                </destinationPolicy>

                <persistenceAdapter>
                        <journaledJDBC journalLogFiles="5"
dataDirectory="${jboss.server.data.dir}/activemq"/>
                        <!-- To use a different datasource, use th following 
syntax : -->
                        <!--
                        <journaledJDBC journalLogFiles="5" 
dataDirectory="../data"/>
                        <journaledJDBC journalLogFiles="5" 
dataDirectory="../data"
dataSource="#postgres-ds"/>
                        -->
                </persistenceAdapter>

                <transportConnectors>
                        <!-- prefixing a connector with discovery: causes the 
connector to be
advertiesed over rendezvous -->
                        <transportConnector name="bruce.broker1" 
uri="tcp://localhost:61616"
discoveryUri="multicast://default"/>
                </transportConnectors>

                <networkConnectors>
                        <!-- by default just auto discover the other brokers -->
                        <networkConnector uri="multicast://default"/>
                        <!--
                        <networkConnector 
uri="static://(tcp://host1:61616,tcp://host2:61616)"/>
                        -->
                </networkConnectors>

        </broker>

</beans>

-- 
View this message in context: 
http://www.nabble.com/JBoss-4.3.2-%2B-ActiveMQ-5.2-Configuration---org-antlr-runtime-RecognitionException-tp21891323p21891323.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to