activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From keneida <kene...@o2.pl>
Subject web console in 4.1.1
Date Wed, 08 Aug 2007 15:28:19 GMT

I compiled activeqm with maven. Now i have the activemq-web-console.war.
I want to create simple war where u only need to change one config file to
get it connected.
I added activemq.jar changed webconsole-default.xml and puted
[code]<import resource="webconsole-properties.xml"/>[/code] there
in webconsole-properties.xml i eddited
[code]
<bean id="sessionPool" class="org.apache.activemq.web.SessionPool">
        <property name="connectionFactory" ref="connectionFactory"/>
  </bean>

  <bean id="brokerQuery"
class="org.apache.activemq.web.RemoteJMXBrokerFacade" autowire="constructor"
destroy-method="shutdown">
        <property name="jmxUrl"
value="service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi"/>
        <property name="brokerName"><null/></property>
  </bean>

  <bean id="connectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
    <property name="brokerURL" value="tcp://localhost:61616"/>
[/code]

but it does not want to start. the error is:
[code]
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [org.apache.xbean.spring.context.v2.XBeanNamespaceHandler]:
Constructor threw exception; nested exception is
java.lang.IllegalStateException: Unable to create namespace handler for: v2c
Caused by:
java.lang.IllegalStateException: Unable to create namespace handler for: v2c
[/code]

If thats wrong attempt how i can do it?

-- 
View this message in context: http://www.nabble.com/web-console-in-4.1.1-tf4237121s2354.html#a12055637
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message