Hm, that's supposed to work, although I would create a webconsole-custom.xml instead of changing the webconsole-properties.xml, but that's minor. We're running a configuration that's almost the same as yours and its running just fine. Can you provide some more details about how you start it? Do you use the mvn jetty or deploy it into a tomcat or a jboss? What I guess as the cause is some classpath mixup, maybe you've got a second spring in it?
Mario On 8/8/07, keneida <[EMAIL PROTECTED]> wrote: > > 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. > >