Re: [Dev] WSO2 Committers += GayanK

2014-04-16 Thread Pubudud Dissanayake
Congratulations Gayan !



On Thu, Apr 17, 2014 at 9:04 AM, Rajith Vitharana  wrote:

> Congratulations Gayan ... :)
>
>
> On Thu, Apr 17, 2014 at 9:03 AM, Manula Chathurika Thantriwatte <
> manu...@wso2.com> wrote:
>
>> Congratulations Gayan !!!
>>
>>
>> On Wed, Apr 16, 2014 at 11:54 PM, Dimuthu De Lanerolle > > wrote:
>>
>>> Congratz Gayan...!!!
>>>
>>> Regards,
>>>
>>>
>>> On Wed, Apr 16, 2014 at 10:19 PM, Chandana Napagoda 
>>> wrote:
>>>
 Congratulations Gayan...!!!

 Regards,
 Chandana

 On Wed, Apr 16, 2014 at 10:14 PM, Melan Nimesh  wrote:

> Congrats Gayan !
>
>
> On Wed, Apr 16, 2014 at 9:26 PM, Shani Ranasinghe wrote:
>
>> Congrats Gayan
>>
>>
>> On Wed, Apr 16, 2014 at 6:22 AM, Dilini Muthumala wrote:
>>
>>> Congrats Gayan!
>>>
>>>
>>> On Wed, Apr 16, 2014 at 4:49 PM, Malintha Adikari >> > wrote:
>>>
 Congratulations Gayan 



 On Wed, Apr 16, 2014 at 4:33 PM, Susankha Nirmala <
 susan...@wso2.com> wrote:

> Congratulations !
>
>
> On Wed, Apr 16, 2014 at 4:29 PM, Susinda Perera 
> wrote:
>
>> Congratulations Gayan 
>>
>>
>> On Wed, Apr 16, 2014 at 4:18 PM, Isuruwan Herath <
>> isuru...@wso2.com> wrote:
>>
>>> Congratz Gayan!
>>>
>>>
>>> On Wed, Apr 16, 2014 at 3:53 PM, Asanka Sanjeewa <
>>> asan...@wso2.com> wrote:
>>>
 Congratulations GayanK.

 Regards,
 AsankaS.


 On Wed, Apr 16, 2014 at 3:49 PM, Amal Gunatilake <
 am...@wso2.com> wrote:

> Congratz Gayan !!
>
> Thank you  & Best regards,
>
> *Amal Gunatilake*
>  Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
>
> On Wed, Apr 16, 2014 at 3:45 PM, Lali Devamanthri <
> l...@wso2.com> wrote:
>
>> Congrats Gayan ..!
>>
>>
>> On Wed, Apr 16, 2014 at 3:43 PM, Jasintha Dasanayake <
>> jasin...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> It's my distinct pleasure to welcome Gayan as a WSO2
>>> Committer.
>>>
>>> Gayan has  been a valuable contributor for WSO2 Developer
>>> Studio since he joined WSO2. In recognition of his 
>>> contributions to WSO2,
>>> he has been voted as a WSO2 Committer.
>>>
>>> Gayan, Congratulations and Keep up the good work!
>>>
>>> Thanks and Regards,
>>> /Jasintha
>>>
>>> --
>>>
>>> *Jasintha Dasanayake *
>>>
>>> *Software EngineerWSO2 Inc. | http://wso2.com
>>>  lean . enterprise . middleware*
>>>
>>>
>>> *mobile :- 0711368118 <0711368118> *
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Lali Sudaththa Devamanthri*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 71 895 4922
>>  
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 *Asanka Sanjeewa*
 Senior Software Engineer
 Mobile: +94772532924
 WSO2 Inc. http://wso2.com/
 Blog: http://asanka-tech-blog.blogspot.com/


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


>>>
>>>
>>> --
>>> Isuruwan Herath
>>> Technical Lead
>>>
>>> Contact: +94 776 273 296
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/m

[Dev] Problem occurred while integrating OAuth authentication to the Dev Governance GReg Project

2014-03-28 Thread Pubudud Dissanayake
Hi Folks,
Please refer $Subject and complete explanation as follows,

Integrate OAuth 2.0 to Dev governance project

Current Developer-gov implementation we allow users to input their
credentials using WSO2 ES admin console. That isn't a good approach and we
thought of going with OAuth implementation.





figure 1 : Architecture view

 Requirements


   -

   Acquire OAuth tokens from IS to perform API calls, since it is the best
   possible ( secured ) scenario
   -

   Integrate LDAP


Status of authentication framework support of the each APIs as follows

API Authentication

   -

   Jira Aggregate API
   -

  Why aggregate API ?
  -

 Jira REST doesn't allow us to create a project through its API but
 SOAP API does,  therefore we came to a conclusion to have an
aggregate API
 -

  Jira REST API - Rest API does supports OAuth
[1]

  -

 OAuth REST example [
2]
 -

  Jira SOAP API - Soap API Doesn't supports OAuth
[3]

  -

 There is a mechanism implemented but  OAuth is not possible over
 SOAP API, only REST will support. (Rest has its own
limitations when it
 comes to create jira projects.)
[4
 ]
 -

   Jenkins REST API
   -

  REST API itself doesn't supports OAuth. But there is model called
  plug-in which will help us to created plug-ins like wrappers to enforce
  OAuth [5
  ]



   -

   Redmine REST API [6]

   -

  Authentication
  -

 Most of the time, the API requires authentication. To enable the
 API-style authentication, you have to check Enable REST API in
 Administration > Settings > Authentication. Then,
authentication can be
 done in 2 different ways:
 -

using your regular login/password via HTTP Basic authentication.


   -

using your API key which is a handy way to avoid putting a
password in a script. The API key may be attached to each
request in one of
the following way:
-

   passed in as a "key" parameter
   -

   passed in as a username with a random password via HTTP
   Basic authentication
   -

   passed in as a "X-Redmine-API-Key" HTTP header (added in
   Redmine 1.1.0)



You can find your API key on your account page ( /my/account ) when logged
in, on the right-hand pane of the default layout.


   -

   GitHub REST API
   -

  GitHub REST API does supports OAuth
[7]but
  if we are planning to go ahead with that implementation following
  constraints will occur
  -

 Since everybody uses their own GitHub accounts we have to rule out
 LDAP integration
 -

 Integration with WSO2 IS




   -

   Bamboo REST API
[8]
   Bamboo can be integrated with LDAP for the authentication and authorization
   of LDAP users
   -

  REST Authentication
  -

 Log into Bamboo manually. You will then be authenticated for the
 REST APIs for that same browser session.
 -

 Use HTTP basic authentication (Authorization HTTP header)
 containing 'Basic username:password '.
 The URL must also contain the 'os_authType=basic' query parameter.
 -

Example:

wget --http-user=admin --http-password=admin
http://localhost:8085/rest/api/latest/plan?os_authType=basic

curl --user admin:admin

User Store integration

   -

   Four of the given five APIs support LDAP integration. GitHub will be a
   special case since devs using their private accounts.


Moral of the story as follows

   -

   OAuth support status of given APIs
   -

  Jira aggregate API
  -

 Jira REST - Yes
 -

 Jira SOAP - NO
 -

  Jenkins REST API - NO, but need to write a plug-in
  -

  Bamboo REST - NO
  -

  GitHub REST - YES
  -

  Redmine REST API - NO, but need to write a plug-in

Need a proper model if we are going ahead with OAuth but some API does
support OAuth some doesn't

*Alternative approach*

   -

   Secure vault
   -

  Create a superuser account in each product (API tools ) who has the
  right to perform high priority API calls such as 'Creating
Project'. store
  superuser credent

Re: [Dev] Connect WSO2 ES and WSO2 UES via SSO

2014-02-24 Thread Pubudud Dissanayake
Thank you for the feedback, I'll look in to it and get back to you



On Tue, Feb 25, 2014 at 10:32 AM, Madhuka Udantha  wrote:

> Hi,
>
> Here is steps you can follow.
> Register New Service Provider (with Issuer UES dashboard App)
> In UES dashboard app update 'ssoConfiguration' in config.json file for ES
> if is it acting as IDP.
> You can try this in UES 1.0.1[1] since UES 1.0.0 was using sso hostobject
> and UES 1.0.1 and ES 1.0.0 is using SSO module. (few app level code changes
> can be required).
>
> Here I am sharing few links that can help you on $subject
>
> [1] http://dist.wso2.org/maven2/org/wso2/ues/wso2ues/1.0.1/
> [2]
> http://madhukaudantha.blogspot.com/2013/04/enabling-sso-in-wso2-user-engagement.html
> [3]
> http://madhukaudantha.blogspot.com/2014/01/sso-with-claims-in-wso2-is.html2
> .
>
>
> On Thu, Feb 20, 2014 at 11:46 AM, Pubudud Dissanayake wrote:
>
>> Hi All,
>>
>> We are working on a scenario where we want to put a link to a UES
>> Dashboard inside an user Interface on Enterprise Store. Through this link
>> we are passing several query string parameters which are needed by the
>> dashboard to render the gadgets. We need to enable SSO between these two
>> apps where a logged in user of ES will be automatically logged in and
>> redirected to the dashboard with parameters upon clicking on the link.
>>
>> As a start we just tried to get this scenario working without SSO. We
>> simply put the link to Dashboard page (on separate UES instance) and tried
>> accessing it via ES user interface. But it redirects the request to
>> sso/samlsso.jag of ES instance and nothing will happen afterwards.
>>
>> can anyone suggest a solution for this particular scenario?
>>
>> Suggestions and comments are welcome,
>>
>> Thanks.
>>
>> --
>> *Pubudu Dissanayake*
>>  Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>> Mobile: 0775503304
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Madhuka* Udantha
> Senior Software Engineer
> Development Technologies
> WSO2 Inc. : http://wso2.com
>
> *Mobile*: +94774066336
> *Blog*: http://madhukaudantha.blogspot.com/
>



-- 
*Pubudu Dissanayake*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
Mobile: 0775503304
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Connect WSO2 ES and WSO2 UES via SSO

2014-02-19 Thread Pubudud Dissanayake
Hi All,

We are working on a scenario where we want to put a link to a UES Dashboard
inside an user Interface on Enterprise Store. Through this link we are
passing several query string parameters which are needed by the dashboard
to render the gadgets. We need to enable SSO between these two apps where a
logged in user of ES will be automatically logged in and redirected to the
dashboard with parameters upon clicking on the link.

As a start we just tried to get this scenario working without SSO. We
simply put the link to Dashboard page (on separate UES instance) and tried
accessing it via ES user interface. But it redirects the request to
sso/samlsso.jag of ES instance and nothing will happen afterwards.

can anyone suggest a solution for this particular scenario?

Suggestions and comments are welcome,

Thanks.

-- 
*Pubudu Dissanayake*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
Mobile: 0775503304
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Developers += Sameera Medagammaddegedara

2014-02-02 Thread Pubudud Dissanayake
Congratulations Sameera !!


On Sun, Feb 2, 2014 at 10:24 PM, Sameera Medagammaddegedara <
samee...@wso2.com> wrote:

>
> Thank You Everyone.
>
>
> On Sat, Feb 1, 2014 at 6:05 AM, Nuwan Bandara  wrote:
>
>> Hi All,
>>
>> Please welcome SameeraM as our newest addition to the WSO2 Commiters
>> list. Sameera's contribution to WSO2 platform and product stack can be
>> found at [1]. Your contribution is much valued and hope you will keep it up.
>>
>> [1] https://github.com/splinter?tab=activity
>>
>> --
>>
>>
>>
>> *Thanks & Regards, Nuwan BandaraTechnical Lead; **WSO2 Inc. *
>> *lean . enterprise . middleware |  http://wso2.com  *
>>
>> *blog : http://nuwanbando.com ; email:
>> nu...@wso2.com ; phone: +1 812 606 7390
>> <%2B1%20812%20606%207390> *
>> 
>>
>
>
>
> --
> Sameera Medagammaddegedara
> Software Engineer
>
> Contact:
> Email: samee...@wso2.com
> Mobile: + 94 077 255 3005
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Pubudu Dissanayake*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
Mobile: 0775503304
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 WSB Sample 57: Dynamic load balancing between 3 nodes - Missing LoadBalanceEventHandler

2013-12-18 Thread Pubudud Dissanayake
Hi Chanaka

And I quote, unquote

Looks like this is an incompatibility issue between two clustering
> mechanisms used in axis2Server and within the ESB itself. In the
> axis2Server, it is using tribesClustering while ESB 4.8.0 is using
> Hazlecast clustering. I have done some debugging on ESB and found that
> clustering management group is not initialized.


Indeed that might be the issue and I've tested it with WSO2 ESB 4.7.0
with org.apache.axis2.clustering.tribes.TribesClusteringAgent
and it works perfectly. Sadly it won't work on 4.8.0 with (
org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent )

Thank you for your help, much appreciated !


On Thu, Dec 19, 2013 at 10:55 AM, Chanaka Fernando wrote:

> Hi Pubudu,
>
> This issue has been previously raised in the dev mailing list under the
> following heading.
>
> [Dev] Running ESB sample 57
>
>
> You can find the reason for this issue and the workaround.
>
>
> @Nirmal: If you see something is missing in the document, please correct
> it by yourself since you know the clustering things better. That is the
> only way we can evolve the documentation with the time. People who knows
> about some topic should contribute to the documentation.
>
>
> Thanks,
> Chanaka
>
>
> On Thu, Dec 19, 2013 at 12:18 AM, Pubudud Dissanayake wrote:
>
>> Yes I did
>>
>> furthermore XML properties as follows
>>
>> ESB Clustering ( axis2.xml )
>>
>> > class="org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent"
>> enable="true">
>> true
>> wka
>> wso2.carbon.domain
>> 45564
>> 100
>> 60
>>
>> 127.0.0.1
>>
>> 127.0.0.1
>>
>> 4100
>>
>> 
>> 
>> 
>>  
>> 
>> 
>> 
>> 
>> 127.0.0.1
>> 4000
>> 
>> 
>> 
>> >description="ESB group"
>>
>>  
>> agent="org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent"
>>subDomain="worker"
>>port=""/>
>> 
>> 
>>
>> Server XML ( axis2.xml )
>>
>> > class="org.apache.axis2.clustering.tribes.TribesClusteringAgent"
>> enable="true">
>> true
>> multicast
>> > name="domain">apache.axis2.application.domain
>> true
>> 10
>> 228.0.0.4
>>     45564
>> 500
>> 3000
>> 127.0.0.1
>> 127.0.0.1
>> 4000
>> true
>> true
>> 
>> 
>> 
>> 
>>
>> > class="org.apache.axis2.clustering.management.DefaultNodeManager"
>>  enable="true"/>
>> 
>>
>>
>> Thank You.
>>
>>
>> On Thu, Dec 19, 2013 at 10:32 AM, Jeewantha Dharmaparakrama <
>> jeewan...@wso2.com> wrote:
>>
>>> Did you enable clustering ?
>>>
>>>
>>> On Thu, Dec 19, 2013 at 10:27 AM, Pubudud Dissanayake 
>>> wrote:
>>>
>>>> Hi
>>>> Issue occurred when i try to execute the $Subject.
>>>>
>>>> Stack trace as follows
>>>>
>>>> [2013-12-19 10:18:30,841] DEBUG - DynamicLoadbalanceEndpoint Couldn't
>>>> find the Cookie header to find the session
>>>> [2013-12-19 10:18:30,841] ERROR - Axis2LoadBalanceMembershipHandler A
>>>> LoadBalanceEventHandler has not been specified in the axis2.xml file for
>>>> the domain apache.axis2.application.domain
>>>> [2013-12-19 10:18:30,842]  WARN - SynapseMessageReceiver Executing
>>>> fault handler due to exception encountered
>>>> [2013-12-19 10:18:30,851]  WARN - FaultHandler ERROR_CODE : 0
>>>> [2013-12-19 10:18:30,851]  WARN - FaultHandler ERROR_MESSAGE : A
>>>> LoadBalanceEventHandler has not been specified in the axis2.xml file for
>>>> the domain apache.axis2.application.domain
>>>> [2013-12-19 10:18:30,851]  WARN - FaultHandler ERROR_DETAIL :
>>>> org.apache.synapse.SynapseException: A LoadBalanceEventHandler has not been
>>>> specified in the 

Re: [Dev] WSO2 WSB Sample 57: Dynamic load balancing between 3 nodes - Missing LoadBalanceEventHandler

2013-12-18 Thread Pubudud Dissanayake
Yes I did

furthermore XML properties as follows

ESB Clustering ( axis2.xml )


true
wka
wso2.carbon.domain
45564
100
60

127.0.0.1

127.0.0.1

4100




 




127.0.0.1
4000







Server XML ( axis2.xml )

 
true
multicast
apache.axis2.application.domain
true
10
228.0.0.4
45564
500
3000
127.0.0.1
127.0.0.1
4000
true
true









Thank You.


On Thu, Dec 19, 2013 at 10:32 AM, Jeewantha Dharmaparakrama <
jeewan...@wso2.com> wrote:

> Did you enable clustering ?
>
>
> On Thu, Dec 19, 2013 at 10:27 AM, Pubudud Dissanayake wrote:
>
>> Hi
>> Issue occurred when i try to execute the $Subject.
>>
>> Stack trace as follows
>>
>> [2013-12-19 10:18:30,841] DEBUG - DynamicLoadbalanceEndpoint Couldn't
>> find the Cookie header to find the session
>> [2013-12-19 10:18:30,841] ERROR - Axis2LoadBalanceMembershipHandler A
>> LoadBalanceEventHandler has not been specified in the axis2.xml file for
>> the domain apache.axis2.application.domain
>> [2013-12-19 10:18:30,842]  WARN - SynapseMessageReceiver Executing fault
>> handler due to exception encountered
>> [2013-12-19 10:18:30,851]  WARN - FaultHandler ERROR_CODE : 0
>> [2013-12-19 10:18:30,851]  WARN - FaultHandler ERROR_MESSAGE : A
>> LoadBalanceEventHandler has not been specified in the axis2.xml file for
>> the domain apache.axis2.application.domain
>> [2013-12-19 10:18:30,851]  WARN - FaultHandler ERROR_DETAIL :
>> org.apache.synapse.SynapseException: A LoadBalanceEventHandler has not been
>> specified in the axis2.xml file for the domain
>> apache.axis2.application.domain
>>  at
>> org.apache.synapse.core.axis2.Axis2LoadBalanceMembershipHandler.setConfigurationContext(Axis2LoadBalanceMembershipHandler.java:77)
>>  at
>> org.apache.synapse.endpoints.DynamicLoadbalanceEndpoint.send(DynamicLoadbalanceEndpoint.java:115)
>>  at
>> org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:97)
>>  at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
>> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
>>  at
>> org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:61)
>>  at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
>> at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
>>  at
>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
>>  at
>> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:228)
>>  at
>> org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83)
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>  at
>> org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:403)
>>  at
>> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
>>  at
>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>>  at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>>  at java.lang.Thread.run(Thread.java:662)
>>
>> [2013-12-19 10:18:30,851]  WARN - FaultHandler ERROR_EXCEPTION :
>> org.apache.synapse.SynapseException: A LoadBalanceEventHandler has not been
>> specified in the axis2.xml file for the domain
>> apache.axis2.application.domain
>> [2013-12-19 10:18:30,852]  WARN - FaultHandler FaultHandler :
>> org.apache.synapse.mediators.MediatorFaultHandler@71daa121
>> [2013-12-19 10:18:30,852]  WARN - MediatorFaultHandler Executing fault
>> handler mediator : errorHandler
>> [2013-12-19 10:18:30,852] DEBUG - SequenceMediator Start : Sequence
>> 
>> [2013-12-19 10:18:30,852] DEBUG - SequenceMediator Sequence
>>  :: mediate()
>> [2013-12-19 10:18:30,852] DEBUG - SequenceMediator Mediation started from
>> mediator position : 0
>> [2013-12-19 10:18:30,865] DEBUG - FaultMediator Start : Fault mediator
>> [2013-12-19 10:18:30,865] DEBUG - FaultMediator Creating a SOAP 1.1 fault
>>

[Dev] WSO2 WSB Sample 57: Dynamic load balancing between 3 nodes - Missing LoadBalanceEventHandler

2013-12-18 Thread Pubudud Dissanayake
Hi
Issue occurred when i try to execute the $Subject.

Stack trace as follows

[2013-12-19 10:18:30,841] DEBUG - DynamicLoadbalanceEndpoint Couldn't find
the Cookie header to find the session
[2013-12-19 10:18:30,841] ERROR - Axis2LoadBalanceMembershipHandler A
LoadBalanceEventHandler has not been specified in the axis2.xml file for
the domain apache.axis2.application.domain
[2013-12-19 10:18:30,842]  WARN - SynapseMessageReceiver Executing fault
handler due to exception encountered
[2013-12-19 10:18:30,851]  WARN - FaultHandler ERROR_CODE : 0
[2013-12-19 10:18:30,851]  WARN - FaultHandler ERROR_MESSAGE : A
LoadBalanceEventHandler has not been specified in the axis2.xml file for
the domain apache.axis2.application.domain
[2013-12-19 10:18:30,851]  WARN - FaultHandler ERROR_DETAIL :
org.apache.synapse.SynapseException: A LoadBalanceEventHandler has not been
specified in the axis2.xml file for the domain
apache.axis2.application.domain
at
org.apache.synapse.core.axis2.Axis2LoadBalanceMembershipHandler.setConfigurationContext(Axis2LoadBalanceMembershipHandler.java:77)
at
org.apache.synapse.endpoints.DynamicLoadbalanceEndpoint.send(DynamicLoadbalanceEndpoint.java:115)
at
org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:97)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at
org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:61)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
at
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:228)
at
org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:403)
at
org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)

[2013-12-19 10:18:30,851]  WARN - FaultHandler ERROR_EXCEPTION :
org.apache.synapse.SynapseException: A LoadBalanceEventHandler has not been
specified in the axis2.xml file for the domain
apache.axis2.application.domain
[2013-12-19 10:18:30,852]  WARN - FaultHandler FaultHandler :
org.apache.synapse.mediators.MediatorFaultHandler@71daa121
[2013-12-19 10:18:30,852]  WARN - MediatorFaultHandler Executing fault
handler mediator : errorHandler
[2013-12-19 10:18:30,852] DEBUG - SequenceMediator Start : Sequence

[2013-12-19 10:18:30,852] DEBUG - SequenceMediator Sequence
 :: mediate()
[2013-12-19 10:18:30,852] DEBUG - SequenceMediator Mediation started from
mediator position : 0
[2013-12-19 10:18:30,865] DEBUG - FaultMediator Start : Fault mediator
[2013-12-19 10:18:30,865] DEBUG - FaultMediator Creating a SOAP 1.1 fault
[2013-12-19 10:18:30,869] DEBUG - FaultMediator End : Fault mediator
[2013-12-19 10:18:30,870] DEBUG - SendMediator Start : Send mediator
[2013-12-19 10:18:30,870] DEBUG - SendMediator Sending response message
using implicit message properties..
Sending To: http://www.w3.org/2005/08/addressing/anonymous
SOAPAction: urn:sampleOperation
[2013-12-19 10:18:30,878] DEBUG - SendMediator End : Send mediator
[2013-12-19 10:18:30,878] DEBUG - SequenceMediator End : Sequence


Synapse Configuration file

http://ws.apache.org/ns/synapse";>



















http://www.w3.org/2003/05/soap-envelope"/>






Please look in to this issue.

Thank you


[1]
http://docs.wso2.org/display/ESB480/Sample+57%3A+Dynamic+load+balancing+between+3+nodes



-- 
*Pubudu Dissanayake*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
Mobile: 0775503304
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 ESB Sample 13 - Synapse Config XML file is missing

2013-12-18 Thread Pubudud Dissanayake
Thank you for your help, much appreciated


On Wed, Dec 18, 2013 at 4:51 PM, Malaka Silva  wrote:

> This was already reported for 4.7.0.
>
> https://wso2.org/jira/browse/DOCUMENTATION-246
>
> However document was not updated for 4.8.0. I updated the doc.
>
> Best Regards,
> Malaka
>
>
> On Wed, Dec 18, 2013 at 4:42 PM, Malaka Silva  wrote:
>
>> Looks like this is missing in previous versions as well.
>>
>>
>> On Wed, Dec 18, 2013 at 4:36 PM, Samisa Abeysinghe wrote:
>>
>>> Please report a blocker issue on OT Jira ESB project for this.
>>>
>>>  Thanks,
>>> Samisa...
>>>
>>>
>>> Samisa Abeysinghe
>>>
>>> Vice President Training
>>>
>>> WSO2 Inc.
>>> http://wso2.com
>>>
>>>
>>>
>>> On Wed, Dec 18, 2013 at 3:16 PM, Pubudud Dissanayake 
>>> wrote:
>>>
>>>> Hi,
>>>> Please look in to the $Subject
>>>>
>>>> Documentation link as follows.
>>>> [1]
>>>> http://docs.wso2.org/display/ESB480/Sample+13%3A+Dual+Channel+Invocation+through+Synapse
>>>>
>>>> file location -  /repository/samples/synapse_sample_*.xml
>>>>
>>>> Thanks
>>>> Pubudu.
>>>>
>>>> --
>>>> *Pubudu Dissanayake*
>>>>  Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>> Mobile: 0775503304
>>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Malaka Silva
>> Senior Tech Lead
>> M: +94 777 219 791
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> http://www.wso2.com/
>> http://www.wso2.com/about/team/malaka-silva/<http://wso2.com/about/team/malaka-silva/>
>>
>> Save a tree -Conserve nature & Save the world for your future. Print this
>> email only if it is absolutely necessary.
>>
>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Tech Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
> http://www.wso2.com/about/team/malaka-silva/<http://wso2.com/about/team/malaka-silva/>
>
> Save a tree -Conserve nature & Save the world for your future. Print this
> email only if it is absolutely necessary.
>



-- 
*Pubudu Dissanayake*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
Mobile: 0775503304
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 ESB Sample 13 - Synapse Config XML file is missing

2013-12-18 Thread Pubudud Dissanayake
Hi,
Please look in to the $Subject

Documentation link as follows.
[1]
http://docs.wso2.org/display/ESB480/Sample+13%3A+Dual+Channel+Invocation+through+Synapse

file location -  /repository/samples/synapse_sample_*.xml

Thanks
Pubudu.

-- 
*Pubudu Dissanayake*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
Mobile: 0775503304
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev