This has happened because of the changes in dependencies in
carbon-deployment. I have locally tested product-bps with correct
dependencies, and it works with that. I have sent a PR to product-bps. [1]

[1] https://github.com/wso2/product-bps/pull/119

On Fri, May 6, 2016 at 1:37 PM, KasunG Gajasinghe <kas...@wso2.com> wrote:

> Hi Nandika,
>
> Sorry for the late update, just noticed the issue. We add the commons-pool
> via the notifier feature. So, the notifier component should be able to see
> this class. Can you provide with a pack to re-produce this issue?
>
> On Fri, May 6, 2016 at 12:33 PM, Nandika Jayawardana <nand...@wso2.com>
> wrote:
>
>> Hi Kasun,
>>
>> Any update on this.
>>
>> Regards
>> Nandika
>>
>> On Wed, May 4, 2016 at 11:24 AM, Nandika Jayawardana <nand...@wso2.com>
>> wrote:
>>
>>> Hi Kasun,
>>>
>>> Getting the following error from deployment notifier component.
>>>
>>>   ERROR {org.eclipse.equinox.ds} - [SCR] Exception while activating
>>> instance
>>> org.wso2.carbon.deployment.notifier.internal.DeploymentNotifierListenerComponent@78c815f5
>>> of component DeploymentNotifierListenerComponent
>>>  java.lang.reflect.InvocationTargetException
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:497)
>>> at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:235)
>>> at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>> at
>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
>>> at
>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>>> at
>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>>> at
>>> org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
>>> at
>>> org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
>>> at
>>> org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
>>> at
>>> org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
>>> at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
>>> at
>>> org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)
>>> Caused by: java.lang.NoClassDefFoundError:
>>> org/apache/commons/pool/PoolableObjectFactory
>>> at
>>> org.wso2.carbon.deployment.notifier.DeploymentNotifierLifecycleListener.getConnectionFactory(DeploymentNotifierLifecycleListener.java:152)
>>> at
>>> org.wso2.carbon.deployment.notifier.DeploymentNotifierLifecycleListener.<init>(DeploymentNotifierLifecycleListener.java:65)
>>> at
>>> org.wso2.carbon.deployment.notifier.internal.DeploymentNotifierListenerComponent.start(DeploymentNotifierListenerComponent.java:53)
>>> ... 15 more
>>> Caused by: java.lang.ClassNotFoundException:
>>> org.apache.commons.pool.PoolableObjectFactory cannot be found by
>>> org.wso2.carbon.deployment.notifier_5.0.0.SNAPSHOT
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432)
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
>>> at
>>> org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>> ... 18 more
>>>
>>>
>>> Regards
>>> Nandika
>>> --
>>> Nandika Jayawardana
>>> WSO2 Inc ; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> Nandika Jayawardana
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>



-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to