Re: [Carbon-dev] Services went missing after restarting ESB (clustered setup)

2011-10-19 Thread Charitha Kankanamge
53 PM, Samisa Abeysinghe  wrote:

> If the only thing that you did is to disable and then enable clustering in
> axis2 config, then that got to be a bug. May be there is a problem in
> deployment when there are two nodes, one RE and one RO.
>
> When you disable clustering and start, deployment might happen right, and
> then you enable it, the earlier deployment is already there.
>
>
> On Wed, Oct 19, 2011 at 2:38 PM, Charitha Kankanamge wrote:
>
>> I set up a new cluster with new packs and faced the same issue. This time
>> I made sure the synapse configs of RO node was same as RW.
>> However, after restart, all services went missing.
>> Finally, As Sadeep suggested, clustering at axis2 level was disabled. then
>> the services became visible. After that, I re-enabled axis2 clustering and
>> restarted. Now, all services are there in service list.
>>
>> Hard to figure out whether this is related to a bug or an error in my
>> setup.
>>
>> /Charitha
>>
>> -- Forwarded message --
>> From: Kasun Indrasiri 
>> Date: Wed, Oct 19, 2011 at 10:17 AM
>> Subject: Re: [Carbon-dev] Services went missing after restarting ESB
>> (clustered setup)
>> To: carbon-dev@wso2.org
>>
>>
>> Please try with 'LoadFromRegistry' option.
>>
>>
>> This did not work.
>>
>>
>> On Wed, Oct 19, 2011 at 6:46 AM, Charitha Kankanamge 
>> wrote:
>>
>>> Hi,
>>>
>>> Thanks Ishani. yes I did not copy the services to RO node. Surprisingly,
>>> after a few restarts, without even copying the services to RO node, all the
>>> services became visible in RW node.
>>> Worth investigating this issue further.
>>>
>>> /Charitha
>>>
>>>
>>>
>>>
>>> On Wed, Oct 19, 2011 at 2:09 AM, Ishani Ratnayake wrote:
>>>
>>>> Hi,
>>>>
>>>> When copying did you copy the same services to both the nodes? I recall
>>>> reporting a jira without doing that and it was apparently the expected
>>>> behaviour :). Please refer [1].
>>>>
>>>> [1] https://wso2.org/jira/browse/CARBON-10615
>>>>
>>>> Thanks,
>>>> Ishani
>>>>
>>>> On Tue, Oct 18, 2011 at 6:27 AM, Charitha Kankanamge >>> > wrote:
>>>>
>>>>>
>>>>> On Tue, Oct 18, 2011 at 3:41 PM, Samisa Abeysinghe wrote:
>>>>>
>>>>>> Does the DB has the data?
>>>>>>
>>>>>
>>>>> Yes it has. I also can see the resources in registry browser. The files
>>>>> are also there in the deployment directory in file system. The problem is,
>>>>> none of them were *deployed*, hence the service list is empty and
>>>>> cannot be invoked.
>>>>>
>>>>>
>>>>>>
>>>>>> On Tue, Oct 18, 2011 at 3:01 PM, Charitha Kankanamge <
>>>>>> chari...@wso2.com> wrote:
>>>>>>
>>>>>>> Folks,
>>>>>>>
>>>>>>> Please see [1], after restarting, all the proxy services which were
>>>>>>> there before, went missing. Has anyone come across this issue with the
>>>>>>> latest ESB and G-reg packs?
>>>>>>>
>>>>>>> [1]https://wso2.org/jira/browse/CARBON-11271
>>>>>>>
>>>>>>> /Charitha
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> 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
>>>>>>
>>>>>>
>>>>>
>>>>> ___
>>>>> Carbon-dev mailing list
>>>>> Carbon-dev@wso2.org
>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Ishani
>>>>
>>>>
>>>>
>>>> ___
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Kasun Indrasiri
>> Associate Technical Lead
>> WSO2, Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> cell: +94 71 536 4128
>> Blog : http://kasunpanorama.blogspot.com/
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>>
>> ___
>> 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
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Services went missing after restarting ESB (clustered setup)

2011-10-19 Thread Afkham Azeez
Not cluster management. Folks, please read my articles on cluster
configuration, or the relevant chapter in the Axis2 book. Without properly
understanding the concepts, you may run into all sorts of issues.


Sent from my phone
On Oct 19, 2011 7:23 PM, "Charitha Kankanamge"  wrote:

>
> On Wed, Oct 19, 2011 at 6:25 PM, Afkham Azeez  wrote:
>
>> Charitha,
>> Do you have ConfigurationManagement enabled in your clustering setup?
>>
>
> Do you mean cluster manager? If so, no, I did not.
>
> I did not do any clustering config change in axis2.xml except domain name.
>
>
>>
>>
>> On Wed, Oct 19, 2011 at 2:53 PM, Samisa Abeysinghe wrote:
>>
>>> If the only thing that you did is to disable and then enable clustering
>>> in axis2 config, then that got to be a bug. May be there is a problem in
>>> deployment when there are two nodes, one RE and one RO.
>>>
>>> When you disable clustering and start, deployment might happen right, and
>>> then you enable it, the earlier deployment is already there.
>>>
>>>
>>> On Wed, Oct 19, 2011 at 2:38 PM, Charitha Kankanamge 
>>> wrote:
>>>
>>>> I set up a new cluster with new packs and faced the same issue. This
>>>> time I made sure the synapse configs of RO node was same as RW.
>>>> However, after restart, all services went missing.
>>>> Finally, As Sadeep suggested, clustering at axis2 level was disabled.
>>>> then the services became visible. After that, I re-enabled axis2 clustering
>>>> and restarted. Now, all services are there in service list.
>>>>
>>>> Hard to figure out whether this is related to a bug or an error in my
>>>> setup.
>>>>
>>>> /Charitha
>>>>
>>>> -- Forwarded message --
>>>> From: Kasun Indrasiri 
>>>> Date: Wed, Oct 19, 2011 at 10:17 AM
>>>> Subject: Re: [Carbon-dev] Services went missing after restarting ESB
>>>> (clustered setup)
>>>> To: carbon-dev@wso2.org
>>>>
>>>>
>>>> Please try with 'LoadFromRegistry' option.
>>>>
>>>>
>>>> This did not work.
>>>>
>>>>
>>>> On Wed, Oct 19, 2011 at 6:46 AM, Charitha Kankanamge >>> > wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Thanks Ishani. yes I did not copy the services to RO node.
>>>>> Surprisingly, after a few restarts, without even copying the services to 
>>>>> RO
>>>>> node, all the services became visible in RW node.
>>>>> Worth investigating this issue further.
>>>>>
>>>>> /Charitha
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Oct 19, 2011 at 2:09 AM, Ishani Ratnayake wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> When copying did you copy the same services to both the nodes? I
>>>>>> recall reporting a jira without doing that and it was apparently the
>>>>>> expected behaviour :). Please refer [1].
>>>>>>
>>>>>> [1] https://wso2.org/jira/browse/CARBON-10615
>>>>>>
>>>>>> Thanks,
>>>>>> Ishani
>>>>>>
>>>>>> On Tue, Oct 18, 2011 at 6:27 AM, Charitha Kankanamge <
>>>>>> chari...@wso2.com> wrote:
>>>>>>
>>>>>>>
>>>>>>> On Tue, Oct 18, 2011 at 3:41 PM, Samisa Abeysinghe 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Does the DB has the data?
>>>>>>>>
>>>>>>>
>>>>>>> Yes it has. I also can see the resources in registry browser. The
>>>>>>> files are also there in the deployment directory in file system. The 
>>>>>>> problem
>>>>>>> is, none of them were *deployed*, hence the service list is empty
>>>>>>> and cannot be invoked.
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Oct 18, 2011 at 3:01 PM, Charitha Kankanamge <
>>>>>>>> chari...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Folks,
>>>>>>>>>
>>>>>>>>> Please see [1], after restar

Re: [Carbon-dev] Services went missing after restarting ESB (clustered setup)

2011-10-19 Thread Charitha Kankanamge
On Wed, Oct 19, 2011 at 6:25 PM, Afkham Azeez  wrote:

> Charitha,
> Do you have ConfigurationManagement enabled in your clustering setup?
>

Do you mean cluster manager? If so, no, I did not.

I did not do any clustering config change in axis2.xml except domain name.


>
>
> On Wed, Oct 19, 2011 at 2:53 PM, Samisa Abeysinghe wrote:
>
>> If the only thing that you did is to disable and then enable clustering in
>> axis2 config, then that got to be a bug. May be there is a problem in
>> deployment when there are two nodes, one RE and one RO.
>>
>> When you disable clustering and start, deployment might happen right, and
>> then you enable it, the earlier deployment is already there.
>>
>>
>> On Wed, Oct 19, 2011 at 2:38 PM, Charitha Kankanamge 
>> wrote:
>>
>>> I set up a new cluster with new packs and faced the same issue. This time
>>> I made sure the synapse configs of RO node was same as RW.
>>> However, after restart, all services went missing.
>>> Finally, As Sadeep suggested, clustering at axis2 level was disabled.
>>> then the services became visible. After that, I re-enabled axis2 clustering
>>> and restarted. Now, all services are there in service list.
>>>
>>> Hard to figure out whether this is related to a bug or an error in my
>>> setup.
>>>
>>> /Charitha
>>>
>>> -- Forwarded message --
>>> From: Kasun Indrasiri 
>>> Date: Wed, Oct 19, 2011 at 10:17 AM
>>> Subject: Re: [Carbon-dev] Services went missing after restarting ESB
>>> (clustered setup)
>>> To: carbon-dev@wso2.org
>>>
>>>
>>> Please try with 'LoadFromRegistry' option.
>>>
>>>
>>> This did not work.
>>>
>>>
>>> On Wed, Oct 19, 2011 at 6:46 AM, Charitha Kankanamge 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Thanks Ishani. yes I did not copy the services to RO node. Surprisingly,
>>>> after a few restarts, without even copying the services to RO node, all the
>>>> services became visible in RW node.
>>>> Worth investigating this issue further.
>>>>
>>>> /Charitha
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Oct 19, 2011 at 2:09 AM, Ishani Ratnayake wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> When copying did you copy the same services to both the nodes? I recall
>>>>> reporting a jira without doing that and it was apparently the expected
>>>>> behaviour :). Please refer [1].
>>>>>
>>>>> [1] https://wso2.org/jira/browse/CARBON-10615
>>>>>
>>>>> Thanks,
>>>>> Ishani
>>>>>
>>>>> On Tue, Oct 18, 2011 at 6:27 AM, Charitha Kankanamge <
>>>>> chari...@wso2.com> wrote:
>>>>>
>>>>>>
>>>>>> On Tue, Oct 18, 2011 at 3:41 PM, Samisa Abeysinghe 
>>>>>> wrote:
>>>>>>
>>>>>>> Does the DB has the data?
>>>>>>>
>>>>>>
>>>>>> Yes it has. I also can see the resources in registry browser. The
>>>>>> files are also there in the deployment directory in file system. The 
>>>>>> problem
>>>>>> is, none of them were *deployed*, hence the service list is empty and
>>>>>> cannot be invoked.
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> On Tue, Oct 18, 2011 at 3:01 PM, Charitha Kankanamge <
>>>>>>> chari...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Folks,
>>>>>>>>
>>>>>>>> Please see [1], after restarting, all the proxy services which were
>>>>>>>> there before, went missing. Has anyone come across this issue with the
>>>>>>>> latest ESB and G-reg packs?
>>>>>>>>
>>>>>>>> [1]https://wso2.org/jira/browse/CARBON-11271
>>>>>>>>
>>>>>>>> /Charitha
>>>>>>>>
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Carbon-dev mailing list
>>>>>>>> Carbon-dev@wso2.org
>>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>>>
>>

Re: [Carbon-dev] Services went missing after restarting ESB (clustered setup)

2011-10-19 Thread Afkham Azeez
Charitha,
Do you have ConfigurationManagement enabled in your clustering setup?

On Wed, Oct 19, 2011 at 2:53 PM, Samisa Abeysinghe  wrote:

> If the only thing that you did is to disable and then enable clustering in
> axis2 config, then that got to be a bug. May be there is a problem in
> deployment when there are two nodes, one RE and one RO.
>
> When you disable clustering and start, deployment might happen right, and
> then you enable it, the earlier deployment is already there.
>
>
> On Wed, Oct 19, 2011 at 2:38 PM, Charitha Kankanamge wrote:
>
>> I set up a new cluster with new packs and faced the same issue. This time
>> I made sure the synapse configs of RO node was same as RW.
>> However, after restart, all services went missing.
>> Finally, As Sadeep suggested, clustering at axis2 level was disabled. then
>> the services became visible. After that, I re-enabled axis2 clustering and
>> restarted. Now, all services are there in service list.
>>
>> Hard to figure out whether this is related to a bug or an error in my
>> setup.
>>
>> /Charitha
>>
>> -- Forwarded message --
>> From: Kasun Indrasiri 
>> Date: Wed, Oct 19, 2011 at 10:17 AM
>> Subject: Re: [Carbon-dev] Services went missing after restarting ESB
>> (clustered setup)
>> To: carbon-dev@wso2.org
>>
>>
>> Please try with 'LoadFromRegistry' option.
>>
>>
>> This did not work.
>>
>>
>> On Wed, Oct 19, 2011 at 6:46 AM, Charitha Kankanamge 
>> wrote:
>>
>>> Hi,
>>>
>>> Thanks Ishani. yes I did not copy the services to RO node. Surprisingly,
>>> after a few restarts, without even copying the services to RO node, all the
>>> services became visible in RW node.
>>> Worth investigating this issue further.
>>>
>>> /Charitha
>>>
>>>
>>>
>>>
>>> On Wed, Oct 19, 2011 at 2:09 AM, Ishani Ratnayake wrote:
>>>
>>>> Hi,
>>>>
>>>> When copying did you copy the same services to both the nodes? I recall
>>>> reporting a jira without doing that and it was apparently the expected
>>>> behaviour :). Please refer [1].
>>>>
>>>> [1] https://wso2.org/jira/browse/CARBON-10615
>>>>
>>>> Thanks,
>>>> Ishani
>>>>
>>>> On Tue, Oct 18, 2011 at 6:27 AM, Charitha Kankanamge >>> > wrote:
>>>>
>>>>>
>>>>> On Tue, Oct 18, 2011 at 3:41 PM, Samisa Abeysinghe wrote:
>>>>>
>>>>>> Does the DB has the data?
>>>>>>
>>>>>
>>>>> Yes it has. I also can see the resources in registry browser. The files
>>>>> are also there in the deployment directory in file system. The problem is,
>>>>> none of them were *deployed*, hence the service list is empty and
>>>>> cannot be invoked.
>>>>>
>>>>>
>>>>>>
>>>>>> On Tue, Oct 18, 2011 at 3:01 PM, Charitha Kankanamge <
>>>>>> chari...@wso2.com> wrote:
>>>>>>
>>>>>>> Folks,
>>>>>>>
>>>>>>> Please see [1], after restarting, all the proxy services which were
>>>>>>> there before, went missing. Has anyone come across this issue with the
>>>>>>> latest ESB and G-reg packs?
>>>>>>>
>>>>>>> [1]https://wso2.org/jira/browse/CARBON-11271
>>>>>>>
>>>>>>> /Charitha
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> 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
>>>>>>
>>>>>>
>>>>>
>>>

Re: [Carbon-dev] Services went missing after restarting ESB (clustered setup)

2011-10-19 Thread Samisa Abeysinghe
If the only thing that you did is to disable and then enable clustering in
axis2 config, then that got to be a bug. May be there is a problem in
deployment when there are two nodes, one RE and one RO.

When you disable clustering and start, deployment might happen right, and
then you enable it, the earlier deployment is already there.

On Wed, Oct 19, 2011 at 2:38 PM, Charitha Kankanamge wrote:

> I set up a new cluster with new packs and faced the same issue. This time I
> made sure the synapse configs of RO node was same as RW.
> However, after restart, all services went missing.
> Finally, As Sadeep suggested, clustering at axis2 level was disabled. then
> the services became visible. After that, I re-enabled axis2 clustering and
> restarted. Now, all services are there in service list.
>
> Hard to figure out whether this is related to a bug or an error in my
> setup.
>
> /Charitha
>
> -- Forwarded message --
> From: Kasun Indrasiri 
> Date: Wed, Oct 19, 2011 at 10:17 AM
> Subject: Re: [Carbon-dev] Services went missing after restarting ESB
> (clustered setup)
> To: carbon-dev@wso2.org
>
>
> Please try with 'LoadFromRegistry' option.
>
>
> This did not work.
>
>
> On Wed, Oct 19, 2011 at 6:46 AM, Charitha Kankanamge wrote:
>
>> Hi,
>>
>> Thanks Ishani. yes I did not copy the services to RO node. Surprisingly,
>> after a few restarts, without even copying the services to RO node, all the
>> services became visible in RW node.
>> Worth investigating this issue further.
>>
>> /Charitha
>>
>>
>>
>>
>> On Wed, Oct 19, 2011 at 2:09 AM, Ishani Ratnayake wrote:
>>
>>> Hi,
>>>
>>> When copying did you copy the same services to both the nodes? I recall
>>> reporting a jira without doing that and it was apparently the expected
>>> behaviour :). Please refer [1].
>>>
>>> [1] https://wso2.org/jira/browse/CARBON-10615
>>>
>>> Thanks,
>>> Ishani
>>>
>>> On Tue, Oct 18, 2011 at 6:27 AM, Charitha Kankanamge 
>>> wrote:
>>>
>>>>
>>>> On Tue, Oct 18, 2011 at 3:41 PM, Samisa Abeysinghe wrote:
>>>>
>>>>> Does the DB has the data?
>>>>>
>>>>
>>>> Yes it has. I also can see the resources in registry browser. The files
>>>> are also there in the deployment directory in file system. The problem is,
>>>> none of them were *deployed*, hence the service list is empty and
>>>> cannot be invoked.
>>>>
>>>>
>>>>>
>>>>> On Tue, Oct 18, 2011 at 3:01 PM, Charitha Kankanamge <
>>>>> chari...@wso2.com> wrote:
>>>>>
>>>>>> Folks,
>>>>>>
>>>>>> Please see [1], after restarting, all the proxy services which were
>>>>>> there before, went missing. Has anyone come across this issue with the
>>>>>> latest ESB and G-reg packs?
>>>>>>
>>>>>> [1]https://wso2.org/jira/browse/CARBON-11271
>>>>>>
>>>>>> /Charitha
>>>>>>
>>>>>>
>>>>>> ___
>>>>>> 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
>>>>>
>>>>>
>>>>
>>>> ___
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Ishani
>>>
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Kasun Indrasiri
> Associate Technical Lead
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> cell: +94 71 536 4128
> Blog : http://kasunpanorama.blogspot.com/
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
>
> ___
> 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


Re: [Carbon-dev] Services went missing after restarting ESB (clustered setup)

2011-10-19 Thread Charitha Kankanamge
I set up a new cluster with new packs and faced the same issue. This time I
made sure the synapse configs of RO node was same as RW.
However, after restart, all services went missing.
Finally, As Sadeep suggested, clustering at axis2 level was disabled. then
the services became visible. After that, I re-enabled axis2 clustering and
restarted. Now, all services are there in service list.

Hard to figure out whether this is related to a bug or an error in my setup.


/Charitha

-- Forwarded message --
From: Kasun Indrasiri 
Date: Wed, Oct 19, 2011 at 10:17 AM
Subject: Re: [Carbon-dev] Services went missing after restarting ESB
(clustered setup)
To: carbon-dev@wso2.org


Please try with 'LoadFromRegistry' option.


This did not work.


On Wed, Oct 19, 2011 at 6:46 AM, Charitha Kankanamge wrote:

> Hi,
>
> Thanks Ishani. yes I did not copy the services to RO node. Surprisingly,
> after a few restarts, without even copying the services to RO node, all the
> services became visible in RW node.
> Worth investigating this issue further.
>
> /Charitha
>
>
>
>
> On Wed, Oct 19, 2011 at 2:09 AM, Ishani Ratnayake  wrote:
>
>> Hi,
>>
>> When copying did you copy the same services to both the nodes? I recall
>> reporting a jira without doing that and it was apparently the expected
>> behaviour :). Please refer [1].
>>
>> [1] https://wso2.org/jira/browse/CARBON-10615
>>
>> Thanks,
>> Ishani
>>
>> On Tue, Oct 18, 2011 at 6:27 AM, Charitha Kankanamge 
>> wrote:
>>
>>>
>>> On Tue, Oct 18, 2011 at 3:41 PM, Samisa Abeysinghe wrote:
>>>
>>>> Does the DB has the data?
>>>>
>>>
>>> Yes it has. I also can see the resources in registry browser. The files
>>> are also there in the deployment directory in file system. The problem is,
>>> none of them were *deployed*, hence the service list is empty and cannot
>>> be invoked.
>>>
>>>
>>>>
>>>> On Tue, Oct 18, 2011 at 3:01 PM, Charitha Kankanamge >>> > wrote:
>>>>
>>>>> Folks,
>>>>>
>>>>> Please see [1], after restarting, all the proxy services which were
>>>>> there before, went missing. Has anyone come across this issue with the
>>>>> latest ESB and G-reg packs?
>>>>>
>>>>> [1]https://wso2.org/jira/browse/CARBON-11271
>>>>>
>>>>> /Charitha
>>>>>
>>>>>
>>>>> ___
>>>>> 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
>>>>
>>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Ishani
>>
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Kasun Indrasiri
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 71 536 4128
Blog : http://kasunpanorama.blogspot.com/

___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Services went missing after restarting ESB (clustered setup)

2011-10-18 Thread Kasun Indrasiri
Please try with 'LoadFromRegistry' option.

On Wed, Oct 19, 2011 at 6:46 AM, Charitha Kankanamge wrote:

> Hi,
>
> Thanks Ishani. yes I did not copy the services to RO node. Surprisingly,
> after a few restarts, without even copying the services to RO node, all the
> services became visible in RW node.
> Worth investigating this issue further.
>
> /Charitha
>
>
>
>
> On Wed, Oct 19, 2011 at 2:09 AM, Ishani Ratnayake  wrote:
>
>> Hi,
>>
>> When copying did you copy the same services to both the nodes? I recall
>> reporting a jira without doing that and it was apparently the expected
>> behaviour :). Please refer [1].
>>
>> [1] https://wso2.org/jira/browse/CARBON-10615
>>
>> Thanks,
>> Ishani
>>
>> On Tue, Oct 18, 2011 at 6:27 AM, Charitha Kankanamge 
>> wrote:
>>
>>>
>>> On Tue, Oct 18, 2011 at 3:41 PM, Samisa Abeysinghe wrote:
>>>
 Does the DB has the data?

>>>
>>> Yes it has. I also can see the resources in registry browser. The files
>>> are also there in the deployment directory in file system. The problem is,
>>> none of them were *deployed*, hence the service list is empty and cannot
>>> be invoked.
>>>
>>>

 On Tue, Oct 18, 2011 at 3:01 PM, Charitha Kankanamge >>> > wrote:

> Folks,
>
> Please see [1], after restarting, all the proxy services which were
> there before, went missing. Has anyone come across this issue with the
> latest ESB and G-reg packs?
>
> [1]https://wso2.org/jira/browse/CARBON-11271
>
> /Charitha
>
>
> ___
> 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


>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Ishani
>>
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Kasun Indrasiri
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 71 536 4128
Blog : http://kasunpanorama.blogspot.com/
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Services went missing after restarting ESB (clustered setup)

2011-10-18 Thread Afkham Azeez
The case reported in that Jira is different. Clustering has been enabled
with configuration management, which means, a new node which joins the
cluster will look at the configuration of an existing neighbor, and sync the
deployed services with that neighbor. So, if the neighbor does not have
service X, the new node assumes that an admin has undeployed that service,
hence it will remove it from its service list as well.

On Wed, Oct 19, 2011 at 2:09 AM, Ishani Ratnayake  wrote:

> Hi,
>
> When copying did you copy the same services to both the nodes? I recall
> reporting a jira without doing that and it was apparently the expected
> behaviour :). Please refer [1].
>
> [1] https://wso2.org/jira/browse/CARBON-10615
>
> Thanks,
> Ishani
>
> On Tue, Oct 18, 2011 at 6:27 AM, Charitha Kankanamge wrote:
>
>>
>> On Tue, Oct 18, 2011 at 3:41 PM, Samisa Abeysinghe wrote:
>>
>>> Does the DB has the data?
>>>
>>
>> Yes it has. I also can see the resources in registry browser. The files
>> are also there in the deployment directory in file system. The problem is,
>> none of them were *deployed*, hence the service list is empty and cannot
>> be invoked.
>>
>>
>>>
>>> On Tue, Oct 18, 2011 at 3:01 PM, Charitha Kankanamge 
>>> wrote:
>>>
 Folks,

 Please see [1], after restarting, all the proxy services which were
 there before, went missing. Has anyone come across this issue with the
 latest ESB and G-reg packs?

 [1]https://wso2.org/jira/browse/CARBON-11271

 /Charitha


 ___
 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
>>>
>>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Ishani
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* **
email: **az...@wso2.com* * cell: +94 77 3320919
blog: **http://blog.afkham.org* *
twitter: **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


Re: [Carbon-dev] Services went missing after restarting ESB (clustered setup)

2011-10-18 Thread Charitha Kankanamge
Hi,

Thanks Ishani. yes I did not copy the services to RO node. Surprisingly,
after a few restarts, without even copying the services to RO node, all the
services became visible in RW node.
Worth investigating this issue further.

/Charitha



On Wed, Oct 19, 2011 at 2:09 AM, Ishani Ratnayake  wrote:

> Hi,
>
> When copying did you copy the same services to both the nodes? I recall
> reporting a jira without doing that and it was apparently the expected
> behaviour :). Please refer [1].
>
> [1] https://wso2.org/jira/browse/CARBON-10615
>
> Thanks,
> Ishani
>
> On Tue, Oct 18, 2011 at 6:27 AM, Charitha Kankanamge wrote:
>
>>
>> On Tue, Oct 18, 2011 at 3:41 PM, Samisa Abeysinghe wrote:
>>
>>> Does the DB has the data?
>>>
>>
>> Yes it has. I also can see the resources in registry browser. The files
>> are also there in the deployment directory in file system. The problem is,
>> none of them were *deployed*, hence the service list is empty and cannot
>> be invoked.
>>
>>
>>>
>>> On Tue, Oct 18, 2011 at 3:01 PM, Charitha Kankanamge 
>>> wrote:
>>>
 Folks,

 Please see [1], after restarting, all the proxy services which were
 there before, went missing. Has anyone come across this issue with the
 latest ESB and G-reg packs?

 [1]https://wso2.org/jira/browse/CARBON-11271

 /Charitha


 ___
 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
>>>
>>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Ishani
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Services went missing after restarting ESB (clustered setup)

2011-10-18 Thread Ishani Ratnayake
Hi,

When copying did you copy the same services to both the nodes? I recall
reporting a jira without doing that and it was apparently the expected
behaviour :). Please refer [1].

[1] https://wso2.org/jira/browse/CARBON-10615

Thanks,
Ishani

On Tue, Oct 18, 2011 at 6:27 AM, Charitha Kankanamge wrote:

>
> On Tue, Oct 18, 2011 at 3:41 PM, Samisa Abeysinghe wrote:
>
>> Does the DB has the data?
>>
>
> Yes it has. I also can see the resources in registry browser. The files are
> also there in the deployment directory in file system. The problem is, none
> of them were *deployed*, hence the service list is empty and cannot be
> invoked.
>
>
>>
>> On Tue, Oct 18, 2011 at 3:01 PM, Charitha Kankanamge 
>> wrote:
>>
>>> Folks,
>>>
>>> Please see [1], after restarting, all the proxy services which were there
>>> before, went missing. Has anyone come across this issue with the latest ESB
>>> and G-reg packs?
>>>
>>> [1]https://wso2.org/jira/browse/CARBON-11271
>>>
>>> /Charitha
>>>
>>>
>>> ___
>>> 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
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Ishani
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Services went missing after restarting ESB (clustered setup)

2011-10-18 Thread Charitha Kankanamge
On Tue, Oct 18, 2011 at 3:41 PM, Samisa Abeysinghe  wrote:

> Does the DB has the data?
>

Yes it has. I also can see the resources in registry browser. The files are
also there in the deployment directory in file system. The problem is, none
of them were *deployed*, hence the service list is empty and cannot be
invoked.


>
> On Tue, Oct 18, 2011 at 3:01 PM, Charitha Kankanamge wrote:
>
>> Folks,
>>
>> Please see [1], after restarting, all the proxy services which were there
>> before, went missing. Has anyone come across this issue with the latest ESB
>> and G-reg packs?
>>
>> [1]https://wso2.org/jira/browse/CARBON-11271
>>
>> /Charitha
>>
>>
>> ___
>> 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
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Services went missing after restarting ESB (clustered setup)

2011-10-18 Thread Samisa Abeysinghe
Does the DB has the data?

On Tue, Oct 18, 2011 at 3:01 PM, Charitha Kankanamge wrote:

> Folks,
>
> Please see [1], after restarting, all the proxy services which were there
> before, went missing. Has anyone come across this issue with the latest ESB
> and G-reg packs?
>
> [1]https://wso2.org/jira/browse/CARBON-11271
>
> /Charitha
>
>
> ___
> 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


[Carbon-dev] Services went missing after restarting ESB (clustered setup)

2011-10-18 Thread Charitha Kankanamge
Folks,

Please see [1], after restarting, all the proxy services which were there
before, went missing. Has anyone come across this issue with the latest ESB
and G-reg packs?

[1]https://wso2.org/jira/browse/CARBON-11271

/Charitha
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev