Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 88038 invoked from network); 18 Feb 2010 16:40:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Feb 2010 16:40:54 -0000 Received: (qmail 18080 invoked by uid 500); 18 Feb 2010 16:40:53 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 18047 invoked by uid 500); 18 Feb 2010 16:40:53 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 18039 invoked by uid 99); 18 Feb 2010 16:40:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 16:40:53 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of maan.najjar@gmail.com designates 209.85.217.223 as permitted sender) Received: from [209.85.217.223] (HELO mail-gx0-f223.google.com) (209.85.217.223) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 16:40:47 +0000 Received: by gxk23 with SMTP id 23so2515088gxk.15 for ; Thu, 18 Feb 2010 08:40:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=GTCIMU2WzufQR/dZQOtayAyJXIF+OY+mmnefxYIhQFI=; b=dMBIjYpNGPy0DMSp0qqOBu3BoY3FKycXdQcyn+NVzzLrrhdJjcu1xfMRRP1xx9XByx LUH8jVQjZDxlr+Yv3IHwBoNZTLGEkdhbCJwRCLzOWN9YSXLCXKXD/nGKSmqacSWOwPsG 7A8tde5qXihumxdoo/ts7/ALo8ZD+PVc/x0UU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=XhLXcs+xmFxBXkgQMWoa2S/UHBYYDzYcGWM0ckcjesAqoenpNA38+64R7emN7S5GVk ew3rqDx7Sc/oDGOMijiHPCKDKhI9r7wmaZHjLW1TdbeqRL9eX5oGLk9+Af+ddcRtuXta e6+HpVZ4ng0vLKr7ku0k6hhfJpj9eavgWjVNs= MIME-Version: 1.0 Received: by 10.150.47.26 with SMTP id u26mr8023041ybu.176.1266511225995; Thu, 18 Feb 2010 08:40:25 -0800 (PST) In-Reply-To: <3DD2D8BF-44A9-4C85-8DA9-29EAFE5C4F05@yahoo.com> References: <367b90221002172103x6ee1996bx210925837e51a138@mail.gmail.com> <3DD2D8BF-44A9-4C85-8DA9-29EAFE5C4F05@yahoo.com> Date: Thu, 18 Feb 2010 11:40:25 -0500 Message-ID: <367b90221002180840j477aca03jb896b66759f5e7cf@mail.gmail.com> Subject: Re: Geroinmo + ActiveMQ + XMPP From: Maan Najjar To: user@geronimo.apache.org Content-Type: multipart/alternative; boundary=000e0cd57498bac2f8047fe29fd2 --000e0cd57498bac2f8047fe29fd2 Content-Type: text/plain; charset=ISO-8859-1 Hello, Thanks for your help! Since I'm not good with making geronimo plugins, I went with the second approach and added activemq-xmpp dependency to activemq-broker plugin and then rebuilt it. It complained later about some dependencies when starting geronimo (javax.xml.bind/jaxb-api ,javax.xml.stream/stax-api and javax.activation/activation), I added them to the repository and then It worked great!. Thanks a lot :) Maan Najjar On Thu, Feb 18, 2010 at 2:40 AM, David Jencks wrote: > I haven't tried this.... but I think it should work. It should be a lot > easier in g. 3.0. > > I think you need to build another geronimo plugin that has the jars you > need for xmpp transport as dependencies and a gbean that sets up the > transport. Make sure the broker plugin is also a parent. > > If the xmpp activemq classes are in a separate jar we aren't using in 2.2, > this is most of what you;ll need. If they are included in the broker, and > just the underlying xmpp support jars are missing, then you'll have to play > around with more fine-grained classloader configuration in the new plugin > and use hidden-classes to make the amq xmpp classes load from the new > plugin. > > Alternatively, and probably easier, you can copy our amq broker plugin and > add the necessary dependencies for xmpp and rebuild it. > > This is kind of sketchy, let us know if you need more instructions. > > thanks > david jencks > > > On Feb 17, 2010, at 9:03 PM, Maan Najjar wrote: > > Hello, >> >> I've been trying to set XMPP transport connector for ActiveMQ in Geronimo. >> What I did is modify var/activemq/conf/activemq.xml and uncomment this line >> >> >> >> However, I'm getting the following exception when geronimo tries to load >> activemq-broker module >> >> Module 63/74 org.apache.geronimo.configs/activemq-broker/2.2/car >> 2010-02-17 23:59:27,595 ERROR [BrokerService] Failed to start ActiveMQ JMS >> Message Broker. Reason: java.io.IOException: Transport Connector could not >> be registered in JMX: Transport scheme NOT recognized: [xmpp] >> java.io.IOException: Transport Connector could not be registered in JMX: >> Transport scheme NOT recognized: [xmpp] >> at >> org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27) >> at >> org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:1546) >> at >> org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:1958) >> at >> org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:1911) >> at >> org.apache.activemq.broker.BrokerService.start(BrokerService.java:471) >> at >> org.apache.geronimo.activemq.BrokerServiceGBeanImpl.(BrokerServiceGBeanImpl.java:104) >> 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:513) >> at >> org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:952) >> at >> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276) >> at >> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) >> at >> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) >> at >> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:911) >> at >> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269) >> at >> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103) >> at >> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125) >> at >> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539) >> at >> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377) >> at >> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456) >> at >> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190) >> at >> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546) >> at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) >> at >> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130) >> at >> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816) >> at >> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) >> at >> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) >> at >> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) >> at >> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$13c953f6.startConfiguration() >> at >> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161) >> at >> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78) >> at >> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) >> at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) >> at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30) >> Caused by: java.io.IOException: Transport scheme NOT recognized: [xmpp] >> at >> org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27) >> at >> org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:204) >> at >> org.apache.activemq.transport.TransportFactory.bind(TransportFactory.java:123) >> at >> org.apache.activemq.broker.TransportConnector.createTransportServer(TransportConnector.java:304) >> at >> org.apache.activemq.broker.TransportConnector.getServer(TransportConnector.java:133) >> at >> org.apache.activemq.broker.TransportConnector.asManagedConnector(TransportConnector.java:96) >> at >> org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:1541) >> ... 36 more >> Caused by: java.io.IOException: Could not find factory class for resource: >> META-INF/services/org/apache/activemq/transport/xmpp >> at >> org.apache.activemq.util.FactoryFinder.doFindFactoryProperies(FactoryFinder.java:92) >> at >> org.apache.activemq.util.FactoryFinder.newInstance(FactoryFinder.java:52) >> at >> org.apache.activemq.util.FactoryFinder.newInstance(FactoryFinder.java:42) >> at >> org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:201) >> ... 41 more >> 2010-02-17 23:59:29,626 ERROR [GBeanInstanceState] Error while starting; >> GBean is now in the FAILED state: >> abstractName="org.apache.geronimo.configs/activemq-broker/2.2/car?ServiceModule=org.apache.geronimo.configs/activemq-broker/2.2/car,j2eeType=JMSServer,name=DefaultActiveMQBroker" >> java.io.IOException: Transport Connector could not be registered in JMX: >> Transport scheme NOT recognized: [xmpp] >> at >> org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27) >> at >> org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:1546) >> at >> org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:1958) >> at >> org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:1911) >> at >> org.apache.activemq.broker.BrokerService.start(BrokerService.java:471) >> at >> org.apache.geronimo.activemq.BrokerServiceGBeanImpl.(BrokerServiceGBeanImpl.java:104) >> 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:513) >> at >> org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:952) >> at >> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276) >> at >> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) >> at >> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) >> at >> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:911) >> at >> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269) >> at >> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103) >> at >> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125) >> at >> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539) >> at >> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377) >> at >> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456) >> at >> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190) >> at >> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546) >> at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) >> at >> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130) >> at >> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816) >> at >> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) >> at >> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) >> at >> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) >> at >> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$13c953f6.startConfiguration() >> at >> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161) >> at >> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78) >> at >> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) >> at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) >> at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30) >> Caused by: java.io.IOException: Transport scheme NOT recognized: [xmpp] >> at >> org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27) >> at >> org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:204) >> at >> org.apache.activemq.transport.TransportFactory.bind(TransportFactory.java:123) >> at >> org.apache.activemq.broker.TransportConnector.createTransportServer(TransportConnector.java:304) >> at >> org.apache.activemq.broker.TransportConnector.getServer(TransportConnector.java:133) >> at >> org.apache.activemq.broker.TransportConnector.asManagedConnector(TransportConnector.java:96) >> at >> org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:1541) >> ... 36 more >> Caused by: java.io.IOException: Could not find factory class for resource: >> META-INF/services/org/apache/activemq/transport/xmpp >> at >> org.apache.activemq.util.FactoryFinder.doFindFactoryProperies(FactoryFinder.java:92) >> at >> org.apache.activemq.util.FactoryFinder.newInstance(FactoryFinder.java:52) >> at >> org.apache.activemq.util.FactoryFinder.newInstance(FactoryFinder.java:42) >> at >> org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:201) >> ... 41 more >> Server Startup failed >> >> >> >> Apparently ActiveMQ-XMPP was not included in Geroinmo (it's in optional >> libraries in activemq), Stomp transport-connector worked however. It's >> really frustrating, I really need XMPP. I would appreciate someone help, I'm >> using Geronimo 2.2 >> >> >> Thanks >> >> >> > --000e0cd57498bac2f8047fe29fd2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

Thanks for your help!

Since I'm not good with maki= ng geronimo plugins, I went with the second approach and added activemq-xmp= p dependency to activemq-broker plugin and then rebuilt it. It complained l= ater about some dependencies when starting geronimo (javax.xml.bind/jaxb-ap= i ,javax.xml.stream/stax-api and javax.activation/activation), I added them= to the repository and then It worked great!.

Thanks a lot=A0 :)
Maan Najjar

On = Thu, Feb 18, 2010 at 2:40 AM, David Jencks <david_jencks@yahoo.com> wrote= :
I haven't tri= ed this.... but I think it should work. =A0It should be a lot easier in g. = 3.0.

I think you need to build another geronimo plugin that has the jars you nee= d for xmpp transport as dependencies and a gbean that sets up the transport= . =A0Make sure the broker plugin is also a parent.

If the xmpp activemq classes are in a separate jar we aren't using in 2= .2, this is most of what you;ll need. =A0If they are included in the broker= , and just the underlying xmpp support jars are missing, then you'll ha= ve to play around with more fine-grained classloader configuration in the n= ew plugin and use hidden-classes to make the amq xmpp classes load from the= new plugin.

Alternatively, and probably easier, you can copy our amq broker plugin and = add the necessary dependencies for xmpp and rebuild it.

This is kind of sketchy, let us know if you need more instructions.

thanks
david jencks


On Feb 17, 2010, at 9:03 PM, Maan Najjar wrote:

Hello,

I've been trying to set XMPP transport connector for ActiveMQ in Geroni= mo. What I did is modify var/activemq/conf/activemq.xml and uncomment this = line

<transportConnector name=3D"xmpp" uri=3D"xmpp://${ServerH= ostname}:${61222 + ${PortOffset}}"/>

However, I'm getting the following exception when geronimo tries to loa= d activemq-broker module

Module 63/74 org.apache.geronimo.configs/activemq-broker/2.2/car
2010-02-17 23:59:27,595 ERROR [BrokerService] Failed to start ActiveMQ JMS = Message Broker. Reason: java.io.IOException: Transport Connector could not = be registered in JMX: Transport scheme NOT recognized: [xmpp]
java.io.IOException: Transport Connector could not be registered in JMX: Tr= ansport scheme NOT recognized: [xmpp]
=A0 =A0at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSu= pport.java:27)
=A0 =A0at org.apache.activemq.broker.BrokerService.registerConnectorMBean(= BrokerService.java:1546)
=A0 =A0at org.apache.activemq.broker.BrokerService.startTransportConnector= (BrokerService.java:1958)
=A0 =A0at org.apache.activemq.broker.BrokerService.startAllConnectors(Brok= erService.java:1911)
=A0 =A0at org.apache.activemq.broker.BrokerService.start(BrokerService.jav= a:471)
=A0 =A0at org.apache.geronimo.activemq.BrokerServiceGBeanImpl.<init>= (BrokerServiceGBeanImpl.java:104)
=A0 =A0at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Me= thod)
=A0 =A0at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCons= tructorAccessorImpl.java:39)
=A0 =A0at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delega= tingConstructorAccessorImpl.java:27)
=A0 =A0at java.lang.reflect.Constructor.newInstance(Constructor.java:513)<= br> =A0 =A0at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create= (ReflectionUtil.java:952)
=A0 =A0at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe= .java:276)
=A0 =A0at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.jav= a:96)
=A0 =A0at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.jav= a:61)
=A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(G= BeanInstance.java:911)
=A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFull= Start(GBeanInstanceState.java:269)
=A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBean= InstanceState.java:103)
=A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecurs= ive(GBeanInstanceState.java:125)
=A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(G= BeanInstance.java:539)
=A0 =A0at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean= (BasicKernel.java:377)
=A0 =A0at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigu= rationGBeans(ConfigurationUtil.java:456)
=A0 =A0at org.apache.geronimo.kernel.config.KernelConfigurationManager.sta= rt(KernelConfigurationManager.java:190)
=A0 =A0at org.apache.geronimo.kernel.config.SimpleConfigurationManager.sta= rtConfiguration(SimpleConfigurationManager.java:546)
=A0 =A0at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
=A0 =A0at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod= AccessorImpl.java:25)
=A0 =A0at java.lang.reflect.Method.invoke(Method.java:597)
=A0 =A0at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke= (ReflectionMethodInvoker.java:34)
=A0 =A0at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOpe= ration.java:130)
=A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInst= ance.java:816)
=A0 =A0at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.j= ava:57)
=A0 =A0at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawO= perationInvoker.java:35)
=A0 =A0at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercep= t(ProxyMethodInterceptor.java:96)
=A0 =A0at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$13c95= 3f6.startConfiguration(<generated>)
=A0 =A0at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(Embedde= dDaemon.java:161)
=A0 =A0at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedD= aemon.java:78)
=A0 =A0at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.ma= in(MainConfigurationBootstrapper.java:45)
=A0 =A0at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java= :65)
=A0 =A0at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)=
Caused by: java.io.IOException: Transport scheme NOT recognized: [xmpp]
=A0 =A0at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSu= pport.java:27)
=A0 =A0at org.apache.activemq.transport.TransportFactory.findTransportFact= ory(TransportFactory.java:204)
=A0 =A0at org.apache.activemq.transport.TransportFactory.bind(TransportFac= tory.java:123)
=A0 =A0at org.apache.activemq.broker.TransportConnector.createTransportSer= ver(TransportConnector.java:304)
=A0 =A0at org.apache.activemq.broker.TransportConnector.getServer(Transpor= tConnector.java:133)
=A0 =A0at org.apache.activemq.broker.TransportConnector.asManagedConnector= (TransportConnector.java:96)
=A0 =A0at org.apache.activemq.broker.BrokerService.registerConnectorMBean(= BrokerService.java:1541)
=A0 =A0... 36 more
Caused by: java.io.IOException: Could not find factory class for resource: = META-INF/services/org/apache/activemq/transport/xmpp
=A0 =A0at org.apache.activemq.util.FactoryFinder.doFindFactoryProperies(Fa= ctoryFinder.java:92)
=A0 =A0at org.apache.activemq.util.FactoryFinder.newInstance(FactoryFinder= .java:52)
=A0 =A0at org.apache.activemq.util.FactoryFinder.newInstance(FactoryFinder= .java:42)
=A0 =A0at org.apache.activemq.transport.TransportFactory.findTransportFact= ory(TransportFactory.java:201)
=A0 =A0... 41 more
2010-02-17 23:59:29,626 ERROR [GBeanInstanceState] Error while starting; GB= ean is now in the FAILED state: abstractName=3D"org.apache.geronimo.co= nfigs/activemq-broker/2.2/car?ServiceModule=3Dorg.apache.geronimo.configs/a= ctivemq-broker/2.2/car,j2eeType=3DJMSServer,name=3DDefaultActiveMQBroker&qu= ot;
java.io.IOException: Transport Connector could not be registered in JMX: Tr= ansport scheme NOT recognized: [xmpp]
=A0 =A0at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSu= pport.java:27)
=A0 =A0at org.apache.activemq.broker.BrokerService.registerConnectorMBean(= BrokerService.java:1546)
=A0 =A0at org.apache.activemq.broker.BrokerService.startTransportConnector= (BrokerService.java:1958)
=A0 =A0at org.apache.activemq.broker.BrokerService.startAllConnectors(Brok= erService.java:1911)
=A0 =A0at org.apache.activemq.broker.BrokerService.start(BrokerService.jav= a:471)
=A0 =A0at org.apache.geronimo.activemq.BrokerServiceGBeanImpl.<init>= (BrokerServiceGBeanImpl.java:104)
=A0 =A0at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Me= thod)
=A0 =A0at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCons= tructorAccessorImpl.java:39)
=A0 =A0at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delega= tingConstructorAccessorImpl.java:27)
=A0 =A0at java.lang.reflect.Constructor.newInstance(Constructor.java:513)<= br> =A0 =A0at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create= (ReflectionUtil.java:952)
=A0 =A0at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe= .java:276)
=A0 =A0at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.jav= a:96)
=A0 =A0at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.jav= a:61)
=A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(G= BeanInstance.java:911)
=A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFull= Start(GBeanInstanceState.java:269)
=A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBean= InstanceState.java:103)
=A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecurs= ive(GBeanInstanceState.java:125)
=A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(G= BeanInstance.java:539)
=A0 =A0at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean= (BasicKernel.java:377)
=A0 =A0at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigu= rationGBeans(ConfigurationUtil.java:456)
=A0 =A0at org.apache.geronimo.kernel.config.KernelConfigurationManager.sta= rt(KernelConfigurationManager.java:190)
=A0 =A0at org.apache.geronimo.kernel.config.SimpleConfigurationManager.sta= rtConfiguration(SimpleConfigurationManager.java:546)
=A0 =A0at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
=A0 =A0at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod= AccessorImpl.java:25)
=A0 =A0at java.lang.reflect.Method.invoke(Method.java:597)
=A0 =A0at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke= (ReflectionMethodInvoker.java:34)
=A0 =A0at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOpe= ration.java:130)
=A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInst= ance.java:816)
=A0 =A0at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.j= ava:57)
=A0 =A0at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawO= perationInvoker.java:35)
=A0 =A0at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercep= t(ProxyMethodInterceptor.java:96)
=A0 =A0at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$13c95= 3f6.startConfiguration(<generated>)
=A0 =A0at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(Embedde= dDaemon.java:161)
=A0 =A0at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedD= aemon.java:78)
=A0 =A0at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.ma= in(MainConfigurationBootstrapper.java:45)
=A0 =A0at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java= :65)
=A0 =A0at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)=
Caused by: java.io.IOException: Transport scheme NOT recognized: [xmpp]
=A0 =A0at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSu= pport.java:27)
=A0 =A0at org.apache.activemq.transport.TransportFactory.findTransportFact= ory(TransportFactory.java:204)
=A0 =A0at org.apache.activemq.transport.TransportFactory.bind(TransportFac= tory.java:123)
=A0 =A0at org.apache.activemq.broker.TransportConnector.createTransportSer= ver(TransportConnector.java:304)
=A0 =A0at org.apache.activemq.broker.TransportConnector.getServer(Transpor= tConnector.java:133)
=A0 =A0at org.apache.activemq.broker.TransportConnector.asManagedConnector= (TransportConnector.java:96)
=A0 =A0at org.apache.activemq.broker.BrokerService.registerConnectorMBean(= BrokerService.java:1541)
=A0 =A0... 36 more
Caused by: java.io.IOException: Could not find factory class for resource: = META-INF/services/org/apache/activemq/transport/xmpp
=A0 =A0at org.apache.activemq.util.FactoryFinder.doFindFactoryProperies(Fa= ctoryFinder.java:92)
=A0 =A0at org.apache.activemq.util.FactoryFinder.newInstance(FactoryFinder= .java:52)
=A0 =A0at org.apache.activemq.util.FactoryFinder.newInstance(FactoryFinder= .java:42)
=A0 =A0at org.apache.activemq.transport.TransportFactory.findTransportFact= ory(TransportFactory.java:201)
=A0 =A0... 41 more
Server Startup failed



Apparently ActiveMQ-XMPP was not included in Geroinmo (it's in optional= libraries in activemq), Stomp transport-connector worked however. It's= really frustrating, I really need XMPP. I would appreciate someone help, I= 'm using Geronimo 2.2


Thanks




--000e0cd57498bac2f8047fe29fd2--