On Wed, Nov 23, 2011 at 11:21 AM, Sadeep Jayasumana <sad...@wso2.com> wrote:

> Hi Jorge,
>
> On Wed, Nov 23, 2011 at 9:37 AM, Jorge Infante Osorio <jorg...@uci.cu>wrote:
>
>> Hi Hiranya, thanks.  I will try it them.
>>
>> I ask because in the same article another user post this issue:
>>
>> Hi Upal,
>> Nice article. I have taken the attached zip , created a jar of it using
>> maven and tried placing the jar in ESB-HOME/lib folder.
>
>
> Please note that as Hiranya mentioned, JAR has to be put into
> <ESB_HOME>/repository/components/lib.
>

In that case, the doc is buggy, as it mentioned ' {ESB
HOME}\repository\components\dropins" see:
http://docs.wso2.org/display/ESB/Writing+a+WSO2+ESB+Mediator

Please fix.


> Thanks,
> Sadeep
>
>
>> On starting ESB, I
>> see an exception as below
>> Start Level Event Dispatcher] ERROR Activator Failed to start Carbon UI
>> java.lang.Exception: ConfigurationContext Service is not available
>> at org.wso2.carbon.ui.internal.Activator.start(Activator.java:108)
>> at
>>
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleConte
>> xtImpl.java:999)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>>
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(Bu
>> ndleContextImpl.java:993)
>> at
>>
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleConte
>> xtImpl.java:974)
>> at
>>
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.j
>> ava:346)
>> at
>>
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundl
>> e.java:350)
>> at
>>
>> org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.ja
>> va:1118)
>> at
>>
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(Sta
>> rtLevelManager.java:634)
>> at
>>
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLeve
>> lManager.java:508)
>> at
>>
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(S
>> tartLevelManager.java:282)
>> at
>>
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(Sta
>> rtLevelManager.java:468)
>> at
>>
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.
>> java:195)
>> at
>>
>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManage
>> r.java:297)
>>
>> and this is the author´s response:
>>
>> This article applies to ESB versions prior to 2.x. The current releases
>> are
>> based on OSGi modular framework for Java, thus it the process is bit
>> different. We are on the process of documenting articles related with the
>> current releases of ESB.
>>
>>
>> Any way I will reproduce the steps and see.
>>
>> Saludos,
>> Ing. Jorge Infante Osorio.
>> J´Dpto Soluciones SOA.
>> CDAE.
>> Fac. 5.
>> UCI.
>>
>> De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
>> nombre de Hiranya Jayathilaka
>> Enviado el: martes, 22 de noviembre de 2011 23:03
>> Para: carbon-dev@wso2.org
>> Asunto: Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article
>>
>> Hi Jorge,
>>
>> The API and the development procedure hasn't changed. So you can write a
>> class extending the AbstractMediator class of Synapse, compile it into a
>> jar
>> file and drop it into repository/components/lib directory.
>>
>> I don't think we have any recent articles on this topic.
>>
>> Thanks,
>> Hiranya
>> 2011/11/23 Jorge Infante Osorio <jorg...@uci.cu>
>> Hi all.
>>
>> I want to know if exits an update of $subject, because it was written for
>> ESB versions prior to 2.x.
>>
>> Thanks,
>> Saludos,
>> Ing. Jorge Infante Osorio.
>> J´Dpto Soluciones SOA.
>> CDAE.
>> Fac. 5.
>> UCI.
>>
>>
>>
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>>
>>
>> --
>> Hiranya Jayathilaka
>> Associate Technical Lead;
>> WSO2 Inc.;  http://wso2.org
>> E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
>> Blog: http://techfeast-hiranya.blogspot.com
>>
>>
>>
>> Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE
>> ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
>> http://www.antiterroristas.cu
>> http://justiciaparaloscinco.wordpress.com
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
>
> --
> Sadeep Jayasumana
>
> Software Engineer
> WSO2 Inc.
> Email - sad...@wso2.com
> Mobile - +94 77 22 66 507
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
> Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to