Re: [Dev] [ESB] 101500 ERROR_MESSAGE : Error in Sender

2015-08-18 Thread Malaka Silva
Seems like an error when sending the message out.

Can you put some logs in your mediation flow and identify with point it's
failing?

Also enabling wire logs will also help to find the failing point. Also
share the salesfore.init config.



On Tue, Aug 18, 2015 at 2:19 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi,

 I am trying to get data from salesforce using salesforce connector by
 writing a proxy. I get the following error when i run the sequence/proxy:

 [2015-08-18 14:06:31,815]  INFO {SERVICE_LOGGER} -  Connection = Login to
 Salesforce .
 [2015-08-18 14:06:38,933]  WARN {SERVICE_LOGGER} -  ERROR_CODE : 101500
 ERROR_MESSAGE : Error in Sender

 I have attached a sequence i have written for the above task.

 What could be the reason for this? Please help.

 Thanks in advance.
 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

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




-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
http://wso2.com/about/team/malaka-silva/

Save a tree -Conserve nature  Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] 101500 ERROR_MESSAGE : Error in Sender

2015-08-18 Thread Aaquibah Nashry
Hi,

1) I couldn't find the line to enable wire logs in my log4j file. Is it
okay if i add the line to it?
(log4j.logger.org.apache.synapse.transport.http.wire=DEBUG)

2) My init config is in the sequence *sf_auth* as below:

salesforce.init xmlns=http://ws.apache.org/ns/synapse;
  usernamesesh...@wso2.com/username
  passwordp1ne@pplelrY5ZpMQVqPyPramkfIdKDYE6/password
  loginUrlhttps://login.salesforce.com/services/Soap/u/27.0/loginUrl
   /salesforce.init

3) When i added the logs, i find that error occurs at
 salesforce.getUserInfo configKey=*sf_auth*/salesforce.getUserInfo

The error logs are as follows:

[2015-08-18 14:42:22,950]  INFO {SERVICE_LOGGER} -  To: , MessageID:
urn:uuid:4ca4be55-4b42-4b9f-89c3-3fc4b534a1a2, Direction: request, STATE =
Before sf_auth sequence
[2015-08-18 14:42:22,958]  INFO {SERVICE_LOGGER} -  Connection = Login to
Salesforce .
[2015-08-18 14:42:26,100]  WARN {SERVICE_LOGGER} -  ERROR_CODE : 101500
ERROR_MESSAGE : Error in Sender


I have attached the sequence.

Thanks

Regards,

M.R.Aaquibah Nashry
*Intern, Engineering**| **WSO2, Inc.*
Mobile : +94 773946123
Tel  : +94 112662541
Email : nas...@wso2.com nas...@wso2.com

On Tue, Aug 18, 2015 at 2:30 PM, Malaka Silva mal...@wso2.com wrote:

 Seems like an error when sending the message out.

 Can you put some logs in your mediation flow and identify with point it's
 failing?

 Also enabling wire logs will also help to find the failing point. Also
 share the salesfore.init config.



 On Tue, Aug 18, 2015 at 2:19 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi,

 I am trying to get data from salesforce using salesforce connector by
 writing a proxy. I get the following error when i run the sequence/proxy:

 [2015-08-18 14:06:31,815]  INFO {SERVICE_LOGGER} -  Connection = Login to
 Salesforce .
 [2015-08-18 14:06:38,933]  WARN {SERVICE_LOGGER} -  ERROR_CODE : 101500
 ERROR_MESSAGE : Error in Sender

 I have attached a sequence i have written for the above task.

 What could be the reason for this? Please help.

 Thanks in advance.
 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

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




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.

?xml version=1.0 encoding=UTF-8?
sequence xmlns=http://ws.apache.org/ns/synapse; name=AccManagersSeq
   log
  property name=STATE value=Before sf_auth sequence/
   /log
   salesforce.getUserInfo configKey=sf_auth/
   log
  property name=STATE value=Authentication success!!!/
   /log
   salesforce.query
  batchSize2000/batchSize
  queryStringSELECT Id,AccountId, Project__c, Name,Owner.Name,OwnerId, Products_in_use__c,Amount,FiscalQuarter,FiscalYear,IsClosed,IsWon,Opp_End_Date__c,Opp_Start_Date__c,LeadSource,Services_Amount__c,Opportunity_Term__c,Production_Support_Amount__c,Includes_Consulting__c,Includes_Dev_Support__c,Includes_Production_Support__c,Includes_QuickStart__c,Probability,Reason_Lost__c,ForecastCategory,Last_Account_Sale__c,CurrencyIsoCode, CloseDate FROM Opportunity/queryString
   /salesforce.query
   class name=org.wso2.carbon.solutions.sf.DateStamper/
   log
  property name=STATE value=Query success!!!/
   /log
   iterate xmlns:ns1=urn:partner.soap.sforce.com
xmlns:ns=http://org.apache.synapse/xsd;
continueParent=true
expression=$body/ns1:queryResponse/ns1:result/ns1:records
sequential=true
  target
 sequence
dbreport
   connection
  pool
 passwordroot/password
 userroot/user
 urljdbc:mysql://localhost:3306/sf/url
 drivercom.mysql.jdbc.Driver/driver
  /pool
   /connection
   statement
  sql
 insert into AMpipeline(Id,AccountId, Project__c, Name,OwnerName,OwnerId, 

Re: [Dev] Next carbon-deployment release is 4.5.0

2015-08-18 Thread KasunG Gajasinghe
[+Krishantha]

New staging repo with fixes for module-mgt and AS application mgt  -
http://maven.wso2.org/nexus/content/repositories/orgwso2carbondeployment-032/

On Tue, Aug 18, 2015 at 12:53 AM, KasunG Gajasinghe kas...@wso2.com wrote:


 carbon-deployment is has been added to staging repo -
 http://maven.wso2.org/nexus/content/repositories/orgwso2carbondeployment-030/

 Please use this repo and verify the downstream projects. Planning to
 promote the staging repo to public by EOD Tuesday.

 Thanks



 On Fri, Aug 14, 2015 at 1:45 PM, Priyadarssini Kishokumar 
 priyadarss...@wso2.com wrote:

 Thanks.

 On Fri, Aug 14, 2015 at 1:44 PM, KasunG Gajasinghe kas...@wso2.com
 wrote:

 Merged.

 On Fri, Aug 14, 2015 at 11:02 AM, Priyadarssini Kishokumar 
 priyadarss...@wso2.com wrote:

 Hi,

 Please verify  merge PR[1] for the improvement [2]

 [1] https://github.com/wso2/carbon-deployment/pull/104

 [2] https://wso2.org/jira/browse/ESBJAVA-3858

 Thanks,

 On Thu, Aug 13, 2015 at 2:47 PM, KasunG Gajasinghe kas...@wso2.com
 wrote:


 The release date is this Friday. So, make sure to send all the
 fixes if any EOD today.

 Thanks.

 On Tue, Aug 11, 2015 at 6:40 PM, KasunG Gajasinghe kas...@wso2.com
 wrote:

 Hi,

 This is to update that the next carbon-deployment release is 4.5.0.

 AS will need a Jaggery release on top of carbon-deployment 4.5.0 for
 the AS 5.3.0 beta release.

 Thanks,
 KasunG

 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org



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




 --
 Priya Kishok
 Software Engineer
 WSO2, Inc : http://wso2.com
 Mob : +94774457404




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 Priya Kishok
 Software Engineer
 WSO2, Inc : http://wso2.com
 Mob : +94774457404




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Madusanka Premaratne

2015-08-18 Thread Harsha Kumara
Congratulations!

On Tue, Aug 18, 2015 at 11:21 AM, Chamin Dias cham...@wso2.com wrote:

 Congratulations Madusanka..!!!

 On Tue, Aug 18, 2015 at 11:15 AM, Malintha Amarasinghe malint...@wso2.com
  wrote:

 Congratzzz Madusanka :)

 On Tue, Aug 18, 2015 at 10:54 AM, Damith Wickramasinghe dami...@wso2.com
  wrote:

 Congratulations Madusanka..!!!

 On Tue, Aug 18, 2015 at 10:06 AM, Chanuka Dissanayake chan...@wso2.com
 wrote:

 Congratulations Maduz..!

 On Tue, Aug 18, 2015 at 2:09 AM, Akalanka Pagoda Arachchi 
 darsha...@wso2.com wrote:

 Congratz Maduz...!!!

 On Mon, Aug 17, 2015 at 11:17 AM, Tharindu Dharmarathna 
 tharin...@wso2.com wrote:

 congrats maduz !.

 On Mon, Aug 17, 2015 at 12:00 PM, Roshan Wijesena ros...@wso2.com
 wrote:

 Congratulations!

 On Sat, Aug 15, 2015 at 10:15 AM, Nuwan Dias nuw...@wso2.com
 wrote:

 Hi,

 It is with great pleasure we welcome Madusanka Premaratne as a
 WSO2 Committer. @Madusanka, congratulations and keep up the good
 work!

 Thanks,
 NuwanD.

 --
 Nuwan Dias

 Technical Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94719154640 %2B94719154640*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




 --

 *Tharindu Dharmarathna*Associate Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94779109091 %2B94779109091*

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




 --
 *Darshana Akalanka Pagoda Arachchi,*
 *Software Engineer*
 *078-4721791*

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




 --
 Chanuka Dissanayake
 *Software Engineer | **WSO2 Inc.*; http://wso2.com

 Mobile: +94 71 33 63 596
 Email: chan...@wso2.com

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




 --
 Software Engineer
 WSO2 Inc.; http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 lean.enterprise.middleware

 mobile: *+94728671315 %2B94728671315*


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




 --
 Malintha Amarasinghe
 Software Engineer
 *WSO2, Inc. - lean | enterprise | middleware*
 http://wso2.com/

 Mobile : +94 712383306

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




 --
 Chamin Dias
 *Software Engineer*
 Mobile : +94 (0) 716 097455 %2B94%20%280%29%20773%20451194
 Email : cham...@wso2.com
 Blog : https://chamindias.wordpress.com/

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


Re: [Dev] [ESB] 101500 ERROR_MESSAGE : Error in Sender

2015-08-18 Thread Malaka Silva
Why are you adding getUserInfo, since you are not using the response from
it?

Also try adding onError attribute to your sequence and check. eg:
onError=fault

More on wire logs with [1]

[1] http://mytecheye.blogspot.com/2013/09/wso2-esb-all-about-wire-logs.html

On Tue, Aug 18, 2015 at 2:46 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi,

 1) I couldn't find the line to enable wire logs in my log4j file. Is it
 okay if i add the line to it?
 (log4j.logger.org.apache.synapse.transport.http.wire=DEBUG)

 2) My init config is in the sequence *sf_auth* as below:

 salesforce.init xmlns=http://ws.apache.org/ns/synapse;
   usernamesesh...@wso2.com/username
   passwordp1ne@pplelrY5ZpMQVqPyPramkfIdKDYE6/password
   loginUrlhttps://login.salesforce.com/services/Soap/u/27.0
 /loginUrl
/salesforce.init

 3) When i added the logs, i find that error occurs at
  salesforce.getUserInfo configKey=*sf_auth*/salesforce.getUserInfo

 The error logs are as follows:

 [2015-08-18 14:42:22,950]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:4ca4be55-4b42-4b9f-89c3-3fc4b534a1a2, Direction: request, STATE =
 Before sf_auth sequence
 [2015-08-18 14:42:22,958]  INFO {SERVICE_LOGGER} -  Connection = Login to
 Salesforce .
 [2015-08-18 14:42:26,100]  WARN {SERVICE_LOGGER} -  ERROR_CODE : 101500
 ERROR_MESSAGE : Error in Sender


 I have attached the sequence.

 Thanks

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 2:30 PM, Malaka Silva mal...@wso2.com wrote:

 Seems like an error when sending the message out.

 Can you put some logs in your mediation flow and identify with point it's
 failing?

 Also enabling wire logs will also help to find the failing point. Also
 share the salesfore.init config.



 On Tue, Aug 18, 2015 at 2:19 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi,

 I am trying to get data from salesforce using salesforce connector by
 writing a proxy. I get the following error when i run the sequence/proxy:

 [2015-08-18 14:06:31,815]  INFO {SERVICE_LOGGER} -  Connection = Login
 to Salesforce .
 [2015-08-18 14:06:38,933]  WARN {SERVICE_LOGGER} -  ERROR_CODE : 101500
 ERROR_MESSAGE : Error in Sender

 I have attached a sequence i have written for the above task.

 What could be the reason for this? Please help.

 Thanks in advance.
 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

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




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.





-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
http://wso2.com/about/team/malaka-silva/

Save a tree -Conserve nature  Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] I/O error: General SSLEngine problem in ESB

2015-08-18 Thread Aaquibah Nashry
Hi,

I am getting the following error when i try to run a proxy which gets data
from salesforce. Any idea how to solve this?

TID: [0] [ESB] [2015-08-18 06:14:17,256]  INFO
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
 'admin@carbon.super [-1234]' logged in at [2015-08-18 06:14:17,256-0400]
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil}
TID: [0] [ESB] [2015-08-18 06:15:34,645]  INFO
{org.apache.synapse.mediators.builtin.LogMediator} -  To:
/services/SalesforceProxy.SalesforceProxyHttpSoap12Endpoint, WSAction:
urn:mediate, SOAPAction: urn:mediate, MessageID:
urn:uuid:89a301b5-e7c4-4781-91c8-e4c677e2e4db, Direction: request, STATE =
OPP {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2015-08-18 06:15:34,657]  INFO
{org.apache.synapse.mediators.builtin.LogMediator} -  Connection = Login to
Salesforce . {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2015-08-18 06:15:36,639] ERROR
{org.apache.synapse.transport.passthru.TargetHandler} -  I/O error: General
SSLEngine problem {org.apache.synapse.transport.passthru.TargetHandler}
javax.net.ssl.SSLHandshakeException: General SSLEngine problem
at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1252)
at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:514)
at sun.security.ssl.SSLEngineImpl.writeAppRecord(SSLEngineImpl.java:1173)
at sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:1145)
at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:469)
at
org.apache.http.nio.reactor.ssl.SSLIOSession.doWrap(SSLIOSession.java:220)
at
org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:254)
at
org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:380)
at
org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:118)
at
org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:160)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:342)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
at
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
at
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
at java.lang.Thread.run(Thread.java:701)
Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1660)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:289)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:281)
at
sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1255)
at
sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:200)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:848)
at sun.security.ssl.Handshaker$1.run(Handshaker.java:788)
at sun.security.ssl.Handshaker$1.run(Handshaker.java:786)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1189)
at
org.apache.http.nio.reactor.ssl.SSLIOSession.doRunTask(SSLIOSession.java:238)
at
org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:270)
... 9 more
Caused by: sun.security.validator.ValidatorException: PKIX path building
failed: sun.security.provider.certpath.SunCertPathBuilderException: unable
to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:386)
at
sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:293)
at sun.security.validator.Validator.validate(Validator.java:260)
at sun.security.validator.Validator.validate(Validator.java:236)
at
sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:147)
at
sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:230)
at
sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:270)
at
sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1234)
... 17 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
at
sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:197)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:255)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:381)
... 24 more
TID: [0] [ESB] [2015-08-18 06:15:36,646]  WARN
{org.apache.synapse.endpoints.EndpointContext} -  Endpoint :
AnonymousEndpoint will be marked SUSPENDED as it failed
{org.apache.synapse.endpoints.EndpointContext}
TID: [0] [ESB] [2015-08-18 06:15:36,647]  WARN
{org.apache.synapse.endpoints.EndpointContext} -  Suspending endpoint :
AnonymousEndpoint - last 

[Dev] [DEV] WSO2 API Manager 1.9.1 Beta Released!!

2015-08-18 Thread Amila De Silva
WSO2 API Manager team is pleased to announce the Beta release of WSO2 API
Manager 1.9.1.

This release doesn't contain new features or major architectural changes
from the last release  only includes bug fixes and minor improvements.
Users should be able to move onto the newer version from 1.9.0 without any
data Migration.

Following Bug Fixes and Improvements are included in this release.

Bug

   - Bug Fixes https://wso2.org/jira/browse/APIMANAGER-3980?filter=12355

Improvement

   - Improvements
   https://wso2.org/jira/browse/APIMANAGER-3945?filter=12356



Distribution is available for downloading at [1]. Documentation can be
found at [2]. We encourage you to report issues, suggestions and
improvements related to API Manager through public Jira [3]. When reporting
issues, please report under version 1.9.1 Beta
https://wso2.org/jira/browse/APIMANAGER/fixforversion/11825

[1]
https://github.com/wso2/product-apim/releases/download/v1.9.1-Beta/wso2am-1.9.1-SNAPSHOT.zip
[2] *https://docs.wso2.com/display/AM191/WSO2+API+Manager+Documentation
https://docs.wso2.com/display/AM191/WSO2+API+Manager+Documentation*
[3] https://wso2.org/jira/browse/APIMANAGER


Thanks,
API Manager Team

-- 
*Amila De Silva*

WSO2 Inc.
mobile :(+94) 775119302
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] log out gives HTTP status 405 error in cluster

2015-08-18 Thread Isuruwan Herath
[Copying @dev]

On Tue, Aug 18, 2015 at 12:16 PM, Isuruwan Herath isuru...@wso2.com wrote:

 Hi Johann,

 We can observe following [1] in G-Reg beta pack. Please check and let us
 know if this is an identity issue.

 [1] https://wso2.org/jira/browse/REGISTRY-2772

 --
 Isuruwan Herath
 Technical Lead

 Contact: +94 776 273 296




-- 
Isuruwan Herath
Technical Lead

Contact: +94 776 273 296
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] Installing features in a Cluster setup

2015-08-18 Thread Niranjan Karunanandham
Hi Yasassri,

AFAIK features which are installed via the Feature Manager UI will be
installed only to that particular node and to the default profile. As Aruna
has suggested it is recommended to install profile using pom [1] where you
can also suggest which profile you want to install the feature to.

[1] -
https://docs.wso2.com/display/Carbon440/Installing+Features+using+pom+Files

Regards,
Nira

On Tue, Aug 18, 2015 at 11:56 AM, Aruna Karunarathna ar...@wso2.com wrote:

 Have you tried [1]?

 [1].
 https://docs.wso2.com/display/Carbon420/Installing+Features+using+pom+Files

 On Tue, Aug 18, 2015 at 11:55 AM, Yasassri Ratnayake yasas...@wso2.com
 wrote:

 Hi All,

 In a clustered setup (E.g. ESB cluster with 1 Manager and 2 workers) how
 can I Install features in the  cluster? Since it is done trough the
 management console how to install the feature in the worker nodes? Is there
 an easy and recommended way to do this?

 With Regards,
 --
 Yasassri Ratnayake
 Software Engineer - QA
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware
 *Mobile : +94715933168 %2B94715933168*
 *Blogs : http://yasassriratnayake.blogspot.com
 http://yasassriratnayake.blogspot.com/*
 *http://wso2logs.blogspot.com http://wso2logs.blogspot.com*




 --

 *Aruna Sujith Karunarathna *| Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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




-- 

*Niranjan Karunanandham*
Senior Software Engineer - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Omindu Rathnaweera

2015-08-18 Thread Lasitha Wattaladeniya
Congratulations Omindu !!

Regards,
Lasitha

On Mon, Aug 17, 2015 at 6:40 PM, Johann Nallathamby joh...@wso2.com wrote:

 Hi All,

 It's my pleasure to announce Omindu Rathnaweera as a WSO2 Committer.
 Omindu has been a valuable contributor for WSO2 Identity Server product,
 and in recognition of his contribution to WSO2, he has been voted as a
 WSO2 Committer.

 Omindu, congratulations and keep up the good work!

 Thanks  Regards.

 --

 *Johann Dilantha Nallathamby*
 Technical Lead  Product Lead of WSO2 Identity Server
 Integration Technologies Team
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - *+9476950*
 Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*

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




-- 
Lasitha Wattaladeniya
Software Engineer
WSO2, Inc. | http://wso2.com
lean. enterprise. middleware

Mobile : +94719397528
Blog : techreadme.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Omindu Rathnaweera

2015-08-18 Thread Harsha Thirimanna
On Tue, Aug 18, 2015 at 12:37 PM, Kasun Bandara kas...@wso2.com wrote:

 Congratulations Omindu !!


​Congratulations...​



*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* http://www.apache.org/*
*email: **hars...@wso2.com* az...@wso2.com* cell: +94 71 5186770 *
*twitter: **http://twitter.com/ http://twitter.com/afkham_azeez*
*harshathirimannlinked-in: **http:
http://lk.linkedin.com/in/afkhamazeez**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*

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


Re: [Dev] [DEV] SMS publisher gives a negative bind response

2015-08-18 Thread Thilini Anoratna
Hi all,

I went through the user.txt file which Udani shared with me and found out
that there is an extra space when defining a new user. This has been the
cause for the above negative bind response error. Hence, updated the sample
documentation in [1] accordingly.

Thanks.
Thilini

[1]
https://docs.wso2.com/display/CEP400/Sample+0065+-+Publishing+JSON+Events+via+SMS+Transport

On Wed, Aug 12, 2015 at 7:52 PM, Himasha Guruge himas...@wso2.com wrote:

 Hi Udani,

 Just a hunch, when defining the new user in user.txt, make sure you have
 not added any spaces/blank lines. According to the spec, name= cep1 and
 name=cep1 are considered as two different users.


 Thanks,
 Himasha

 On Wed, Aug 12, 2015 at 8:20 AM, Sriskandarajah Suhothayan s...@wso2.com
 wrote:

 Please also attach all the config files you have created

 Suho

 On Wed, Aug 12, 2015 at 5:47 PM, Udani Weeraratne ud...@wso2.com wrote:

 Hi,

 I have been trying to use the sample given in (
 https://docs.wso2.com/display/CEP400/Sample+0065+-+Publishing+JSON+Events+via+SMS+Transport
 ) to check the sms type publisher in DAS. But it gives the following error
 when the stream is simulated. I have even checked that using the CEP 4.0,
 but still it gives the same error. Could you please explain what is wrong
 with it.
 Please find the attachment.

 Thanks

 --
 *Udani Weeraratne*
 Software Engineer - Intern
 WSO2 Inc.: www.wso2.com
 lean.enterprise.middleware

 Email: ud...@wso2.com
 Mobile: +94 775437714
 LinkedIn: *https://lk.linkedin.com/in/udaniweeraratne
 https://lk.linkedin.com/in/udaniweeraratne*




 --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
 *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*

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




 --
 Himasha Guruge
 *Software Engineer*
 WS*O2* *Inc.*
 Mobile: +94 777459299
 himas...@wso2.com

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




-- 

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

mobile: +94 778955654 +94+778955654

* http://lk.linkedin.com/in/thilinianoratna*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Use case of Topics menu item in Application Server

2015-08-18 Thread KasunG Gajasinghe
Hi,

It looks like there is no direct relation for this in AS. Hence, we do not
need to ship this by default. If a user needs it in AS, they can use the
p2-repo to get it back.

@Manuri, please note.

Thanks.

On Thu, Jul 30, 2015 at 3:00 PM, Shabir Mohamed sha...@wso2.com wrote:

 Hi,

 Isn't it the same feature as in MB[1] to allow AS to work as a Pub/Sub
 Queue. I beleive this tab lists the topics created for subscription.

 [1]
 https://docs.wso2.com/display/MB220/Creating+a+Durable+Topic+Subscription

 -
 *Shabir Mohamed*
 *Software Engineer*
 WSO2 Inc.; http://wso2.com
 Email: sha...@wso2.com ayy...@wso2.com
 Mobile: +94 77 3516019 | +94 71 6583393

 On Wed, Jul 29, 2015 at 10:29 PM, Niranjan Karunanandham 
 niran...@wso2.com wrote:

 [adding Kasun]

 On Wed, Jul 29, 2015 at 10:16 PM, Niranjan Karunanandham 
 niran...@wso2.com wrote:

 Hi all,

 What is the use case of the Topics menu item (Manager  Topics) in the
 side bar of the Admin Console in Application Server?

 Regards,
 Nira

 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: http://www.wso2.com




 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: 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




-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += ​Kalpa Welivitigoda

2015-08-18 Thread Supun Malinga
Congrats Kalpa! Keep up the good work..!

On Tue, Aug 18, 2015 at 11:31 AM, KasunG Gajasinghe kas...@wso2.com wrote:


 Congratulations Kalpa! A well deserved one! :-)

 On Tue, Aug 18, 2015 at 10:29 AM, Sameera Perera samee...@wso2.com
 wrote:

 Hi,

 It is with great pleasure we welcome ​Kalpa Welivitigoda​ as a WSO2
 Committer.
 @Kalpa, congratulations and keep up the good work!

 --

 --

 *Sameera Perera*
 Director of Engineering
 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




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org



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




-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com sup...@wso2.com
mobile: +94 (0)71 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] Installing features in a Cluster setup

2015-08-18 Thread Aruna Karunarathna
Have you tried [1]?

[1].
https://docs.wso2.com/display/Carbon420/Installing+Features+using+pom+Files

On Tue, Aug 18, 2015 at 11:55 AM, Yasassri Ratnayake yasas...@wso2.com
wrote:

 Hi All,

 In a clustered setup (E.g. ESB cluster with 1 Manager and 2 workers) how
 can I Install features in the  cluster? Since it is done trough the
 management console how to install the feature in the worker nodes? Is there
 an easy and recommended way to do this?

 With Regards,
 --
 Yasassri Ratnayake
 Software Engineer - QA
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware
 *Mobile : +94715933168 %2B94715933168*
 *Blogs : http://yasassriratnayake.blogspot.com
 http://yasassriratnayake.blogspot.com/*
 *http://wso2logs.blogspot.com http://wso2logs.blogspot.com*




-- 

*Aruna Sujith Karunarathna *| Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: ar...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += ​Kalpa Welivitigoda

2015-08-18 Thread KasunG Gajasinghe
Congratulations Kalpa! A well deserved one! :-)

On Tue, Aug 18, 2015 at 10:29 AM, Sameera Perera samee...@wso2.com wrote:

 Hi,

 It is with great pleasure we welcome ​Kalpa Welivitigoda​ as a WSO2
 Committer.
 @Kalpa, congratulations and keep up the good work!

 --

 --

 *Sameera Perera*
 Director of Engineering
 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




-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB] 101500 ERROR_MESSAGE : Error in Sender

2015-08-18 Thread Aaquibah Nashry
Hi,

I am trying to get data from salesforce using salesforce connector by
writing a proxy. I get the following error when i run the sequence/proxy:

[2015-08-18 14:06:31,815]  INFO {SERVICE_LOGGER} -  Connection = Login to
Salesforce .
[2015-08-18 14:06:38,933]  WARN {SERVICE_LOGGER} -  ERROR_CODE : 101500
ERROR_MESSAGE : Error in Sender

I have attached a sequence i have written for the above task.

What could be the reason for this? Please help.

Thanks in advance.
Regards,

M.R.Aaquibah Nashry
*Intern, Engineering**| **WSO2, Inc.*
Mobile : +94 773946123
Tel  : +94 112662541
Email : nas...@wso2.com nas...@wso2.com
?xml version=1.0 encoding=UTF-8?
sequence xmlns=http://ws.apache.org/ns/synapse; name=AccManagersSeq
   salesforce.getUserInfo configKey=sf_auth/
   log
  property name=STATE value=Authentication success!!!/
   /log
   salesforce.query
  batchSize2000/batchSize
  queryStringSELECT Id,AccountId, Project__c, Name,Owner.Name,OwnerId, Products_in_use__c,Amount,FiscalQuarter,FiscalYear,IsClosed,IsWon,Opp_End_Date__c,Opp_Start_Date__c,LeadSource,Services_Amount__c,Opportunity_Term__c,Production_Support_Amount__c,Includes_Consulting__c,Includes_Dev_Support__c,Includes_Production_Support__c,Includes_QuickStart__c,Probability,Reason_Lost__c,ForecastCategory,Last_Account_Sale__c,CurrencyIsoCode, CloseDate FROM Opportunity/queryString
   /salesforce.query
   class name=org.wso2.carbon.solutions.sf.DateStamper/
   log
  property name=STATE value=Query success!!!/
   /log
   iterate xmlns:ns1=urn:partner.soap.sforce.com
xmlns:ns=http://org.apache.synapse/xsd;
continueParent=true
expression=$body/ns1:queryResponse/ns1:result/ns1:records
sequential=true
  target
 sequence
dbreport
   connection
  pool
 passwordroot/password
 userroot/user
 urljdbc:mysql://localhost:3306/sf/url
 drivercom.mysql.jdbc.Driver/driver
  /pool
   /connection
   statement
  sql
insert into AMpipeline(Id,AccountId, Project__c, Name,OwnerName,OwnerId, Products_in_use__c,Amount,FiscalQuarter,FiscalYear,IsClosed,IsWon,Opp_End_Date__c,Opp_Start_Date__c,LeadSource,Services_Amount__c,Opportunity_Term__c,Production_Support_Amount__c,Includes_Consulting__c,Includes_Dev_Support__c,Includes_Production_Support__c,Includes_QuickStart__c,Probability,Reason_Lost__c,ForecastCategory,Last_Account_Sale__c,Currency_code, CloseDate,RecordDate) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) /sql
  parameter xmlns:nsa=urn:sobject.partner.soap.sforce.com
 xmlns:nsb=urn:partner.soap.sforce.com
 expression=$body/nsb:records/nsa:Id/text()
 type=VARCHAR/
  parameter xmlns:nsa=urn:sobject.partner.soap.sforce.com
 xmlns:nsb=urn:partner.soap.sforce.com
 expression=$body/nsb:records/nsa:AccountId/text()
 type=VARCHAR/
  parameter xmlns:nsa=urn:sobject.partner.soap.sforce.com
 xmlns:nsb=urn:partner.soap.sforce.com
 expression=$body/nsb:records/nsa:Project__c/text()
 type=VARCHAR/
  parameter xmlns:nsa=urn:sobject.partner.soap.sforce.com
 xmlns:nsb=urn:partner.soap.sforce.com
 expression=$body/nsb:records/nsa:Name/text()
 type=VARCHAR/
  parameter xmlns:nsa=urn:sobject.partner.soap.sforce.com
 xmlns:nsb=urn:partner.soap.sforce.com
 expression=$body/nsb:records/nsa:OwnerName/text()
 type=VARCHAR/
  parameter xmlns:nsa=urn:sobject.partner.soap.sforce.com
 xmlns:nsb=urn:partner.soap.sforce.com
 expression=$body/nsb:records/nsa:OwnerId/text()
 type=VARCHAR/
  parameter xmlns:nsa=urn:sobject.partner.soap.sforce.com
 xmlns:nsb=urn:partner.soap.sforce.com
 expression=$body/nsb:records/nsa:Products_in_use__c/text()
 type=VARCHAR/
  parameter xmlns:nsa=urn:sobject.partner.soap.sforce.com
 

Re: [Dev] [Blocker][ML] Change in Spark Commons feature causing ML features failed to install in ESB/CEP

2015-08-18 Thread Niranda Perera
Hi Nirmal,

Caused by: java.lang.ClassNotFoundException:
org.apache.hadoop.fs.FSDataInputStream cannot be found by
spark-core_2.10_1.4.0.wso2v2

it has to be spark-core_2.10_1.4.1.wso2v1 actually.

in any case, can you check if the following bundle is active?
dependency
groupIdorg.wso2.orbit.org.apache.hadoop/groupId
artifactIdhadoop-client/artifactId
version2.6.0.wso2v1/version
/dependency


On Tue, Aug 18, 2015 at 9:59 AM, Nirmal Fernando nir...@wso2.com wrote:

 Hi,

 $Subject. We have reported following issue [1] and can we get urgent
 attention to it please?

 [1] https://wso2.org/jira/browse/DAS-32

 --

 Thanks  regards,
 Nirmal

 Team Lead - WSO2 Machine Learner
 Associate Technical Lead - Data Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/





-- 
*Niranda Perera*
Software Engineer, WSO2 Inc.
Mobile: +94-71-554-8430
Twitter: @n1r44 https://twitter.com/N1R44
https://pythagoreanscript.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += ​Kalpa Welivitigoda

2015-08-18 Thread Aruna Karunarathna
Congratzz Kalpa...!!!

On Tue, Aug 18, 2015 at 11:35 AM, Supun Malinga sup...@wso2.com wrote:

 Congrats Kalpa! Keep up the good work..!

 On Tue, Aug 18, 2015 at 11:31 AM, KasunG Gajasinghe kas...@wso2.com
 wrote:


 Congratulations Kalpa! A well deserved one! :-)

 On Tue, Aug 18, 2015 at 10:29 AM, Sameera Perera samee...@wso2.com
 wrote:

 Hi,

 It is with great pleasure we welcome ​Kalpa Welivitigoda​ as a WSO2
 Committer.
 @Kalpa, congratulations and keep up the good work!

 --

 --

 *Sameera Perera*
 Director of Engineering
 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




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org



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




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321

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




-- 

*Aruna Sujith Karunarathna *| Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: ar...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Repository specific config location

2015-08-18 Thread Harsha Thirimanna
Hi BPS Team,

Since we are managing product specific config (repo wise) as its specific
name within repository/conf folder, can we make it with BPS as well.
As ex: in IS we have added all carbon-identity repo specific configs to the
repository/identity folder.

Then it will be clear when user install features to different products.
WDYT ?

thanks

*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* http://www.apache.org/*
*email: **hars...@wso2.com* az...@wso2.com* cell: +94 71 5186770 *
*twitter: **http://twitter.com/ http://twitter.com/afkham_azeez*
*harshathirimannlinked-in: **http:
http://lk.linkedin.com/in/afkhamazeez**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*

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


Re: [Dev] WSO2 Committers += Omindu Rathnaweera

2015-08-18 Thread Kasun Bandara
Congratulations Omindu !!

On Tue, Aug 18, 2015 at 12:11 PM, Lasitha Wattaladeniya lasit...@wso2.com
wrote:

 Congratulations Omindu !!

 Regards,
 Lasitha

 On Mon, Aug 17, 2015 at 6:40 PM, Johann Nallathamby joh...@wso2.com
 wrote:

 Hi All,

 It's my pleasure to announce Omindu Rathnaweera as a WSO2 Committer.
 Omindu has been a valuable contributor for WSO2 Identity Server product,
 and in recognition of his contribution to WSO2, he has been voted as a
 WSO2 Committer.

 Omindu, congratulations and keep up the good work!

 Thanks  Regards.

 --

 *Johann Dilantha Nallathamby*
 Technical Lead  Product Lead of WSO2 Identity Server
 Integration Technologies Team
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - *+9476950*
 Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*

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




 --
 Lasitha Wattaladeniya
 Software Engineer
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94719397528
 Blog : techreadme.blogspot.com

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




-- 
Kasun Bandara
*Software Engineer*
Mobile : +94 (0) 718 338 360
%2B94%20%280%29%20773%20451194
kas...@wso2.com thili...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV] Installing features in a Cluster setup

2015-08-18 Thread Yasassri Ratnayake
Hi All,

In a clustered setup (E.g. ESB cluster with 1 Manager and 2 workers) how
can I Install features in the  cluster? Since it is done trough the
management console how to install the feature in the worker nodes? Is there
an easy and recommended way to do this?

With Regards,
-- 
Yasassri Ratnayake
Software Engineer - QA
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
*Mobile : +94715933168*
*Blogs : http://yasassriratnayake.blogspot.com
http://yasassriratnayake.blogspot.com/*
*http://wso2logs.blogspot.com http://wso2logs.blogspot.com*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += ​Kalpa Welivitigoda

2015-08-18 Thread Madhawa Gunasekara
Congratulations kalpa

On Tue, Aug 18, 2015 at 11:38 AM, Aruna Karunarathna ar...@wso2.com wrote:

 Congratzz Kalpa...!!!

 On Tue, Aug 18, 2015 at 11:35 AM, Supun Malinga sup...@wso2.com wrote:

 Congrats Kalpa! Keep up the good work..!

 On Tue, Aug 18, 2015 at 11:31 AM, KasunG Gajasinghe kas...@wso2.com
 wrote:


 Congratulations Kalpa! A well deserved one! :-)

 On Tue, Aug 18, 2015 at 10:29 AM, Sameera Perera samee...@wso2.com
 wrote:

 Hi,

 It is with great pleasure we welcome ​Kalpa Welivitigoda​ as a WSO2
 Committer.
 @Kalpa, congratulations and keep up the good work!

 --

 --

 *Sameera Perera*
 Director of Engineering
 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




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org



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




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321

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




 --

 *Aruna Sujith Karunarathna *| Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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




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

mobile: +94 719411002 +94+719411002
blog: *http://madhawa-gunasekara.blogspot.com
http://madhawa-gunasekara.blogspot.com*
linkedin: *http://lk.linkedin.com/in/mgunasekara
http://lk.linkedin.com/in/mgunasekara*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Repository specific config location

2015-08-18 Thread Johann Nallathamby
Hi,

On Tue, Aug 18, 2015 at 11:57 AM, Harsha Thirimanna hars...@wso2.com
wrote:

 Hi BPS Team,

 Since we are managing product specific config (repo wise) as its specific
 name within repository/conf folder, can we make it with BPS as well.
 As ex: in IS we have added all carbon-identity repo specific configs to
 the repository/identity folder.


It should be in fact *repository/conf/identity* where all the config files
coming from carbon-identity repo resides.

Few years back we took some decisions about product configuration file
categorisation [1,2]. If my memory is good, the conclusion was that
advanced configurations that are not frequently modified for basic server
configuration should reside inside subfolders of repository/conf/. That's
when we introduced folders such as axis2, datasources, advanced, etc.

With feature installation from different repos, the number of files in
repository/conf is ever growing. Those files are opened/modified only if
those features are used. It would be cleaner if we can have a sub-folder
like business-process in repository/conf that contains configuration
files coming from carbon-business-process repo.

[1] Strategy mail thread: Death by config!
[2] Dev mail thread: [Dev] Who is working on conf file categorization?

Regards,
Johann.


 Then it will be clear when user install features to different products.
 WDYT ?

 thanks

 *Harsha Thirimanna*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 * http://www.apache.org/*
 *email: **hars...@wso2.com* az...@wso2.com* cell: +94 71 5186770 *
 *twitter: **http://twitter.com/ http://twitter.com/afkham_azeez*
 *harshathirimannlinked-in: **http:
 http://lk.linkedin.com/in/afkhamazeez**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*

 *Lean . Enterprise . Middleware*




-- 
Thanks  Regards,

*Johann Dilantha Nallathamby*
Technical Lead  Product Lead of WSO2 Identity Server
Integration Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB] How to clean up non-durable topic subscriptions if MB node killed in cluster setup

2015-08-18 Thread Pumudu Ruhunage
Hi All,

I faced two issues while fixing this.

1. There is a method for clear cluster subscriptions
('closeAllClusterSubscriptionsOfNode()' in 'andesSubscriptionManager')
while initializing a cluster node. But it dosen't clean up database when
executed. Is there a specific reason not to delete non-durable
subscriptions from database when call this method?

2. Currently all subscriptions(durable/non-durable) are stored in
MB_DURABLE_SUBSCRIPTION table. Is there a reason for this? Can't we change
this table name to something meaningful if we continue to keep all
subscriptions in same table?

WDYT?

Thanks,
Pumudu

On Thu, Aug 13, 2015 at 2:41 PM, Pumudu Ruhunage pum...@wso2.com wrote:

 Hi All,

 Thanks for the inputs. +1 for implementing both cases.
 will do both implementations.

 Regards,
 Pumudu

 On Thu, Aug 13, 2015 at 11:40 AM, Hemika Kodikara hem...@wso2.com wrote:

 Hi All,

 We have already done a similar implementation for durable topics on
 member removed.

 +1 for Asanka's suggestion to remove non-topic subscriptions on both
 occasions.

 Regards,
 Hemika

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

 Mobile : +9477762

 On Thu, Aug 13, 2015 at 11:09 AM, Asitha Nanayakkara asi...@wso2.com
 wrote:


 On Thu, Aug 13, 2015 at 3:17 PM, Asanka Abeyweera asank...@wso2.com
 wrote:

 Hi Asitha,

 I don't think we can achieve this by only doing the cleanup at the
 coordinator selection point. We have to clean the topic subscriptions for a
 non-coordinator node when it leaves (In this case a new coordinator will
 not be elected).

 Oh! yes agreed!


 On Thu, Aug 13, 2015 at 5:04 AM, Asitha Nanayakkara asi...@wso2.com
 wrote:



 On Wed, Aug 12, 2015 at 10:53 PM, Asanka Abeyweera asank...@wso2.com
 wrote:

 Hi Pumudu,

 I think we have to do the clean up in both places. Case 1 is required
 when the only node in the cluster leaves and come back. Case 2 is 
 required
 when a single node leaves in a multi node cluster.

 On Wed, Aug 12, 2015 at 5:38 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Hi,

 Currently if MB node got killed unexpectedly non-durable topic
 subscriptions bind to that node will remain in cluster. This can cause
 unexpected behaviors in cluster since that node has already removed.

 IMO these topic subscriptions can clean up in two methods.

 1. During each MB node start up, remove all non-durable topic
 subscriptions for it's local node id. (This will ensure newly started 
 node
 won't receive any non-durable topic messages related to previously 
 killed
 MB node with same node id)


 I think  we can do this in org.wso2.andes.kernel.AndesKernelBoot or
 in a similar class. May be we can do this similar to the way we do the 
 slot
 recovery task.



 2. Cluster coordinator should remove all non-durable topic
 subscriptions when a member left from cluster. (This can be a problem if
 coordinator node killed. If there's a method to get previous coordinator
 node id by newly elected coordinator this method can be implemented)


 For this case we can do the clean up in
 org.wso2.andes.server.cluster.ClusterManager#memberRemoved method after
 checking if the current node is the coordinator. This will work even if 
 the
 coordinator node get killed.


 When a new coordinator is elected can't we let that newly elected
 coordinator do this ? Even at startup there is a coordinator election
 right? if that's the case we can cover both scenarios IMO?



 How should we do the clean up. WDYT?

 Regards,
 Pumudu
 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com

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




 --
 Asanka Abeyweera
 Software Engineer
 WSO2 Inc.

 Phone: +94 712228648
 Blog: a5anka.github.io

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




 --
 *Asitha Nanayakkara*
 Software Engineer
 WSO2, Inc. http://wso2.com/
 Mob: + 94 77 85 30 682




 --
 Asanka Abeyweera
 Software Engineer
 WSO2 Inc.

 Phone: +94 712228648
 Blog: a5anka.github.io




 --
 *Asitha Nanayakkara*
 Software Engineer
 WSO2, Inc. http://wso2.com/
 Mob: + 94 77 85 30 682


 ___
 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




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




-- 
Pumudu Ruhunage
Associate Software Engineer | WSO2 Inc
M: +94 779 664493  | http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Releasing Carbon Multitenancy

2015-08-18 Thread Prabath Ariyarathna
+ KasunG

On Tue, Aug 18, 2015 at 5:13 PM, Prabath Ariyarathna prabat...@wso2.com
wrote:

 Hi Supun.

 Can you please revert the previous merged PR for URL validation since it
 is breaking the existing API URL validations because API doesn't have
 service context path and newly added validation checking that path as a
 mandatory element.
 Still we couldn't find the way to differentiate proxy services and APIs
 inside the MultitenentDispatcher. So we decided to revert this and find the
 proper solution. Please use following PR.

 https://github.com/wso2/carbon-multitenancy/pull/49

 Thanks.


 On Fri, Aug 7, 2015 at 12:21 PM, Supun Malinga sup...@wso2.com wrote:



 On Wed, Aug 5, 2015 at 9:14 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 On Wed, Aug 5, 2015 at 12:59 PM, Prabath Ariyarathna prabat...@wso2.com
  wrote:

 Hi Supun.

 I did small changes on PR to fix the few issues existing in the URL
 validation. Please check the new changes.

 Eg:-
 http://wso2s-MacBook-Pro-2.local:8280//services/t/wso1.com/Proxy1

 http://wso2s-MacBook-Pro-2.local:8280/services//t/wso1.com/Proxy1
 I checked basic scenarios like proxy service valid and invalid URLs
 with super tenant and tenant modes and ran available test cases which are
 related to the proxyServices/APIs in the ESB found no issues but
 unfortunately at the moment we don't have enough automated test cases to
 cover the multitenant edge cases.


 OK this is good. I'll merge the PR then. We should add test cases if
 they are not there. Please create a jira for that.


 Merged.

 thanks,


 Thanks.


 On Wed, Aug 5, 2015 at 12:06 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 We need to release carbon-identity and carbon-registry once the
 commons is released. This is due to carbon-multitenancy being dependent on
 identity and registry.

 Greg and IS teams as we discussed shall we start on those once the
 commons is out ?.

 thanks,

 On Wed, Aug 5, 2015 at 9:14 AM, Supun Malinga sup...@wso2.com wrote:

 Hi All,

 We will be releasing carbon-multitenancy today..

 Hi Prabath AR,
 I looked at the diff and fix looks ok. Have we also verified this
 with ESB team in terms of the approach to the fix ?. If yes I can go 
 ahead
 and merge this.

 thanks,

 On Tue, Aug 4, 2015 at 12:39 PM, Prabath Ariyarathna 
 prabat...@wso2.com wrote:

 Hi Supun.

 Please review and merge the PR[1] for this issue[2].

 [1] = https://github.com/wso2/carbon-multitenancy/pull/46
 [2] = https://wso2.org/jira/browse/ESBJAVA-3992


 Thanks.

 On Tue, Aug 4, 2015 at 10:48 AM, Chanaka Fernando chana...@wso2.com
  wrote:

 Hi Supun,

 We have come across several issues[1], [2], [3] related to tenancy
 when testing the ESB 490 beta release. We are currently looking into 
 these
 issues. Did you guys face any issue related to dispatching when 
 testing the
 AS in multitenant scenarios?

 [1] https://wso2.org/jira/browse/ESBJAVA-3992

 [2] https://wso2.org/jira/browse/ESBJAVA-3989

 [3] https://wso2.org/jira/browse/ESBJAVA-3988

 Thanks,
 Chanaka



 On Mon, Aug 3, 2015 at 10:13 PM, Supun Malinga sup...@wso2.com
 wrote:

 Hi Devs,

 We are going to do $subject soon after carbon commons release.
 Shout if you have any fixes to be added.

 thanks,
 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321

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




 --
 --
 Chanaka Fernando
 Senior Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 773337238
 Blog : http://soatutorials.blogspot.com
 LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
 Twitter:https://twitter.com/chanakaudaya
 Wordpress:http://chanakaudaya.wordpress.com






 --

 *Prabath Ariyarathna*

 *Associate Technical Lead*

 *WSO2, Inc. *

 *lean . enterprise . middleware *


 *Email: prabat...@wso2.com prabat...@wso2.com*

 *Blog: http://prabu-lk.blogspot.com http://prabu-lk.blogspot.com*

 *Flicker : https://www.flickr.com/photos/47759189@N08
 https://www.flickr.com/photos/47759189@N08*

 *Mobile: +94 77 699 4730 *








 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --

 *Prabath Ariyarathna*

 *Associate Technical Lead*

 *WSO2, Inc. *

 *lean . enterprise . middleware *


 *Email: prabat...@wso2.com prabat...@wso2.com*

 *Blog: http://prabu-lk.blogspot.com http://prabu-lk.blogspot.com*

 *Flicker : https://www.flickr.com/photos/47759189@N08
 https://www.flickr.com/photos/47759189@N08*

 *Mobile: +94 77 699 4730 *








 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 

Re: [Dev] Next carbon-deployment release is 4.5.0

2015-08-18 Thread Ravindra Ranwala
Hi KasunG,

I have tested module-mgt feature for ESB and that was working as expected.


Thanks  Regards,

On Tue, Aug 18, 2015 at 3:59 PM, KasunG Gajasinghe kas...@wso2.com wrote:

 [+Krishantha]

 New staging repo with fixes for module-mgt and AS application mgt  -
 http://maven.wso2.org/nexus/content/repositories/orgwso2carbondeployment-032/


 On Tue, Aug 18, 2015 at 12:53 AM, KasunG Gajasinghe kas...@wso2.com
 wrote:


 carbon-deployment is has been added to staging repo -
 http://maven.wso2.org/nexus/content/repositories/orgwso2carbondeployment-030/

 Please use this repo and verify the downstream projects. Planning to
 promote the staging repo to public by EOD Tuesday.

 Thanks



 On Fri, Aug 14, 2015 at 1:45 PM, Priyadarssini Kishokumar 
 priyadarss...@wso2.com wrote:

 Thanks.

 On Fri, Aug 14, 2015 at 1:44 PM, KasunG Gajasinghe kas...@wso2.com
 wrote:

 Merged.

 On Fri, Aug 14, 2015 at 11:02 AM, Priyadarssini Kishokumar 
 priyadarss...@wso2.com wrote:

 Hi,

 Please verify  merge PR[1] for the improvement [2]

 [1] https://github.com/wso2/carbon-deployment/pull/104

 [2] https://wso2.org/jira/browse/ESBJAVA-3858

 Thanks,

 On Thu, Aug 13, 2015 at 2:47 PM, KasunG Gajasinghe kas...@wso2.com
 wrote:


 The release date is this Friday. So, make sure to send all the
 fixes if any EOD today.

 Thanks.

 On Tue, Aug 11, 2015 at 6:40 PM, KasunG Gajasinghe kas...@wso2.com
 wrote:

 Hi,

 This is to update that the next carbon-deployment release is 4.5.0.

 AS will need a Jaggery release on top of carbon-deployment 4.5.0 for
 the AS 5.3.0 beta release.

 Thanks,
 KasunG

 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org



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




 --
 Priya Kishok
 Software Engineer
 WSO2, Inc : http://wso2.com
 Mob : +94774457404




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 Priya Kishok
 Software Engineer
 WSO2, Inc : http://wso2.com
 Mob : +94774457404




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org



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




-- 
Ravindra Ranwala
Software Engineer
WSO2, Inc: http://wso2.com
http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
Mobile: +94714198770
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] I/O error: General SSLEngine problem in ESB

2015-08-18 Thread Rajjaz Mohammed
Hi Aaquibah,
i got the same error because of Security Token so can you check your
credentials once again and for the Salesforce password is a combination of
the user password plus the security token provided by Salesforce.

On Tue, Aug 18, 2015 at 3:51 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi,

 I am getting the following error when i try to run a proxy which gets data
 from salesforce. Any idea how to solve this?

 TID: [0] [ESB] [2015-08-18 06:14:17,256]  INFO
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
  'admin@carbon.super [-1234]' logged in at [2015-08-18 06:14:17,256-0400]
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil}
 TID: [0] [ESB] [2015-08-18 06:15:34,645]  INFO
 {org.apache.synapse.mediators.builtin.LogMediator} -  To:
 /services/SalesforceProxy.SalesforceProxyHttpSoap12Endpoint, WSAction:
 urn:mediate, SOAPAction: urn:mediate, MessageID:
 urn:uuid:89a301b5-e7c4-4781-91c8-e4c677e2e4db, Direction: request, STATE =
 OPP {org.apache.synapse.mediators.builtin.LogMediator}
 TID: [0] [ESB] [2015-08-18 06:15:34,657]  INFO
 {org.apache.synapse.mediators.builtin.LogMediator} -  Connection = Login to
 Salesforce . {org.apache.synapse.mediators.builtin.LogMediator}
 TID: [0] [ESB] [2015-08-18 06:15:36,639] ERROR
 {org.apache.synapse.transport.passthru.TargetHandler} -  I/O error: General
 SSLEngine problem {org.apache.synapse.transport.passthru.TargetHandler}
 javax.net.ssl.SSLHandshakeException: General SSLEngine problem
 at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1252)
 at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:514)
 at sun.security.ssl.SSLEngineImpl.writeAppRecord(SSLEngineImpl.java:1173)
 at sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:1145)
 at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:469)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doWrap(SSLIOSession.java:220)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:254)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:380)
 at
 org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:118)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:160)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:342)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
 at
 org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
 at java.lang.Thread.run(Thread.java:701)
 Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
 at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1660)
 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:289)
 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:281)
 at
 sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1255)
 at
 sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:200)
 at sun.security.ssl.Handshaker.processLoop(Handshaker.java:848)
 at sun.security.ssl.Handshaker$1.run(Handshaker.java:788)
 at sun.security.ssl.Handshaker$1.run(Handshaker.java:786)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1189)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doRunTask(SSLIOSession.java:238)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:270)
 ... 9 more
 Caused by: sun.security.validator.ValidatorException: PKIX path building
 failed: sun.security.provider.certpath.SunCertPathBuilderException: unable
 to find valid certification path to requested target
 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:386)
 at
 sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:293)
 at sun.security.validator.Validator.validate(Validator.java:260)
 at sun.security.validator.Validator.validate(Validator.java:236)
 at
 sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:147)
 at
 sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:230)
 at
 sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:270)
 at
 sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1234)
 ... 17 more
 Caused by: sun.security.provider.certpath.SunCertPathBuilderException:
 unable to find valid certification path to requested target
 at
 sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:197)
 at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:255)
 at 

Re: [Dev] [MB] How to clean up non-durable topic subscriptions if MB node killed in cluster setup

2015-08-18 Thread Pumudu Ruhunage
Adding some info to first question.
As I understood there are two types of andes subscriptions for cluster and
local. When I try to call removeLocalSubscription() inside
createDisconnectOrRemoveClusterSubscription() to remove subscriptions from
local database i'm getting following exception[1].
This prevents removing redundant subscriptions from database during startup
while initializing in cluster mode.

Why do we need two type of andes subscriptions? can't we keep same
subscription type for both cluster and local in MB?



[1] Caused by: java.lang.ClassCastException:
org.wso2.andes.subscription.BasicSubscription cannot be cast to
org.wso2.andes.kernel.LocalSubscription

at
org.wso2.andes.subscription.SubscriptionStore.removeLocalSubscription(SubscriptionStore.java:645)

at
org.wso2.andes.subscription.SubscriptionStore.createDisconnectOrRemoveClusterSubscription(SubscriptionStore.java:487)

at
org.wso2.andes.kernel.AndesSubscriptionManager.updateClusterSubscriptionMaps(AndesSubscriptionManager.java:234)

at
org.wso2.andes.server.cluster.coordination.ClusterCoordinationHandler.handleClusterSubscriptionsChanged(ClusterCoordinationHandler.java:134)

at
org.wso2.andes.kernel.AndesSubscriptionManager.notifyClusterSubscriptionHasChanged(AndesSubscriptionManager.java:298)

at
org.wso2.andes.kernel.AndesSubscriptionManager.reloadSubscriptionsFromStorage(AndesSubscriptionManager.java:275)

at
org.wso2.andes.kernel.AndesRecoveryTask.reloadSubscriptions(AndesRecoveryTask.java:188)

at
org.wso2.andes.kernel.AndesRecoveryTask.recoverExchangesQueuesBindingsSubscriptions(AndesRecoveryTask.java:94)

at
org.wso2.andes.kernel.AndesKernelBoot.syncNodeWithClusterState(AndesKernelBoot.java:443)

at
org.wso2.andes.kernel.AndesKernelBoot.bootAndesKernel(AndesKernelBoot.java:116)

at org.wso2.andes.server.Broker.startupImpl(Broker.java:290)



Thanks,
Pumudu

On Tue, Aug 18, 2015 at 4:43 PM, Pumudu Ruhunage pum...@wso2.com wrote:

 Hi All,

 I faced two issues while fixing this.

 1. There is a method for clear cluster subscriptions
 ('closeAllClusterSubscriptionsOfNode()' in 'andesSubscriptionManager')
 while initializing a cluster node. But it dosen't clean up database when
 executed. Is there a specific reason not to delete non-durable
 subscriptions from database when call this method?

 2. Currently all subscriptions(durable/non-durable) are stored in
 MB_DURABLE_SUBSCRIPTION table. Is there a reason for this? Can't we change
 this table name to something meaningful if we continue to keep all
 subscriptions in same table?

 WDYT?

 Thanks,
 Pumudu

 On Thu, Aug 13, 2015 at 2:41 PM, Pumudu Ruhunage pum...@wso2.com wrote:

 Hi All,

 Thanks for the inputs. +1 for implementing both cases.
 will do both implementations.

 Regards,
 Pumudu

 On Thu, Aug 13, 2015 at 11:40 AM, Hemika Kodikara hem...@wso2.com
 wrote:

 Hi All,

 We have already done a similar implementation for durable topics on
 member removed.

 +1 for Asanka's suggestion to remove non-topic subscriptions on both
 occasions.

 Regards,
 Hemika

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

 Mobile : +9477762

 On Thu, Aug 13, 2015 at 11:09 AM, Asitha Nanayakkara asi...@wso2.com
 wrote:


 On Thu, Aug 13, 2015 at 3:17 PM, Asanka Abeyweera asank...@wso2.com
 wrote:

 Hi Asitha,

 I don't think we can achieve this by only doing the cleanup at the
 coordinator selection point. We have to clean the topic subscriptions for 
 a
 non-coordinator node when it leaves (In this case a new coordinator will
 not be elected).

 Oh! yes agreed!


 On Thu, Aug 13, 2015 at 5:04 AM, Asitha Nanayakkara asi...@wso2.com
 wrote:



 On Wed, Aug 12, 2015 at 10:53 PM, Asanka Abeyweera asank...@wso2.com
  wrote:

 Hi Pumudu,

 I think we have to do the clean up in both places. Case 1 is
 required when the only node in the cluster leaves and come back. Case 2 
 is
 required when a single node leaves in a multi node cluster.

 On Wed, Aug 12, 2015 at 5:38 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Hi,

 Currently if MB node got killed unexpectedly non-durable topic
 subscriptions bind to that node will remain in cluster. This can cause
 unexpected behaviors in cluster since that node has already removed.

 IMO these topic subscriptions can clean up in two methods.

 1. During each MB node start up, remove all non-durable topic
 subscriptions for it's local node id. (This will ensure newly started 
 node
 won't receive any non-durable topic messages related to previously 
 killed
 MB node with same node id)


 I think  we can do this in org.wso2.andes.kernel.AndesKernelBoot or
 in a similar class. May be we can do this similar to the way we do the 
 slot
 recovery task.



 2. Cluster coordinator should remove all non-durable topic
 subscriptions when a member left from cluster. (This can be a problem 
 if
 coordinator node killed. If there's a method to get previous 
 coordinator
 node id by newly elected coordinator this method can 

Re: [Dev] [ESB] 101500 ERROR_MESSAGE : Error in Sender

2015-08-18 Thread Aaquibah Nashry
Hi Malaka,

I did import the .crt file from salesforce.com into the esb
home/repository/resources/security folder. Is this the one you are
referring to?
If so, it didnt work.

Regards,

M.R.Aaquibah Nashry
*Intern, Engineering**| **WSO2, Inc.*
Mobile : +94 773946123
Tel  : +94 112662541
Email : nas...@wso2.com nas...@wso2.com

On Tue, Aug 18, 2015 at 6:33 PM, Malaka Silva mal...@wso2.com wrote:

 Maybe the issue is related to [1].

 Can you try importing the certificate to truststore pls?

 @Kesavan - Did you experience this behavior intermittently?

 [1] https://wso2.org/jira/browse/ESBCONNECT-60



 On Tue, Aug 18, 2015 at 5:33 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi,

 the sequence previously worked with the getUserInfo.

 i added an onError=fault, the logs are as follows:

 [2015-08-18 17:22:45,644]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, STATE =
 Before sf_auth sequence
 [2015-08-18 17:22:45,644]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, text =
 An unexpected error occured, message = null, Envelope: ?xml version=1.0
 encoding=utf-8?soapenv:Envelope xmlns:soapenv=
 http://www.w3.org/2003/05/soap-envelope;soapenv:BodyyAM data
 written successfully into pipeline
 table/y/soapenv:Body/soapenv:Envelope
 [2015-08-18 17:22:45,648]  INFO {SERVICE_LOGGER} -  Connection = Login to
 Salesforce .
 [2015-08-18 17:22:46,928]  WARN {SERVICE_LOGGER} -  ERROR_CODE : 101500
 ERROR_MESSAGE : Error in Sender


 I have attached the logs after enabling wire logs.

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 2:54 PM, Malaka Silva mal...@wso2.com wrote:

 Why are you adding getUserInfo, since you are not using the response
 from it?

 Also try adding onError attribute to your sequence and check. eg:
 onError=fault

 More on wire logs with [1]

 [1]
 http://mytecheye.blogspot.com/2013/09/wso2-esb-all-about-wire-logs.html

 On Tue, Aug 18, 2015 at 2:46 PM, Aaquibah Nashry nas...@wso2.com
 wrote:

 Hi,

 1) I couldn't find the line to enable wire logs in my log4j file. Is it
 okay if i add the line to it?
 (log4j.logger.org.apache.synapse.transport.http.wire=DEBUG)

 2) My init config is in the sequence *sf_auth* as below:

 salesforce.init xmlns=http://ws.apache.org/ns/synapse;
   usernamesesh...@wso2.com/username
   passwordp1ne@pplelrY5ZpMQVqPyPramkfIdKDYE6/password
   loginUrlhttps://login.salesforce.com/services/Soap/u/27.0
 /loginUrl
/salesforce.init

 3) When i added the logs, i find that error occurs at
  salesforce.getUserInfo configKey=*sf_auth*
 /salesforce.getUserInfo

 The error logs are as follows:

 [2015-08-18 14:42:22,950]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:4ca4be55-4b42-4b9f-89c3-3fc4b534a1a2, Direction: request, STATE =
 Before sf_auth sequence
 [2015-08-18 14:42:22,958]  INFO {SERVICE_LOGGER} -  Connection = Login
 to Salesforce .
 [2015-08-18 14:42:26,100]  WARN {SERVICE_LOGGER} -  ERROR_CODE : 101500
 ERROR_MESSAGE : Error in Sender


 I have attached the sequence.

 Thanks

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 2:30 PM, Malaka Silva mal...@wso2.com wrote:

 Seems like an error when sending the message out.

 Can you put some logs in your mediation flow and identify with point
 it's failing?

 Also enabling wire logs will also help to find the failing point. Also
 share the salesfore.init config.



 On Tue, Aug 18, 2015 at 2:19 PM, Aaquibah Nashry nas...@wso2.com
 wrote:

 Hi,

 I am trying to get data from salesforce using salesforce connector by
 writing a proxy. I get the following error when i run the sequence/proxy:

 [2015-08-18 14:06:31,815]  INFO {SERVICE_LOGGER} -  Connection =
 Login to Salesforce .
 [2015-08-18 14:06:38,933]  WARN {SERVICE_LOGGER} -  ERROR_CODE :
 101500 ERROR_MESSAGE : Error in Sender

 I have attached a sequence i have written for the above task.

 What could be the reason for this? Please help.

 Thanks in advance.
 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

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




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 

Re: [Dev] Use case of Topics menu item in Application Server

2015-08-18 Thread Supun Malinga
Hi,

I'm looking into the PR https://github.com/wso2/product-as/pull/204.
Do we want to keep org.wso2.carbon.event.server.feature ?

thanks,

On Tue, Aug 18, 2015 at 12:07 PM, KasunG Gajasinghe kas...@wso2.com wrote:

 Hi,

 It looks like there is no direct relation for this in AS. Hence, we do not
 need to ship this by default. If a user needs it in AS, they can use the
 p2-repo to get it back.

 @Manuri, please note.

 Thanks.

 On Thu, Jul 30, 2015 at 3:00 PM, Shabir Mohamed sha...@wso2.com wrote:

 Hi,

 Isn't it the same feature as in MB[1] to allow AS to work as a Pub/Sub
 Queue. I beleive this tab lists the topics created for subscription.

 [1]
 https://docs.wso2.com/display/MB220/Creating+a+Durable+Topic+Subscription

 -
 *Shabir Mohamed*
 *Software Engineer*
 WSO2 Inc.; http://wso2.com
 Email: sha...@wso2.com ayy...@wso2.com
 Mobile: +94 77 3516019 | +94 71 6583393

 On Wed, Jul 29, 2015 at 10:29 PM, Niranjan Karunanandham 
 niran...@wso2.com wrote:

 [adding Kasun]

 On Wed, Jul 29, 2015 at 10:16 PM, Niranjan Karunanandham 
 niran...@wso2.com wrote:

 Hi all,

 What is the use case of the Topics menu item (Manager  Topics) in the
 side bar of the Admin Console in Application Server?

 Regards,
 Nira

 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: http://www.wso2.com




 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: 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




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org



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




-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com sup...@wso2.com
mobile: +94 (0)71 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] I/O error: General SSLEngine problem in ESB

2015-08-18 Thread Aaquibah Nashry
Hi Rajjaz,

I got new security token and tried. still same error. And yes i have put
the password and the token together. the thing is, this used to work fine
just a few days back. I think this error occurs due to some expired
certificate or something. But cant figure out where exactly.

Thanks

Regards,

M.R.Aaquibah Nashry
*Intern, Engineering**| **WSO2, Inc.*
Mobile : +94 773946123
Tel  : +94 112662541
Email : nas...@wso2.com nas...@wso2.com

On Tue, Aug 18, 2015 at 5:59 PM, Rajjaz Mohammed raj...@wso2.com wrote:

 Hi Aaquibah,
 i got the same error because of Security Token so can you check your
 credentials once again and for the Salesforce password is a combination of
 the user password plus the security token provided by Salesforce.

 On Tue, Aug 18, 2015 at 3:51 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi,

 I am getting the following error when i try to run a proxy which gets
 data from salesforce. Any idea how to solve this?

 TID: [0] [ESB] [2015-08-18 06:14:17,256]  INFO
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
  'admin@carbon.super [-1234]' logged in at [2015-08-18
 06:14:17,256-0400]
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil}
 TID: [0] [ESB] [2015-08-18 06:15:34,645]  INFO
 {org.apache.synapse.mediators.builtin.LogMediator} -  To:
 /services/SalesforceProxy.SalesforceProxyHttpSoap12Endpoint, WSAction:
 urn:mediate, SOAPAction: urn:mediate, MessageID:
 urn:uuid:89a301b5-e7c4-4781-91c8-e4c677e2e4db, Direction: request, STATE =
 OPP {org.apache.synapse.mediators.builtin.LogMediator}
 TID: [0] [ESB] [2015-08-18 06:15:34,657]  INFO
 {org.apache.synapse.mediators.builtin.LogMediator} -  Connection = Login to
 Salesforce . {org.apache.synapse.mediators.builtin.LogMediator}
 TID: [0] [ESB] [2015-08-18 06:15:36,639] ERROR
 {org.apache.synapse.transport.passthru.TargetHandler} -  I/O error: General
 SSLEngine problem {org.apache.synapse.transport.passthru.TargetHandler}
 javax.net.ssl.SSLHandshakeException: General SSLEngine problem
 at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1252)
 at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:514)
 at sun.security.ssl.SSLEngineImpl.writeAppRecord(SSLEngineImpl.java:1173)
 at sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:1145)
 at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:469)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doWrap(SSLIOSession.java:220)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:254)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:380)
 at
 org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:118)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:160)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:342)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
 at
 org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
 at java.lang.Thread.run(Thread.java:701)
 Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
 at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1660)
 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:289)
 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:281)
 at
 sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1255)
 at
 sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:200)
 at sun.security.ssl.Handshaker.processLoop(Handshaker.java:848)
 at sun.security.ssl.Handshaker$1.run(Handshaker.java:788)
 at sun.security.ssl.Handshaker$1.run(Handshaker.java:786)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1189)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doRunTask(SSLIOSession.java:238)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:270)
 ... 9 more
 Caused by: sun.security.validator.ValidatorException: PKIX path building
 failed: sun.security.provider.certpath.SunCertPathBuilderException: unable
 to find valid certification path to requested target
 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:386)
 at
 sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:293)
 at sun.security.validator.Validator.validate(Validator.java:260)
 at sun.security.validator.Validator.validate(Validator.java:236)
 at
 sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:147)
 at
 sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:230)
 at
 

Re: [Dev] Use case of Topics menu item in Application Server

2015-08-18 Thread KasunG Gajasinghe
Hi Supun,

That is required depsync.

On Tue, Aug 18, 2015 at 4:38 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 I'm looking into the PR https://github.com/wso2/product-as/pull/204.
 Do we want to keep org.wso2.carbon.event.server.feature ?

 thanks,

 On Tue, Aug 18, 2015 at 12:07 PM, KasunG Gajasinghe kas...@wso2.com
 wrote:

 Hi,

 It looks like there is no direct relation for this in AS. Hence, we do
 not need to ship this by default. If a user needs it in AS, they can use
 the p2-repo to get it back.

 @Manuri, please note.

 Thanks.

 On Thu, Jul 30, 2015 at 3:00 PM, Shabir Mohamed sha...@wso2.com wrote:

 Hi,

 Isn't it the same feature as in MB[1] to allow AS to work as a Pub/Sub
 Queue. I beleive this tab lists the topics created for subscription.

 [1]
 https://docs.wso2.com/display/MB220/Creating+a+Durable+Topic+Subscription

 -
 *Shabir Mohamed*
 *Software Engineer*
 WSO2 Inc.; http://wso2.com
 Email: sha...@wso2.com ayy...@wso2.com
 Mobile: +94 77 3516019 | +94 71 6583393

 On Wed, Jul 29, 2015 at 10:29 PM, Niranjan Karunanandham 
 niran...@wso2.com wrote:

 [adding Kasun]

 On Wed, Jul 29, 2015 at 10:16 PM, Niranjan Karunanandham 
 niran...@wso2.com wrote:

 Hi all,

 What is the use case of the Topics menu item (Manager  Topics) in the
 side bar of the Admin Console in Application Server?

 Regards,
 Nira

 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: http://www.wso2.com




 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: 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




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org



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




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] Installing features in a Cluster setup

2015-08-18 Thread Prabath Abeysekera
Do we consider this to be a valid production scenario? Or something that
one would quite often do?

If for whatever reason there's a requirement to install a new feature, I
would imagine, one would pre-install this new feature into the distribution
of a target product and roll that out into a clustered set-up (maybe or
maybe not with existing configurations) via a tool like puppet or some
other means. Do we think there are other options around than what's
mentioned above?

Cheers,
Prabath

On Tue, Aug 18, 2015 at 12:02 PM, Niranjan Karunanandham niran...@wso2.com
wrote:

 Hi Yasassri,

 AFAIK features which are installed via the Feature Manager UI will be
 installed only to that particular node and to the default profile. As Aruna
 has suggested it is recommended to install profile using pom [1] where you
 can also suggest which profile you want to install the feature to.

 [1] -
 https://docs.wso2.com/display/Carbon440/Installing+Features+using+pom+Files

 Regards,
 Nira

 On Tue, Aug 18, 2015 at 11:56 AM, Aruna Karunarathna ar...@wso2.com
 wrote:

 Have you tried [1]?

 [1].
 https://docs.wso2.com/display/Carbon420/Installing+Features+using+pom+Files

 On Tue, Aug 18, 2015 at 11:55 AM, Yasassri Ratnayake yasas...@wso2.com
 wrote:

 Hi All,

 In a clustered setup (E.g. ESB cluster with 1 Manager and 2 workers) how
 can I Install features in the  cluster? Since it is done trough the
 management console how to install the feature in the worker nodes? Is there
 an easy and recommended way to do this?

 With Regards,
 --
 Yasassri Ratnayake
 Software Engineer - QA
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware
 *Mobile : +94715933168 %2B94715933168*
 *Blogs : http://yasassriratnayake.blogspot.com
 http://yasassriratnayake.blogspot.com/*
 *http://wso2logs.blogspot.com http://wso2logs.blogspot.com*




 --

 *Aruna Sujith Karunarathna *| Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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




 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: http://www.wso2.com

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




-- 
Prabath Abeysekara
Technical Lead
WSO2 Inc.
Email: praba...@wso2.com
Mobile: +94774171471
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Use case of Topics menu item in Application Server

2015-08-18 Thread Niranjan Karunanandham
[Adding Manuri to thread]

On Tue, Aug 18, 2015 at 4:55 PM, KasunG Gajasinghe kas...@wso2.com wrote:

 Hi Supun,

 That is required depsync.

 On Tue, Aug 18, 2015 at 4:38 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 I'm looking into the PR https://github.com/wso2/product-as/pull/204.
 Do we want to keep org.wso2.carbon.event.server.feature ?

 thanks,

 On Tue, Aug 18, 2015 at 12:07 PM, KasunG Gajasinghe kas...@wso2.com
 wrote:

 Hi,

 It looks like there is no direct relation for this in AS. Hence, we do
 not need to ship this by default. If a user needs it in AS, they can use
 the p2-repo to get it back.

 @Manuri, please note.

 Thanks.

 On Thu, Jul 30, 2015 at 3:00 PM, Shabir Mohamed sha...@wso2.com wrote:

 Hi,

 Isn't it the same feature as in MB[1] to allow AS to work as a Pub/Sub
 Queue. I beleive this tab lists the topics created for subscription.

 [1]
 https://docs.wso2.com/display/MB220/Creating+a+Durable+Topic+Subscription

 -
 *Shabir Mohamed*
 *Software Engineer*
 WSO2 Inc.; http://wso2.com
 Email: sha...@wso2.com ayy...@wso2.com
 Mobile: +94 77 3516019 | +94 71 6583393

 On Wed, Jul 29, 2015 at 10:29 PM, Niranjan Karunanandham 
 niran...@wso2.com wrote:

 [adding Kasun]

 On Wed, Jul 29, 2015 at 10:16 PM, Niranjan Karunanandham 
 niran...@wso2.com wrote:

 Hi all,

 What is the use case of the Topics menu item (Manager  Topics) in
 the side bar of the Admin Console in Application Server?

 Regards,
 Nira

 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: http://www.wso2.com




 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: 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




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org



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




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org



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




-- 

*Niranjan Karunanandham*
Senior Software Engineer - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] 101500 ERROR_MESSAGE : Error in Sender

2015-08-18 Thread Aaquibah Nashry
Hi,

the sequence previously worked with the getUserInfo.

i added an onError=fault, the logs are as follows:

[2015-08-18 17:22:45,644]  INFO {SERVICE_LOGGER} -  To: , MessageID:
urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, STATE =
Before sf_auth sequence
[2015-08-18 17:22:45,644]  INFO {SERVICE_LOGGER} -  To: , MessageID:
urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, text =
An unexpected error occured, message = null, Envelope: ?xml version=1.0
encoding=utf-8?soapenv:Envelope xmlns:soapenv=
http://www.w3.org/2003/05/soap-envelope;soapenv:BodyyAM data written
successfully into pipeline table/y/soapenv:Body/soapenv:Envelope
[2015-08-18 17:22:45,648]  INFO {SERVICE_LOGGER} -  Connection = Login to
Salesforce .
[2015-08-18 17:22:46,928]  WARN {SERVICE_LOGGER} -  ERROR_CODE : 101500
ERROR_MESSAGE : Error in Sender


I have attached the logs after enabling wire logs.

Regards,

M.R.Aaquibah Nashry
*Intern, Engineering**| **WSO2, Inc.*
Mobile : +94 773946123
Tel  : +94 112662541
Email : nas...@wso2.com nas...@wso2.com

On Tue, Aug 18, 2015 at 2:54 PM, Malaka Silva mal...@wso2.com wrote:

 Why are you adding getUserInfo, since you are not using the response from
 it?

 Also try adding onError attribute to your sequence and check. eg:
 onError=fault

 More on wire logs with [1]

 [1]
 http://mytecheye.blogspot.com/2013/09/wso2-esb-all-about-wire-logs.html

 On Tue, Aug 18, 2015 at 2:46 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi,

 1) I couldn't find the line to enable wire logs in my log4j file. Is it
 okay if i add the line to it?
 (log4j.logger.org.apache.synapse.transport.http.wire=DEBUG)

 2) My init config is in the sequence *sf_auth* as below:

 salesforce.init xmlns=http://ws.apache.org/ns/synapse;
   usernamesesh...@wso2.com/username
   passwordp1ne@pplelrY5ZpMQVqPyPramkfIdKDYE6/password
   loginUrlhttps://login.salesforce.com/services/Soap/u/27.0
 /loginUrl
/salesforce.init

 3) When i added the logs, i find that error occurs at
  salesforce.getUserInfo configKey=*sf_auth*/salesforce.getUserInfo

 The error logs are as follows:

 [2015-08-18 14:42:22,950]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:4ca4be55-4b42-4b9f-89c3-3fc4b534a1a2, Direction: request, STATE =
 Before sf_auth sequence
 [2015-08-18 14:42:22,958]  INFO {SERVICE_LOGGER} -  Connection = Login to
 Salesforce .
 [2015-08-18 14:42:26,100]  WARN {SERVICE_LOGGER} -  ERROR_CODE : 101500
 ERROR_MESSAGE : Error in Sender


 I have attached the sequence.

 Thanks

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 2:30 PM, Malaka Silva mal...@wso2.com wrote:

 Seems like an error when sending the message out.

 Can you put some logs in your mediation flow and identify with point
 it's failing?

 Also enabling wire logs will also help to find the failing point. Also
 share the salesfore.init config.



 On Tue, Aug 18, 2015 at 2:19 PM, Aaquibah Nashry nas...@wso2.com
 wrote:

 Hi,

 I am trying to get data from salesforce using salesforce connector by
 writing a proxy. I get the following error when i run the sequence/proxy:

 [2015-08-18 14:06:31,815]  INFO {SERVICE_LOGGER} -  Connection = Login
 to Salesforce .
 [2015-08-18 14:06:38,933]  WARN {SERVICE_LOGGER} -  ERROR_CODE : 101500
 ERROR_MESSAGE : Error in Sender

 I have attached a sequence i have written for the above task.

 What could be the reason for this? Please help.

 Thanks in advance.
 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

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




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print
 this email only if it is absolutely necessary.





 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.



wirelogs
Description: Binary data

Re: [Dev] [ESB] 101500 ERROR_MESSAGE : Error in Sender

2015-08-18 Thread Malaka Silva
Maybe the issue is related to [1].

Can you try importing the certificate to truststore pls?

@Kesavan - Did you experience this behavior intermittently?

[1] https://wso2.org/jira/browse/ESBCONNECT-60



On Tue, Aug 18, 2015 at 5:33 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi,

 the sequence previously worked with the getUserInfo.

 i added an onError=fault, the logs are as follows:

 [2015-08-18 17:22:45,644]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, STATE =
 Before sf_auth sequence
 [2015-08-18 17:22:45,644]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, text =
 An unexpected error occured, message = null, Envelope: ?xml version=1.0
 encoding=utf-8?soapenv:Envelope xmlns:soapenv=
 http://www.w3.org/2003/05/soap-envelope;soapenv:BodyyAM data written
 successfully into pipeline table/y/soapenv:Body/soapenv:Envelope
 [2015-08-18 17:22:45,648]  INFO {SERVICE_LOGGER} -  Connection = Login to
 Salesforce .
 [2015-08-18 17:22:46,928]  WARN {SERVICE_LOGGER} -  ERROR_CODE : 101500
 ERROR_MESSAGE : Error in Sender


 I have attached the logs after enabling wire logs.

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 2:54 PM, Malaka Silva mal...@wso2.com wrote:

 Why are you adding getUserInfo, since you are not using the response from
 it?

 Also try adding onError attribute to your sequence and check. eg:
 onError=fault

 More on wire logs with [1]

 [1]
 http://mytecheye.blogspot.com/2013/09/wso2-esb-all-about-wire-logs.html

 On Tue, Aug 18, 2015 at 2:46 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi,

 1) I couldn't find the line to enable wire logs in my log4j file. Is it
 okay if i add the line to it?
 (log4j.logger.org.apache.synapse.transport.http.wire=DEBUG)

 2) My init config is in the sequence *sf_auth* as below:

 salesforce.init xmlns=http://ws.apache.org/ns/synapse;
   usernamesesh...@wso2.com/username
   passwordp1ne@pplelrY5ZpMQVqPyPramkfIdKDYE6/password
   loginUrlhttps://login.salesforce.com/services/Soap/u/27.0
 /loginUrl
/salesforce.init

 3) When i added the logs, i find that error occurs at
  salesforce.getUserInfo configKey=*sf_auth*/salesforce.getUserInfo

 The error logs are as follows:

 [2015-08-18 14:42:22,950]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:4ca4be55-4b42-4b9f-89c3-3fc4b534a1a2, Direction: request, STATE =
 Before sf_auth sequence
 [2015-08-18 14:42:22,958]  INFO {SERVICE_LOGGER} -  Connection = Login
 to Salesforce .
 [2015-08-18 14:42:26,100]  WARN {SERVICE_LOGGER} -  ERROR_CODE : 101500
 ERROR_MESSAGE : Error in Sender


 I have attached the sequence.

 Thanks

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 2:30 PM, Malaka Silva mal...@wso2.com wrote:

 Seems like an error when sending the message out.

 Can you put some logs in your mediation flow and identify with point
 it's failing?

 Also enabling wire logs will also help to find the failing point. Also
 share the salesfore.init config.



 On Tue, Aug 18, 2015 at 2:19 PM, Aaquibah Nashry nas...@wso2.com
 wrote:

 Hi,

 I am trying to get data from salesforce using salesforce connector by
 writing a proxy. I get the following error when i run the sequence/proxy:

 [2015-08-18 14:06:31,815]  INFO {SERVICE_LOGGER} -  Connection = Login
 to Salesforce .
 [2015-08-18 14:06:38,933]  WARN {SERVICE_LOGGER} -  ERROR_CODE :
 101500 ERROR_MESSAGE : Error in Sender

 I have attached a sequence i have written for the above task.

 What could be the reason for this? Please help.

 Thanks in advance.
 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

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




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print
 this email only if it is absolutely necessary.





 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise 

[Dev] Secure javax.xml.transform.TransformerFactory against XML external attacks

2015-08-18 Thread Rajith Vitharana
Hi,

How can we achieve the $subject? I have tried below code

String fileData = ?xml version=\1.0\ encoding=\UTF-8\
standalone=\yes\?!DOCTYPE sampleVal [  !ENTITY sampleVal SYSTEM
\file:///media/sample\]configurationdriverClassNamecom.mysql.jdbc.Driver/driverClassNameurljdbc:mysql://localhost:3306/test/urlusernamesampleVal;/usernamepassword
encrypted=\true\test/password/configuration;
TransformerFactory transformerFactory = TransformerFactory.newInstance();
transformerFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
Transformer transformer = transformerFactory.newTransformer();
StringWriter buff = new StringWriter();
transformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, yes);
transformer.transform(new StreamSource(new
StringReader(fileData)), new StreamResult(buff));
System.out.println(buff.toString());


but it still expands the DTD and replace the value in xml. result is as below

!DOCTYPE acunetix [

!ENTITY acunetixent SYSTEM
file:///media/rajith/Office/Wso2/support/DHSDEV-1/sample 
]
configurationdriverClassNamecom.mysql.jdbc.Driver/driverClassNameurljdbc:mysql://localhost:3306/test/urlusernametest
/usernamepassword encrypted=truetest123/password/configuration


which contains the expanded dtd value. Appreciate any pointers regarding this.

Note that underlying we are using
org.apache.xalan.processor.TransformerFactoryImpl and it doesn't
support the XMLConstants.ACCESS_EXTERNAL_DTD feature as well.

Thanks,

-- 
Rajith Vitharana

Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] 101500 ERROR_MESSAGE : Error in Sender

2015-08-18 Thread Malaka Silva
I have reopened the jira. We need to add this to docs.

Guess this is the issue Dushan has reported as well.

On Wed, Aug 19, 2015 at 9:53 AM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi,

 @Malaka: Yes, i have imported it to the client-truststore.jks.
 @Bhathiya: This was the same issue.

 I had imported the cert from the login page with cn  login.salesforce.com.
 Once i got a cn of  *.salesforce.com it works.

 Thank you all

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 7:32 PM, Bhathiya Jayasekara bhath...@wso2.com
 wrote:

 When was using Salesforce connector once, I faced a certificate issue.
 Mentioning about this in case it helps you.

 I initially imported the cert of login.salesforce.com, it worked fine
 for login. But its CN was login.salesforce.com. So every request which
 were sent to ap1.salesforce.com, after login, failed because of the
 mismatched CN. So I also had to import cert of ap1.salesforce.com, of
 which CN was *.salesforce.com, to make other requests successful.

 Thanks,
 Bhathiya

 On Tue, Aug 18, 2015 at 9:19 AM, Malaka Silva mal...@wso2.com wrote:

 Have you imported it to client-truststore.jks?


 https://docs.wso2.com/display/ESB481/Setting+Up+Keystores+for+a+Client+and+a+Service

 On Tue, Aug 18, 2015 at 6:39 PM, Aaquibah Nashry nas...@wso2.com
 wrote:

 Hi Malaka,

 I did import the .crt file from salesforce.com into the esb
 home/repository/resources/security folder. Is this the one you are
 referring to?
 If so, it didnt work.

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 6:33 PM, Malaka Silva mal...@wso2.com wrote:

 Maybe the issue is related to [1].

 Can you try importing the certificate to truststore pls?

 @Kesavan - Did you experience this behavior intermittently?

 [1] https://wso2.org/jira/browse/ESBCONNECT-60



 On Tue, Aug 18, 2015 at 5:33 PM, Aaquibah Nashry nas...@wso2.com
 wrote:

 Hi,

 the sequence previously worked with the getUserInfo.

 i added an onError=fault, the logs are as follows:

 [2015-08-18 17:22:45,644]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, STATE 
 =
 Before sf_auth sequence
 [2015-08-18 17:22:45,644]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, text =
 An unexpected error occured, message = null, Envelope: ?xml 
 version=1.0
 encoding=utf-8?soapenv:Envelope xmlns:soapenv=
 http://www.w3.org/2003/05/soap-envelope;soapenv:BodyyAM data
 written successfully into pipeline
 table/y/soapenv:Body/soapenv:Envelope
 [2015-08-18 17:22:45,648]  INFO {SERVICE_LOGGER} -  Connection =
 Login to Salesforce .
 [2015-08-18 17:22:46,928]  WARN {SERVICE_LOGGER} -  ERROR_CODE :
 101500 ERROR_MESSAGE : Error in Sender


 I have attached the logs after enabling wire logs.

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 2:54 PM, Malaka Silva mal...@wso2.com
 wrote:

 Why are you adding getUserInfo, since you are not using the response
 from it?

 Also try adding onError attribute to your sequence and check. eg:
 onError=fault

 More on wire logs with [1]

 [1]
 http://mytecheye.blogspot.com/2013/09/wso2-esb-all-about-wire-logs.html

 On Tue, Aug 18, 2015 at 2:46 PM, Aaquibah Nashry nas...@wso2.com
 wrote:

 Hi,

 1) I couldn't find the line to enable wire logs in my log4j file.
 Is it okay if i add the line to it?
 (log4j.logger.org.apache.synapse.transport.http.wire=DEBUG)

 2) My init config is in the sequence *sf_auth* as below:

 salesforce.init xmlns=http://ws.apache.org/ns/synapse;
   usernamesesh...@wso2.com/username
   passwordp1ne@pplelrY5ZpMQVqPyPramkfIdKDYE6/password
   loginUrlhttps://login.salesforce.com/services/Soap/u/27.0
 /loginUrl
/salesforce.init

 3) When i added the logs, i find that error occurs at
  salesforce.getUserInfo configKey=*sf_auth*
 /salesforce.getUserInfo

 The error logs are as follows:

 [2015-08-18 14:42:22,950]  INFO {SERVICE_LOGGER} -  To: ,
 MessageID: urn:uuid:4ca4be55-4b42-4b9f-89c3-3fc4b534a1a2, Direction:
 request, STATE = Before sf_auth sequence
 [2015-08-18 14:42:22,958]  INFO {SERVICE_LOGGER} -  Connection =
 Login to Salesforce .
 [2015-08-18 14:42:26,100]  WARN {SERVICE_LOGGER} -  ERROR_CODE :
 101500 ERROR_MESSAGE : Error in Sender


 I have attached the sequence.

 Thanks

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 2:30 PM, Malaka Silva mal...@wso2.com
 wrote:

 Seems like an error when 

Re: [Dev] [Orbit] Upgrading Jackson libraries 2.6.1

2015-08-18 Thread Madhawa Gunasekara
kind reminder on this.

On Fri, Aug 14, 2015 at 8:12 AM, Madhawa Gunasekara madha...@wso2.com
wrote:

 Hi Carbon team,

 Can you please review and merge this pull request [1] for upgrade
 jackson-annotations, jackson-core , jackson-databind libraries. previously
 these libraries bundled as one bundle [2]. These libraries are needed for
 mongodb-java-driver upgrade.

 [1] https://github.com/wso2/orbit/pull/118
 [2]
 http://maven.wso2.org/nexus/content/repositories/wso2maven2/com/fasterxml/jackson/wso2/jackson-core/2.3.2.wso2v1/jackson-core-2.3.2.wso2v1.pom

 Thanks,
 Madhawa
 --
 *Madhawa Gunasekara*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 719411002 +94+719411002
 blog: *http://madhawa-gunasekara.blogspot.com
 http://madhawa-gunasekara.blogspot.com*
 linkedin: *http://lk.linkedin.com/in/mgunasekara
 http://lk.linkedin.com/in/mgunasekara*




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

mobile: +94 719411002 +94+719411002
blog: *http://madhawa-gunasekara.blogspot.com
http://madhawa-gunasekara.blogspot.com*
linkedin: *http://lk.linkedin.com/in/mgunasekara
http://lk.linkedin.com/in/mgunasekara*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] 101500 ERROR_MESSAGE : Error in Sender

2015-08-18 Thread Aaquibah Nashry
Hi,

@Malaka: Yes, i have imported it to the client-truststore.jks.
@Bhathiya: This was the same issue.

I had imported the cert from the login page with cn  login.salesforce.com.
Once i got a cn of  *.salesforce.com it works.

Thank you all

Regards,

M.R.Aaquibah Nashry
*Intern, Engineering**| **WSO2, Inc.*
Mobile : +94 773946123
Tel  : +94 112662541
Email : nas...@wso2.com nas...@wso2.com

On Tue, Aug 18, 2015 at 7:32 PM, Bhathiya Jayasekara bhath...@wso2.com
wrote:

 When was using Salesforce connector once, I faced a certificate issue.
 Mentioning about this in case it helps you.

 I initially imported the cert of login.salesforce.com, it worked fine for
 login. But its CN was login.salesforce.com. So every request which were
 sent to ap1.salesforce.com, after login, failed because of the mismatched
 CN. So I also had to import cert of ap1.salesforce.com, of which CN was *.
 salesforce.com, to make other requests successful.

 Thanks,
 Bhathiya

 On Tue, Aug 18, 2015 at 9:19 AM, Malaka Silva mal...@wso2.com wrote:

 Have you imported it to client-truststore.jks?


 https://docs.wso2.com/display/ESB481/Setting+Up+Keystores+for+a+Client+and+a+Service

 On Tue, Aug 18, 2015 at 6:39 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi Malaka,

 I did import the .crt file from salesforce.com into the esb
 home/repository/resources/security folder. Is this the one you are
 referring to?
 If so, it didnt work.

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 6:33 PM, Malaka Silva mal...@wso2.com wrote:

 Maybe the issue is related to [1].

 Can you try importing the certificate to truststore pls?

 @Kesavan - Did you experience this behavior intermittently?

 [1] https://wso2.org/jira/browse/ESBCONNECT-60



 On Tue, Aug 18, 2015 at 5:33 PM, Aaquibah Nashry nas...@wso2.com
 wrote:

 Hi,

 the sequence previously worked with the getUserInfo.

 i added an onError=fault, the logs are as follows:

 [2015-08-18 17:22:45,644]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, STATE =
 Before sf_auth sequence
 [2015-08-18 17:22:45,644]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, text =
 An unexpected error occured, message = null, Envelope: ?xml version=1.0
 encoding=utf-8?soapenv:Envelope xmlns:soapenv=
 http://www.w3.org/2003/05/soap-envelope;soapenv:BodyyAM data
 written successfully into pipeline
 table/y/soapenv:Body/soapenv:Envelope
 [2015-08-18 17:22:45,648]  INFO {SERVICE_LOGGER} -  Connection = Login
 to Salesforce .
 [2015-08-18 17:22:46,928]  WARN {SERVICE_LOGGER} -  ERROR_CODE :
 101500 ERROR_MESSAGE : Error in Sender


 I have attached the logs after enabling wire logs.

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 2:54 PM, Malaka Silva mal...@wso2.com wrote:

 Why are you adding getUserInfo, since you are not using the response
 from it?

 Also try adding onError attribute to your sequence and check. eg:
 onError=fault

 More on wire logs with [1]

 [1]
 http://mytecheye.blogspot.com/2013/09/wso2-esb-all-about-wire-logs.html

 On Tue, Aug 18, 2015 at 2:46 PM, Aaquibah Nashry nas...@wso2.com
 wrote:

 Hi,

 1) I couldn't find the line to enable wire logs in my log4j file. Is
 it okay if i add the line to it?
 (log4j.logger.org.apache.synapse.transport.http.wire=DEBUG)

 2) My init config is in the sequence *sf_auth* as below:

 salesforce.init xmlns=http://ws.apache.org/ns/synapse;
   usernamesesh...@wso2.com/username
   passwordp1ne@pplelrY5ZpMQVqPyPramkfIdKDYE6/password
   loginUrlhttps://login.salesforce.com/services/Soap/u/27.0
 /loginUrl
/salesforce.init

 3) When i added the logs, i find that error occurs at
  salesforce.getUserInfo configKey=*sf_auth*
 /salesforce.getUserInfo

 The error logs are as follows:

 [2015-08-18 14:42:22,950]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:4ca4be55-4b42-4b9f-89c3-3fc4b534a1a2, Direction: request, 
 STATE =
 Before sf_auth sequence
 [2015-08-18 14:42:22,958]  INFO {SERVICE_LOGGER} -  Connection =
 Login to Salesforce .
 [2015-08-18 14:42:26,100]  WARN {SERVICE_LOGGER} -  ERROR_CODE :
 101500 ERROR_MESSAGE : Error in Sender


 I have attached the sequence.

 Thanks

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 2:30 PM, Malaka Silva mal...@wso2.com
 wrote:

 Seems like an error when sending the message out.

 Can you put some logs in your mediation flow and identify with
 point it's failing?

 Also enabling wire logs will also help to find the failing point.
 Also share the 

Re: [Dev] [Orbit] Upgrading Jongo library 1.2

2015-08-18 Thread Madhawa Gunasekara
kind reminder on this.

On Fri, Aug 14, 2015 at 8:20 AM, Madhawa Gunasekara madha...@wso2.com
wrote:

 Hi Carbon team,

 Can you please review and merge this pull request [1] for upgrade jongo
 library. previously this library bundled with mongodb-java-driver osgi
 bundle. This library is needed for mongodb-java-driver upgrade.

 [1] https://github.com/wso2/orbit/pull/120
 [2]
 http://maven.wso2.org/nexus/content/repositories/wso2maven2/org/mongodb/wso2/mongo-java-driver/2.11.4.wso2v1/mongo-java-driver-2.11.4.wso2v1.pom

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

 mobile: +94 719411002 +94+719411002
 blog: *http://madhawa-gunasekara.blogspot.com
 http://madhawa-gunasekara.blogspot.com*
 linkedin: *http://lk.linkedin.com/in/mgunasekara
 http://lk.linkedin.com/in/mgunasekara*




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

mobile: +94 719411002 +94+719411002
blog: *http://madhawa-gunasekara.blogspot.com
http://madhawa-gunasekara.blogspot.com*
linkedin: *http://lk.linkedin.com/in/mgunasekara
http://lk.linkedin.com/in/mgunasekara*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Orbit] Upgrading Mongodb-java-driver library 3.0.0

2015-08-18 Thread Madhawa Gunasekara
kind reminder on this.

On Fri, Aug 14, 2015 at 8:27 AM, Madhawa Gunasekara madha...@wso2.com
wrote:

 Hi Carbon team,

 Can you please review and merge this pull request [1] for upgrade
 mongodb-java-driver library. This library is needed to support new MongoDB
 authentication mechanisms in DSS.

 [1] https://github.com/wso2/orbit/pull/119

 Thanks,
 Madhawa

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

 mobile: +94 719411002 +94+719411002
 blog: *http://madhawa-gunasekara.blogspot.com
 http://madhawa-gunasekara.blogspot.com*
 linkedin: *http://lk.linkedin.com/in/mgunasekara
 http://lk.linkedin.com/in/mgunasekara*




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

mobile: +94 719411002 +94+719411002
blog: *http://madhawa-gunasekara.blogspot.com
http://madhawa-gunasekara.blogspot.com*
linkedin: *http://lk.linkedin.com/in/mgunasekara
http://lk.linkedin.com/in/mgunasekara*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] I/O error: General SSLEngine problem in ESB

2015-08-18 Thread Aaquibah Nashry
Hi,

I had imported the cert from the login page with cn  login.salesforce.com.
Once i got a cn of  *.salesforce.com it works.

Thank you all

Regards,

M.R.Aaquibah Nashry
*Intern, Engineering**| **WSO2, Inc.*
Mobile : +94 773946123
Tel  : +94 112662541
Email : nas...@wso2.com nas...@wso2.com

On Tue, Aug 18, 2015 at 7:35 PM, Bhathiya Jayasekara bhath...@wso2.com
wrote:

 This is the exact error I mentioned on the other thread[1].

 [1] [Dev] [ESB] 101500 ERROR_MESSAGE : Error in Sender

 Thanks,

 On Tue, Aug 18, 2015 at 9:48 AM, Malaka Silva mal...@wso2.com wrote:

 Try importing the certificate to client-truststore.jks?


 https://docs.wso2.com/display/ESB481/Setting+Up+Keystores+for+a+Client+and+a+Service

 On Tue, Aug 18, 2015 at 6:15 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi Rajjaz,

 I got new security token and tried. still same error. And yes i have put
 the password and the token together. the thing is, this used to work fine
 just a few days back. I think this error occurs due to some expired
 certificate or something. But cant figure out where exactly.

 Thanks

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 5:59 PM, Rajjaz Mohammed raj...@wso2.com
 wrote:

 Hi Aaquibah,
 i got the same error because of Security Token so can you check your
 credentials once again and for the Salesforce password is a combination of
 the user password plus the security token provided by Salesforce.

 On Tue, Aug 18, 2015 at 3:51 PM, Aaquibah Nashry nas...@wso2.com
 wrote:

 Hi,

 I am getting the following error when i try to run a proxy which gets
 data from salesforce. Any idea how to solve this?

 TID: [0] [ESB] [2015-08-18 06:14:17,256]  INFO
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
  'admin@carbon.super [-1234]' logged in at [2015-08-18
 06:14:17,256-0400]
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil}
 TID: [0] [ESB] [2015-08-18 06:15:34,645]  INFO
 {org.apache.synapse.mediators.builtin.LogMediator} -  To:
 /services/SalesforceProxy.SalesforceProxyHttpSoap12Endpoint, WSAction:
 urn:mediate, SOAPAction: urn:mediate, MessageID:
 urn:uuid:89a301b5-e7c4-4781-91c8-e4c677e2e4db, Direction: request, STATE =
 OPP {org.apache.synapse.mediators.builtin.LogMediator}
 TID: [0] [ESB] [2015-08-18 06:15:34,657]  INFO
 {org.apache.synapse.mediators.builtin.LogMediator} -  Connection = Login 
 to
 Salesforce . {org.apache.synapse.mediators.builtin.LogMediator}
 TID: [0] [ESB] [2015-08-18 06:15:36,639] ERROR
 {org.apache.synapse.transport.passthru.TargetHandler} -  I/O error: 
 General
 SSLEngine problem {org.apache.synapse.transport.passthru.TargetHandler}
 javax.net.ssl.SSLHandshakeException: General SSLEngine problem
 at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1252)
 at
 sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:514)
 at
 sun.security.ssl.SSLEngineImpl.writeAppRecord(SSLEngineImpl.java:1173)
 at sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:1145)
 at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:469)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doWrap(SSLIOSession.java:220)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:254)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:380)
 at
 org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:118)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:160)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:342)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
 at
 org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
 at java.lang.Thread.run(Thread.java:701)
 Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine
 problem
 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
 at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1660)
 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:289)
 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:281)
 at
 sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1255)
 at
 sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:200)
 at sun.security.ssl.Handshaker.processLoop(Handshaker.java:848)
 at sun.security.ssl.Handshaker$1.run(Handshaker.java:788)
 at sun.security.ssl.Handshaker$1.run(Handshaker.java:786)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1189)
 at
 

[Dev] WSO2 Governance Registry 5.0.0 Beta Released!

2015-08-18 Thread Chandana Napagoda
WSO2 Governance Registry team is pleased to announce the Beta release of
WSO2 Governance Registry 5.0.0.

Please download WSO2 Governance Registry 5.0.0 Beta from this
location[1][2]. This release includes following features,improvements and
bug fixes.
Bug

   - [REGISTRY-1721 https://wso2.org/jira/browse/REGISTRY-1721] - Update
   Access Control + Roles + Permissions documentation
   - [REGISTRY-2115 https://wso2.org/jira/browse/REGISTRY-2115] -
   sample's pom file problem with checksum
   - [REGISTRY-2156 https://wso2.org/jira/browse/REGISTRY-2156] - [UI]
   Cannot edit  save registry resource content with IE
   - [REGISTRY-2157 https://wso2.org/jira/browse/REGISTRY-2157] - Minimum
   response time -1ms for System Statistics
   - [REGISTRY-2162 https://wso2.org/jira/browse/REGISTRY-2162] - Users
   with read permission to registry browser cannot read resources though
   remote registry
   - [REGISTRY-2191 https://wso2.org/jira/browse/REGISTRY-2191] - when we
   upload a wsdl file in zip format the dependencies are also listed under
   WSDL list
   - [REGISTRY-2199 https://wso2.org/jira/browse/REGISTRY-2199] - DB
   scripts for Oracle_rac.sql is not updated with UM schema changes
   - [REGISTRY-2223 https://wso2.org/jira/browse/REGISTRY-2223] - Can't
   upload zip/gar file on mount.
   - [REGISTRY-2227 https://wso2.org/jira/browse/REGISTRY-2227] - Console
   notification doesn't work when role has two or more users.
   - [REGISTRY-2234 https://wso2.org/jira/browse/REGISTRY-2234] -
   Notifications don't work
   - [REGISTRY-2240 https://wso2.org/jira/browse/REGISTRY-2240] - email
   notification seems to only work for LC Change but not for update
   - [REGISTRY-2241 https://wso2.org/jira/browse/REGISTRY-2241] - GReg
   Cluster with mounted registry - NPE occurred related to Hazelcast caching
   - [REGISTRY-2242 https://wso2.org/jira/browse/REGISTRY-2242] - NPE in
   hazelcast caching on mounted G-Reg
   - [REGISTRY-2284 https://wso2.org/jira/browse/REGISTRY-2284] -
   Notifications are not for event: Change LC state when demoting life cycle
   - [REGISTRY-2300 https://wso2.org/jira/browse/REGISTRY-2300] - Cannot
   add Collection and Children only subscription to collections in G-Reg
   4.6.0 cluster
   - [REGISTRY-2352 https://wso2.org/jira/browse/REGISTRY-2352] - An
   error log can be seen in the backend intermittently when working
   - [REGISTRY-2364 https://wso2.org/jira/browse/REGISTRY-2364] - Viewing
   wsdl visualizer in Greg registry browser is causing high cpu consumption
   - [REGISTRY-2413 https://wso2.org/jira/browse/REGISTRY-2413] -
   Duplicate service metadata listed
   - [REGISTRY-2431 https://wso2.org/jira/browse/REGISTRY-2431] - Hard
   code URL
   - [REGISTRY-2446 https://wso2.org/jira/browse/REGISTRY-2446] -
   [Intermittent] Error when shutting down the serverv(Ctrl + c)
   - [REGISTRY-2448 https://wso2.org/jira/browse/REGISTRY-2448] -
   Document rxt has redundant fields
   - [REGISTRY-2450 https://wso2.org/jira/browse/REGISTRY-2450] - Ratings
   does not work in store
   - [REGISTRY-2454 https://wso2.org/jira/browse/REGISTRY-2454] - Impact
   analyses diagram looks too complex and difficult to read.
   - [REGISTRY-2515 https://wso2.org/jira/browse/REGISTRY-2515] -
   unbounded option-text fields are not working in GC
   - [REGISTRY-2564 https://wso2.org/jira/browse/REGISTRY-2564] - Token
   generation fails for perviously created apps if a configuration issue is
   present
   - [REGISTRY-2576 https://wso2.org/jira/browse/REGISTRY-2576] - ES
   print lot of INFO messages but most of them are DEBUG messages
   - [REGISTRY-2580 https://wso2.org/jira/browse/REGISTRY-2580] -
   Publisher and Store UIs should render proper error pages/error messages if
   user don't have login permission
   - [REGISTRY-2607 https://wso2.org/jira/browse/REGISTRY-2607] -
   Registry moutning error,when try to mount two AM servers as publisher and
   Store
   - [REGISTRY-2610 https://wso2.org/jira/browse/REGISTRY-2610] - Maven
   build fail in sample Transition UI
   - [REGISTRY-2618 https://wso2.org/jira/browse/REGISTRY-2618] - RXT hot
   deployment is not happening in Publisher and Store
   - [REGISTRY-2624 https://wso2.org/jira/browse/REGISTRY-2624] -
   Unwanted jasper-jdt_6.0.18.wso2v1 jar bundle with reporting features
   - [REGISTRY-2626 https://wso2.org/jira/browse/REGISTRY-2626] - Error
   while browsing api details page in distributed setup
   - [REGISTRY-2627 https://wso2.org/jira/browse/REGISTRY-2627] -
   Deadlock found when trying to create API - Fully Distributed Setup
   - [REGISTRY-2628 https://wso2.org/jira/browse/REGISTRY-2628] - [API
   Publisher] Error while browsing API details page-for APIs in 'Created'
   state
   - [REGISTRY-2629 https://wso2.org/jira/browse/REGISTRY-2629] - UI
   alignment issue in showing endpoints in API Publisher details page
   - [REGISTRY-2631 https://wso2.org/jira/browse/REGISTRY-2631] - The
   uploaded API thumbnail is not showing in Store side listing page

Re: [Dev] [ESB] 101500 ERROR_MESSAGE : Error in Sender

2015-08-18 Thread Malaka Silva
Have you imported it to client-truststore.jks?

https://docs.wso2.com/display/ESB481/Setting+Up+Keystores+for+a+Client+and+a+Service

On Tue, Aug 18, 2015 at 6:39 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi Malaka,

 I did import the .crt file from salesforce.com into the esb
 home/repository/resources/security folder. Is this the one you are
 referring to?
 If so, it didnt work.

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 6:33 PM, Malaka Silva mal...@wso2.com wrote:

 Maybe the issue is related to [1].

 Can you try importing the certificate to truststore pls?

 @Kesavan - Did you experience this behavior intermittently?

 [1] https://wso2.org/jira/browse/ESBCONNECT-60



 On Tue, Aug 18, 2015 at 5:33 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi,

 the sequence previously worked with the getUserInfo.

 i added an onError=fault, the logs are as follows:

 [2015-08-18 17:22:45,644]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, STATE =
 Before sf_auth sequence
 [2015-08-18 17:22:45,644]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, text =
 An unexpected error occured, message = null, Envelope: ?xml version=1.0
 encoding=utf-8?soapenv:Envelope xmlns:soapenv=
 http://www.w3.org/2003/05/soap-envelope;soapenv:BodyyAM data
 written successfully into pipeline
 table/y/soapenv:Body/soapenv:Envelope
 [2015-08-18 17:22:45,648]  INFO {SERVICE_LOGGER} -  Connection = Login
 to Salesforce .
 [2015-08-18 17:22:46,928]  WARN {SERVICE_LOGGER} -  ERROR_CODE : 101500
 ERROR_MESSAGE : Error in Sender


 I have attached the logs after enabling wire logs.

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 2:54 PM, Malaka Silva mal...@wso2.com wrote:

 Why are you adding getUserInfo, since you are not using the response
 from it?

 Also try adding onError attribute to your sequence and check. eg:
 onError=fault

 More on wire logs with [1]

 [1]
 http://mytecheye.blogspot.com/2013/09/wso2-esb-all-about-wire-logs.html

 On Tue, Aug 18, 2015 at 2:46 PM, Aaquibah Nashry nas...@wso2.com
 wrote:

 Hi,

 1) I couldn't find the line to enable wire logs in my log4j file. Is
 it okay if i add the line to it?
 (log4j.logger.org.apache.synapse.transport.http.wire=DEBUG)

 2) My init config is in the sequence *sf_auth* as below:

 salesforce.init xmlns=http://ws.apache.org/ns/synapse;
   usernamesesh...@wso2.com/username
   passwordp1ne@pplelrY5ZpMQVqPyPramkfIdKDYE6/password
   loginUrlhttps://login.salesforce.com/services/Soap/u/27.0
 /loginUrl
/salesforce.init

 3) When i added the logs, i find that error occurs at
  salesforce.getUserInfo configKey=*sf_auth*
 /salesforce.getUserInfo

 The error logs are as follows:

 [2015-08-18 14:42:22,950]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:4ca4be55-4b42-4b9f-89c3-3fc4b534a1a2, Direction: request, STATE =
 Before sf_auth sequence
 [2015-08-18 14:42:22,958]  INFO {SERVICE_LOGGER} -  Connection = Login
 to Salesforce .
 [2015-08-18 14:42:26,100]  WARN {SERVICE_LOGGER} -  ERROR_CODE :
 101500 ERROR_MESSAGE : Error in Sender


 I have attached the sequence.

 Thanks

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 2:30 PM, Malaka Silva mal...@wso2.com wrote:

 Seems like an error when sending the message out.

 Can you put some logs in your mediation flow and identify with point
 it's failing?

 Also enabling wire logs will also help to find the failing point.
 Also share the salesfore.init config.



 On Tue, Aug 18, 2015 at 2:19 PM, Aaquibah Nashry nas...@wso2.com
 wrote:

 Hi,

 I am trying to get data from salesforce using salesforce connector
 by writing a proxy. I get the following error when i run the 
 sequence/proxy:

 [2015-08-18 14:06:31,815]  INFO {SERVICE_LOGGER} -  Connection =
 Login to Salesforce .
 [2015-08-18 14:06:38,933]  WARN {SERVICE_LOGGER} -  ERROR_CODE :
 101500 ERROR_MESSAGE : Error in Sender

 I have attached a sequence i have written for the above task.

 What could be the reason for this? Please help.

 Thanks in advance.
 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

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




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : 

Re: [Dev] [ESB] 101500 ERROR_MESSAGE : Error in Sender

2015-08-18 Thread Bhathiya Jayasekara
When was using Salesforce connector once, I faced a certificate issue.
Mentioning about this in case it helps you.

I initially imported the cert of login.salesforce.com, it worked fine for
login. But its CN was login.salesforce.com. So every request which were
sent to ap1.salesforce.com, after login, failed because of the mismatched
CN. So I also had to import cert of ap1.salesforce.com, of which CN was *.
salesforce.com, to make other requests successful.

Thanks,
Bhathiya

On Tue, Aug 18, 2015 at 9:19 AM, Malaka Silva mal...@wso2.com wrote:

 Have you imported it to client-truststore.jks?


 https://docs.wso2.com/display/ESB481/Setting+Up+Keystores+for+a+Client+and+a+Service

 On Tue, Aug 18, 2015 at 6:39 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi Malaka,

 I did import the .crt file from salesforce.com into the esb
 home/repository/resources/security folder. Is this the one you are
 referring to?
 If so, it didnt work.

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 6:33 PM, Malaka Silva mal...@wso2.com wrote:

 Maybe the issue is related to [1].

 Can you try importing the certificate to truststore pls?

 @Kesavan - Did you experience this behavior intermittently?

 [1] https://wso2.org/jira/browse/ESBCONNECT-60



 On Tue, Aug 18, 2015 at 5:33 PM, Aaquibah Nashry nas...@wso2.com
 wrote:

 Hi,

 the sequence previously worked with the getUserInfo.

 i added an onError=fault, the logs are as follows:

 [2015-08-18 17:22:45,644]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, STATE =
 Before sf_auth sequence
 [2015-08-18 17:22:45,644]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, text =
 An unexpected error occured, message = null, Envelope: ?xml version=1.0
 encoding=utf-8?soapenv:Envelope xmlns:soapenv=
 http://www.w3.org/2003/05/soap-envelope;soapenv:BodyyAM data
 written successfully into pipeline
 table/y/soapenv:Body/soapenv:Envelope
 [2015-08-18 17:22:45,648]  INFO {SERVICE_LOGGER} -  Connection = Login
 to Salesforce .
 [2015-08-18 17:22:46,928]  WARN {SERVICE_LOGGER} -  ERROR_CODE : 101500
 ERROR_MESSAGE : Error in Sender


 I have attached the logs after enabling wire logs.

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 2:54 PM, Malaka Silva mal...@wso2.com wrote:

 Why are you adding getUserInfo, since you are not using the response
 from it?

 Also try adding onError attribute to your sequence and check. eg:
 onError=fault

 More on wire logs with [1]

 [1]
 http://mytecheye.blogspot.com/2013/09/wso2-esb-all-about-wire-logs.html

 On Tue, Aug 18, 2015 at 2:46 PM, Aaquibah Nashry nas...@wso2.com
 wrote:

 Hi,

 1) I couldn't find the line to enable wire logs in my log4j file. Is
 it okay if i add the line to it?
 (log4j.logger.org.apache.synapse.transport.http.wire=DEBUG)

 2) My init config is in the sequence *sf_auth* as below:

 salesforce.init xmlns=http://ws.apache.org/ns/synapse;
   usernamesesh...@wso2.com/username
   passwordp1ne@pplelrY5ZpMQVqPyPramkfIdKDYE6/password
   loginUrlhttps://login.salesforce.com/services/Soap/u/27.0
 /loginUrl
/salesforce.init

 3) When i added the logs, i find that error occurs at
  salesforce.getUserInfo configKey=*sf_auth*
 /salesforce.getUserInfo

 The error logs are as follows:

 [2015-08-18 14:42:22,950]  INFO {SERVICE_LOGGER} -  To: , MessageID:
 urn:uuid:4ca4be55-4b42-4b9f-89c3-3fc4b534a1a2, Direction: request, STATE 
 =
 Before sf_auth sequence
 [2015-08-18 14:42:22,958]  INFO {SERVICE_LOGGER} -  Connection =
 Login to Salesforce .
 [2015-08-18 14:42:26,100]  WARN {SERVICE_LOGGER} -  ERROR_CODE :
 101500 ERROR_MESSAGE : Error in Sender


 I have attached the sequence.

 Thanks

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 2:30 PM, Malaka Silva mal...@wso2.com
 wrote:

 Seems like an error when sending the message out.

 Can you put some logs in your mediation flow and identify with point
 it's failing?

 Also enabling wire logs will also help to find the failing point.
 Also share the salesfore.init config.



 On Tue, Aug 18, 2015 at 2:19 PM, Aaquibah Nashry nas...@wso2.com
 wrote:

 Hi,

 I am trying to get data from salesforce using salesforce connector
 by writing a proxy. I get the following error when i run the 
 sequence/proxy:

 [2015-08-18 14:06:31,815]  INFO {SERVICE_LOGGER} -  Connection =
 Login to Salesforce .
 [2015-08-18 14:06:38,933]  WARN {SERVICE_LOGGER} -  ERROR_CODE :
 101500 ERROR_MESSAGE : Error in Sender

 I have attached a sequence i have written 

Re: [Dev] I/O error: General SSLEngine problem in ESB

2015-08-18 Thread Bhathiya Jayasekara
This is the exact error I mentioned on the other thread[1].

[1] [Dev] [ESB] 101500 ERROR_MESSAGE : Error in Sender

Thanks,

On Tue, Aug 18, 2015 at 9:48 AM, Malaka Silva mal...@wso2.com wrote:

 Try importing the certificate to client-truststore.jks?


 https://docs.wso2.com/display/ESB481/Setting+Up+Keystores+for+a+Client+and+a+Service

 On Tue, Aug 18, 2015 at 6:15 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi Rajjaz,

 I got new security token and tried. still same error. And yes i have put
 the password and the token together. the thing is, this used to work fine
 just a few days back. I think this error occurs due to some expired
 certificate or something. But cant figure out where exactly.

 Thanks

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 5:59 PM, Rajjaz Mohammed raj...@wso2.com wrote:

 Hi Aaquibah,
 i got the same error because of Security Token so can you check your
 credentials once again and for the Salesforce password is a combination of
 the user password plus the security token provided by Salesforce.

 On Tue, Aug 18, 2015 at 3:51 PM, Aaquibah Nashry nas...@wso2.com
 wrote:

 Hi,

 I am getting the following error when i try to run a proxy which gets
 data from salesforce. Any idea how to solve this?

 TID: [0] [ESB] [2015-08-18 06:14:17,256]  INFO
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
  'admin@carbon.super [-1234]' logged in at [2015-08-18
 06:14:17,256-0400]
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil}
 TID: [0] [ESB] [2015-08-18 06:15:34,645]  INFO
 {org.apache.synapse.mediators.builtin.LogMediator} -  To:
 /services/SalesforceProxy.SalesforceProxyHttpSoap12Endpoint, WSAction:
 urn:mediate, SOAPAction: urn:mediate, MessageID:
 urn:uuid:89a301b5-e7c4-4781-91c8-e4c677e2e4db, Direction: request, STATE =
 OPP {org.apache.synapse.mediators.builtin.LogMediator}
 TID: [0] [ESB] [2015-08-18 06:15:34,657]  INFO
 {org.apache.synapse.mediators.builtin.LogMediator} -  Connection = Login to
 Salesforce . {org.apache.synapse.mediators.builtin.LogMediator}
 TID: [0] [ESB] [2015-08-18 06:15:36,639] ERROR
 {org.apache.synapse.transport.passthru.TargetHandler} -  I/O error: General
 SSLEngine problem {org.apache.synapse.transport.passthru.TargetHandler}
 javax.net.ssl.SSLHandshakeException: General SSLEngine problem
 at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1252)
 at
 sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:514)
 at
 sun.security.ssl.SSLEngineImpl.writeAppRecord(SSLEngineImpl.java:1173)
 at sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:1145)
 at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:469)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doWrap(SSLIOSession.java:220)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:254)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:380)
 at
 org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:118)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:160)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:342)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
 at
 org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
 at java.lang.Thread.run(Thread.java:701)
 Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine
 problem
 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
 at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1660)
 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:289)
 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:281)
 at
 sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1255)
 at
 sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:200)
 at sun.security.ssl.Handshaker.processLoop(Handshaker.java:848)
 at sun.security.ssl.Handshaker$1.run(Handshaker.java:788)
 at sun.security.ssl.Handshaker$1.run(Handshaker.java:786)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1189)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doRunTask(SSLIOSession.java:238)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:270)
 ... 9 more
 Caused by: sun.security.validator.ValidatorException: PKIX path
 building failed:
 sun.security.provider.certpath.SunCertPathBuilderException: unable to find
 valid certification path to requested target
 at 

Re: [Dev] I/O error: General SSLEngine problem in ESB

2015-08-18 Thread Malaka Silva
Try importing the certificate to client-truststore.jks?

https://docs.wso2.com/display/ESB481/Setting+Up+Keystores+for+a+Client+and+a+Service

On Tue, Aug 18, 2015 at 6:15 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi Rajjaz,

 I got new security token and tried. still same error. And yes i have put
 the password and the token together. the thing is, this used to work fine
 just a few days back. I think this error occurs due to some expired
 certificate or something. But cant figure out where exactly.

 Thanks

 Regards,

 M.R.Aaquibah Nashry
 *Intern, Engineering**| **WSO2, Inc.*
 Mobile : +94 773946123
 Tel  : +94 112662541
 Email : nas...@wso2.com nas...@wso2.com

 On Tue, Aug 18, 2015 at 5:59 PM, Rajjaz Mohammed raj...@wso2.com wrote:

 Hi Aaquibah,
 i got the same error because of Security Token so can you check your
 credentials once again and for the Salesforce password is a combination of
 the user password plus the security token provided by Salesforce.

 On Tue, Aug 18, 2015 at 3:51 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi,

 I am getting the following error when i try to run a proxy which gets
 data from salesforce. Any idea how to solve this?

 TID: [0] [ESB] [2015-08-18 06:14:17,256]  INFO
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
  'admin@carbon.super [-1234]' logged in at [2015-08-18
 06:14:17,256-0400]
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil}
 TID: [0] [ESB] [2015-08-18 06:15:34,645]  INFO
 {org.apache.synapse.mediators.builtin.LogMediator} -  To:
 /services/SalesforceProxy.SalesforceProxyHttpSoap12Endpoint, WSAction:
 urn:mediate, SOAPAction: urn:mediate, MessageID:
 urn:uuid:89a301b5-e7c4-4781-91c8-e4c677e2e4db, Direction: request, STATE =
 OPP {org.apache.synapse.mediators.builtin.LogMediator}
 TID: [0] [ESB] [2015-08-18 06:15:34,657]  INFO
 {org.apache.synapse.mediators.builtin.LogMediator} -  Connection = Login to
 Salesforce . {org.apache.synapse.mediators.builtin.LogMediator}
 TID: [0] [ESB] [2015-08-18 06:15:36,639] ERROR
 {org.apache.synapse.transport.passthru.TargetHandler} -  I/O error: General
 SSLEngine problem {org.apache.synapse.transport.passthru.TargetHandler}
 javax.net.ssl.SSLHandshakeException: General SSLEngine problem
 at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1252)
 at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:514)
 at sun.security.ssl.SSLEngineImpl.writeAppRecord(SSLEngineImpl.java:1173)
 at sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:1145)
 at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:469)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doWrap(SSLIOSession.java:220)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:254)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:380)
 at
 org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:118)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:160)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:342)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
 at
 org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
 at java.lang.Thread.run(Thread.java:701)
 Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
 at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1660)
 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:289)
 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:281)
 at
 sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1255)
 at
 sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:200)
 at sun.security.ssl.Handshaker.processLoop(Handshaker.java:848)
 at sun.security.ssl.Handshaker$1.run(Handshaker.java:788)
 at sun.security.ssl.Handshaker$1.run(Handshaker.java:786)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1189)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doRunTask(SSLIOSession.java:238)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:270)
 ... 9 more
 Caused by: sun.security.validator.ValidatorException: PKIX path building
 failed: sun.security.provider.certpath.SunCertPathBuilderException: unable
 to find valid certification path to requested target
 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:386)
 at
 sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:293)
 at sun.security.validator.Validator.validate(Validator.java:260)
 at 

Re: [Dev] WSO2 Committers += Madusanka Premaratne

2015-08-18 Thread Thanuja Jayasinghe
Congratz.!!!

On Tue, Aug 18, 2015 at 11:33 AM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations!

 On Tue, Aug 18, 2015 at 11:21 AM, Chamin Dias cham...@wso2.com wrote:

 Congratulations Madusanka..!!!

 On Tue, Aug 18, 2015 at 11:15 AM, Malintha Amarasinghe 
 malint...@wso2.com wrote:

 Congratzzz Madusanka :)

 On Tue, Aug 18, 2015 at 10:54 AM, Damith Wickramasinghe 
 dami...@wso2.com wrote:

 Congratulations Madusanka..!!!

 On Tue, Aug 18, 2015 at 10:06 AM, Chanuka Dissanayake chan...@wso2.com
  wrote:

 Congratulations Maduz..!

 On Tue, Aug 18, 2015 at 2:09 AM, Akalanka Pagoda Arachchi 
 darsha...@wso2.com wrote:

 Congratz Maduz...!!!

 On Mon, Aug 17, 2015 at 11:17 AM, Tharindu Dharmarathna 
 tharin...@wso2.com wrote:

 congrats maduz !.

 On Mon, Aug 17, 2015 at 12:00 PM, Roshan Wijesena ros...@wso2.com
 wrote:

 Congratulations!

 On Sat, Aug 15, 2015 at 10:15 AM, Nuwan Dias nuw...@wso2.com
 wrote:

 Hi,

 It is with great pleasure we welcome Madusanka Premaratne as a
 WSO2 Committer. @Madusanka, congratulations and keep up the good
 work!

 Thanks,
 NuwanD.

 --
 Nuwan Dias

 Technical Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94719154640 %2B94719154640*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




 --

 *Tharindu Dharmarathna*Associate Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94779109091 %2B94779109091*

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




 --
 *Darshana Akalanka Pagoda Arachchi,*
 *Software Engineer*
 *078-4721791*

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




 --
 Chanuka Dissanayake
 *Software Engineer | **WSO2 Inc.*; http://wso2.com

 Mobile: +94 71 33 63 596
 Email: chan...@wso2.com

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




 --
 Software Engineer
 WSO2 Inc.; http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 lean.enterprise.middleware

 mobile: *+94728671315 %2B94728671315*


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




 --
 Malintha Amarasinghe
 Software Engineer
 *WSO2, Inc. - lean | enterprise | middleware*
 http://wso2.com/

 Mobile : +94 712383306

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




 --
 Chamin Dias
 *Software Engineer*
 Mobile : +94 (0) 716 097455 %2B94%20%280%29%20773%20451194
 Email : cham...@wso2.com
 Blog : https://chamindias.wordpress.com/

 ___
 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

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




-- 
*Thanuja Lakmal*
Senior Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94715979891 +94758009992
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Next carbon-deployment release is 4.5.0

2015-08-18 Thread KasunG Gajasinghe
Carbon-deployment 4.5.0 is released, and the artifacts are now in public
nexus.

Thanks.

On Tue, Aug 18, 2015 at 5:38 PM, Ravindra Ranwala ravin...@wso2.com wrote:

 Hi KasunG,

 I have tested module-mgt feature for ESB and that was working as expected.


 Thanks  Regards,

 On Tue, Aug 18, 2015 at 3:59 PM, KasunG Gajasinghe kas...@wso2.com
 wrote:

 [+Krishantha]

 New staging repo with fixes for module-mgt and AS application mgt  -
 http://maven.wso2.org/nexus/content/repositories/orgwso2carbondeployment-032/


 On Tue, Aug 18, 2015 at 12:53 AM, KasunG Gajasinghe kas...@wso2.com
 wrote:


 carbon-deployment is has been added to staging repo -
 http://maven.wso2.org/nexus/content/repositories/orgwso2carbondeployment-030/

 Please use this repo and verify the downstream projects. Planning to
 promote the staging repo to public by EOD Tuesday.

 Thanks



 On Fri, Aug 14, 2015 at 1:45 PM, Priyadarssini Kishokumar 
 priyadarss...@wso2.com wrote:

 Thanks.

 On Fri, Aug 14, 2015 at 1:44 PM, KasunG Gajasinghe kas...@wso2.com
 wrote:

 Merged.

 On Fri, Aug 14, 2015 at 11:02 AM, Priyadarssini Kishokumar 
 priyadarss...@wso2.com wrote:

 Hi,

 Please verify  merge PR[1] for the improvement [2]

 [1] https://github.com/wso2/carbon-deployment/pull/104

 [2] https://wso2.org/jira/browse/ESBJAVA-3858

 Thanks,

 On Thu, Aug 13, 2015 at 2:47 PM, KasunG Gajasinghe kas...@wso2.com
 wrote:


 The release date is this Friday. So, make sure to send all the
 fixes if any EOD today.

 Thanks.

 On Tue, Aug 11, 2015 at 6:40 PM, KasunG Gajasinghe kas...@wso2.com
 wrote:

 Hi,

 This is to update that the next carbon-deployment release is 4.5.0.

 AS will need a Jaggery release on top of carbon-deployment 4.5.0
 for the AS 5.3.0 beta release.

 Thanks,
 KasunG

 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org



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




 --
 Priya Kishok
 Software Engineer
 WSO2, Inc : http://wso2.com
 Mob : +94774457404




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 Priya Kishok
 Software Engineer
 WSO2, Inc : http://wso2.com
 Mob : +94774457404




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org



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




 --
 Ravindra Ranwala
 Software Engineer
 WSO2, Inc: http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 Mobile: +94714198770




-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev