You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by njoonk <mi...@yahoo.co.jp> on 2007/03/08 08:49:41 UTC
it is problem that cannot to connect to remote broker in the web
console
hi Folks
I'm korean and name's njoonk
I would like to use the activemq-web-console to connect to a non embedded
broker.
is it reasonable to attempt this configuration?
I have tried with v4.1, but an embedded broker is always started that
conflicts the remote broker.
error message
----------------------------------------------------------------------------
情報: Destroying singletons in
{org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans
[placeholderConfig,brokerService,sessionPool,brokerQuery,queueBrowser,messageQuery];
root of BeanFactory hierarchy}
2007/03/08 16:33:21 org.springframework.web.context.ContextLoader
initWebApplicationContext
致命的: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'brokerService' defined in ServletContext resource
[/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested
exception is java.lang.NoClassDefFoundError
Caused by: java.lang.NoClassDefFoundError
at
org.apache.activemq.xbean.BrokerFactoryBean.class$(BrokerFactoryBean.java:45)
at
org.apache.activemq.xbean.BrokerFactoryBean.<clinit>(BrokerFactoryBean.java:48)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:84)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:60)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:45)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:701)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:687)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:388)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:270)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
at
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by: java.lang.ClassNotFoundException:
org.apache.xbean.spring.context.impl.URIEditor
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
... 46 more
----------------------------------------------------------------------------
Thanks in advance for help on this.
--
View this message in context: http://www.nabble.com/it-is-problem-that-cannot-to-connect-to-remote-broker-in-the-web-console-tf3367739s2354.html#a9370012
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: [Spam: 5.0] it is problem that cannot to connect to remote broker in the web console
Posted by James Strachan <ja...@gmail.com>.
As a workaround, you could just run the activemq-web-console using an
embedded broker
On 3/8/07, njoonk <mi...@yahoo.co.jp> wrote:
>
> thank you so much for your help
>
> it is corrent that you reply it to me about that(error message),
> but non enbbaded
>
> I have three server.
> two server is activemq server(this server is not tomcat, only activemq).
> one server is tomcat server(is use lb).
> |
> |-NAT(be used)
> |
> client pc(can't connect to activemq server by Jmx, becouse is be used NAT)
>
> so, I would like to use the activemq-web-console to connect to a non
> embedded broker
>
> njoonk
>
>
>
>
>
>
> James.Strachan wrote:
> >
> > On 3/8/07, njoonk <mi...@yahoo.co.jp> wrote:
> >>
> >> hi Folks
> >>
> >> I'm korean and name's njoonk
> >
> > Hi njoonk!
> >
> >
> >> I would like to use the activemq-web-console to connect to a non embedded
> >> broker.
> >> is it reasonable to attempt this configuration?
> >
> > We've not quite yet managed to get the activemq-web-console to connect
> > to a remote broker. Its pretty close to supporting that - it just
> > requires some more work. Until that work is done (and we welcome
> > contributions if you fancy taking a stab at it :
> > http://activemq.apache.org/contributing.html) - you might want to just
> > run your broker inside the web console.
> >
> > At the moment I'm experimenting with the activemq process to see how
> > easy it would be to by default embed the web cnosole in the broker
> > (the effect is the same its just the other way around)
> >
> >
> >> I have tried with v4.1, but an embedded broker is always started that
> >> conflicts the remote broker.
> >>
> >> error message
> >> ----------------------------------------------------------------------------
> >> 情報: Destroying singletons in
> >> {org.springframework.beans.factory.support.DefaultListableBeanFactory
> >> defining beans
> >> [placeholderConfig,brokerService,sessionPool,brokerQuery,queueBrowser,messageQuery];
> >> root of BeanFactory hierarchy}
> >> 2007/03/08 16:33:21 org.springframework.web.context.ContextLoader
> >> initWebApplicationContext
> >> 致命的: Context initialization failed
> >> org.springframework.beans.factory.BeanCreationException: Error creating
> >> bean
> >> with name 'brokerService' defined in ServletContext resource
> >> [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested
> >> exception is java.lang.NoClassDefFoundError
> >> Caused by: java.lang.NoClassDefFoundError
> >
> > [snip]
> >
> >
> >> Caused by: java.lang.ClassNotFoundException:
> >> org.apache.xbean.spring.context.impl.URIEditor
> >> at
> >
> > This actual error looks like you've not got the right xbean-spring
> > jars on the classpath.
> >
> > --
> >
> > James
> > -------
> > http://radio.weblogs.com/0112098/
> >
> >
>
> --
> View this message in context: http://www.nabble.com/it-is-problem-that-cannot-to-connect-to-remote-broker-in-the-web-console-tf3367739s2354.html#a9371723
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
--
James
-------
http://radio.weblogs.com/0112098/
Re: [Spam: 5.0] it is problem that cannot to connect to remote
broker in the web console
Posted by njoonk <mi...@yahoo.co.jp>.
thank you so much for your help
it is corrent that you reply it to me about that(error message),
but non enbbaded
I have three server.
two server is activemq server(this server is not tomcat, only activemq).
one server is tomcat server(is use lb).
|
|-NAT(be used)
|
client pc(can't connect to activemq server by Jmx, becouse is be used NAT)
so, I would like to use the activemq-web-console to connect to a non
embedded broker
njoonk
James.Strachan wrote:
>
> On 3/8/07, njoonk <mi...@yahoo.co.jp> wrote:
>>
>> hi Folks
>>
>> I'm korean and name's njoonk
>
> Hi njoonk!
>
>
>> I would like to use the activemq-web-console to connect to a non embedded
>> broker.
>> is it reasonable to attempt this configuration?
>
> We've not quite yet managed to get the activemq-web-console to connect
> to a remote broker. Its pretty close to supporting that - it just
> requires some more work. Until that work is done (and we welcome
> contributions if you fancy taking a stab at it :
> http://activemq.apache.org/contributing.html) - you might want to just
> run your broker inside the web console.
>
> At the moment I'm experimenting with the activemq process to see how
> easy it would be to by default embed the web cnosole in the broker
> (the effect is the same its just the other way around)
>
>
>> I have tried with v4.1, but an embedded broker is always started that
>> conflicts the remote broker.
>>
>> error message
>> ----------------------------------------------------------------------------
>> 情報: Destroying singletons in
>> {org.springframework.beans.factory.support.DefaultListableBeanFactory
>> defining beans
>> [placeholderConfig,brokerService,sessionPool,brokerQuery,queueBrowser,messageQuery];
>> root of BeanFactory hierarchy}
>> 2007/03/08 16:33:21 org.springframework.web.context.ContextLoader
>> initWebApplicationContext
>> 致命的: Context initialization failed
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean
>> with name 'brokerService' defined in ServletContext resource
>> [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested
>> exception is java.lang.NoClassDefFoundError
>> Caused by: java.lang.NoClassDefFoundError
>
> [snip]
>
>
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.xbean.spring.context.impl.URIEditor
>> at
>
> This actual error looks like you've not got the right xbean-spring
> jars on the classpath.
>
> --
>
> James
> -------
> http://radio.weblogs.com/0112098/
>
>
--
View this message in context: http://www.nabble.com/it-is-problem-that-cannot-to-connect-to-remote-broker-in-the-web-console-tf3367739s2354.html#a9371723
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: it is problem that cannot to connect to remote broker in the web console
Posted by James Strachan <ja...@gmail.com>.
On 3/8/07, njoonk <mi...@yahoo.co.jp> wrote:
>
> hi Folks
>
> I'm korean and name's njoonk
Hi njoonk!
> I would like to use the activemq-web-console to connect to a non embedded
> broker.
> is it reasonable to attempt this configuration?
We've not quite yet managed to get the activemq-web-console to connect
to a remote broker. Its pretty close to supporting that - it just
requires some more work. Until that work is done (and we welcome
contributions if you fancy taking a stab at it :
http://activemq.apache.org/contributing.html) - you might want to just
run your broker inside the web console.
At the moment I'm experimenting with the activemq process to see how
easy it would be to by default embed the web cnosole in the broker
(the effect is the same its just the other way around)
> I have tried with v4.1, but an embedded broker is always started that
> conflicts the remote broker.
>
> error message
> ----------------------------------------------------------------------------
> 情報: Destroying singletons in
> {org.springframework.beans.factory.support.DefaultListableBeanFactory
> defining beans
> [placeholderConfig,brokerService,sessionPool,brokerQuery,queueBrowser,messageQuery];
> root of BeanFactory hierarchy}
> 2007/03/08 16:33:21 org.springframework.web.context.ContextLoader
> initWebApplicationContext
> 致命的: Context initialization failed
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'brokerService' defined in ServletContext resource
> [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested
> exception is java.lang.NoClassDefFoundError
> Caused by: java.lang.NoClassDefFoundError
[snip]
> Caused by: java.lang.ClassNotFoundException:
> org.apache.xbean.spring.context.impl.URIEditor
> at
This actual error looks like you've not got the right xbean-spring
jars on the classpath.
--
James
-------
http://radio.weblogs.com/0112098/