Hi,

On Mon, Mar 28, 2011 at 9:36 AM, Hiranya Jayathilaka <hira...@wso2.com>wrote:

> I think from maintenance perspective, the best thing to do is to fix the
> component so that it will try to read an embedded configuration when a
> configuration is not available in the conf directory. That will make the
> component more self contained and portable to different products/services.
>
>

+1. I have given the sample code as well.


Thanks
Hiranya.



> Thanks,
> Hiranya
>
>
> On Mon, Mar 28, 2011 at 9:34 AM, Manjula Rathnayake <manju...@wso2.com>wrote:
>
>>
>>
>> On Mon, Mar 28, 2011 at 9:32 AM, Manjula Rathnayake <manju...@wso2.com>wrote:
>>
>>> Hi,
>>>
>>> Here I am attaching svn diff for bam, bps, ms and esb services.
>>> Since I am getting server startup errors, I didnt commit these chages
>>> except for app server.
>>> Please apply the diff from product root.
>>>
>>> Thank you.
>>>
>>>
>>> On Mon, Mar 28, 2011 at 9:28 AM, Dimuthu Leelarathne 
>>> <dimut...@wso2.com>wrote:
>>>
>>>> Hi Manjula,
>>>>
>>>> None of the Stratos services are starting because of this. I know all
>>>> Startos services have errors during start-up, but they do not hang the
>>>> server (except the one in ESB - I am looking into it). All other services
>>>> are hanging because of this.
>>>>
>>>> This is a simple programming fix. Other solution is you can also copy
>>>> the Qpid config files to all services as well. Please take one of the
>>>> actions.
>>>>
>>> As I saw, Not all services are using new event feature.
>>
>>>
>>>> If you are going to fix it programmaticly please refer user.core bundle.
>>>> We let servers to start up even when claim-mgt.xml bundle is not in
>>>> repository/conf directory.
>>>>
>>>> Sample code is available here
>>>> org.wso2.carbon.user.core.claim.builder.ClaimBuilder:getRootElement()
>>>>
>>>> Thanks,
>>>> Dimuthu
>>>>
>>>> [1]
>>>>
>>>>
>>>> On Mon, Mar 28, 2011 at 9:16 AM, Manjula Rathnayake 
>>>> <manju...@wso2.com>wrote:
>>>>
>>>>>
>>>>>
>>>>> On Mon, Mar 28, 2011 at 1:28 AM, Afkham Azeez <az...@wso2.com> wrote:
>>>>>
>>>>>> Now AS is not starting in the trunk. Can you please remove this event
>>>>>> component for the time being?
>>>>>>
>>>>>> On Sun, Mar 27, 2011 at 2:39 PM, Isuru Suriarachchi 
>>>>>> <is...@wso2.com>wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> When I add the new event component into AS and try to start the
>>>>>>> server, it gives the following error and startup fails.
>>>>>>>
>>>>>>> [2011-03-27 13:01:53,082] ERROR
>>>>>>> {org.wso2.carbon.qpid.service.QpidServiceImpl} -
>>>>>>>  
>>>>>>> /home/isuru/checkouts/wso2/carbon/products/appserver/modules/distribution/product/target/wso2appserver-4.1.0-SNAPSHOT/repository/conf/qpid/config.xml
>>>>>>> not found
>>>>>>> Initialisation Error : File
>>>>>>> /home/isuru/checkouts/wso2/carbon/products/appserver/modules/distribution/product/target/wso2appserver-4.1.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
>>>>>>> could not be found. Check the file exists and is readable.
>>>>>>>
>>>>>>> [2011-03-27 13:02:51,916]  WARN
>>>>>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon 
>>>>>>> initialization is
>>>>>>> delayed due to the following unsatisfied items:
>>>>>>> [2011-03-27 13:02:51,919]  WARN
>>>>>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>>>>>>> Module: rampart-trust-1.6.1.wso2v1
>>>>>>> [2011-03-27 13:02:51,920]  WARN
>>>>>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
>>>>>>> Module: rampart-core-1.6.1.wso2v1
>>>>>>>
>>>>>>>
>>>>>>> From where I can find this qpid/config.xml? Should it be included in
>>>>>>> all products using eventing?
>>>>>>>
>>>>>>
>>>>> Sorry for late reply, I added qpid broker config files to appserver
>>>>> service but not to product since it did not used new event feature.
>>>>> I will add those config files to product as well.
>>>>>
>>>>> Thank you.
>>>>>
>>>>>>
>>>>>>> Thanks,
>>>>>>> ~Isuru
>>>>>>>
>>>>>>> --
>>>>>>> Isuru Suriarachchi
>>>>>>> Technical Lead & Product Manager, WSO2 Application Server
>>>>>>> WSO2 Inc. http://wso2.com
>>>>>>> email : is...@wso2.com
>>>>>>> blog : http://isurues.wordpress.com/
>>>>>>>
>>>>>>> lean . enterprise . middleware
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Carbon-dev mailing list
>>>>>>> Carbon-dev@wso2.org
>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Afkham Azeez*
>>>>>> Senior Software Architect & Senior Manager; WSO2, Inc.;
>>>>>> http://wso2.com,
>>>>>> *
>>>>>> *
>>>>>> *Member; Apache Software Foundation; 
>>>>>> **http://www.apache.org/*<http://www.apache.org/>
>>>>>> *
>>>>>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>>>> twitter: 
>>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>>> *
>>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>>>> *
>>>>>> *
>>>>>> *Lean . Enterprise . Middleware*
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Carbon-dev mailing list
>>>>>> Carbon-dev@wso2.org
>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Manjula Rathnayaka
>>>>> Software Engineer
>>>>> WSO2, Inc.
>>>>> Mobile:+94 77 743 1987
>>>>>
>>>>> _______________________________________________
>>>>> Carbon-dev mailing list
>>>>> Carbon-dev@wso2.org
>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Manjula Rathnayaka
>>> Software Engineer
>>> WSO2, Inc.
>>> Mobile:+94 77 743 1987
>>>
>>
>>
>>
>> --
>> Manjula Rathnayaka
>> Software Engineer
>> WSO2, Inc.
>> Mobile:+94 77 743 1987
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Hiranya Jayathilaka
> Senior Software Engineer;
> WSO2 Inc.;  http://wso2.org
> E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com
>
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to