Re: [Carbon-dev] ESB startup error : initializing message broker ERROR

2011-03-30 Thread Udayanga Wickramasinghe
Hi

On Wed, Mar 30, 2011 at 3:03 PM, Danushka Menikkumbura wrote:

> They now reside in repository/conf/advanced
>

an update solved the issue..ican see configs in
repository/conf/advanced..thnx

Thanks,
Udayanga

>
> Thanks,
> Danushka
>
> On Wed, Mar 30, 2011 at 2:55 PM, Udayanga Wickramasinghe <
> udaya...@wso2.com> wrote:
>
>> Hi,
>>
>> On Wed, Mar 30, 2011 at 2:40 PM, Danushka Menikkumbura > > wrote:
>>
>>> Where do you have the qpid configuration files in your dist?. Have you
>>> updated and built the following?.
>>>
>>> i cant see qpid related configs in /repository/conf :(...yes i did take
>> an update of everything yesterday..
>> newy i'll try again with an update on qpid stuff..thnx
>>
>> Regards
>> Udayanga
>>
>>
>>> dependecies/qpid
>>> orbig/qpid
>>> components/qpid
>>> and the esb
>>>
>>> Danushka
>>>
>>> On Wed, Mar 30, 2011 at 2:32 PM, Udayanga Wickramasinghe <
>>> udaya...@wso2.com> wrote:
>>>
  Hi,
 i am getting the following stack trace when starting up ESB..what would
 be the possible cause?

 [2011-03-30 13:49:29,128]  INFO - InputOutputAdaptersComponent There is
 no adapters-component.conf.. Using the default configuration
 [2011-03-30 13:49:33,898]  INFO - RegistryCoreServiceComponent Registry
 Mode: READ-WRITE
 [Broker] BRK-1006 : Using configuration :
 /home/usw/install/wso2-svn/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
 Logging configuration error: unable to read file
 /home/usw/install/wso2-svn/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/log4j.xml
 Using the fallback internal log4j.properties configuration
 Error initialising message broker:
 org.apache.commons.configuration.ConfigurationException:
 java.lang.NullPointerException
 org.apache.commons.configuration.ConfigurationException:
 java.lang.NullPointerException
 at
 org.apache.qpid.server.registry.ApplicationRegistry.configure(ApplicationRegistry.java:263)
 at
 org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:283)
 at
 org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:161)
 at
 org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:138)
 at org.apache.qpid.server.Main.startup(Main.java:310)
 at org.apache.qpid.server.Main.execute(Main.java:231)
 at org.apache.qpid.server.Main.(Main.java:101)
 at org.apache.qpid.server.Main.main(Main.java:530)
 at
 org.wso2.carbon.qpid.internal.QpidServiceComponent.activate(QpidServiceComponent.java:75)
 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:597)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:230)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:140)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:330)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:560)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:182)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:292)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:226)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:124)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:930)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:757)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:712)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:129)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:206)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:506)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.r

Re: [Carbon-dev] ESB startup error : initializing message broker ERROR

2011-03-30 Thread Danushka Menikkumbura
They now reside in repository/conf/advanced

Thanks,
Danushka

On Wed, Mar 30, 2011 at 2:55 PM, Udayanga Wickramasinghe
wrote:

> Hi,
>
> On Wed, Mar 30, 2011 at 2:40 PM, Danushka Menikkumbura 
> wrote:
>
>> Where do you have the qpid configuration files in your dist?. Have you
>> updated and built the following?.
>>
>> i cant see qpid related configs in /repository/conf :(...yes i did take an
> update of everything yesterday..
> newy i'll try again with an update on qpid stuff..thnx
>
> Regards
> Udayanga
>
>
>> dependecies/qpid
>> orbig/qpid
>> components/qpid
>> and the esb
>>
>> Danushka
>>
>> On Wed, Mar 30, 2011 at 2:32 PM, Udayanga Wickramasinghe <
>> udaya...@wso2.com> wrote:
>>
>>>  Hi,
>>> i am getting the following stack trace when starting up ESB..what would
>>> be the possible cause?
>>>
>>> [2011-03-30 13:49:29,128]  INFO - InputOutputAdaptersComponent There is
>>> no adapters-component.conf.. Using the default configuration
>>> [2011-03-30 13:49:33,898]  INFO - RegistryCoreServiceComponent Registry
>>> Mode: READ-WRITE
>>> [Broker] BRK-1006 : Using configuration :
>>> /home/usw/install/wso2-svn/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
>>> Logging configuration error: unable to read file
>>> /home/usw/install/wso2-svn/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/log4j.xml
>>> Using the fallback internal log4j.properties configuration
>>> Error initialising message broker:
>>> org.apache.commons.configuration.ConfigurationException:
>>> java.lang.NullPointerException
>>> org.apache.commons.configuration.ConfigurationException:
>>> java.lang.NullPointerException
>>> at
>>> org.apache.qpid.server.registry.ApplicationRegistry.configure(ApplicationRegistry.java:263)
>>> at
>>> org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:283)
>>> at
>>> org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:161)
>>> at
>>> org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:138)
>>> at org.apache.qpid.server.Main.startup(Main.java:310)
>>> at org.apache.qpid.server.Main.execute(Main.java:231)
>>> at org.apache.qpid.server.Main.(Main.java:101)
>>> at org.apache.qpid.server.Main.main(Main.java:530)
>>> at
>>> org.wso2.carbon.qpid.internal.QpidServiceComponent.activate(QpidServiceComponent.java:75)
>>> 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:597)
>>> at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:230)
>>> at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:140)
>>> at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:330)
>>> at
>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:560)
>>> at
>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:182)
>>> at
>>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:292)
>>> at
>>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:226)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:124)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:930)
>>> at
>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
>>> at
>>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:757)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:712)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:129)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:206)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:506)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:524)
>>> at
>>> org.apache.qpid.wso2.internal.QpidBundleActivator.start(QpidBundleActivator.java:43)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782)
>>> at java.security.AccessController.doPrivi

Re: [Carbon-dev] ESB startup error : initializing message broker ERROR

2011-03-30 Thread Udayanga Wickramasinghe
Hi,

On Wed, Mar 30, 2011 at 2:40 PM, Danushka Menikkumbura wrote:

> Where do you have the qpid configuration files in your dist?. Have you
> updated and built the following?.
>
> i cant see qpid related configs in /repository/conf :(...yes i did take an
update of everything yesterday..
newy i'll try again with an update on qpid stuff..thnx

Regards
Udayanga


> dependecies/qpid
> orbig/qpid
> components/qpid
> and the esb
>
> Danushka
>
> On Wed, Mar 30, 2011 at 2:32 PM, Udayanga Wickramasinghe <
> udaya...@wso2.com> wrote:
>
>> Hi,
>> i am getting the following stack trace when starting up ESB..what would be
>> the possible cause?
>>
>> [2011-03-30 13:49:29,128]  INFO - InputOutputAdaptersComponent There is no
>> adapters-component.conf.. Using the default configuration
>> [2011-03-30 13:49:33,898]  INFO - RegistryCoreServiceComponent Registry
>> Mode: READ-WRITE
>> [Broker] BRK-1006 : Using configuration :
>> /home/usw/install/wso2-svn/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
>> Logging configuration error: unable to read file
>> /home/usw/install/wso2-svn/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/log4j.xml
>> Using the fallback internal log4j.properties configuration
>> Error initialising message broker:
>> org.apache.commons.configuration.ConfigurationException:
>> java.lang.NullPointerException
>> org.apache.commons.configuration.ConfigurationException:
>> java.lang.NullPointerException
>> at
>> org.apache.qpid.server.registry.ApplicationRegistry.configure(ApplicationRegistry.java:263)
>> at
>> org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:283)
>> at
>> org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:161)
>> at
>> org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:138)
>> at org.apache.qpid.server.Main.startup(Main.java:310)
>> at org.apache.qpid.server.Main.execute(Main.java:231)
>> at org.apache.qpid.server.Main.(Main.java:101)
>> at org.apache.qpid.server.Main.main(Main.java:530)
>> at
>> org.wso2.carbon.qpid.internal.QpidServiceComponent.activate(QpidServiceComponent.java:75)
>> 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:597)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:230)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:140)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:330)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:560)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:182)
>> at
>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:292)
>> at
>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:226)
>> at
>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:124)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:930)
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
>> at
>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:757)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:712)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:129)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:206)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:506)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:524)
>> at
>> org.apache.qpid.wso2.internal.QpidBundleActivator.start(QpidBundleActivator.java:43)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:773)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:754

Re: [Carbon-dev] ESB startup error : initializing message broker ERROR

2011-03-30 Thread Danushka Menikkumbura
Where do you have the qpid configuration files in your dist?. Have you
updated and built the following?.

dependecies/qpid
orbig/qpid
components/qpid
and the esb

Danushka

On Wed, Mar 30, 2011 at 2:32 PM, Udayanga Wickramasinghe
wrote:

> Hi,
> i am getting the following stack trace when starting up ESB..what would be
> the possible cause?
>
> [2011-03-30 13:49:29,128]  INFO - InputOutputAdaptersComponent There is no
> adapters-component.conf.. Using the default configuration
> [2011-03-30 13:49:33,898]  INFO - RegistryCoreServiceComponent Registry
> Mode: READ-WRITE
> [Broker] BRK-1006 : Using configuration :
> /home/usw/install/wso2-svn/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
> Logging configuration error: unable to read file
> /home/usw/install/wso2-svn/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/log4j.xml
> Using the fallback internal log4j.properties configuration
> Error initialising message broker:
> org.apache.commons.configuration.ConfigurationException:
> java.lang.NullPointerException
> org.apache.commons.configuration.ConfigurationException:
> java.lang.NullPointerException
> at
> org.apache.qpid.server.registry.ApplicationRegistry.configure(ApplicationRegistry.java:263)
> at
> org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:283)
> at
> org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:161)
> at
> org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:138)
> at org.apache.qpid.server.Main.startup(Main.java:310)
> at org.apache.qpid.server.Main.execute(Main.java:231)
> at org.apache.qpid.server.Main.(Main.java:101)
> at org.apache.qpid.server.Main.main(Main.java:530)
> at
> org.wso2.carbon.qpid.internal.QpidServiceComponent.activate(QpidServiceComponent.java:75)
> 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:597)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:230)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:140)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:330)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:560)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:182)
> at
> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:292)
> at
> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:226)
> at
> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:124)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:930)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
> at
> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:757)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:712)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:129)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:206)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:506)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:524)
> at
> org.apache.qpid.wso2.internal.QpidBundleActivator.start(QpidBundleActivator.java:43)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:773)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:754)
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370)
> at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068)
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(

Re: [Carbon-dev] ESB startup error : initializing message broker ERROR

2011-03-30 Thread Manjula Rathnayake
On Wed, Mar 30, 2011 at 2:41 PM, Danushka Menikkumbura wrote:

> missed features/qpid
>

build features/event too

Thank you.

>
> Danushka
>
> On Wed, Mar 30, 2011 at 2:40 PM, Danushka Menikkumbura 
> wrote:
>
>> Where do you have the qpid configuration files in your dist?. Have you
>> updated and built the following?.
>>
>> dependecies/qpid
>> orbig/qpid
>> components/qpid
>> and the esb
>>
>> Danushka
>>
>> On Wed, Mar 30, 2011 at 2:32 PM, Udayanga Wickramasinghe <
>> udaya...@wso2.com> wrote:
>>
>>>  Hi,
>>> i am getting the following stack trace when starting up ESB..what would
>>> be the possible cause?
>>>
>>> [2011-03-30 13:49:29,128]  INFO - InputOutputAdaptersComponent There is
>>> no adapters-component.conf.. Using the default configuration
>>> [2011-03-30 13:49:33,898]  INFO - RegistryCoreServiceComponent Registry
>>> Mode: READ-WRITE
>>> [Broker] BRK-1006 : Using configuration :
>>> /home/usw/install/wso2-svn/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
>>> Logging configuration error: unable to read file
>>> /home/usw/install/wso2-svn/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/log4j.xml
>>> Using the fallback internal log4j.properties configuration
>>> Error initialising message broker:
>>> org.apache.commons.configuration.ConfigurationException:
>>> java.lang.NullPointerException
>>> org.apache.commons.configuration.ConfigurationException:
>>> java.lang.NullPointerException
>>> at
>>> org.apache.qpid.server.registry.ApplicationRegistry.configure(ApplicationRegistry.java:263)
>>> at
>>> org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:283)
>>> at
>>> org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:161)
>>> at
>>> org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:138)
>>> at org.apache.qpid.server.Main.startup(Main.java:310)
>>> at org.apache.qpid.server.Main.execute(Main.java:231)
>>> at org.apache.qpid.server.Main.(Main.java:101)
>>> at org.apache.qpid.server.Main.main(Main.java:530)
>>> at
>>> org.wso2.carbon.qpid.internal.QpidServiceComponent.activate(QpidServiceComponent.java:75)
>>> 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:597)
>>> at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:230)
>>> at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:140)
>>> at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:330)
>>> at
>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:560)
>>> at
>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:182)
>>> at
>>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:292)
>>> at
>>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:226)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:124)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:930)
>>> at
>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
>>> at
>>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:757)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:712)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:129)
>>> at
>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:206)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:506)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:524)
>>> at
>>> org.apache.qpid.wso2.internal.QpidBundleActivator.start(QpidBundleActivator.java:43)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:773)
>>> at
>>> org.eclipse.osgi.framework.internal.co

Re: [Carbon-dev] ESB startup error : initializing message broker ERROR

2011-03-30 Thread Danushka Menikkumbura
missed features/qpid

Danushka

On Wed, Mar 30, 2011 at 2:40 PM, Danushka Menikkumbura wrote:

> Where do you have the qpid configuration files in your dist?. Have you
> updated and built the following?.
>
> dependecies/qpid
> orbig/qpid
> components/qpid
> and the esb
>
> Danushka
>
> On Wed, Mar 30, 2011 at 2:32 PM, Udayanga Wickramasinghe <
> udaya...@wso2.com> wrote:
>
>>  Hi,
>> i am getting the following stack trace when starting up ESB..what would be
>> the possible cause?
>>
>> [2011-03-30 13:49:29,128]  INFO - InputOutputAdaptersComponent There is no
>> adapters-component.conf.. Using the default configuration
>> [2011-03-30 13:49:33,898]  INFO - RegistryCoreServiceComponent Registry
>> Mode: READ-WRITE
>> [Broker] BRK-1006 : Using configuration :
>> /home/usw/install/wso2-svn/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
>> Logging configuration error: unable to read file
>> /home/usw/install/wso2-svn/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/log4j.xml
>> Using the fallback internal log4j.properties configuration
>> Error initialising message broker:
>> org.apache.commons.configuration.ConfigurationException:
>> java.lang.NullPointerException
>> org.apache.commons.configuration.ConfigurationException:
>> java.lang.NullPointerException
>> at
>> org.apache.qpid.server.registry.ApplicationRegistry.configure(ApplicationRegistry.java:263)
>> at
>> org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:283)
>> at
>> org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:161)
>> at
>> org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:138)
>> at org.apache.qpid.server.Main.startup(Main.java:310)
>> at org.apache.qpid.server.Main.execute(Main.java:231)
>> at org.apache.qpid.server.Main.(Main.java:101)
>> at org.apache.qpid.server.Main.main(Main.java:530)
>> at
>> org.wso2.carbon.qpid.internal.QpidServiceComponent.activate(QpidServiceComponent.java:75)
>> 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:597)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:230)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:140)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:330)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:560)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:182)
>> at
>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:292)
>> at
>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:226)
>> at
>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:124)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:930)
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
>> at
>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:757)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:712)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:129)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:206)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:506)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:524)
>> at
>> org.apache.qpid.wso2.internal.QpidBundleActivator.start(QpidBundleActivator.java:43)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:773)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:754)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
>> at
>> org.eclipse.osgi.framework.internal.core.Abs

[Carbon-dev] ESB startup error : initializing message broker ERROR

2011-03-30 Thread Udayanga Wickramasinghe
Hi,
i am getting the following stack trace when starting up ESB..what would be
the possible cause?

[2011-03-30 13:49:29,128]  INFO - InputOutputAdaptersComponent There is no
adapters-component.conf.. Using the default configuration
[2011-03-30 13:49:33,898]  INFO - RegistryCoreServiceComponent Registry
Mode: READ-WRITE
[Broker] BRK-1006 : Using configuration :
/home/usw/install/wso2-svn/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
Logging configuration error: unable to read file
/home/usw/install/wso2-svn/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/log4j.xml
Using the fallback internal log4j.properties configuration
Error initialising message broker:
org.apache.commons.configuration.ConfigurationException:
java.lang.NullPointerException
org.apache.commons.configuration.ConfigurationException:
java.lang.NullPointerException
at
org.apache.qpid.server.registry.ApplicationRegistry.configure(ApplicationRegistry.java:263)
at
org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:283)
at
org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:161)
at
org.apache.qpid.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:138)
at org.apache.qpid.server.Main.startup(Main.java:310)
at org.apache.qpid.server.Main.execute(Main.java:231)
at org.apache.qpid.server.Main.(Main.java:101)
at org.apache.qpid.server.Main.main(Main.java:530)
at
org.wso2.carbon.qpid.internal.QpidServiceComponent.activate(QpidServiceComponent.java:75)
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:597)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:230)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:140)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:330)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:560)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:182)
at
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:292)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:226)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:124)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:930)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:757)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:712)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:129)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:206)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:506)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:524)
at
org.apache.qpid.wso2.internal.QpidBundleActivator.start(QpidBundleActivator.java:43)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:773)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:754)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve