Thanks Dileepa.

On Thu, Aug 30, 2012 at 11:58 AM, Dileepa Jayakody <[email protected]> wrote:

>
>
> On Thu, Aug 30, 2012 at 11:49 AM, Rajith Siriwardena <[email protected]>wrote:
>
>> Hi all,
>>
>> There are 2 things i need to clarify.
>>
>> 1.For class mediation in ESB i copied jars to directory. it creates
>> respective OSGI bundle in <CARBON_HOME>/repository/components/dropins as i
>> noticed. so to remove it it *was not enough* to remove
>> from <CARBON_HOME>/repository/components/lib. i had to remove it from
>> dropins also. is that the expected behavior?
>>
>
> Yes that is the expected behavior.
> The osgi-runtime doesn't know if the new dropin is a converted osgi bundle
> from components/lib. It considers everything in components/dropins as new
> bundles and try to install them at startup. So if you want to remove your
> testing jar copied to components/lib you have to delete the converted osgi
> bundle in components/dropins as well.
>
>>
>> 2.to run a groovy script with the script mediator i copied groovy jar
>> to CARBON_HOME>/repository/components/lib  after running the script i have
>> updated synapse configuration (i mean removed configurations which use
>> groovy) and then removed jars from lib and the dropins (it works fine with
>> this way for jruby and etc) . but for groovy it throws
>>
>> FATAL - ServiceBusInitializer Failed to initialize ESB due to a fatal
>> error [2012-08-30 11:13:23,563]  INFO
>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>  java.lang.NoClassDefFoundError: groovy/lang/MissingMethodException
>>
>>
>>
>> Thank you.
>> rajith
>>
>> On Mon, Aug 27, 2012 at 2:55 PM, Sajith Kariyawasam <[email protected]>wrote:
>>
>>> Thanks Dileepa
>>>
>>>
>>> On Mon, Aug 27, 2012 at 2:44 PM, Dileepa Jayakody <[email protected]>wrote:
>>>
>>>> Hi Sajith,
>>>>
>>>> Please find the answers inline below.
>>>>
>>>> On Mon, Aug 27, 2012 at 2:35 PM, Sajith Kariyawasam <[email protected]>wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> There are several "lib" directories inside a Carbon Server as follows.
>>>>> Could I know what's the difference between those / what's the purpose of
>>>>> having it?
>>>>>
>>>>> <CARBON_HOME>/lib : This contains the basic set of libraries required
>>>>> to startup Carbon in standalone mode.
>>>>>
>>>>
>>>>
>>>>> <CARBON_HOME>/repository/lib : Contains all the client side Axis2
>>>>> libraries which will be copied here after starting the server once or by
>>>>> running 'ant' from CARBON_HOME/bin.
>>>>>
>>>>
>>>>
>>>>> <CARBON_HOME>/repository/components/lib : If you want any third part
>>>>> libraries to be converted as OSGi bundles and use in the system, copy 
>>>>> those
>>>>> libraries into this directory.
>>>>>
>>>>> Thanks,
>>>> Dileepa
>>>>
>>>>>  --
>>>>> Thanks,
>>>>> *
>>>>> *
>>>>> *Sajith Kariyawasam*
>>>>> *Senior Software Engineer; WSO2, Inc.; http://wso2.com*
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Dileepa Jayakody,
>>>> Software Engineer, WSO2 Inc.
>>>> Lean . Enterprise . Middleware
>>>>
>>>> Mobile : +94777-857616
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> *
>>> *
>>> *Sajith Kariyawasam*
>>> *Senior Software Engineer; WSO2, Inc.; http://wso2.com*
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Rajith Siriwardana
>> Intern, WSO2 Inc.,
>>
>>
>>
>
>
> --
> Dileepa Jayakody,
> Software Engineer, WSO2 Inc.
> Lean . Enterprise . Middleware
>
> Mobile : +94777-857616
>
>


-- 
Rajith Siriwardana
Intern, WSO2 Inc.,
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to