You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Dirk Roscher <Di...@dai-labor.de> on 2006/06/15 12:22:41 UTC

JMX does not start

Hello,

i use following xml config file:

<beans>

 

  <broker useJmx="true" xmlns="http://activemq.org/config/1.0">

 

    <!--persistenceAdapter>

      <journaledJDBC journalLogFiles="5" dataDirectory="foo" />

    </persistenceAdapter -->

 

    <managementContext>

               <managementContext connectorPort="1099"
jmxDomainName="com.example"/>

            </managementContext>

 

    <transportConnectors>

      <transportConnector uri="tcp://localhost:61616" />

    </transportConnectors>

      

  </broker>

 

</beans>

 

And following bean in spring:

<bean id="broker" class="org.apache.activemq.xbean.BrokerFactoryBean">

        <property name="config" value="classpath:activemq.xml"/>

        <property name="start" value="true"/>

</bean>

 

But when I start the broker the jmx part does not start too.

What is my mistake?

Thanks.

 

 


Re: JMX does not start

Posted by James Strachan <ja...@gmail.com>.
Could you attach the output please?

On 6/15/06, Dirk Roscher <Di...@dai-labor.de> wrote:
> Hello,
>
> i use following xml config file:
>
> <beans>
>
>
>
>   <broker useJmx="true" xmlns="http://activemq.org/config/1.0">
>
>
>
>     <!--persistenceAdapter>
>
>       <journaledJDBC journalLogFiles="5" dataDirectory="foo" />
>
>     </persistenceAdapter -->
>
>
>
>     <managementContext>
>
>                <managementContext connectorPort="1099"
> jmxDomainName="com.example"/>
>
>             </managementContext>
>
>
>
>     <transportConnectors>
>
>       <transportConnector uri="tcp://localhost:61616" />
>
>     </transportConnectors>
>
>
>
>   </broker>
>
>
>
> </beans>
>
>
>
> And following bean in spring:
>
> <bean id="broker" class="org.apache.activemq.xbean.BrokerFactoryBean">
>
>         <property name="config" value="classpath:activemq.xml"/>
>
>         <property name="start" value="true"/>
>
> </bean>
>
>
>
> But when I start the broker the jmx part does not start too.
>
> What is my mistake?
>
> Thanks.
>
>
>
>
>
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/