Re: [Dev] Possible Dep sync issue in BAM toolbox deployment

2014-04-16 Thread Lasantha Fernando
Hi all,

Can't we use the 'Axis2RequiredServices' to make sure that toolbox
deployment happens only after the service is registered? CEP has a similar
requirement for all components that have a deployer and after discussing
with carbon team, we found out that we could use this parameter to make
sure that the OSGi service is up before the deployer runs. e.g. [1]

However, I think there is an issue of cyclic dependency if your service is
depending on the ConfigurationContextService and won't be able to use this
parameter if that is the case. Found this old thread which might be useful
in this context [2].

[1]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/event-processor/org.wso2.carbon.event.processor.core/1.0.1/pom.xml
[2] http://wso2.com/mailarchive/carbon-dev/2011-October/067499.html

Thanks,
Lasantha


On 12 April 2014 12:57, Sinthuja Ragendran sinth...@wso2.com wrote:

 Hi Malith,

 To confirm can you delete all the toolbox from deployment/server, and
 including .svn directory, and start the BAM node?

 And do you still see this problem? Or you get this when you have default
 toolboxes which were not in svn and starting the server?

 If you have the issue with the second case only and first case works fine,
 then the reason I pointed out in my last reply would be the cause.

 Thanks,
 Sinthuja.

 Thanks,
 Sinthuja.


 On Sat, Apr 12, 2014 at 9:08 AM, Sinthuja Ragendran sinth...@wso2.comwrote:

 Hi,

 The toolbox will be deployed once the server is properly started up, this
 is because it uses the osgi services to deploy the toolbox. Since there is
 no dependency between osgi service registration and toolbox deployment, in
 past we have experienced the toolbox is starting to deploy before osgi
 services are registered and exception thrown during the deployment.

 Hence before deploying, the ServerStartUp status being checked by the
 toolbox deployer and if it's not started, then it'll be added to the
 pausedDeployments list. Once the ServerStartup is completed, the
 ServerStartUpInspector which implements ServerStartupHandler from kernal,
 invoke() method is called. And within this method the paused toolboxes
 which were tried get deployed before is getting deployed.

 I think in the above case, MessageTracing.tbox is there in BAM by
 default, and during the first startup this toolbox trying to get deployed
 before the server starts, therefore it's getting added to the paused
 deployments list. And before ServerStartupInspector is trying to install
 the paused MessageTracing.tbox (default toolbox),  the toolbox deployement
 directory is being cleaned by svn deployment synchronizer and toolboxes are
 being checked out, and hence we are getting error.


 Thanks,
 Sinthuja.


 On Sat, Apr 12, 2014 at 8:22 AM, Malith Dhanushka mal...@wso2.comwrote:

 Hi Sameera,

 Noted and thanks for the explanation. Will refactor the design correctly.

 Thanks


 On Fri, Apr 11, 2014 at 11:48 PM, Sameera Jayasoma same...@wso2.comwrote:

 AFAIK, DepSync doesn't work in this manner. DepSync first get a
 checkout. Once that is completed it tries to deploy.  I guess you guys are
 doing something wrong here :).  Let me explain.

 By looking at the exception stack trace, I can see that 
 ServerStartUpInspector
 is invoking deployers.  Deployers should only invoked by the Deployment
 Engine.  This is not a good design.

 You need to let deployment engine to invoke deployers. Here
 the ServerStartUpInspector is invoking the deployers while deployment
 synchronizer is checking out the artifacts.

 Thanks,
 Sameera.


 On Fri, Apr 11, 2014 at 9:58 AM, Malith Dhanushka mal...@wso2.comwrote:

 Hi folks,

 We noticed following exception in dep sync enabled BAM clustered set
 up. It seems node1 is trying to deploy a tbox while checking out the same
 tbox from management node. Is it a possible behavior?

 TID: [0] [BAM] [2014-04-11 18:49:57,125] ERROR
 {org.wso2.carbon.bam.toolbox.deployer.core.BAMArtifactProcessor} -
 Exception while extracting the BAM
 artifact:/home/wso2/4.2.0/BAM241/cluster/full/10Apr/wso2bam-2.4.1/repository/deployment/server/bam-toolbox/Message_Tracing.tbox
 {org.wso2.carbon.bam.toolbox.deployer.core.BAMArtifactProcessor}
 java.io.FileNotFoundException:
 /home/wso2/4.2.0/BAM241/cluster/full/10Apr/wso2bam-2.4.1/repository/deployment/server/bam-toolbox/Message_Tracing.tbox
 (No such file or directory)
 at java.util.zip.ZipFile.open(Native Method)
 at java.util.zip.ZipFile.init(ZipFile.java:214)
 at java.util.zip.ZipFile.init(ZipFile.java:144)
 at java.util.zip.ZipFile.init(ZipFile.java:115)
 at
 org.wso2.carbon.bam.toolbox.deployer.core.BAMArtifactProcessor.unzipFolder(BAMArtifactProcessor.java:54)
 at
 org.wso2.carbon.bam.toolbox.deployer.core.BAMArtifactProcessor.extractBAMArtifact(BAMArtifactProcessor.java:48)
 at
 org.wso2.carbon.bam.toolbox.deployer.core.BAMToolBoxDeployer.deploy(BAMToolBoxDeployer.java:114)
 at
 

[Dev] [Identity Server] Deploying IS for production use.

2014-04-16 Thread Supun Nakandala
Hi devs,

I'm trying to integrate WSO2 Identity Server with Apache Airavata to handle
user management in scientific gateways. For that first I am trying to
deploy an instance of Identity Server. I would appreciate if you can
provide me what are the recommended steps and configuration for deploying
IS in production use.

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


[Dev] Invitation: Global cluster cache invalidation code review @ Wed Apr 16, 2014 5pm - 6pm (am...@wso2.com)

2014-04-16 Thread Amal Gunatilake
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20140416T113000Z
DTEND:20140416T123000Z
DTSTAMP:20140416T094153Z
ORGANIZER;CN=Amal Gunatilake:mailto:am...@wso2.com
UID:mr3l018u7rpoosipnd1udej...@google.com
ATTENDEE;CUTYPE=RESOURCE;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE;C
 N=LK 6th Floor Meeting Room - Dijkstra;X-NUM-GUESTS=0:mailto:wso2.com_37373
 634303139362d333...@resource.calendar.google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Amal Gunatilake;X-NUM-GUESTS=0:mailto:am...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Afkham Azeez;X-NUM-GUESTS=0:mailto:az...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
CLASS:PUBLIC
CREATED:20140416T092850Z
DESCRIPTION:Global cluster cache invalidation code review\nView your event 
 at http://www.google.com/calendar/event?action=VIEWeid=bXIzbDAxOHU3cnBvb3N
 pcG5kMXVkZWpmODAgZGV2QHdzbzIub3Jntok=MTQjYW1hbGdAd3NvMi5jb20xNzNmZWJlYmM2Y
 zBkMTVhMzQwMzVjZDkwNTNmMGUzMzZjODk1YzJlctz=Asia/Colombohl=en.
LAST-MODIFIED:20140416T094153Z
LOCATION:LK 6th Floor Meeting Room - Dijkstra
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Global cluster cache invalidation code review
TRANSP:TRANSPARENT
END:VEVENT
END:VCALENDAR


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


[Dev] Please commit the diff attached in CARBON-14740

2014-04-16 Thread Chamil Jeewantha
$subject.

JIRA: https://wso2.org/jira/browse/CARBON-14740
PATCH FILE: CARBON_UI_PATCH_0007.diff

-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Committers += GayanK

2014-04-16 Thread Jasintha Dasanayake
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 http://wso2.com/lean .
enterprise . middleware*


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


Re: [Dev] WSO2 Committers += GayanK

2014-04-16 Thread Sohani Weerasinghe
Congratulations Gayan 

Sohani Weerasinghe
Software Engineer
WSO2, Inc: http://wso2.com

Mobile  : +94 716439774
Blog :http://christinetechtips.blogspot.com/
Twitter  : https://twitter.com/sohanichristine


On Wed, Apr 16, 2014 at 3:43 PM, Jasintha Dasanayake jasin...@wso2.comwrote:

 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 http://wso2.com/ lean .
 enterprise . middleware*


 *mobile :- 0711368118 0711368118*

 ___
 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


Re: [Dev] WSO2 Committers += GayanK

2014-04-16 Thread Lali Devamanthri
Congrats Gayan ..!


On Wed, Apr 16, 2014 at 3:43 PM, Jasintha Dasanayake jasin...@wso2.comwrote:

 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 http://wso2.com/ lean .
 enterprise . middleware*


 *mobile :- 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
http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += GayanK

2014-04-16 Thread Asanka Sanjeewa
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.comwrote:

 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 http://wso2.com/ lean .
 enterprise . middleware*


 *mobile :- 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
  http://www.wso2.com

 ___
 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


Re: [Dev] WSO2 Committers += GayanK

2014-04-16 Thread Susinda Perera
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 http://wso2.com/ lean
 . enterprise . middleware*


 *mobile :- 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
  http://www.wso2.com

 ___
 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/mailman/listinfo/dev




-- 
*Susinda Perera*
Software Engineer
Mobile:(+94)716049075

WSO2 Inc. http://wso2.com/
Tel : 94 11 214 5345 Fax :94 11 2145300
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += GayanK

2014-04-16 Thread Malintha Adikari
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 susi...@wso2.com wrote:

 Congratulations Gayan 


 On Wed, Apr 16, 2014 at 4:18 PM, Isuruwan Herath isuru...@wso2.comwrote:

 Congratz Gayan!


 On Wed, Apr 16, 2014 at 3:53 PM, Asanka Sanjeewa asan...@wso2.comwrote:

 Congratulations GayanK.

 Regards,
 AsankaS.


 On Wed, Apr 16, 2014 at 3:49 PM, Amal Gunatilake am...@wso2.comwrote:

 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.comwrote:

 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 http://wso2.com/
 lean . enterprise . middleware*


 *mobile :- 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
  http://www.wso2.com

 ___
 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/mailman/listinfo/dev




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

 WSO2 Inc. http://wso2.com/
 Tel : 94 11 214 5345 Fax :94 11 2145300


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




 --
 Susankha Nirmala
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 593 2146

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




-- 
*Malintha Adikari*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Global cluster cache invalidation code review Notes

2014-04-16 Thread Amal Gunatilake
Hi All,

Following updates has been discussed on $subject.

1) Make the subscription auto subscribe once the jar bundle is present.
2) Check on how to resubscribe if the server goes down and comes up
3) If the sever goes down when a message receives check whether it queues
the message and receive.
4) jndi.properties file

   - If the file is already present at conf directory then load the
   settings but if the expecting parameters not found put error log and show
   the user needed parameters.
   - If the file is not present then put the file to conf directory and log
   a warning message

5) It was discussed whether we are going to use AMPQ instead JMS. This has
to be determined which I will open a separate thread for discussion.

6) Generate UUID and do the message comparison to ignore own messages.

7) Let the topic name configurable.

Please update the thread if there are any further updates.

Thank you   Best regards,

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


Re: [Dev] Migrating from JMS to AMPQ for Global cache invalidation implimentation

2014-04-16 Thread Afkham Azeez
Please take a look at http://www.wmrichards.com/amqp.pdf


On Wed, Apr 16, 2014 at 6:34 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi All,

 Is it a good idea to move the implementation from JMS to AMPQ since AMPQ
 is cross-platform? What would be the advantages and disadvantages?

 Please give your feedback based on experience to finalize the decision
 before proceeding.

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware




-- 
*Afkham Azeez*
Director of Architecture; 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
http://lk.linkedin.com/in/afkhamazeez*

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


Re: [Dev] Migrating from JMS to AMPQ for Global cache invalidation implimentation

2014-04-16 Thread Afkham Azeez
What is the JMS client library you used?


On Wed, Apr 16, 2014 at 6:34 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi All,

 Is it a good idea to move the implementation from JMS to AMPQ since AMPQ
 is cross-platform? What would be the advantages and disadvantages?

 Please give your feedback based on experience to finalize the decision
 before proceeding.

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware




-- 
*Afkham Azeez*
Director of Architecture; 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
http://lk.linkedin.com/in/afkhamazeez*

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


[Dev] Update on APIM integration for EMM

2014-04-16 Thread Gayan Gunawardana
Problems need to address

1. jaggery SSO IDP application does not work after upgrading Identity
features as chunk 08.

2. In EMM admin services start with prefix admin/services so this will
break two jaggery applications apistore, publisher where they invoke admin
services.

-- 
Gayan Gunawardana
Software Engineer; WSO2 Inc.; http://wso2.com/
Email: ga...@wso2.com
Mobile: +94 (71) 8020933
Blog: http://gayanj2ee.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Developer-studio] IllegalStateException when updating GMF resource set in run-time

2014-04-16 Thread Gayan Yalpathwala
Hi,

I am trying to dynamically update one of the datamapper GMF editparts using
the following [1] code snippet. This throws an IllegalStateException [2].
Any idea on how I can update the resource set in run-time?

[1]
TreeNode graphicalTreeModel = rootDiagram.getInput().getTreeNode().get(0);
TreeNode treeNodeNew = DataMapperFactory.eINSTANCE.createTreeNode();
treeNodeNew.setName(Test node);
treeNodeNew.setLevel(2);
treeNodeNew.setSchemaDataType(SchemaDataType.INT);
graphicalTreeModel.getNode().add(treeNodeNew);

[2]
!MESSAGE Cannot modify resource set without a write transaction
!STACK 0
java.lang.IllegalStateException: Cannot modify resource set without a write
transaction
at
org.eclipse.emf.transaction.impl.TransactionChangeRecorder.assertWriting(TransactionChangeRecorder.java:348)
at
org.eclipse.emf.transaction.impl.TransactionChangeRecorder.appendNotification(TransactionChangeRecorder.java:302)
at
org.eclipse.emf.transaction.impl.TransactionChangeRecorder.processObjectNotification(TransactionChangeRecorder.java:284)
at
org.eclipse.emf.transaction.impl.TransactionChangeRecorder.notifyChanged(TransactionChangeRecorder.java:240)
at
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
at
org.eclipse.emf.common.notify.impl.NotificationImpl.dispatch(NotificationImpl.java:1027)
at
org.eclipse.emf.common.notify.impl.NotificationImpl.dispatch(NotificationImpl.java:1032)
at
org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:299)
at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:303)
at
dataMapper.diagram.custom.action.AddNewRecordAction.addNewRecordToModel(AddNewRecordAction.java:119)
at
dataMapper.diagram.custom.action.AddNewRecordAction.doRun(AddNewRecordAction.java:99)
at
org.eclipse.gmf.runtime.common.ui.action.AbstractActionHandler.run(AbstractActionHandler.java:359)
at
org.eclipse.gmf.runtime.common.ui.action.ActionManager$1.run(ActionManager.java:225)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at
org.eclipse.gmf.runtime.common.ui.action.ActionManager.run(ActionManager.java:223)
at
org.eclipse.gmf.runtime.common.ui.action.AbstractActionHandler.runWithEvent(AbstractActionHandler.java:377)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

Thanks,

-- 
*Gayan Kaushalya Yalpathwala*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 71 8682704 http://asia14.wso2con.com/

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


Re: [Dev] Update on APIM integration for EMM

2014-04-16 Thread Chan
@Gayan It seems that ES is not using the SSO IdP app. I had a chat with
Sameera in the afternoon and found out that there using a page inside
carbon that is configured. I will be look into that and update the thread.

Cheers~


On Wed, Apr 16, 2014 at 7:53 PM, Gayan Gunawardana ga...@wso2.com wrote:

 Problems need to address

 1. jaggery SSO IDP application does not work after upgrading Identity
 features as chunk 08.

 2. In EMM admin services start with prefix admin/services so this will
 break two jaggery applications apistore, publisher where they invoke admin
 services.

 --
 Gayan Gunawardana
 Software Engineer; WSO2 Inc.; http://wso2.com/
 Email: ga...@wso2.com
 Mobile: +94 (71) 8020933
 Blog: http://gayanj2ee.blogspot.com/

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




-- 
Chan (Dulitha Wijewantha)
Software Engineer - Mobile Development
WSO2Mobile
Lean.Enterprise.Mobileware
 * ~Email   duli...@wso2.com duli...@wso2mobile.com*
*  ~Mobile +94712112165*
*  ~Website   dulitha.me http://dulitha.me*
*  ~Twitter @dulitharw https://twitter.com/dulitharw*
  *~Github @dulichan https://github.com/dulichan*
  *~SO @chan http://stackoverflow.com/users/813471/chan*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += GayanK

2014-04-16 Thread Shani Ranasinghe
Congrats Gayan


On Wed, Apr 16, 2014 at 6:22 AM, Dilini Muthumala dil...@wso2.com wrote:

 Congrats Gayan!


 On Wed, Apr 16, 2014 at 4:49 PM, Malintha Adikari malin...@wso2.comwrote:

 Congratulations Gayan 



 On Wed, Apr 16, 2014 at 4:33 PM, Susankha Nirmala susan...@wso2.comwrote:

 Congratulations !


 On Wed, Apr 16, 2014 at 4:29 PM, Susinda Perera susi...@wso2.comwrote:

 Congratulations Gayan 


 On Wed, Apr 16, 2014 at 4:18 PM, Isuruwan Herath isuru...@wso2.comwrote:

 Congratz Gayan!


 On Wed, Apr 16, 2014 at 3:53 PM, Asanka Sanjeewa asan...@wso2.comwrote:

 Congratulations GayanK.

 Regards,
 AsankaS.


 On Wed, Apr 16, 2014 at 3:49 PM, Amal Gunatilake am...@wso2.comwrote:

 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.comwrote:

 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 http://wso2.com/
 lean . enterprise . middleware*


 *mobile :- 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
  http://www.wso2.com

 ___
 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/mailman/listinfo/dev




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

 WSO2 Inc. http://wso2.com/
 Tel : 94 11 214 5345 Fax :94 11 2145300


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




 --
 Susankha Nirmala
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 593 2146

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

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




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

  *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029

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




-- 
Thanks and Regards
*,Shani Ranasinghe*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Publish-Subscribe Channel EIP - Axis2 Client throws an error

2014-04-16 Thread Denuwanthi De Silva
Hi Samith,

I'm using ESB 4.8.1. This is the log I get:

INFO - LogMediator To: /, WSAction: urn:placeOrder, SOAPAction:
urn:placeOrder, ReplyTo: http://www.w3.org/2005/08/addressing/none,
MessageID: urn:uuid:22b40329-d5ed-4093-897d-1c041b2eb381, Direction: request

I don't get any error message on the ESB debug log as in [1].

Sample 460[2] works fine for me. The bug is fixed in 4.8.1.
I get an error log in Axis2Client as I have mentioned.




[1] https://wso2.org/jira/browse/ESBJAVA-2857
[2]
https://docs.wso2.org/display/ESB481/Sample+460%3A+Introduction+to+Eventing+and+Event+Mediator


Thanks,


On Wed, Apr 16, 2014 at 6:55 PM, Samith Dassanayake sam...@wso2.com wrote:

 Hi Denuwanthi,

 This is caused by a bug in ESB 4.8.0. If you are using the ESB version
 4.8.0 this is a known issue[1]. If you check the debug log of the ESB you
 will see a similar error message as [1], which occurs when executing the
 sample 460[2]

 [1] https://wso2.org/jira/browse/ESBJAVA-2857
 [2]
 https://docs.wso2.org/display/ESB481/Sample+460%3A+Introduction+to+Eventing+and+Event+Mediator


 On Wed, Apr 16, 2014 at 4:57 PM, Denuwanthi De Silva 
 denuwan...@wso2.comwrote:


 Hi,

 I tried the sample in [1].
 When I send a request using Axis2 Client with ant stockquote -Dtrpurl=
 http://localhost:8280 -Dsymbol=foo command, it gives an AxisFault, as
 follows:

  [java] 14/04/16 14:49:00 ERROR sandesha2.SandeshaModule: Could not load
 module policies. Using default values.
  [java] 14/04/16 14:49:00 INFO mail.MailTransportSender: MAILTO
 Sender started
  [java] 14/04/16 14:49:00 INFO jms.JMSSender: JMS Sender started
  [java] 14/04/16 14:49:00 INFO jms.JMSSender: JMS Transport Sender
 initialized...
  *[java] org.apache.axis2.AxisFault: The input stream for an
 incoming message is null.*
  [java] at
 org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:93)
  [java] at
 org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:68)
  [java] at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:348)
  [java] at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
  [java] at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
  [java] at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
  [java] at
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)
  [java] at
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530)
  [java] at
 samples.userguide.StockQuoteClient.executeClient(Unknown Source)
  [java] at samples.userguide.StockQuoteClient.main(Unknown Source)

 BUILD SUCCESSFUL

 Can somebody point out what the issue is?

 [1]
 https://docs.wso2.org/display/IntegrationPatterns/Publish-Subscribe+Channel
 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com



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




 --
 Best Regards

 Samith Dassanayake
 Software Engineer, WSO2 Inc.
 Mobile: +94776207351




-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Migrating from JMS to AMPQ for Global cache invalidation implimentation

2014-04-16 Thread Amal Gunatilake
Hi Azeez,

Thank you for the link. I'm going through the pdf. I used Apache
Geronimo-jms 
[1]http://mvnrepository.com/artifact/org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1client
library for the current implementation.

@Hasitha: Thank you for the valuable comments.

[1]
http://mvnrepository.com/artifact/org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1

Thank you   Best regards,

*Amal Gunatilake*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware


On Wed, Apr 16, 2014 at 7:41 PM, Afkham Azeez az...@wso2.com wrote:

 What is the JMS client library you used?


 On Wed, Apr 16, 2014 at 6:34 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi All,

 Is it a good idea to move the implementation from JMS to AMPQ since AMPQ
 is cross-platform? What would be the advantages and disadvantages?

 Please give your feedback based on experience to finalize the decision
 before proceeding.

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware




 --
 *Afkham Azeez*
 Director of Architecture; 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 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*

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


Re: [Dev] Migrating from JMS to AMPQ for Global cache invalidation implimentation

2014-04-16 Thread Afkham Azeez
On Wed, Apr 16, 2014 at 9:39 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi Azeez,

 Thank you for the link. I'm going through the pdf. I used Apache
 Geronimo-jms 
 [1]http://mvnrepository.com/artifact/org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1client
  library for the current implementation.


Did you test it on a Carbon server? What is the JMS client library we ship
with Carbon servers?



 @Hasitha: Thank you for the valuable comments.

 [1]
 http://mvnrepository.com/artifact/org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Wed, Apr 16, 2014 at 7:41 PM, Afkham Azeez az...@wso2.com wrote:

 What is the JMS client library you used?


 On Wed, Apr 16, 2014 at 6:34 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi All,

 Is it a good idea to move the implementation from JMS to AMPQ since AMPQ
 is cross-platform? What would be the advantages and disadvantages?

 Please give your feedback based on experience to finalize the decision
 before proceeding.

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware




 --
 *Afkham Azeez*
 Director of Architecture; 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 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*





-- 
*Afkham Azeez*
Director of Architecture; 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
http://lk.linkedin.com/in/afkhamazeez*

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


Re: [Dev] [Developer-studio] IllegalStateException when updating GMF resource set in run-time

2014-04-16 Thread Lali Devamanthri
Hi Gayank,
You are trying to change the EMF model in runtime. In this kind of change
cannot execute without using transaction API[1]  (All changes made to the
model should be done using commands). You can find the same kind of issues
in here[2][3].


[1]
http://publib.boulder.ibm.com/infocenter/rsmhelp/v7r0m0/index.jsp?topic=/org.eclipse.gmf.doc/reference/api/runtime/org/eclipse/gmf/runtime/emf/commands/core/command/CompositeTransactionalCommand.html
[2] http://www.eclipse.org/forums/index.php/t/207283/
[3] http://www.eclipse.org/forums/index.php/t/239693/


On Wed, Apr 16, 2014 at 9:16 PM, Gayan Yalpathwala gay...@wso2.com wrote:

 Hi,

 I am trying to dynamically update one of the datamapper GMF editparts
 using the following [1] code snippet. This throws an IllegalStateException
 [2]. Any idea on how I can update the resource set in run-time?

 [1]
 TreeNode graphicalTreeModel = rootDiagram.getInput().getTreeNode().get(0);
 TreeNode treeNodeNew = DataMapperFactory.eINSTANCE.createTreeNode();
 treeNodeNew.setName(Test node);
 treeNodeNew.setLevel(2);
 treeNodeNew.setSchemaDataType(SchemaDataType.INT);
 graphicalTreeModel.getNode().add(treeNodeNew);

 [2]
 !MESSAGE Cannot modify resource set without a write transaction
 !STACK 0
 java.lang.IllegalStateException: Cannot modify resource set without a
 write transaction
 at
 org.eclipse.emf.transaction.impl.TransactionChangeRecorder.assertWriting(TransactionChangeRecorder.java:348)
  at
 org.eclipse.emf.transaction.impl.TransactionChangeRecorder.appendNotification(TransactionChangeRecorder.java:302)
 at
 org.eclipse.emf.transaction.impl.TransactionChangeRecorder.processObjectNotification(TransactionChangeRecorder.java:284)
  at
 org.eclipse.emf.transaction.impl.TransactionChangeRecorder.notifyChanged(TransactionChangeRecorder.java:240)
 at
 org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
  at
 org.eclipse.emf.common.notify.impl.NotificationImpl.dispatch(NotificationImpl.java:1027)
 at
 org.eclipse.emf.common.notify.impl.NotificationImpl.dispatch(NotificationImpl.java:1032)
  at
 org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:299)
 at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:303)
  at
 dataMapper.diagram.custom.action.AddNewRecordAction.addNewRecordToModel(AddNewRecordAction.java:119)
 at
 dataMapper.diagram.custom.action.AddNewRecordAction.doRun(AddNewRecordAction.java:99)
  at
 org.eclipse.gmf.runtime.common.ui.action.AbstractActionHandler.run(AbstractActionHandler.java:359)
 at
 org.eclipse.gmf.runtime.common.ui.action.ActionManager$1.run(ActionManager.java:225)
  at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
 at
 org.eclipse.gmf.runtime.common.ui.action.ActionManager.run(ActionManager.java:223)
  at
 org.eclipse.gmf.runtime.common.ui.action.AbstractActionHandler.runWithEvent(AbstractActionHandler.java:377)
 at
 org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
  at
 org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
 at
 org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
  at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
  at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
  at
 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
 at
 org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  at
 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
 at
 org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
  at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
 at
 org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  at
 org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  at
 org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
 at
 org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  at
 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
 at
 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
  at
 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
 at
 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at 

Re: [Dev] WSO2 Committers += GayanK

2014-04-16 Thread Melan Nimesh
Congrats Gayan !


On Wed, Apr 16, 2014 at 9:26 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Congrats Gayan


 On Wed, Apr 16, 2014 at 6:22 AM, Dilini Muthumala dil...@wso2.com wrote:

 Congrats Gayan!


 On Wed, Apr 16, 2014 at 4:49 PM, Malintha Adikari malin...@wso2.comwrote:

 Congratulations Gayan 



 On Wed, Apr 16, 2014 at 4:33 PM, Susankha Nirmala susan...@wso2.comwrote:

 Congratulations !


 On Wed, Apr 16, 2014 at 4:29 PM, Susinda Perera susi...@wso2.comwrote:

 Congratulations Gayan 


 On Wed, Apr 16, 2014 at 4:18 PM, Isuruwan Herath isuru...@wso2.comwrote:

 Congratz Gayan!


 On Wed, Apr 16, 2014 at 3:53 PM, Asanka Sanjeewa asan...@wso2.comwrote:

 Congratulations GayanK.

 Regards,
 AsankaS.


 On Wed, Apr 16, 2014 at 3:49 PM, Amal Gunatilake am...@wso2.comwrote:

 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.comwrote:

 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 http://wso2.com/
 lean . enterprise . middleware*


 *mobile :- 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
  http://www.wso2.com

 ___
 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/mailman/listinfo/dev




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

 WSO2 Inc. http://wso2.com/
 Tel : 94 11 214 5345 Fax :94 11 2145300


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




 --
 Susankha Nirmala
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 593 2146

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

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




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

  *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029

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




 --
 Thanks and Regards
 *, Shani Ranasinghe*

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab

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




-- 
*Melan Nimesh*
Software Engineer;
WSO2 Inc.;  http://wso2.org
E-mail: melan AT wso2.com;
Mobile: +94 77 631 6759
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Uniquely identify the cashed resources in DataMapperMediator

2014-04-16 Thread Sohani Weerasinghe
Hi All,

When caching the resources in DataMapperMediator while storing the
resources in a Map (inside Synapse Core), I am using a generated hashcode
from the resource as the 'key' for the HasMap. The main purpose of using a
hashcode is to provide a unique key for the resources created so that if a
new resource creates it will uniquely refer the relevant resources from the
Map. Is this the correct way ? WDYT?

Regards,
Sohani

Sohani Weerasinghe
Software Engineer
WSO2, Inc: http://wso2.com

Mobile  : +94 716439774
Blog :http://christinetechtips.blogspot.com/
Twitter  : https://twitter.com/sohanichristine
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += GayanK

2014-04-16 Thread Chandana Napagoda
Congratulations Gayan...!!!

Regards,
Chandana

On Wed, Apr 16, 2014 at 10:14 PM, Melan Nimesh me...@wso2.com wrote:

 Congrats Gayan !


 On Wed, Apr 16, 2014 at 9:26 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Congrats Gayan


 On Wed, Apr 16, 2014 at 6:22 AM, Dilini Muthumala dil...@wso2.comwrote:

 Congrats Gayan!


 On Wed, Apr 16, 2014 at 4:49 PM, Malintha Adikari malin...@wso2.comwrote:

 Congratulations Gayan 



 On Wed, Apr 16, 2014 at 4:33 PM, Susankha Nirmala susan...@wso2.comwrote:

 Congratulations !


 On Wed, Apr 16, 2014 at 4:29 PM, Susinda Perera susi...@wso2.comwrote:

 Congratulations Gayan 


 On Wed, Apr 16, 2014 at 4:18 PM, Isuruwan Herath 
 isuru...@wso2.comwrote:

 Congratz Gayan!


 On Wed, Apr 16, 2014 at 3:53 PM, Asanka Sanjeewa 
 asan...@wso2.comwrote:

 Congratulations GayanK.

 Regards,
 AsankaS.


 On Wed, Apr 16, 2014 at 3:49 PM, Amal Gunatilake am...@wso2.comwrote:

 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.comwrote:

 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 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
  http://www.wso2.com

 ___
 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/mailman/listinfo/dev




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

 WSO2 Inc. http://wso2.com/
 Tel : 94 11 214 5345 Fax :94 11 2145300


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




 --
 Susankha Nirmala
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 593 2146

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

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




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

  *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029

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




 --
 Thanks and Regards
 *, Shani Ranasinghe*

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab

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




 --
 *Melan Nimesh*
 Software Engineer;
 WSO2 Inc.;  http://wso2.org
 E-mail: melan AT wso2.com;
 Mobile: +94 77 631 6759


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




-- 
*Chandana Napagoda*
Senior Software Engineer
WSO2 Inc. - http://wso2.org

*Email  :  chand...@wso2.com chand...@wso2.com**Mobile : +94718169299*

*Blog  :http://cnapagoda.blogspot.com http://cnapagoda.blogspot.com*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [SSO module]

2014-04-16 Thread Gayan Gunawardana
In APIM 1.6 SSO module contains SAMLSSORelyingPartyObject and EMM SSO
module contains sso.client.js js module.

Can we go ahead with single approach ?
-- 
Gayan Gunawardana
Software Engineer; WSO2 Inc.; http://wso2.com/
Email: ga...@wso2.com
Mobile: +94 (71) 8020933
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Global cluster cache invalidation code review Notes

2014-04-16 Thread Sagara Gunathunga
On Wed, Apr 16, 2014 at 2:57 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi All,

 Following updates has been discussed on $subject.

 1) Make the subscription auto subscribe once the jar bundle is present.
 2) Check on how to resubscribe if the server goes down and comes up
 3) If the sever goes down when a message receives check whether it queues
 the message and receive.
 4) jndi.properties file

- If the file is already present at conf directory then load the
settings but if the expecting parameters not found put error log and show
the user needed parameters.
- If the file is not present then put the file to conf directory and
log a warning message

 5) It was discussed whether we are going to use AMPQ instead JMS. This has
 to be determined which I will open a separate thread for discussion.

 6) Generate UUID and do the message comparison to ignore own messages.

 7) Let the topic name configurable.

Hi Amal,

Have you define a clear API and separate it from JMS implementation ? IMO
having a clear API is must thing for this feature as we may have to include
some other implementations in future. I'm thinking about SNS based
implementation for future where EC2 users have freedom to use native
supported SNS based implementation effectively instead of bringing  and
configuring another message broker into the deployment setup.

Thanks !


 Please update the thread if there are any further updates.

  Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

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




-- 
Sagara Gunathunga

Senior Technical Lead; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Why append tenant domain to user name when I already know my domain?

2014-04-16 Thread Shani Ranasinghe
Hi,

[Edited subject]

I am adding this in case anyone else has this same question, and is seeking
an answer at any point.

With the offline chat I had with Prabath, apparently this is something we
could take off from the code, and has been added with no apparent reason,
but to only denote the user's presence in a tenant domain.

On Fri, Apr 11, 2014 at 4:32 PM, Shani Ranasinghe sh...@wso2.com wrote:


 Hi,

 This was probably a discussion that had taken place even before I joined.
 If so please point me to it so that I could learn the intention of it.

 When we set the user name to be an email, when a tenant registers and a
 tenant user is created, the tenant user's user name has the format user
 -email @tenant domain. for an e.g. it looks like 
 a...@gmail.com@test.comwhere abc@gmailis the user's email and
 test.com is the tenant domain.

 I understand that this is as designed. But it looks a bit awkward to have
 that two @ signs representation two domains in a single user name.  To my
 little experience I have in this industry, I have not seen any place that
 handles user's in this fashion. Usually in windows, when you have
 different domains, it let's you choose which domain you need to log into
 based on the domain you enter before the user name e.g. domain/user
 name It let's you choose this at the log in page.

 So I have two questions,

 1) I understand that when the user name is supposed to be a name, then we
 could append the tenant domain to the user name, but then it looks like an
 email, why are we doing this? rather than having a  domain/user name
 format? When I log is using my domain, why would i need to see which domain
 I belong to, I already know?

 2) When the user name is set to email, why are we not checking if the user
 name is of the type an email (if the property is enabled), and avoid
 appending the domain, but keeping the domain in the context where the rest
 of the login details are kept? We can basically not show this at the UI
 level correct? we can either let the user enter his domain in a separate
 field rather than appending it to the user name?

 This is just a wild thought I had, and please do correct me at any point.

 --
 Thanks and Regards
 *, Shani Ranasinghe*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab




-- 
Thanks and Regards
*,Shani Ranasinghe*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Generic implementation for DataMapper config generator

2014-04-16 Thread Viraj Rajaguru
Hi Lali,

+1 for the approach.
Most of the use cases involved in 'ESB Graphical editor' and 'Datamapper
Editor' are almost identical.

For an example, there are mediator sequences (Eg: Log -- Property --
Send) in ESB editor and Operator sequences (Eg: Split -- toLowerCase --
Concat) in Datamapper editor. And also there should be a way to add a new
mediator into the ESB editor with minimal effort and Datamapper editor has
the same requirement when we want to add a new Operator to editor.  So its
a good idea to use the same pattern which we used in ESB Graphical Editor
for Datamapper editor(in terms of config generator for Operators).


Thanks,
Viraj.



On Wed, Apr 16, 2014 at 9:33 PM, Lali Devamanthri l...@wso2.com wrote:

 Hi,
  In ESB graphical model serialization, DevS have used
 'EsbTransformerRegistry' class for register each mediator specific
 serialization classes. This allow to add new mediator serialization without
 a pain. We can use same pattern to add data mapper operators config
 generation classes. Are there any other best practises or suggestion for do
 $subject?

 Thanks,
 Lali

 --
 *Lali Sudaththa Devamanthri*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 71 895 4922
 http://www.wso2.com




-- 
Viraj Rajaguru
Software Engineer
WSO2 Inc. : http://wso2.com

Mobile: +94 77 3683068
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DS]Multiple HTTP verbs on same resource path in DSS

2014-04-16 Thread Charitha Kankanamge
H
​i Anjana/DS team,
Do we support defining multiple HTTP verbs on same resource path in DSS?

e.g:-

resource path=uri-template *method=GET POST* disableStreaming=
xs:BOOLEAN
descriptionxs:string/description
call-query href=xs:IDREF  /
with-param name=xs:NMTOKEN /
query?
/call-query
/resource

According to [1], it seems we do not support (I just tried with 3.1.1 and
confirmed)

[1]https://docs.wso2.org/display/DSS300/Data+Services+and+Resources

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


Re: [Dev] [IS] Why append tenant domain to user name when I already know my domain?

2014-04-16 Thread Suresh Attanayaka
Hi,

The pattern domain/user name is already taken for the multiple
userstores scenario. Actually we have no reason to stick into the user
-email @tenant domain pattern. In any code in the platform, we must use
the MultitenantUtils to get the tenant domain from the user name, get the
tenant aware username etc.
Therefore we can let the pattern configurable (regex) in the Carbon XML,
read that config from MultitenantUtils and return the values appropriately.
Probably this is something we can do for the next Kernel release.

Thanks,
-Suresh


On Thu, Apr 17, 2014 at 12:59 AM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 [Edited subject]

 I am adding this in case anyone else has this same question, and is
 seeking an answer at any point.

 With the offline chat I had with Prabath, apparently this is something we
 could take off from the code, and has been added with no apparent reason,
 but to only denote the user's presence in a tenant domain.

 On Fri, Apr 11, 2014 at 4:32 PM, Shani Ranasinghe sh...@wso2.com wrote:


 Hi,

 This was probably a discussion that had taken place even before I joined.
 If so please point me to it so that I could learn the intention of it.

 When we set the user name to be an email, when a tenant registers and a
 tenant user is created, the tenant user's user name has the format user
 -email @tenant domain. for an e.g. it looks like a...@gmail.com@
 test.com where abc@gmail is the user's email and test.com is the tenant
 domain.

 I understand that this is as designed. But it looks a bit awkward to have
 that two @ signs representation two domains in a single user name.  To my
 little experience I have in this industry, I have not seen any place that
 handles user's in this fashion. Usually in windows, when you have
 different domains, it let's you choose which domain you need to log into
 based on the domain you enter before the user name e.g. domain/user
 name It let's you choose this at the log in page.

 So I have two questions,

 1) I understand that when the user name is supposed to be a name, then we
 could append the tenant domain to the user name, but then it looks like an
 email, why are we doing this? rather than having a  domain/user name
 format? When I log is using my domain, why would i need to see which domain
 I belong to, I already know?

 2) When the user name is set to email, why are we not checking if the
 user name is of the type an email (if the property is enabled), and avoid
 appending the domain, but keeping the domain in the context where the rest
 of the login details are kept? We can basically not show this at the UI
 level correct? we can either let the user enter his domain in a separate
 field rather than appending it to the user name?

 This is just a wild thought I had, and please do correct me at any point.

 --
 Thanks and Regards
 *, Shani Ranasinghe*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab




 --
 Thanks and Regards
 *, Shani Ranasinghe*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab

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




-- 
Suresh Attanayake
Senior Software Engineer; WSO2 Inc. http://wso2.com/
Blog : http://sureshatt.blogspot.com/
Web : http://www.ssoarcade.com/
Facebook : https://www.facebook.com/IdentityWorld
Twitter : https://twitter.com/sureshatt
LinkedIn : http://lk.linkedin.com/in/sureshatt
Mobile : +94755012060
Mobile : +016166171172
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += GayanK

2014-04-16 Thread Manula Chathurika Thantriwatte
Congratulations Gayan !!!


On Wed, Apr 16, 2014 at 11:54 PM, Dimuthu De Lanerolle dimut...@wso2.comwrote:

 Congratz Gayan...!!!

 Regards,


 On Wed, Apr 16, 2014 at 10:19 PM, Chandana Napagoda chand...@wso2.comwrote:

 Congratulations Gayan...!!!

 Regards,
 Chandana

 On Wed, Apr 16, 2014 at 10:14 PM, Melan Nimesh me...@wso2.com wrote:

 Congrats Gayan !


 On Wed, Apr 16, 2014 at 9:26 PM, Shani Ranasinghe sh...@wso2.comwrote:

 Congrats Gayan


 On Wed, Apr 16, 2014 at 6:22 AM, Dilini Muthumala dil...@wso2.comwrote:

 Congrats Gayan!


 On Wed, Apr 16, 2014 at 4:49 PM, Malintha Adikari 
 malin...@wso2.comwrote:

 Congratulations Gayan 



 On Wed, Apr 16, 2014 at 4:33 PM, Susankha Nirmala 
 susan...@wso2.comwrote:

 Congratulations !


 On Wed, Apr 16, 2014 at 4:29 PM, Susinda Perera susi...@wso2.comwrote:

 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.comwrote:

 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
 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
  http://www.wso2.com

 ___
 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/mailman/listinfo/dev




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

 WSO2 Inc. http://wso2.com/
 Tel : 94 11 214 5345 Fax :94 11 2145300


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




 --
 Susankha Nirmala
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 593 2146

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

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




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

  *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029

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




 --
 Thanks and Regards
 *, Shani Ranasinghe*

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab

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




 --
 *Melan Nimesh*
 Software Engineer;
 WSO2 Inc.;  http://wso2.org
 E-mail: melan AT wso2.com;
 Mobile: +94 77 631 6759


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




 --
 *Chandana Napagoda*
 Senior Software Engineer
 WSO2 Inc. - http://wso2.org

 *Email  :  chand...@wso2.com chand...@wso2.com **Mobile : +94718169299
 %2B94718169299*

 *Blog  :http://cnapagoda.blogspot.com http://cnapagoda.blogspot.com*


 ___
 

Re: [Dev] WSO2 Committers += GayanK

2014-04-16 Thread Rajith Vitharana
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 
 dimut...@wso2.comwrote:

 Congratz Gayan...!!!

 Regards,


 On Wed, Apr 16, 2014 at 10:19 PM, Chandana Napagoda chand...@wso2.comwrote:

 Congratulations Gayan...!!!

 Regards,
 Chandana

 On Wed, Apr 16, 2014 at 10:14 PM, Melan Nimesh me...@wso2.com wrote:

 Congrats Gayan !


 On Wed, Apr 16, 2014 at 9:26 PM, Shani Ranasinghe sh...@wso2.comwrote:

 Congrats Gayan


 On Wed, Apr 16, 2014 at 6:22 AM, Dilini Muthumala dil...@wso2.comwrote:

 Congrats Gayan!


 On Wed, Apr 16, 2014 at 4:49 PM, Malintha Adikari 
 malin...@wso2.comwrote:

 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 
 susi...@wso2.comwrote:

 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
 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
  http://www.wso2.com

 ___
 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/mailman/listinfo/dev




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

 WSO2 Inc. http://wso2.com/
 Tel : 94 11 214 5345 Fax :94 11 2145300


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




 --
 Susankha Nirmala
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 593 2146

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

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




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

  *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029

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




 --
 Thanks and Regards
 *, Shani Ranasinghe*

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab

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




 --
 *Melan Nimesh*
 Software Engineer;
 WSO2 Inc.;  http://wso2.org
 E-mail: melan AT wso2.com;
 Mobile: +94 77 631 6759


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




 --
 *Chandana Napagoda*
 Senior Software Engineer
 WSO2 Inc. - http://wso2.org

 *Email  :  chand...@wso2.com chand...@wso2.com **Mobile :
 +94718169299 %2B94718169299*

Re: [Dev] [SSO module]

2014-04-16 Thread Sameera Perera
Hi Gayan,

I'm sure Shan, Sumedha, Ruchira and the Mobile team know exactly what you
are referring to :)
However, for those of us who weren't there at the discussion and not aware
of what exactly you are working on, this mail doesn't give much context.
Consequently, anybody outside the above group won't be able to meaningfully
answer your question; which would defeat the purpose of sending the mail to
the public list in the first place.

If this is related to a previous thread, it may have been best to answer
the question on the same thread. If you felt the question warranted a new
thread due to a particular reason, you should put a link to the old thread
in our mail archive.
Anyway, if you do not get any technical response to your question, you
should retry with the above suggestions :)


On Thu, Apr 17, 2014 at 12:16 AM, Gayan Gunawardana ga...@wso2.com wrote:

 In APIM 1.6 SSO module contains SAMLSSORelyingPartyObject and EMM SSO
 module contains sso.client.js js module.

 Can we go ahead with single approach ?
 --
 Gayan Gunawardana
 Software Engineer; WSO2 Inc.; http://wso2.com/
 Email: ga...@wso2.com
 Mobile: +94 (71) 8020933




-- 

--

*Sameera Perera*
Senior Manager, Engineering (Platform TG)
gtalk: samee...@wso2.com
Tel : 94 11 214 5345
Fax :94 11 2145300
*WSO2, Inc.* http://wso2.com/
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Why append tenant domain to user name when I already know my domain?

2014-04-16 Thread Shani Ranasinghe
Hi,


On Wed, Apr 16, 2014 at 6:28 PM, Suresh Attanayaka sur...@wso2.com wrote:

 Hi,

 The pattern domain/user name is already taken for the multiple
 userstores scenario.

 Oh yes. Another option is that in the log screen we can let the user
enter the domain as a separate field but it will increase the number of
fields in the log in screen which would not be the best option. By
appending with an @ it looks like an email, but is not an email. Shouldn't
we go with some other instead of this possibly \ ,that is being used by
MSFT. (MSFT uses \ and not /, my bad on the previous mail)


 Actually we have no reason to stick into the user -email @tenant
 domain pattern.



 In any code in the platform, we must use the MultitenantUtils to get the
 tenant domain from the user name, get the tenant aware username etc.

Yes my point exactly. Also even if we do have the user name to be a normal
user name(not an email) I don't see why we would need to have the tenant
domain appended to the user name. Because you already know your domain,
that's how you logged in, I don't think it's necessary to show the domain
after you log in.


 Therefore we can let the pattern configurable (regex) in the Carbon XML,
 read that config from MultitenantUtils and return the values appropriately.



 Probably this is something we can do for the next Kernel release.

 would be nice and less confusing on the UI.


 Thanks,
 -Suresh


 On Thu, Apr 17, 2014 at 12:59 AM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 [Edited subject]

 I am adding this in case anyone else has this same question, and is
 seeking an answer at any point.

 With the offline chat I had with Prabath, apparently this is something we
 could take off from the code, and has been added with no apparent reason,
 but to only denote the user's presence in a tenant domain.

 On Fri, Apr 11, 2014 at 4:32 PM, Shani Ranasinghe sh...@wso2.com wrote:


 Hi,

 This was probably a discussion that had taken place even before I
 joined. If so please point me to it so that I could learn the intention of
 it.

 When we set the user name to be an email, when a tenant registers and a
 tenant user is created, the tenant user's user name has the format user
 -email @tenant domain. for an e.g. it looks like a...@gmail.com@
 test.com where abc@gmail is the user's email and test.com is the tenant
 domain.

 I understand that this is as designed. But it looks a bit awkward to
 have that two @ signs representation two domains in a single user name.  To
 my little experience I have in this industry, I have not seen any place
 that handles user's in this fashion. Usually in windows, when you have
 different domains, it let's you choose which domain you need to log into
 based on the domain you enter before the user name e.g. domain/user
 name It let's you choose this at the log in page.

 So I have two questions,

 1) I understand that when the user name is supposed to be a name, then
 we could append the tenant domain to the user name, but then it looks like
 an email, why are we doing this? rather than having a  domain/user name
 format? When I log is using my domain, why would i need to see which domain
 I belong to, I already know?

 2) When the user name is set to email, why are we not checking if the
 user name is of the type an email (if the property is enabled), and avoid
 appending the domain, but keeping the domain in the context where the rest
 of the login details are kept? We can basically not show this at the UI
 level correct? we can either let the user enter his domain in a separate
 field rather than appending it to the user name?

 This is just a wild thought I had, and please do correct me at any point.

 --
 Thanks and Regards
 *, Shani Ranasinghe*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab




 --
 Thanks and Regards
 *, Shani Ranasinghe*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab

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




 --
 Suresh Attanayake
 Senior Software Engineer; WSO2 Inc. http://wso2.com/
 Blog : http://sureshatt.blogspot.com/
 Web : http://www.ssoarcade.com/
 Facebook : https://www.facebook.com/IdentityWorld
 Twitter : https://twitter.com/sureshatt
 LinkedIn : http://lk.linkedin.com/in/sureshatt
 Mobile : +94755012060
 Mobile : +016166171172




-- 
Thanks and Regards
*,Shani Ranasinghe*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += GayanK

2014-04-16 Thread Pubudud Dissanayake
Congratulations Gayan !



On Thu, Apr 17, 2014 at 9:04 AM, Rajith Vitharana raji...@wso2.com 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 dimut...@wso2.com
  wrote:

 Congratz Gayan...!!!

 Regards,


 On Wed, Apr 16, 2014 at 10:19 PM, Chandana Napagoda 
 chand...@wso2.comwrote:

 Congratulations Gayan...!!!

 Regards,
 Chandana

 On Wed, Apr 16, 2014 at 10:14 PM, Melan Nimesh me...@wso2.com wrote:

 Congrats Gayan !


 On Wed, Apr 16, 2014 at 9:26 PM, Shani Ranasinghe sh...@wso2.comwrote:

 Congrats Gayan


 On Wed, Apr 16, 2014 at 6:22 AM, Dilini Muthumala dil...@wso2.comwrote:

 Congrats Gayan!


 On Wed, Apr 16, 2014 at 4:49 PM, Malintha Adikari malin...@wso2.com
  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 
 susi...@wso2.comwrote:

 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
 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
  http://www.wso2.com

 ___
 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/mailman/listinfo/dev




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

 WSO2 Inc. http://wso2.com/
 Tel : 94 11 214 5345 Fax :94 11 2145300


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




 --
 Susankha Nirmala
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 593 2146

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

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




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

  *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029

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




 --
 Thanks and Regards
 *, Shani Ranasinghe*

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab

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




 --
 *Melan Nimesh*
 Software Engineer;
 WSO2 Inc.;  http://wso2.org
 E-mail: melan AT wso2.com;
 Mobile: +94 77 631 6759


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




 --
 *Chandana Napagoda*
 Senior Software Engineer
 WSO2 

Re: [Dev] WSO2 Committers += GayanK

2014-04-16 Thread Manoj Kumara
Congratulations Gayan !!


*Manoj Kumara*
Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94713448188


On Thu, Apr 17, 2014 at 9:04 AM, Rajith Vitharana raji...@wso2.com 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 dimut...@wso2.com
  wrote:

 Congratz Gayan...!!!

 Regards,


 On Wed, Apr 16, 2014 at 10:19 PM, Chandana Napagoda 
 chand...@wso2.comwrote:

 Congratulations Gayan...!!!

 Regards,
 Chandana

 On Wed, Apr 16, 2014 at 10:14 PM, Melan Nimesh me...@wso2.com wrote:

 Congrats Gayan !


 On Wed, Apr 16, 2014 at 9:26 PM, Shani Ranasinghe sh...@wso2.comwrote:

 Congrats Gayan


 On Wed, Apr 16, 2014 at 6:22 AM, Dilini Muthumala dil...@wso2.comwrote:

 Congrats Gayan!


 On Wed, Apr 16, 2014 at 4:49 PM, Malintha Adikari malin...@wso2.com
  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 
 susi...@wso2.comwrote:

 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
 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
  http://www.wso2.com

 ___
 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/mailman/listinfo/dev




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

 WSO2 Inc. http://wso2.com/
 Tel : 94 11 214 5345 Fax :94 11 2145300


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




 --
 Susankha Nirmala
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 593 2146

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

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




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

  *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029

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




 --
 Thanks and Regards
 *, Shani Ranasinghe*

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab

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




 --
 *Melan Nimesh*
 Software Engineer;
 WSO2 Inc.;  http://wso2.org
 E-mail: melan AT wso2.com;
 Mobile: +94 77 631 6759


 ___
 Dev mailing list
 

Re: [Dev] WSO2 Committers += GayanK

2014-04-16 Thread Pamod Sylvester
Congratulations Gayan !!


On Thu, Apr 17, 2014 at 9:56 AM, Manoj Kumara ma...@wso2.com wrote:

 Congratulations Gayan !!


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188


 On Thu, Apr 17, 2014 at 9:04 AM, Rajith Vitharana raji...@wso2.comwrote:

 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 
 dimut...@wso2.com wrote:

 Congratz Gayan...!!!

 Regards,


 On Wed, Apr 16, 2014 at 10:19 PM, Chandana Napagoda 
 chand...@wso2.comwrote:

 Congratulations Gayan...!!!

 Regards,
 Chandana

 On Wed, Apr 16, 2014 at 10:14 PM, Melan Nimesh me...@wso2.com wrote:

 Congrats Gayan !


 On Wed, Apr 16, 2014 at 9:26 PM, Shani Ranasinghe sh...@wso2.comwrote:

 Congrats Gayan


 On Wed, Apr 16, 2014 at 6:22 AM, Dilini Muthumala 
 dil...@wso2.comwrote:

 Congrats Gayan!


 On Wed, Apr 16, 2014 at 4:49 PM, Malintha Adikari 
 malin...@wso2.com 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 susi...@wso2.com
  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
 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
  http://www.wso2.com

 ___
 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/mailman/listinfo/dev




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

 WSO2 Inc. http://wso2.com/
 Tel : 94 11 214 5345 Fax :94 11 2145300


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




 --
 Susankha Nirmala
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 593 2146

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

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




 --
 *Dilini Muthumala*
 Software Engineer,
 WSO2 Inc.

  *E-mail :* dil...@wso2.com
 *Mobile: *+94713 400 029

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




 --
 Thanks and Regards
 *, Shani Ranasinghe*

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab

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




 --
 *Melan Nimesh*
 Software Engineer;
 WSO2 Inc.;  http://wso2.org
 E-mail: melan AT wso2.com;
 

[Dev] SSO handling with App Manager

2014-04-16 Thread Dinusha Senanayaka
Hi IS Team,

Currently in App Manager, we are handling SSO between web applications as
follows.

Once user get authenticated from IDP, it set a cookie called samlTokenId in
the browser. In the first authentication response that comes to the AppM
gateway, we keep this samlTokenId cookie with saml response in the gateway
cache. From next web application access onwards we check whether, incoming
request contains the samlTokenId cookie in the transport headers, if it
exist we validate that cookie whether it's a authenticated cookie by
checking the existence in cache. If not redirect browser to IDP login  page.

Issue with the above approach is,  'samlTokenId' cookie is set by the IDP
into its domain. If the App Manager and Identity Server runs on two
different domains, AppM gateway cannot see the 'samlTokenId' cookie.

As a solution, we created a new cookie at the AppM gateway when it received
SAML response and keep checking this new cookie for the user authentication
instead of 'samlTokenId' cookie set by the IDP. With this approach  there
will be three cookies available in browser relate to a saml user
authentication. i.e one set by the AppM (appmSamlTokenId) and two cookies
set by the IDP (samlTokenId , commonAuthId (this cookie has added with
recent IS changes)). If someone deleted 'appmSamlTokenId' cookie while
other two cookies are available in the browser, then once the gateway
request comes, it will call to the redirectToLogin(). But once IDP received
this request, since valid samlTokenId , commonAuthId cookies are available,
IDP will send the available SAML response instead of browser redirecting to
the login page. AFAIU, this behavior is fine. If someone needs to redirect
to login page again, then all three cookies need to be removed from the
browser. (i.e in scenarios like single logout). Can you confirm whether
this approach/behavior is correct ?

Regards,
Dinusha.


-- 
Dinusha Dilrukshi
Senior Software Engineer
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [SSO module]

2014-04-16 Thread Gayan Gunawardana
Hi Sameera,

Let me explain the context, This is related to [Exposing Oauth Protected
APIs for mobile devices to EMM server communication].

Problem we are facing is we have to merge APIM modules with existing EMM
modules. SSO module is a common module for both products with two different
approach.
If we accommodate APIM SSO module that will break SSO functionality of EMM.




On Thu, Apr 17, 2014 at 9:20 AM, Sameera Perera samee...@wso2.com wrote:

 Hi Gayan,

 I'm sure Shan, Sumedha, Ruchira and the Mobile team know exactly what you
 are referring to :)
 However, for those of us who weren't there at the discussion and not aware
 of what exactly you are working on, this mail doesn't give much context.
 Consequently, anybody outside the above group won't be able to meaningfully
 answer your question; which would defeat the purpose of sending the mail to
 the public list in the first place.

 If this is related to a previous thread, it may have been best to answer
 the question on the same thread. If you felt the question warranted a new
 thread due to a particular reason, you should put a link to the old thread
 in our mail archive.
 Anyway, if you do not get any technical response to your question, you
 should retry with the above suggestions :)


 On Thu, Apr 17, 2014 at 12:16 AM, Gayan Gunawardana ga...@wso2.comwrote:

 In APIM 1.6 SSO module contains SAMLSSORelyingPartyObject and EMM SSO
 module contains sso.client.js js module.

 Can we go ahead with single approach ?
 --
 Gayan Gunawardana
 Software Engineer; WSO2 Inc.; http://wso2.com/
 Email: ga...@wso2.com
 Mobile: +94 (71) 8020933




 --

 --

 *Sameera Perera*
 Senior Manager, Engineering (Platform TG)
 gtalk: samee...@wso2.com
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 *WSO2, Inc.* http://wso2.com/
 lean.enterprise.middleware





-- 
Gayan Gunawardana
Software Engineer; WSO2 Inc.; http://wso2.com/
Email: ga...@wso2.com
Mobile: +94 (71) 8020933
Blog: http://gayanj2ee.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Global cluster cache invalidation code review Notes

2014-04-16 Thread Amal Gunatilake
Hi Sagara,

As Azeez mentioned there is an interface at CarbonUtils named as
CacheInvalidator. My component will implement this interface. We planned to
have the interface at CarbonUtils because every product will need this
service.

Thank you   Best regards,

*Amal Gunatilake*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware


On Thu, Apr 17, 2014 at 6:03 AM, Afkham Azeez az...@wso2.com wrote:




 On Thu, Apr 17, 2014 at 12:33 AM, Sagara Gunathunga sag...@wso2.comwrote:




 On Wed, Apr 16, 2014 at 2:57 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi All,

 Following updates has been discussed on $subject.

 1) Make the subscription auto subscribe once the jar bundle is present.
 2) Check on how to resubscribe if the server goes down and comes up
 3) If the sever goes down when a message receives check whether it
 queues the message and receive.
 4) jndi.properties file

- If the file is already present at conf directory then load the
settings but if the expecting parameters not found put error log and show
the user needed parameters.
- If the file is not present then put the file to conf directory and
log a warning message

 5) It was discussed whether we are going to use AMPQ instead JMS. This
 has to be determined which I will open a separate thread for discussion.

 6) Generate UUID and do the message comparison to ignore own messages.

 7) Let the topic name configurable.

 Hi Amal,

 Have you define a clear API and separate it from JMS implementation ? IMO
 having a clear API is must thing for this feature as we may have to include
 some other implementations in future. I'm thinking about SNS based
 implementation for future where EC2 users have freedom to use native
 supported SNS based implementation effectively instead of bringing  and
 configuring another message broker into the deployment setup.


 There is an interface with a single method, and using JMS is just an
 implementation detail of Amal's component.


 Thanks !


 Please update the thread if there are any further updates.

  Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

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




 --
 Sagara Gunathunga

 Senior Technical Lead; WSO2, Inc.;  http://wso2.com
 V.P Apache Web Services;http://ws.apache.org/
 Linkedin; http://www.linkedin.com/in/ssagara
 Blog ;  http://ssagara.blogspot.com




 --
 *Afkham Azeez*
 Director of Architecture; 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 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*


 *Lean . Enterprise . Middleware*

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


Re: [Dev] Migrating from JMS to AMPQ for Global cache invalidation implimentation

2014-04-16 Thread Amal Gunatilake
Once I inspect the pom.xml it seems carbon core uses the same JMS library
mentioned. So I can either use the carbon core dependency or pure
Geronimo-jms.

Thank you   Best regards,

*Amal Gunatilake*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware


On Wed, Apr 16, 2014 at 9:49 PM, Afkham Azeez az...@wso2.com wrote:




 On Wed, Apr 16, 2014 at 9:39 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi Azeez,

 Thank you for the link. I'm going through the pdf. I used Apache
 Geronimo-jms 
 [1]http://mvnrepository.com/artifact/org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1client
  library for the current implementation.


 Did you test it on a Carbon server? What is the JMS client library we ship
 with Carbon servers?



 @Hasitha: Thank you for the valuable comments.

 [1]
 http://mvnrepository.com/artifact/org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Wed, Apr 16, 2014 at 7:41 PM, Afkham Azeez az...@wso2.com wrote:

 What is the JMS client library you used?


 On Wed, Apr 16, 2014 at 6:34 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi All,

 Is it a good idea to move the implementation from JMS to AMPQ since
 AMPQ is cross-platform? What would be the advantages and disadvantages?

 Please give your feedback based on experience to finalize the decision
 before proceeding.

 Thank you   Best regards,

 *Amal Gunatilake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware




 --
 *Afkham Azeez*
 Director of Architecture; 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 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*





 --
 *Afkham Azeez*
 Director of Architecture; 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 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*

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


[Dev] P2 repo - IS 5.0.0

2014-04-16 Thread Chalitha Waldeniyage
 Hi,

 Can we have the $subject ASAP please?

 Regards,
 --
 *Chalitha Maheshwari*
 Software Engineer-QA,
 WSO2 Inc.

 *E-mail:* chali...@wso2.com
 *Mobile: *+94710 411 112

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


Re: [Dev] ESB 4.8.1 - Sample 153

2014-04-16 Thread Buddhima Wijeweera
Also needed for sample 200 too. Thanks!


On Tue, Apr 8, 2014 at 4:22 PM, Isuru Ranawaka isu...@wso2.com wrote:

 Thanks for your quick reply.Now it is working.


 On Tue, Apr 8, 2014 at 3:49 PM, Harsha Kumara hars...@wso2.com wrote:

 Hi Isuru,

 You have to put the BouncyCastle (
 http://www.bouncycastle.org/latest_releases.html) jars to 
 ESB_HOME/repository/components/plugins
 and ESB_HOME/repository/axis2/client/lib directories. Please refer [1]
 and [2].

 I think this needs to be specify in the documentation of the sample.

 [1]-
 http://evanthika.blogspot.com/2014/02/solving-orgapachewssecuritywssecurityex.html
 [2]-http://mail.wso2.org/mailarchive/dev/2014-February/027877.html

  Thanks,
 Harsha


 On Tue, Apr 8, 2014 at 3:36 PM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi all,
 I had and exception when running ESB 4.8.1 sample 153 in the axis2Client
 side.  This is worked in ESB 4.7
 Is it error in  the shipped axis2Client?


 14/04/08 15:22:00 ERROR sandesha2.SandeshaModule: Could not load module
 policies. Using default values.
 Using WS-Security
 14/04/08 15:22:00 INFO mail.MailTransportSender: MAILTO Sender started
 14/04/08 15:22:00 INFO jms.JMSSender: JMS Sender started
 14/04/08 15:22:00 INFO jms.JMSSender: JMS Transport Sender initialized...
 org.apache.axis2.AxisFault: Error in encryption
 at
 org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:426)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)
 at
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530)
 at samples.userguide.StockQuoteClient.executeClient(Unknown Source)
 at samples.userguide.StockQuoteClient.main(Unknown Source)
 Caused by: org.apache.rampart.RampartException: Error in encryption
 at
 org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:612)
 at
 org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:97)
 at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:147)
 at
 org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
 ... 11 more
 Caused by: org.apache.ws.security.WSSecurityException: An unsupported
 signature or encryption algorithm was used (unsupported key transport
 encryption algorithm: No such algorithm:
 http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p); nested exception is:
 java.security.NoSuchAlgorithmException: Cannot find any provider
 supporting RSA/ECB/OAEPPadding
 at
 org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:785)
 at
 org.apache.ws.security.message.WSSecEncryptedKey.prepareInternal(WSSecEncryptedKey.java:205)
 at
 org.apache.ws.security.message.WSSecEncrypt.prepare(WSSecEncrypt.java:259)
 at
 org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:578)
 ... 14 more
 Caused by: java.security.NoSuchAlgorithmException: Cannot find any
 provider supporting RSA/ECB/OAEPPadding
 at javax.crypto.Cipher.getInstance(DashoA13*..)
 at
 org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:777)
 ... 17 more










 --
 Regards
 Isuru Ranawaka
 phone :- +94714629880

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com




 --
 Regards
 Isuru Ranawaka
 phone :- +94714629880

 ___
 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


[Dev] Error while trying to access a secured proxy

2014-04-16 Thread Sajini De Silva
Hi,

I secured an unsecured backend service with non repudiation scenario. Then
I developed a client program to access that service and i get the following
error.

org.apache.axis2.AxisFault: Missing wsse:Security header in request
Caused by: org.apache.rampart.RampartException: Missing wsse:Security
header in request


Can somebody please have a look?


Thank you.
-- 
Sajini De SIlva
Software Engineer; WSO2 Inc.; http://wso2.com ,
Email: saj...@wso2.com
Blog: http://sajinid.blogspot.com/
Git hub profile: https://github.com/sajinidesilva
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB 4.8.1 - Sample 153

2014-04-16 Thread Lali Devamanthri
Adding documentation@.
Needs to mention requirement of bouncycastle jar for ESB samples 153, 200.



On Thu, Apr 17, 2014 at 11:16 AM, Buddhima Wijeweera buddh...@wso2.comwrote:

 Also needed for sample 200 too. Thanks!


 On Tue, Apr 8, 2014 at 4:22 PM, Isuru Ranawaka isu...@wso2.com wrote:

 Thanks for your quick reply.Now it is working.


 On Tue, Apr 8, 2014 at 3:49 PM, Harsha Kumara hars...@wso2.com wrote:

 Hi Isuru,

 You have to put the BouncyCastle (
 http://www.bouncycastle.org/latest_releases.html) jars to 
 ESB_HOME/repository/components/plugins
 and ESB_HOME/repository/axis2/client/lib directories. Please refer [1]
 and [2].

 I think this needs to be specify in the documentation of the sample.

 [1]-
 http://evanthika.blogspot.com/2014/02/solving-orgapachewssecuritywssecurityex.html
 [2]-http://mail.wso2.org/mailarchive/dev/2014-February/027877.html

  Thanks,
 Harsha


 On Tue, Apr 8, 2014 at 3:36 PM, Isuru Ranawaka isu...@wso2.com wrote:

 Hi all,
 I had and exception when running ESB 4.8.1 sample 153 in the
 axis2Client side.  This is worked in ESB 4.7
 Is it error in  the shipped axis2Client?


 14/04/08 15:22:00 ERROR sandesha2.SandeshaModule: Could not load module
 policies. Using default values.
 Using WS-Security
 14/04/08 15:22:00 INFO mail.MailTransportSender: MAILTO Sender started
 14/04/08 15:22:00 INFO jms.JMSSender: JMS Sender started
 14/04/08 15:22:00 INFO jms.JMSSender: JMS Transport Sender
 initialized...
 org.apache.axis2.AxisFault: Error in encryption
 at
 org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:426)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)
 at
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530)
 at samples.userguide.StockQuoteClient.executeClient(Unknown Source)
 at samples.userguide.StockQuoteClient.main(Unknown Source)
 Caused by: org.apache.rampart.RampartException: Error in encryption
 at
 org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:612)
 at
 org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:97)
 at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:147)
 at
 org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
 ... 11 more
 Caused by: org.apache.ws.security.WSSecurityException: An unsupported
 signature or encryption algorithm was used (unsupported key transport
 encryption algorithm: No such algorithm:
 http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p); nested exception is:
 java.security.NoSuchAlgorithmException: Cannot find any provider
 supporting RSA/ECB/OAEPPadding
 at
 org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:785)
 at
 org.apache.ws.security.message.WSSecEncryptedKey.prepareInternal(WSSecEncryptedKey.java:205)
 at
 org.apache.ws.security.message.WSSecEncrypt.prepare(WSSecEncrypt.java:259)
 at
 org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:578)
 ... 14 more
 Caused by: java.security.NoSuchAlgorithmException: Cannot find any
 provider supporting RSA/ECB/OAEPPadding
 at javax.crypto.Cipher.getInstance(DashoA13*..)
 at
 org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:777)
 ... 17 more










 --
 Regards
 Isuru Ranawaka
 phone :- +94714629880

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com




 --
 Regards
 Isuru Ranawaka
 phone :- +94714629880

 ___
 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




-- 
*Lali Sudaththa Devamanthri*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 71 895 4922
http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while trying to access a secured proxy

2014-04-16 Thread Suresh Attanayaka
Hi,

Probably your client is not generating required WS-Security headers when
invoking the service. Send the message through TCPMon and see the actual
message. Double check if you have done the Rampart configurations properly.

Thanks,
-Suresh


On Thu, Apr 17, 2014 at 11:22 AM, Sajini De Silva saj...@wso2.com wrote:

 Hi,

 I secured an unsecured backend service with non repudiation scenario. Then
 I developed a client program to access that service and i get the following
 error.

 org.apache.axis2.AxisFault: Missing wsse:Security header in request
 Caused by: org.apache.rampart.RampartException: Missing wsse:Security
 header in request


 Can somebody please have a look?


 Thank you.
 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva


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




-- 
Suresh Attanayake
Senior Software Engineer; WSO2 Inc. http://wso2.com/
Blog : http://sureshatt.blogspot.com/
Web : http://www.ssoarcade.com/
Facebook : https://www.facebook.com/IdentityWorld
Twitter : https://twitter.com/sureshatt
LinkedIn : http://lk.linkedin.com/in/sureshatt
Mobile : +94755012060
Mobile : +016166171172
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev