[Dev] [ESB] Problems in ESB Sample 100

2013-12-04 Thread Chamila Wijayarathna
Hello all,
I followed instructions given at [1] and ran sample 100.
But I can't see any security related elements in the header of request send
by ESB to server.
What am I doing wrong here?

1.
http://docs.wso2.org/display/ESB480/Sample+100%3A+Using+WS-Security+for+Outgoing+Messages
2. Source - https://gist.github.com/cdwijayarathna/7783834
3. SOAP Request - https://gist.github.com/cdwijayarathna/7783885

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


[Dev] [Bamboo-Build] Developer Studio Eclipse-Tools #1309 has FAILED. Change made by Asanka Sanjeewa.

2013-12-04 Thread Bamboo

---
Developer Studio  Eclipse-Tools  #1309 failed.
---
Code has been updated by Asanka Sanjeewa.
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/DS0001-DSET01-1309/

-
Currently Responsible
-

Asanka Sanjeewa (Automatically assigned)



--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.



--
Code Changes
--
Asanka Sanjeewa (192485):

Removed 'cloud' term from connector related UIs and error messages



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] Problems in ESB Sample 100

2013-12-04 Thread Samisa Abeysinghe
Where did you use the TCPMon client to ESB or ESB to back end?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Wed, Dec 4, 2013 at 1:39 PM, Chamila Wijayarathna cham...@wso2.comwrote:

 Hello all,
 I followed instructions given at [1] and ran sample 100.
 But I can't see any security related elements in the header of request
 send by ESB to server.
 What am I doing wrong here?

 1.
 http://docs.wso2.org/display/ESB480/Sample+100%3A+Using+WS-Security+for+Outgoing+Messages
 2. Source - https://gist.github.com/cdwijayarathna/7783834
 3. SOAP Request - https://gist.github.com/cdwijayarathna/7783885

 -Regards
 Chamila

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


Re: [Dev] Do we have a JSON sample that ships with DSS?

2013-12-04 Thread Anjana Fernando
Hi Samisa,

We don't actually have a specific sample for JSON as I know, Chanika was
writing an article for this, with some scenarios, but didn't publish yet as
I know. Chanika, do put a section to the docs to mention how to do JSON
with DSS.

The content negotiation in data service simply works by setting the HTTP
header Accept, with the content type as the value. For example, to get a
JSON response, you would have a HTTP header like the following:

Accept: application/json.

Cheers,
Anjana.


On Wed, Dec 4, 2013 at 12:52 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 To ask a related question, how do I do content negotiation with DSS REST?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 12:32 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 I am looking to do REST with JSON as content type with DSS.

 Do we have a sample that I can use to get started with?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com





-- 
*Anjana Fernando*
Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build failure in Platform Automated Suite - Distribution 1.4.0 - chunk 05

2013-12-04 Thread Krishantha Samaraweera
Hi Supun,

Are you building without tests ? You need to build with tests to over come
this problem

Thanks,
Krishantha.


On Wed, Dec 4, 2013 at 1:12 PM, Supun Malinga sup...@wso2.com wrote:

 [ERROR] Failed to execute goal on project wso2pats: Could not resolve 
 dependencies for project org.wso2.carbon.automation:wso2pats:jar:1.4.0: Could 
 not find artifact 
 org.wso2.carbon.automation:org.wso2.carbon.automation.test.platform.scenario:jar:tests:1.4.0
  in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) - 
 [Help 1]


 However it worked when I build from
 chunk-05/platform-integration/platform-automated-test-suite.

 Can you pls have a look?.

 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




-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] Problems in ESB Sample 100

2013-12-04 Thread Chamila Wijayarathna
I observed messages using ESB logs, I'll check them with tcpmon.
Is there any advantage of using tcpmon instead of ESB logs?


On Wed, Dec 4, 2013 at 1:54 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 Where did you use the TCPMon client to ESB or ESB to back end?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 1:39 PM, Chamila Wijayarathna cham...@wso2.comwrote:

 Hello all,
 I followed instructions given at [1] and ran sample 100.
 But I can't see any security related elements in the header of request
 send by ESB to server.
 What am I doing wrong here?

 1.
 http://docs.wso2.org/display/ESB480/Sample+100%3A+Using+WS-Security+for+Outgoing+Messages
  2. Source - https://gist.github.com/cdwijayarathna/7783834
 3. SOAP Request - https://gist.github.com/cdwijayarathna/7783885

 -Regards
 Chamila





-- 
*Chamila Wijayarathna*
Engineering Intern,
WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Versioning for nested category features

2013-12-04 Thread Sameera Jayasoma
Hi Supun,

For now, you have to include new versions in the chunk build space. And
please create a Carbon Jira to track this issue.

Thanks,
Sameera.


On Tue, Dec 3, 2013 at 11:07 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Sameera,

 As per the current svn structure there is not version directory added for
 nested category features. What's the best approach to overcome this?.

 [1]
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/features/nested-categories/as

 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




-- 
Sameera Jayasoma,
Architect,

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://sameera.adahas.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

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


Re: [Dev] Chunk 05 packs 04-12-2013

2013-12-04 Thread Asanka Vithanage
Hi Supun,
Can you please share the P2 repo link as well.



On Wed, Dec 4, 2013 at 1:10 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Please find $subject. in [1].

 [1] http://ec2-54-205-250-106.compute-1.amazonaws.com/chunk-05/03-12-2013/

 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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Do we have a JSON sample that ships with DSS?

2013-12-04 Thread Samisa Abeysinghe
With the REST sample, I tried
curl -H Accept: application/json -X GET
http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products

but it still returns XML.

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Wed, Dec 4, 2013 at 2:04 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Samisa,

 We don't actually have a specific sample for JSON as I know, Chanika was
 writing an article for this, with some scenarios, but didn't publish yet as
 I know. Chanika, do put a section to the docs to mention how to do JSON
 with DSS.

 The content negotiation in data service simply works by setting the HTTP
 header Accept, with the content type as the value. For example, to get a
 JSON response, you would have a HTTP header like the following:

 Accept: application/json.

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 12:52 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 To ask a related question, how do I do content negotiation with DSS REST?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 12:32 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 I am looking to do REST with JSON as content type with DSS.

 Do we have a sample that I can use to get started with?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com





 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

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


Re: [Dev] Do we have a JSON sample that ships with DSS?

2013-12-04 Thread Samisa Abeysinghe
However, I figured that
curl  -H Content-Type: application/json -X GET
http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products
works!


Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Wed, Dec 4, 2013 at 2:11 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 With the REST sample, I tried
 curl -H Accept: application/json -X GET
 http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products

 but it still returns XML.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:04 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Samisa,

 We don't actually have a specific sample for JSON as I know, Chanika was
 writing an article for this, with some scenarios, but didn't publish yet as
 I know. Chanika, do put a section to the docs to mention how to do JSON
 with DSS.

 The content negotiation in data service simply works by setting the HTTP
 header Accept, with the content type as the value. For example, to get a
 JSON response, you would have a HTTP header like the following:

 Accept: application/json.

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 12:52 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 To ask a related question, how do I do content negotiation with DSS
 REST?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 12:32 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 I am looking to do REST with JSON as content type with DSS.

 Do we have a sample that I can use to get started with?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com





 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware



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


Re: [Dev] Do we have a JSON sample that ships with DSS?

2013-12-04 Thread Samisa Abeysinghe
That seems a bug that accept does not work, but content-type does?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Wed, Dec 4, 2013 at 2:13 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 However, I figured that
 curl  -H Content-Type: application/json -X GET
 http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products
 works!


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:11 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 With the REST sample, I tried
 curl -H Accept: application/json -X GET
 http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products

 but it still returns XML.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:04 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Samisa,

 We don't actually have a specific sample for JSON as I know, Chanika was
 writing an article for this, with some scenarios, but didn't publish yet as
 I know. Chanika, do put a section to the docs to mention how to do JSON
 with DSS.

 The content negotiation in data service simply works by setting the HTTP
 header Accept, with the content type as the value. For example, to get a
 JSON response, you would have a HTTP header like the following:

 Accept: application/json.

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 12:52 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 To ask a related question, how do I do content negotiation with DSS
 REST?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 12:32 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 I am looking to do REST with JSON as content type with DSS.

 Do we have a sample that I can use to get started with?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com





 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware




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


Re: [Dev] [ESB] Problems in ESB Sample 100

2013-12-04 Thread Samisa Abeysinghe
Logs are within the ESB. So it logs BEFORE security handlers kick in.

TCPMon is outside the ESB and thus sees the messages.


Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Wed, Dec 4, 2013 at 2:09 PM, Chamila Wijayarathna cham...@wso2.comwrote:

 I observed messages using ESB logs, I'll check them with tcpmon.
 Is there any advantage of using tcpmon instead of ESB logs?


 On Wed, Dec 4, 2013 at 1:54 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 Where did you use the TCPMon client to ESB or ESB to back end?

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 1:39 PM, Chamila Wijayarathna cham...@wso2.comwrote:

 Hello all,
 I followed instructions given at [1] and ran sample 100.
 But I can't see any security related elements in the header of request
 send by ESB to server.
 What am I doing wrong here?

 1.
 http://docs.wso2.org/display/ESB480/Sample+100%3A+Using+WS-Security+for+Outgoing+Messages
  2. Source - https://gist.github.com/cdwijayarathna/7783834
 3. SOAP Request - https://gist.github.com/cdwijayarathna/7783885

 -Regards
 Chamila





 --
 *Chamila Wijayarathna*
 Engineering Intern,
 WSO2 Inc.


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


Re: [Dev] [ESB] Problems in ESB Sample 100

2013-12-04 Thread Samisa Abeysinghe
On Wed, Dec 4, 2013 at 2:15 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 Logs are within the ESB. So it logs BEFORE security handlers kick in.

 TCPMon is outside the ESB and thus sees the messages.

I meant to say
   message's security headers.





 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:09 PM, Chamila Wijayarathna cham...@wso2.comwrote:

 I observed messages using ESB logs, I'll check them with tcpmon.
 Is there any advantage of using tcpmon instead of ESB logs?


 On Wed, Dec 4, 2013 at 1:54 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Where did you use the TCPMon client to ESB or ESB to back end?

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 1:39 PM, Chamila Wijayarathna 
 cham...@wso2.comwrote:

 Hello all,
 I followed instructions given at [1] and ran sample 100.
 But I can't see any security related elements in the header of request
 send by ESB to server.
 What am I doing wrong here?

 1.
 http://docs.wso2.org/display/ESB480/Sample+100%3A+Using+WS-Security+for+Outgoing+Messages
  2. Source - https://gist.github.com/cdwijayarathna/7783834
 3. SOAP Request - https://gist.github.com/cdwijayarathna/7783885

 -Regards
 Chamila





 --
 *Chamila Wijayarathna*
 Engineering Intern,
 WSO2 Inc.



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


Re: [Dev] Do we have a JSON sample that ships with DSS?

2013-12-04 Thread Chanika Geeganage
You can use the Accept parameter in the HTTP header which is set to
‘application/json’. But for that the content-negotiation parameter in the
DSS server has to be set to true. By default this parameter is disabled.
This can be enabled by adding the following parameter in axis2.xml to true.

'parameter name=httpContentNegotiationtrue/parameter'

Thanks


On Wed, Dec 4, 2013 at 2:14 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 That seems a bug that accept does not work, but content-type does?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:13 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 However, I figured that
 curl  -H Content-Type: application/json -X GET
 http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products
 works!


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:11 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 With the REST sample, I tried
 curl -H Accept: application/json -X GET
 http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products

 but it still returns XML.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:04 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Samisa,

 We don't actually have a specific sample for JSON as I know, Chanika
 was writing an article for this, with some scenarios, but didn't publish
 yet as I know. Chanika, do put a section to the docs to mention how to do
 JSON with DSS.

 The content negotiation in data service simply works by setting the
 HTTP header Accept, with the content type as the value. For example, to
 get a JSON response, you would have a HTTP header like the following:

 Accept: application/json.

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 12:52 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 To ask a related question, how do I do content negotiation with DSS
 REST?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 12:32 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 I am looking to do REST with JSON as content type with DSS.

 Do we have a sample that I can use to get started with?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com





 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware







-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Do we have a JSON sample that ships with DSS?

2013-12-04 Thread Anjana Fernando
Hi Samisa,

I forgot one part, you need to add the following to the axis2.xml.

parameter name=httpContentNegotiationtrue/parameter

Cheers,
Anjana.


On Wed, Dec 4, 2013 at 2:14 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 That seems a bug that accept does not work, but content-type does?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:13 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 However, I figured that
 curl  -H Content-Type: application/json -X GET
 http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products
 works!


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:11 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 With the REST sample, I tried
 curl -H Accept: application/json -X GET
 http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products

 but it still returns XML.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:04 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Samisa,

 We don't actually have a specific sample for JSON as I know, Chanika
 was writing an article for this, with some scenarios, but didn't publish
 yet as I know. Chanika, do put a section to the docs to mention how to do
 JSON with DSS.

 The content negotiation in data service simply works by setting the
 HTTP header Accept, with the content type as the value. For example, to
 get a JSON response, you would have a HTTP header like the following:

 Accept: application/json.

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 12:52 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 To ask a related question, how do I do content negotiation with DSS
 REST?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 12:32 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 I am looking to do REST with JSON as content type with DSS.

 Do we have a sample that I can use to get started with?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com





 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware







-- 
*Anjana Fernando*
Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] Problems in ESB Sample 100

2013-12-04 Thread Chamila Wijayarathna
I can see the security headers when observing with TCPmon.
I thought ESB log is showing message that is going out from ESB to Service.
Thank you.


On Wed, Dec 4, 2013 at 2:15 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 Logs are within the ESB. So it logs BEFORE security handlers kick in.

 TCPMon is outside the ESB and thus sees the messages.


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:09 PM, Chamila Wijayarathna cham...@wso2.comwrote:

 I observed messages using ESB logs, I'll check them with tcpmon.
 Is there any advantage of using tcpmon instead of ESB logs?


 On Wed, Dec 4, 2013 at 1:54 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Where did you use the TCPMon client to ESB or ESB to back end?

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 1:39 PM, Chamila Wijayarathna 
 cham...@wso2.comwrote:

 Hello all,
 I followed instructions given at [1] and ran sample 100.
 But I can't see any security related elements in the header of request
 send by ESB to server.
 What am I doing wrong here?

 1.
 http://docs.wso2.org/display/ESB480/Sample+100%3A+Using+WS-Security+for+Outgoing+Messages
  2. Source - https://gist.github.com/cdwijayarathna/7783834
 3. SOAP Request - https://gist.github.com/cdwijayarathna/7783885

 -Regards
 Chamila





 --
 *Chamila Wijayarathna*
 Engineering Intern,
 WSO2 Inc.





-- 
*Chamila Wijayarathna*
Engineering Intern,
WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Integration test failure EmailHostObjectTestCase

2013-12-04 Thread Supun Malinga
Hi Madhuka,

Can you have a look pls. Error [1]
[1]
http://ec2-54-205-250-106.compute-1.amazonaws.com/chunk-05/03-12-2013/surefire-reports/#testEmailJaggery

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


Re: [Dev] Build failure in Platform Automated Suite - Distribution 1.4.0 - chunk 05

2013-12-04 Thread Supun Malinga
I was building without tests this time. Will check.

thanks,


On Wed, Dec 4, 2013 at 2:06 PM, Krishantha Samaraweera
krishan...@wso2.comwrote:

 Hi Supun,

 Are you building without tests ? You need to build with tests to over come
 this problem

 Thanks,
 Krishantha.


 On Wed, Dec 4, 2013 at 1:12 PM, Supun Malinga sup...@wso2.com wrote:

 [ERROR] Failed to execute goal on project wso2pats: Could not resolve 
 dependencies for project org.wso2.carbon.automation:wso2pats:jar:1.4.0: 
 Could not find artifact 
 org.wso2.carbon.automation:org.wso2.carbon.automation.test.platform.scenario:jar:tests:1.4.0
  in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) - 
 [Help 1]




 However it worked when I build from
 chunk-05/platform-integration/platform-automated-test-suite.

 Can you pls have a look?.

 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




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




-- 
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] [ESB] Problems in ESB Sample 100

2013-12-04 Thread Nirmal Fernando
Don't ESB wire logs suppose to show these headers?


On Wed, Dec 4, 2013 at 2:26 PM, Chamila Wijayarathna cham...@wso2.comwrote:

 I can see the security headers when observing with TCPmon.
 I thought ESB log is showing message that is going out from ESB to Service.
 Thank you.


 On Wed, Dec 4, 2013 at 2:15 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 Logs are within the ESB. So it logs BEFORE security handlers kick in.

 TCPMon is outside the ESB and thus sees the messages.


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:09 PM, Chamila Wijayarathna cham...@wso2.comwrote:

 I observed messages using ESB logs, I'll check them with tcpmon.
 Is there any advantage of using tcpmon instead of ESB logs?


 On Wed, Dec 4, 2013 at 1:54 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Where did you use the TCPMon client to ESB or ESB to back end?

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 1:39 PM, Chamila Wijayarathna 
 cham...@wso2.comwrote:

 Hello all,
 I followed instructions given at [1] and ran sample 100.
 But I can't see any security related elements in the header of request
 send by ESB to server.
 What am I doing wrong here?

 1.
 http://docs.wso2.org/display/ESB480/Sample+100%3A+Using+WS-Security+for+Outgoing+Messages
  2. Source - https://gist.github.com/cdwijayarathna/7783834
 3. SOAP Request - https://gist.github.com/cdwijayarathna/7783885

 -Regards
 Chamila





 --
 *Chamila Wijayarathna*
 Engineering Intern,
 WSO2 Inc.





 --
 *Chamila Wijayarathna*
 Engineering Intern,
 WSO2 Inc.


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




-- 

Thanks  regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] Problems in ESB Sample 100

2013-12-04 Thread Chamila Wijayarathna
This is how I added to write the log [1], line 23. Is that the right place
to add log element?

1. https://gist.github.com/cdwijayarathna/7783834


On Wed, Dec 4, 2013 at 2:30 PM, Nirmal Fernando nir...@wso2.com wrote:

 Don't ESB wire logs suppose to show these headers?


 On Wed, Dec 4, 2013 at 2:26 PM, Chamila Wijayarathna cham...@wso2.comwrote:

 I can see the security headers when observing with TCPmon.
 I thought ESB log is showing message that is going out from ESB to
 Service.
 Thank you.


 On Wed, Dec 4, 2013 at 2:15 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Logs are within the ESB. So it logs BEFORE security handlers kick in.

 TCPMon is outside the ESB and thus sees the messages.


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:09 PM, Chamila Wijayarathna 
 cham...@wso2.comwrote:

 I observed messages using ESB logs, I'll check them with tcpmon.
 Is there any advantage of using tcpmon instead of ESB logs?


 On Wed, Dec 4, 2013 at 1:54 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Where did you use the TCPMon client to ESB or ESB to back end?

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 1:39 PM, Chamila Wijayarathna cham...@wso2.com
  wrote:

 Hello all,
 I followed instructions given at [1] and ran sample 100.
 But I can't see any security related elements in the header of
 request send by ESB to server.
 What am I doing wrong here?

 1.
 http://docs.wso2.org/display/ESB480/Sample+100%3A+Using+WS-Security+for+Outgoing+Messages
  2. Source - https://gist.github.com/cdwijayarathna/7783834
 3. SOAP Request - https://gist.github.com/cdwijayarathna/7783885

 -Regards
 Chamila





 --
 *Chamila Wijayarathna*
 Engineering Intern,
 WSO2 Inc.





 --
 *Chamila Wijayarathna*
 Engineering Intern,
 WSO2 Inc.


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




 --

 Thanks  regards,
 Nirmal

 Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/




-- 
*Chamila Wijayarathna*
Engineering Intern,
WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Integration test failure EmailHostObjectTestCase

2013-12-04 Thread Madhuka Udantha
Hi Supun,

Which jaggery version your using in here (In above AS)?
And you testing files reagrd to jaggery are external form git jaggery
branch? or SVN (non git externals)


On Wed, Dec 4, 2013 at 2:27 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Madhuka,

 Can you have a look pls. Error [1]
 [1]
 http://ec2-54-205-250-106.compute-1.amazonaws.com/chunk-05/03-12-2013/surefire-reports/#testEmailJaggery

 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




-- 
*Madhuka* Udantha
Senior Software Engineer
Development Technologies
WSO2 Inc. : http://wso2.com

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


Re: [Dev] Integration test failure EmailHostObjectTestCase

2013-12-04 Thread Supun Malinga
Hi,

Jaggery version, : 0.9.0.ALPHA4.wso2v1. This is the 4.2.0 released version
AFAIK.

thanks,


On Wed, Dec 4, 2013 at 2:38 PM, Madhuka Udantha madh...@wso2.com wrote:

 Hi Supun,

 Which jaggery version your using in here (In above AS)?
 And you testing files reagrd to jaggery are external form git jaggery
 branch? or SVN (non git externals)


 On Wed, Dec 4, 2013 at 2:27 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Madhuka,

 Can you have a look pls. Error [1]
 [1]
 http://ec2-54-205-250-106.compute-1.amazonaws.com/chunk-05/03-12-2013/surefire-reports/#testEmailJaggery

 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




 --
 *Madhuka* Udantha
 Senior Software Engineer
 Development Technologies
 WSO2 Inc. : http://wso2.com

 *Mobile*: +94774066336
 *Blog*: http://madhukaudantha.blogspot.com/




-- 
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] Storage Server Listing cassandra keyspaces does not work yet

2013-12-04 Thread Deependra Ariyadewa
Hi Chamara,

Please share the configuration you have used in the testing.

Thanks,

Deependra.


On Wed, Dec 4, 2013 at 2:41 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 I'm still seeing the behavior of Cassandra keyspaces not listing in SS
 cluster nodes.

 This has been observed in both wka and multicast clustering scenarios.

 We need to fix this for this release.

 https://wso2.org/jira/browse/SS-242

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*




-- 
Deependra Ariyadewa
WSO2, Inc. http://wso2.com/ http://wso2.org

email d...@wso2.com; cell +94 71 403 5996 ;
Blog http://risenfall.wordpress.com/
PGP info: KeyID: 'DC627E6F'

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


Re: [Dev] Do we have a JSON sample that ships with DSS?

2013-12-04 Thread Samisa Abeysinghe
Cool, that works. BTW, should not that parameter be set by default?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Wed, Dec 4, 2013 at 2:22 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Samisa,

 I forgot one part, you need to add the following to the axis2.xml.

 parameter name=httpContentNegotiationtrue/parameter

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 2:14 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 That seems a bug that accept does not work, but content-type does?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:13 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 However, I figured that
 curl  -H Content-Type: application/json -X GET
 http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products
 works!


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:11 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 With the REST sample, I tried
 curl -H Accept: application/json -X GET
 http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products

 but it still returns XML.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:04 PM, Anjana Fernando anj...@wso2.comwrote:

 Hi Samisa,

 We don't actually have a specific sample for JSON as I know, Chanika
 was writing an article for this, with some scenarios, but didn't publish
 yet as I know. Chanika, do put a section to the docs to mention how to do
 JSON with DSS.

 The content negotiation in data service simply works by setting the
 HTTP header Accept, with the content type as the value. For example, to
 get a JSON response, you would have a HTTP header like the following:

 Accept: application/json.

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 12:52 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 To ask a related question, how do I do content negotiation with DSS
 REST?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 12:32 PM, Samisa Abeysinghe 
 sam...@wso2.comwrote:

 I am looking to do REST with JSON as content type with DSS.

 Do we have a sample that I can use to get started with?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com





 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware







 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

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


Re: [Dev] [ESB] Problems in ESB Sample 100

2013-12-04 Thread Samisa Abeysinghe
Did you try having log level=full/ in out sequence?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Wed, Dec 4, 2013 at 2:35 PM, Chamila Wijayarathna cham...@wso2.comwrote:

 This is how I added to write the log [1], line 23. Is that the right place
 to add log element?

 1. https://gist.github.com/cdwijayarathna/7783834


 On Wed, Dec 4, 2013 at 2:30 PM, Nirmal Fernando nir...@wso2.com wrote:

 Don't ESB wire logs suppose to show these headers?


 On Wed, Dec 4, 2013 at 2:26 PM, Chamila Wijayarathna cham...@wso2.comwrote:

 I can see the security headers when observing with TCPmon.
 I thought ESB log is showing message that is going out from ESB to
 Service.
 Thank you.


 On Wed, Dec 4, 2013 at 2:15 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Logs are within the ESB. So it logs BEFORE security handlers kick in.

 TCPMon is outside the ESB and thus sees the messages.


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:09 PM, Chamila Wijayarathna 
 cham...@wso2.comwrote:

 I observed messages using ESB logs, I'll check them with tcpmon.
 Is there any advantage of using tcpmon instead of ESB logs?


 On Wed, Dec 4, 2013 at 1:54 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Where did you use the TCPMon client to ESB or ESB to back end?

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 1:39 PM, Chamila Wijayarathna 
 cham...@wso2.com wrote:

 Hello all,
 I followed instructions given at [1] and ran sample 100.
 But I can't see any security related elements in the header of
 request send by ESB to server.
 What am I doing wrong here?

 1.
 http://docs.wso2.org/display/ESB480/Sample+100%3A+Using+WS-Security+for+Outgoing+Messages
  2. Source - https://gist.github.com/cdwijayarathna/7783834
 3. SOAP Request - https://gist.github.com/cdwijayarathna/7783885

 -Regards
 Chamila





 --
 *Chamila Wijayarathna*
 Engineering Intern,
 WSO2 Inc.





 --
 *Chamila Wijayarathna*
 Engineering Intern,
 WSO2 Inc.


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




 --

 Thanks  regards,
 Nirmal

 Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/




 --
 *Chamila Wijayarathna*
 Engineering Intern,
 WSO2 Inc.


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


Re: [Dev] Do we have a JSON sample that ships with DSS?

2013-12-04 Thread Anjana Fernando
Hi,

Yeah, maybe it should. Sameera, can we add this change to kernel's
axis2.xml? .. @Chanika, check if we get the axis2.xml from the kernel, or
if we have our own one.

Cheers,
Anjana.


On Wed, Dec 4, 2013 at 2:54 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 Cool, that works. BTW, should not that parameter be set by default?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:22 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Samisa,

 I forgot one part, you need to add the following to the axis2.xml.

 parameter name=httpContentNegotiationtrue/parameter

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 2:14 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 That seems a bug that accept does not work, but content-type does?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:13 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 However, I figured that
 curl  -H Content-Type: application/json -X GET
 http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products
 works!


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:11 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 With the REST sample, I tried
 curl -H Accept: application/json -X GET
 http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products

 but it still returns XML.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:04 PM, Anjana Fernando anj...@wso2.comwrote:

 Hi Samisa,

 We don't actually have a specific sample for JSON as I know, Chanika
 was writing an article for this, with some scenarios, but didn't publish
 yet as I know. Chanika, do put a section to the docs to mention how to do
 JSON with DSS.

 The content negotiation in data service simply works by setting the
 HTTP header Accept, with the content type as the value. For example, to
 get a JSON response, you would have a HTTP header like the following:

 Accept: application/json.

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 12:52 PM, Samisa Abeysinghe 
 sam...@wso2.comwrote:

 To ask a related question, how do I do content negotiation with DSS
 REST?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 12:32 PM, Samisa Abeysinghe 
 sam...@wso2.comwrote:

 I am looking to do REST with JSON as content type with DSS.

 Do we have a sample that I can use to get started with?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com





 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware







 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware





-- 
*Anjana Fernando*
Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Client to a Secured proxy service

2013-12-04 Thread Tharindu Perera
Hi all,

I'm a WSO2 intern and I'm trying to create a client to a proxy service that
is securing an unsecured back-end service. I've set the key store for https
communication. If I remove the security provided by the proxy the client
manages to access the services via the proxy. But after enabling basic
username password security I always get the exception

org.apache.axis2.AxisFault: The input stream for an incoming message is
null.
at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:92)
at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at
assignment.clients.OrderProcessorStub1.getPrice(OrderProcessorStub1.java:817)

I'm setting the user name password in the client as below

HttpTransportProperties.Authenticator basicAuthenticator =new
HttpTransportProperties.Authenticator();
ListString authSchemes = new ArrayListString();
authSchemes.add(Authenticator.BASIC);
basicAuthenticator.setAuthSchemes(authSchemes);
basicAuthenticator.setUsername(admin);
basicAuthenticator.setPassword(admin);
basicAuthenticator.setPreemptiveAuthentication(true);

stub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE,basicAuthenticator);

stub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.CHUNKED,
false);

And the ESB does not register the soap messages in the SOAP Message Tracer.
What should I add to the service client to authenticate itself?
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] Problems in ESB Sample 100

2013-12-04 Thread Chamila Wijayarathna
No, I was trying to observe message going from client to ESB and ESB to
service. So for this sample I only tried it in in sequence.

Did you try having log level=full/ in out sequence?



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


Re: [Dev] Do we have a JSON sample that ships with DSS?

2013-12-04 Thread Sameera Jayasoma
Hi Samisa/Anjana,

I've faced the same problem sometime back when I was working on a DSS based
solution. At that I've raised the same concern in the dev list with the
following subject.

Enabling Http Content Negotiation by default in AS and DSS.

Looks like this change is not available in the axis2.xml in 4.2.0 based
products.

Thanks,
Sameera.


On Wed, Dec 4, 2013 at 3:01 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi,

 Yeah, maybe it should. Sameera, can we add this change to kernel's
 axis2.xml? .. @Chanika, check if we get the axis2.xml from the kernel, or
 if we have our own one.

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 2:54 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 Cool, that works. BTW, should not that parameter be set by default?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:22 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Samisa,

 I forgot one part, you need to add the following to the axis2.xml.

 parameter name=httpContentNegotiationtrue/parameter

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 2:14 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 That seems a bug that accept does not work, but content-type does?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:13 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 However, I figured that
 curl  -H Content-Type: application/json -X GET
 http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products
 works!


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:11 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 With the REST sample, I tried
 curl -H Accept: application/json -X GET
 http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products

 but it still returns XML.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:04 PM, Anjana Fernando anj...@wso2.comwrote:

 Hi Samisa,

 We don't actually have a specific sample for JSON as I know, Chanika
 was writing an article for this, with some scenarios, but didn't publish
 yet as I know. Chanika, do put a section to the docs to mention how to 
 do
 JSON with DSS.

 The content negotiation in data service simply works by setting the
 HTTP header Accept, with the content type as the value. For example, 
 to
 get a JSON response, you would have a HTTP header like the following:

 Accept: application/json.

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 12:52 PM, Samisa Abeysinghe 
 sam...@wso2.comwrote:

 To ask a related question, how do I do content negotiation with DSS
 REST?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 12:32 PM, Samisa Abeysinghe sam...@wso2.com
  wrote:

 I am looking to do REST with JSON as content type with DSS.

 Do we have a sample that I can use to get started with?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com





 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware







 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware





 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware




-- 
Sameera Jayasoma,
Architect,

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://sameera.adahas.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

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


Re: [Dev] Versioning for nested category features

2013-12-04 Thread Supun Malinga
Hi Sameera,

Created under chunk05 as following, Please check and let me know if this is
correct.
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/product-releases/chunk-05/features

jira: https://wso2.org/jira/browse/CARBON-14566

thanks,


On Wed, Dec 4, 2013 at 2:00 PM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Supun,

 For now, you have to include new versions in the chunk build space. And
 please create a Carbon Jira to track this issue.

 Thanks,
 Sameera.


 On Tue, Dec 3, 2013 at 11:07 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Sameera,

 As per the current svn structure there is not version directory added for
 nested category features. What's the best approach to overcome this?.

 [1]
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/features/nested-categories/as

 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




 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




-- 
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] [ESB] Problems in ESB Sample 100

2013-12-04 Thread Samisa Abeysinghe
Anyway, the technical reason for log full to not show security headers is
that, security handlers kick in only after the message send.

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Wed, Dec 4, 2013 at 3:10 PM, Chamila Wijayarathna cham...@wso2.comwrote:

 No, I was trying to observe message going from client to ESB and ESB to
 service. So for this sample I only tried it in in sequence.

 Did you try having log level=full/ in out sequence?




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


Re: [Dev] Do we have a JSON sample that ships with DSS?

2013-12-04 Thread Samisa Abeysinghe
https://wso2.org/jira/browse/DS-825

I raised it in DSS, but got to fix for the platform.

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Wed, Dec 4, 2013 at 3:10 PM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Samisa/Anjana,

 I've faced the same problem sometime back when I was working on a DSS
 based solution. At that I've raised the same concern in the dev list with
 the following subject.

 Enabling Http Content Negotiation by default in AS and DSS.

 Looks like this change is not available in the axis2.xml in 4.2.0 based
 products.

 Thanks,
 Sameera.


 On Wed, Dec 4, 2013 at 3:01 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi,

 Yeah, maybe it should. Sameera, can we add this change to kernel's
 axis2.xml? .. @Chanika, check if we get the axis2.xml from the kernel, or
 if we have our own one.

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 2:54 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Cool, that works. BTW, should not that parameter be set by default?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:22 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Samisa,

 I forgot one part, you need to add the following to the axis2.xml.

 parameter name=httpContentNegotiationtrue/parameter

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 2:14 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 That seems a bug that accept does not work, but content-type does?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:13 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 However, I figured that
 curl  -H Content-Type: application/json -X GET
 http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products
 works!


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:11 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 With the REST sample, I tried
 curl -H Accept: application/json -X GET
 http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products

 but it still returns XML.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:04 PM, Anjana Fernando anj...@wso2.comwrote:

 Hi Samisa,

 We don't actually have a specific sample for JSON as I know,
 Chanika was writing an article for this, with some scenarios, but 
 didn't
 publish yet as I know. Chanika, do put a section to the docs to 
 mention how
 to do JSON with DSS.

 The content negotiation in data service simply works by setting the
 HTTP header Accept, with the content type as the value. For example, 
 to
 get a JSON response, you would have a HTTP header like the following:

 Accept: application/json.

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 12:52 PM, Samisa Abeysinghe sam...@wso2.com
  wrote:

 To ask a related question, how do I do content negotiation with
 DSS REST?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 12:32 PM, Samisa Abeysinghe 
 sam...@wso2.com wrote:

 I am looking to do REST with JSON as content type with DSS.

 Do we have a sample that I can use to get started with?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com





 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware







 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware





 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware




 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware

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


[Dev] Changing the KDC search base

2013-12-04 Thread Shani Ranasinghe
Hi,

The KDC server it sets its search base when the server is initialized. This
string is set to search in a specific OU in the LDAP
(ou=Users,dc=wso2,dc=org). As a tenant is mapped to a OU in LDAP in the
current implementation, the realm in KDC refers to  a collection of OU's.

for e.g.

-dc=wso2,dc=org
   |_ou=Groups
   |_ou=tenant.com
   |   |_ou=groups
   |   |_ou=users
   |_ou=Users


The issue here is that, when I need to generate a TGT for a tenant user who
resides outside the OU, that is set to be searched on
(ou=Users,dc=wso2,dc=org), and inside another OU
(ou=tenant.com,ou=users,dc=wso2,dc=org),
the KDC fails to locate this user.

If there is a mechanism to change the KDC search base via a client side
configuration when the server is running, then It could fix the problem.
i.e. to have a client configuration to be passed every time a TGT is
requested(at every login) to let the KDC know where to search for the user.
I would need another 1  or 2 days to look into a possible solution to this.

Since the SS release date is set to be on the 17th Dec, I have done a
workaround, which is a temporary fix to search for users starting from the
root in the LDAP tree. This will be a change in the* KdcConfiguration.java *in
the *ldap-server* component (KDC is only used by SS at the moment).

 I agree that this is  a performance hit, in the long run. But since there
are more tasks that are equally important and needs work to be done in the
HDFS front, such as, starting the datanode as a SS node, starting the
server with a port offset, and functionality bug fixes, done before end of
the week, I will leave this implementation as it is(with the workaround)
and move on. If time permits, I will look into the more optimal solution.

Please let me know of any concerns.

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

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


[Dev] [ESB] Problem with samples

2013-12-04 Thread Maduranga Siriwardena
Hi all,
When running the sample 101 [1] and 102 [2] of ESB 4.8, I don't get any
response to the client. When I captured the packets from wireshark, I can
see that the request is sent to ESB and ESB sends a CreateSequence message
to axis2 server and axis2 server responds with a CreateSequenceResponse
message. But ESB does not send the getQuote message to the axis2 sever.
Then later client time outs. Can someone please explain what is happening
hare?
details of the packet capturing is attached bellow.


[1]
http://docs.wso2.org/display/ESB480/Sample+101%3A+Reliable+Message+Exchange+with+Back-End+Server+Using+WS-ReliableMessaging
[2]
http://docs.wso2.org/display/ESB480/Sample+102%3A+Reliable+Message+Exchange+with+Back-End+Server+Using+WS-ReliableMessaging+1.1


101.pcapng
Description: Binary data
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Storage Server Listing cassandra keyspaces does not work yet

2013-12-04 Thread Deependra Ariyadewa
I will have a look.

Thanks,

Deependra.


On Wed, Dec 4, 2013 at 3:03 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 Configs attached.


 On Wed, Dec 4, 2013 at 2:51 PM, Deependra Ariyadewa d...@wso2.com wrote:

 Hi Chamara,

 Please share the configuration you have used in the testing.

 Thanks,

 Deependra.


 On Wed, Dec 4, 2013 at 2:41 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 I'm still seeing the behavior of Cassandra keyspaces not listing in SS
 cluster nodes.

 This has been observed in both wka and multicast clustering scenarios.

 We need to fix this for this release.

 https://wso2.org/jira/browse/SS-242

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*




 --
 Deependra Ariyadewa
 WSO2, Inc. http://wso2.com/ http://wso2.org

 email d...@wso2.com; cell +94 71 403 5996 ;
 Blog http://risenfall.wordpress.com/
 PGP info: KeyID: 'DC627E6F'

 *WSO2 - Lean . Enterprise . Middleware*




 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766 %2B94772786766*




-- 
Deependra Ariyadewa
WSO2, Inc. http://wso2.com/ http://wso2.org

email d...@wso2.com; cell +94 71 403 5996 ;
Blog http://risenfall.wordpress.com/
PGP info: KeyID: 'DC627E6F'

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


Re: [Dev] [ESB] Problem with samples

2013-12-04 Thread Nirmal Fernando
There's a note there saying:

*Important*

Reliable Message only works with *Nhttp configuration*.

ESB 4.8 by default uses Passthru Transport. So, that might be the reason.


On Wed, Dec 4, 2013 at 3:32 PM, Maduranga Siriwardena madura...@wso2.comwrote:

 Hi all,
 When running the sample 101 [1] and 102 [2] of ESB 4.8, I don't get any
 response to the client. When I captured the packets from wireshark, I can
 see that the request is sent to ESB and ESB sends a CreateSequence message
 to axis2 server and axis2 server responds with a CreateSequenceResponse
 message. But ESB does not send the getQuote message to the axis2 sever.
 Then later client time outs. Can someone please explain what is happening
 hare?
 details of the packet capturing is attached bellow.


 [1]
 http://docs.wso2.org/display/ESB480/Sample+101%3A+Reliable+Message+Exchange+with+Back-End+Server+Using+WS-ReliableMessaging
 [2]
 http://docs.wso2.org/display/ESB480/Sample+102%3A+Reliable+Message+Exchange+with+Back-End+Server+Using+WS-ReliableMessaging+1.1



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




-- 

Thanks  regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] Problem with samples

2013-12-04 Thread Maduranga Siriwardena
We have also tried with version 4.7. However is there any way to startup
the sample servers (i.e. by running ./wso2esb-samples.sh) with the Nhttp
configuration?


On Wed, Dec 4, 2013 at 3:43 PM, Nirmal Fernando nir...@wso2.com wrote:

 There's a note there saying:

 *Important*

 Reliable Message only works with *Nhttp configuration*.

 ESB 4.8 by default uses Passthru Transport. So, that might be the reason.


 On Wed, Dec 4, 2013 at 3:32 PM, Maduranga Siriwardena 
 madura...@wso2.comwrote:

 Hi all,
 When running the sample 101 [1] and 102 [2] of ESB 4.8, I don't get any
 response to the client. When I captured the packets from wireshark, I can
 see that the request is sent to ESB and ESB sends a CreateSequence message
 to axis2 server and axis2 server responds with a CreateSequenceResponse
 message. But ESB does not send the getQuote message to the axis2 sever.
 Then later client time outs. Can someone please explain what is happening
 hare?
 details of the packet capturing is attached bellow.


 [1]
 http://docs.wso2.org/display/ESB480/Sample+101%3A+Reliable+Message+Exchange+with+Back-End+Server+Using+WS-ReliableMessaging
 [2]
 http://docs.wso2.org/display/ESB480/Sample+102%3A+Reliable+Message+Exchange+with+Back-End+Server+Using+WS-ReliableMessaging+1.1



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




 --

 Thanks  regards,
 Nirmal

 Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/


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


Re: [Dev] [ESB] Problem with samples

2013-12-04 Thread Samisa Abeysinghe
Search the docs for enabling nhttp and edit the sample server's conf
accordingly.

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Wed, Dec 4, 2013 at 3:52 PM, Maduranga Siriwardena madura...@wso2.comwrote:

 We have also tried with version 4.7. However is there any way to startup
 the sample servers (i.e. by running ./wso2esb-samples.sh) with the Nhttp
 configuration?


 On Wed, Dec 4, 2013 at 3:43 PM, Nirmal Fernando nir...@wso2.com wrote:

 There's a note there saying:

 *Important*

 Reliable Message only works with *Nhttp configuration*.

 ESB 4.8 by default uses Passthru Transport. So, that might be the reason.


 On Wed, Dec 4, 2013 at 3:32 PM, Maduranga Siriwardena madura...@wso2.com
  wrote:

 Hi all,
 When running the sample 101 [1] and 102 [2] of ESB 4.8, I don't get any
 response to the client. When I captured the packets from wireshark, I can
 see that the request is sent to ESB and ESB sends a CreateSequence message
 to axis2 server and axis2 server responds with a CreateSequenceResponse
 message. But ESB does not send the getQuote message to the axis2 sever.
 Then later client time outs. Can someone please explain what is happening
 hare?
 details of the packet capturing is attached bellow.


 [1]
 http://docs.wso2.org/display/ESB480/Sample+101%3A+Reliable+Message+Exchange+with+Back-End+Server+Using+WS-ReliableMessaging
 [2]
 http://docs.wso2.org/display/ESB480/Sample+102%3A+Reliable+Message+Exchange+with+Back-End+Server+Using+WS-ReliableMessaging+1.1



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




 --

 Thanks  regards,
 Nirmal

 Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/



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


[Dev] [Bamboo-Build] Developer Studio Eclipse-Tools #1310 was SUCCESSFUL. Change made by Asanka Sanjeewa and Harshana Martin.

2013-12-04 Thread Bamboo

---
Developer Studio  Eclipse-Tools  #1310 was successful.
---
Code has been updated by Asanka Sanjeewa, Harshana Martin.

http://wso2.org/bamboo/browse/DS0001-DSET01-1310/




--
Code Changes
--
Harshana Martin (192500):

Added QOS Project wizard

Asanka Sanjeewa (192503):

Fixed TOOLS-2162



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Integration test failure EmailHostObjectTestCase

2013-12-04 Thread Madhuka Udantha
Hi,

AS having there own testApp (jaggery app) zip that was created from Git
(not external). Git hub change will not effect on those AS intgration
tests.
Checked the issue in AS new pack, in local (supunM also) It was working
fine.
Email host object and email test case have no error and issues.

As it was not return value from 'email.jag' in ec2 as it not able able to
send email in EC2 in this particular instance.
(You can check EC2 for allowing email to send on applicationss or you can
skip the email test in EC2, but cover it in smoke email test. etc.)

Thanks


On Wed, Dec 4, 2013 at 2:46 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Jaggery version, : 0.9.0.ALPHA4.wso2v1. This is the 4.2.0 released version
 AFAIK.

 thanks,


 On Wed, Dec 4, 2013 at 2:38 PM, Madhuka Udantha madh...@wso2.com wrote:

 Hi Supun,

 Which jaggery version your using in here (In above AS)?
 And you testing files reagrd to jaggery are external form git jaggery
 branch? or SVN (non git externals)


 On Wed, Dec 4, 2013 at 2:27 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Madhuka,

 Can you have a look pls. Error [1]
 [1]
 http://ec2-54-205-250-106.compute-1.amazonaws.com/chunk-05/03-12-2013/surefire-reports/#testEmailJaggery

 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




 --
 *Madhuka* Udantha
 Senior Software Engineer
 Development Technologies
 WSO2 Inc. : http://wso2.com

 *Mobile*: +94774066336
 *Blog*: http://madhukaudantha.blogspot.com/




 --
 Supun Malinga,

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




-- 
*Madhuka* Udantha
Senior Software Engineer
Development Technologies
WSO2 Inc. : http://wso2.com

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


Re: [Dev] Integration test failure EmailHostObjectTestCase

2013-12-04 Thread Supun Malinga
thanks Madhuka.


On Wed, Dec 4, 2013 at 5:14 PM, Madhuka Udantha madh...@wso2.com wrote:

 Hi,

 AS having there own testApp (jaggery app) zip that was created from Git
 (not external). Git hub change will not effect on those AS intgration
 tests.
 Checked the issue in AS new pack, in local (supunM also) It was working
 fine.
 Email host object and email test case have no error and issues.

 As it was not return value from 'email.jag' in ec2 as it not able able to
 send email in EC2 in this particular instance.
 (You can check EC2 for allowing email to send on applicationss or you can
 skip the email test in EC2, but cover it in smoke email test. etc.)

 Thanks


 On Wed, Dec 4, 2013 at 2:46 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Jaggery version, : 0.9.0.ALPHA4.wso2v1. This is the 4.2.0 released
 version AFAIK.

 thanks,


 On Wed, Dec 4, 2013 at 2:38 PM, Madhuka Udantha madh...@wso2.com wrote:

 Hi Supun,

 Which jaggery version your using in here (In above AS)?
 And you testing files reagrd to jaggery are external form git jaggery
 branch? or SVN (non git externals)


 On Wed, Dec 4, 2013 at 2:27 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Madhuka,

 Can you have a look pls. Error [1]
 [1]
 http://ec2-54-205-250-106.compute-1.amazonaws.com/chunk-05/03-12-2013/surefire-reports/#testEmailJaggery

 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




 --
 *Madhuka* Udantha
 Senior Software Engineer
 Development Technologies
 WSO2 Inc. : http://wso2.com

 *Mobile*: +94774066336
 *Blog*: http://madhukaudantha.blogspot.com/




 --
 Supun Malinga,

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




 --
 *Madhuka* Udantha
 Senior Software Engineer
 Development Technologies
 WSO2 Inc. : http://wso2.com

 *Mobile*: +94774066336
 *Blog*: http://madhukaudantha.blogspot.com/




-- 
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


[Dev] Commit to kernel patch 3

2013-12-04 Thread Piyum Fernando
Please commit the change at [1] to kernel patch 3

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

Thanks.

-- 
*Piyum Fernando*
Software Engineer
WSO2 Inc.;  http://wso2.com

Mobile: +94 77 22 93 880
Tel:  +94 31 22 75 715
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [WSO2 SS - RSS]Username length restricted to 7 characters

2013-12-04 Thread Thayalan
Hi,

Is there any particular reason to restrict the username length to 7
characters in RSS Database User creation. I'm getting the following
exception when trying to create a username with the length more than 7
characters.

*Value in the username field entered exceeds the maximum permitted length
of 7*

-- 
Regards,
Thayalan Sivapaleswararajah
Associate Technical Lead - QA
Mob: +94(0)777872485
Tel : +94(0)(11)2145345
Fax : +94(0)(11)2145300
Email: thaya...@wso2.com

*Disclaimer*: *This communication may contain privileged or other
confidential information and is intended exclusively for the addressee/s.
If you are not the intended recipient/s, or believe that you may have
received this communication in error, please reply to the sender indicating
that fact and delete the copy you received and in addition, you should not
print, copy, retransmit, disseminate, or otherwise use the information
contained in this communication. Internet communications cannot be
guaranteed to be timely, secure, error or virus-free. The sender does not
accept liability for any errors or omissions.*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB]Problem with sample 153

2013-12-04 Thread Dimuthu Upeksha
Hi all,
In sample 153 [1] it is mentioned to run the client using

---

ant stockquote -Dtrpurl=http://localhost:8280/services/StockQuoteProxy
-Dpolicy=./../../repository/samples/resources/policy/client_policy_3.xml

-
When I run the client following exception came out.



[java] org.apache.axis2.AxisFault: Error in encryption

 [java] at
org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)

 [java] at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)

--

I added unlimited strength policy files to the JDK 7. It seems like the
client is unable to encrypt the request message. What could be a solution
for this?

[1]
http://docs.wso2.org/display/ESB480/Sample+153%3A+Routing+the+Messages+Arrived+to+a+Proxy+Service+without+Processing+the+Security+Headers
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Access Throttling does not work for the uploaded services via try it or soap in admin and tenant mode in AS

2013-12-04 Thread Ushani Balasooriya
Hi,

Pls note the $subject in latest packs. Issue is reported in [1].

[1] https://wso2.org/jira/browse/WSAS-1646


Thanks and Regards,
-- 
*Ushani Balasooriya*
Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; +94772636796
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Access Throttling does not work for the uploaded services via try it or soap in admin and tenant mode in AS

2013-12-04 Thread Sagara Gunathunga
On Wed, Dec 4, 2013 at 7:06 AM, Ushani Balasooriya ush...@wso2.com wrote:

 Hi,

 Pls note the $subject in latest packs. Issue is reported in [1].


Just to clarify, is this scenario work for ESB proxy services ?

Thanks !


 [1] https://wso2.org/jira/browse/WSAS-1646


 Thanks and Regards,
 --
 *Ushani Balasooriya*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796


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




-- 
Sagara Gunathunga

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


Re: [Dev] Access Throttling does not work for the uploaded services via try it or soap in admin and tenant mode in AS

2013-12-04 Thread Ushani Balasooriya
Similar issue has been reported [1].

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


On Wed, Dec 4, 2013 at 5:41 PM, Sagara Gunathunga sag...@wso2.com wrote:




 On Wed, Dec 4, 2013 at 7:06 AM, Ushani Balasooriya ush...@wso2.comwrote:

 Hi,

 Pls note the $subject in latest packs. Issue is reported in [1].


 Just to clarify, is this scenario work for ESB proxy services ?

 Thanks !


 [1] https://wso2.org/jira/browse/WSAS-1646


 Thanks and Regards,
 --
 *Ushani Balasooriya*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796


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




 --
 Sagara Gunathunga

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




-- 
*Ushani Balasooriya*
Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; +94772636796
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Access Throttling does not work for the uploaded services via try it or soap in admin and tenant mode in AS

2013-12-04 Thread Supun Malinga
Seems there is a fix given by Jeewantha, but not committed :(


On Wed, Dec 4, 2013 at 5:45 PM, Ushani Balasooriya ush...@wso2.com wrote:

 Similar issue has been reported [1].

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


 On Wed, Dec 4, 2013 at 5:41 PM, Sagara Gunathunga sag...@wso2.com wrote:




 On Wed, Dec 4, 2013 at 7:06 AM, Ushani Balasooriya ush...@wso2.comwrote:

 Hi,

 Pls note the $subject in latest packs. Issue is reported in [1].


 Just to clarify, is this scenario work for ESB proxy services ?

 Thanks !


 [1] https://wso2.org/jira/browse/WSAS-1646


 Thanks and Regards,
 --
 *Ushani Balasooriya*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796


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




 --
 Sagara Gunathunga

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




 --
 *Ushani Balasooriya*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796




-- 
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] Access Throttling does not work for the uploaded services via try it or soap in admin and tenant mode in AS

2013-12-04 Thread Chathurika Mahaarachchi
Seems this is not working in latest DSS packs. Issue reported [1].

[1]. https://wso2.org/jira/browse/DS-827

Thanks,
Chathurika


On Wed, Dec 4, 2013 at 5:41 PM, Sagara Gunathunga sag...@wso2.com wrote:




 On Wed, Dec 4, 2013 at 7:06 AM, Ushani Balasooriya ush...@wso2.comwrote:

 Hi,

 Pls note the $subject in latest packs. Issue is reported in [1].


 Just to clarify, is this scenario work for ESB proxy services ?

 Thanks !


 [1] https://wso2.org/jira/browse/WSAS-1646


 Thanks and Regards,
 --
 *Ushani Balasooriya*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796


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




 --
 Sagara Gunathunga

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


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




-- 
*Chathurika Mahaarachchi*
Software Engineer, QA.
WSO2 Inc.: http://wso2.com/
lean.enterprise.middleware
Mobile: +94718223950
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Access Throttling does not work for the uploaded services via try it or soap in admin and tenant mode in AS

2013-12-04 Thread Sagara Gunathunga
On Wed, Dec 4, 2013 at 7:18 AM, Supun Malinga sup...@wso2.com wrote:

 Seems there is a fix given by Jeewantha, but not committed :(


Yes better to check with ESB folks too,  this is a important feature for
both services and proxy services.

Thanks !



 On Wed, Dec 4, 2013 at 5:45 PM, Ushani Balasooriya ush...@wso2.comwrote:

 Similar issue has been reported [1].

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


 On Wed, Dec 4, 2013 at 5:41 PM, Sagara Gunathunga sag...@wso2.comwrote:




 On Wed, Dec 4, 2013 at 7:06 AM, Ushani Balasooriya ush...@wso2.comwrote:

 Hi,

 Pls note the $subject in latest packs. Issue is reported in [1].


 Just to clarify, is this scenario work for ESB proxy services ?

 Thanks !


 [1] https://wso2.org/jira/browse/WSAS-1646


 Thanks and Regards,
 --
 *Ushani Balasooriya*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796


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




 --
 Sagara Gunathunga

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




 --
 *Ushani Balasooriya*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796




 --
 Supun Malinga,

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




-- 
Sagara Gunathunga

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


Re: [Dev] Commit to kernel patch 3

2013-12-04 Thread Manoj Kumara
Hi Piyum,

Committed with 192533.

Thanks,
Manoj

Best Regards..


Manoj Kumara
Software Engineer
WSO2, Inc.; http://wso2.com

Twitter:  http://twitter.com/ManKuma
Mobile: +94713448188


On Wed, Dec 4, 2013 at 5:19 PM, Piyum Fernando pi...@wso2.com wrote:

 Please commit the change at [1] to kernel patch 3

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

 Thanks.

 --
 *Piyum Fernando*
 Software Engineer
 WSO2 Inc.;  http://wso2.com

 Mobile: +94 77 22 93 880
 Tel:  +94 31 22 75 715

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


Re: [Dev] Commit to kernel patch 3

2013-12-04 Thread Supun Malinga
thanks Manoj.


On Wed, Dec 4, 2013 at 11:38 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Piyum,

 Committed with 192533.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Dec 4, 2013 at 5:19 PM, Piyum Fernando pi...@wso2.com wrote:

 Please commit the change at [1] to kernel patch 3

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

 Thanks.

 --
 *Piyum Fernando*
 Software Engineer
 WSO2 Inc.;  http://wso2.com

 Mobile: +94 77 22 93 880
 Tel:  +94 31 22 75 715





-- 
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


[Dev] Common problem with maintaining one file in many locations in our platform

2013-12-04 Thread Johann Nallathamby
Hi,

This is a common problem in our platform.

Ideally one kind of file should not be installed by multiple features. In
case it is unavoidable we should use svn externals to reference a file from
another location.

E.g. Identity.xml file is being installed by stratos.common.server feature.
For starters I think an identity service specific config file should not be
installed by stratos. Even if it should we need to have an svn external
pointing it to identity.core.server feature. Because otherwise since
Identity Server installs both of these features it ends up having an
out-dated file from stratos.common.server feature.

This is the same story with API Manager. It maintains a separate
identity.xml at the product level which leads to unwanted work.

I fixed the stratos common feature by adding an svn external to
stratos.common.server-2.2.0 feature sometime back. But somehow in 2.2.1
version the file has been added back again. Once I am able to commit to
branch I will fix this again. Please see if this can removed completely.

-- 
Thanks  Regards,

*Johann Dilantha Nallathamby*
Senior Software Engineer
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


[Dev] [ESB] Best practices for dealing with .back files?

2013-12-04 Thread Jackie Wheeler
Regarding [1], we don't talk about .back files in the ESB documentation,
and a web search doesn't bring up any info. What is the recommended
approach for dealing with them? Can we fix them through the Management
Console? Can we correct these type of issues through .car file
re-deployment (if the issue was caused through a .car file)? Do we have to
delete the .back file from the file system manually even after correcting
the issue in the artifact?

[1] https://wso2.org/jira/browse/DOCUMENTATION-507

Thanks,
Jackie

-- 
*Jackie Wheeler*
VP, Technical Content
WSO2, Inc.
Mobile: +1 510 725-2876
http://wso2.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] C5 Kernel codebase is now moved to GitHub

2013-12-04 Thread Dulitha Wijewantha
Yeah - git-submodules and git subtree needs to be used to manage large
scale projects. Also we need to have a git workflow for contributions [1].
Apache Cordova is also a very large scale project and they handle their
workflow in a forking mechanism [2].

[1] - https://www.atlassian.com/git/workflows
[2] - https://wiki.apache.org/cordova/GitWorkflow


On Fri, Nov 29, 2013 at 5:51 PM, Manuranga Perera m...@wso2.com wrote:

 unlike in svn, in git

- we don't have externals
- can't checkout part of the repo
- can't update part of checkout without pulling the whole repo

 therefore, in a large project like C5, we need to come up with a strategy
 for dividing things to subprojects

 available options seems to be git subtree and git submodule. let's
 take this into consideration during this restructuring.



 On Fri, Nov 29, 2013 at 4:05 PM, Kishanthan Thangarajah 
 kishant...@wso2.com wrote:

 Hi Folks,

 We have moved the current C5 kernel code-base to GitHub. The URL for this
 project is : https://github.com/wso2/carbon-kernel

 The current project structure will get changed as we are in the process
 of restructuring.

 Thanks,
 Kishanthan.

 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com
 http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan*

 ___
 Architecture mailing list
 architect...@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




 --
 With regards,
 *Manu*ranga Perera.

 phone : 071 7 70 20 50
 mail : m...@wso2.com

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




-- 
Chan (Dulitha Wijewantha)
Software Engineer - Mobile Development
WSO2Mobile
Lean.Enterprise.Mobileware
 * ~Email   duli...@wso2.com duli...@wso2mobile.com*
*  ~Mobile +94712112165*

*  ~Website   dulithawijewantha.com http://dulithawijewantha.com/*

*  ~Blog blog.dulithawijewantha.com
http://dulichan.github.io/chan/*
*  ~Twitter @dulitharw https://twitter.com/dulitharw*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] chunk 05 packs 05/12/2013

2013-12-04 Thread Supun Malinga
Pls note that these are RC1 packs.


On Thu, Dec 5, 2013 at 8:17 AM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 We will be copying today's packs to [1].

 [1] http://ec2-107-22-16-108.compute-1.amazonaws.com/chunk-05/05-12-2013/

 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




-- 
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] chunk 05 packs 05/12/2013

2013-12-04 Thread Supun Malinga
P2-repo
http://ec2-107-22-16-108.compute-1.amazonaws.com/chunk-05/05-12-2013/p2-repo/


On Thu, Dec 5, 2013 at 8:33 AM, Supun Malinga sup...@wso2.com wrote:

 Pls note that these are RC1 packs.


 On Thu, Dec 5, 2013 at 8:17 AM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 We will be copying today's packs to [1].

 [1] http://ec2-107-22-16-108.compute-1.amazonaws.com/chunk-05/05-12-2013/

 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




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


[Dev] CarbonContext re-factoring are not done for set of stratos components

2013-12-04 Thread Manjula Rathnayake
Hi all,

We need to refactor below components.

usage/org.wso2.carbon.usage.agent
sample-installer/org.wso2.carbon.sample.installer
throttling/org.wso2.carbon.throttling.agent

thank you.

-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Installing App Factory in Windows machines

2013-12-04 Thread Krishanthi Samarasinghe
Hi,

Is it possible to install App Factory in Windows machines?

-- 
Best Regards,
Krishanthi Bhagya Samarasinghe
Senior Software Engineer

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


Re: [Dev] Installing App Factory in Windows machines

2013-12-04 Thread Ramith Jayasinghe
Well... we haven't tried it before... and we don't have Scripts for windows
(yet!).
But in my opinion nothing prevents us from doing it.
Are you trying to do a distributed setup? or a local (everything in one
machine) setup?



On Thu, Dec 5, 2013 at 10:09 AM, Krishanthi Samarasinghe 
krishant...@wso2.com wrote:

 Hi,

 Is it possible to install App Factory in Windows machines?

 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software Engineer

 Mobile: +94 716028280


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




-- 
Ramith Jayasinghe
Technical Lead
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

E: ram...@wso2.com
P: +94 776715671
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] Clarification about dual channel mode.

2013-12-04 Thread Maduranga Siriwardena
this is the wire log for the message from esb to server
https://gist.github.com/madurangasiriwardena/7800197


On Thu, Dec 5, 2013 at 9:35 AM, Maduranga Siriwardena madura...@wso2.comwrote:

 Hi all,
 In sample 155 [1] (dual channel invocation on both client side and the
 server side of synapse with proxy services) both client - esb and esb -
 server connections are dual channel. When the esb sends a request to the
 server how does the server knows which address to reply? I can't see any
 header or something is set about replying address. There is a reply to
 element in the header of the soap message. But it does not contain a proper
 address. The text in the reply to element is 
 http://maduranga-Dell-System-Vostro-3450:8280/services/__ADDR_ONLY__;.


 [1]
 http://docs.wso2.org/display/ESB480/Sample+155%3A+Dual+Channel+Invocation+on+Both+Client+Side+and+Server+Side+of+Synapse+with+Proxy+Services

 Thank you.

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


Re: [Dev] [WSO2 SS - RSS]Username length restricted to 7 characters

2013-12-04 Thread Nirodha Pramod
Hi Thayalan,

AFAIR this is due to a limitation in some DBMSs. When you give database
name it appends another string based on your tenant name to make it a
unique one in the common DBMS. That full name is usually a lengthy one and
some DBMSs like oracle doesnt support having lengthy names for Database
name.

Nirodha


On Wed, Dec 4, 2013 at 5:19 PM, Thayalan thaya...@wso2.com wrote:

 Hi,

 Is there any particular reason to restrict the username length to 7
 characters in RSS Database User creation. I'm getting the following
 exception when trying to create a username with the length more than 7
 characters.

 *Value in the username field entered exceeds the maximum permitted length
 of 7*

 --
 Regards,
 Thayalan Sivapaleswararajah
 Associate Technical Lead - QA
 Mob: +94(0)777872485
 Tel : +94(0)(11)2145345
  Fax : +94(0)(11)2145300
 Email: thaya...@wso2.com

 *Disclaimer*: *This communication may contain privileged or other
 confidential information and is intended exclusively for the addressee/s.
 If you are not the intended recipient/s, or believe that you may have
 received this communication in error, please reply to the sender indicating
 that fact and delete the copy you received and in addition, you should not
 print, copy, retransmit, disseminate, or otherwise use the information
 contained in this communication. Internet communications cannot be
 guaranteed to be timely, secure, error or virus-free. The sender does not
 accept liability for any errors or omissions.*




-- 

*Nirodha Gallage*
Senior Software Engineer, QA.
WSO2 Inc.: http://wso2.com/
Mobile: +94716429078
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Versioning for nested category features

2013-12-04 Thread Sameera Jayasoma
Looks good Supun.


On Wed, Dec 4, 2013 at 3:11 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Sameera,

 Created under chunk05 as following, Please check and let me know if this
 is correct.

 https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/product-releases/chunk-05/features

 jira: https://wso2.org/jira/browse/CARBON-14566

 thanks,


 On Wed, Dec 4, 2013 at 2:00 PM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Supun,

 For now, you have to include new versions in the chunk build space. And
 please create a Carbon Jira to track this issue.

 Thanks,
 Sameera.


 On Tue, Dec 3, 2013 at 11:07 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Sameera,

 As per the current svn structure there is not version directory added
 for nested category features. What's the best approach to overcome this?.

 [1]
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/features/nested-categories/as

 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




 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




 --
 Supun Malinga,

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




-- 
Sameera Jayasoma,
Architect,

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://sameera.adahas.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

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


Re: [Dev] Installing App Factory in Windows machines

2013-12-04 Thread Krishanthi Samarasinghe
I wanted to do a local set up in Windows. But I have moved to Ubuntu since
there were not any scripts for Windows.

By the mean time I wanted to know the feasibility of setting up in Windows.

Thanx.


On Thu, Dec 5, 2013 at 10:14 AM, Ramith Jayasinghe ram...@wso2.com wrote:

 Well... we haven't tried it before... and we don't have Scripts for
 windows (yet!).
 But in my opinion nothing prevents us from doing it.
 Are you trying to do a distributed setup? or a local (everything in one
 machine) setup?



 On Thu, Dec 5, 2013 at 10:09 AM, Krishanthi Samarasinghe 
 krishant...@wso2.com wrote:

 Hi,

 Is it possible to install App Factory in Windows machines?

 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software Engineer

 Mobile: +94 716028280


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




 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671




-- 
Best Regards,
Krishanthi Bhagya Samarasinghe
Senior Software engineer

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


Re: [Dev] Installing App Factory in Windows machines

2013-12-04 Thread Ramith Jayasinghe
Well... Ideally that requires porting shell scripts (that configures AF
local setup) to windows.



On Thu, Dec 5, 2013 at 11:19 AM, Krishanthi Samarasinghe 
krishant...@wso2.com wrote:

 I wanted to do a local set up in Windows. But I have moved to Ubuntu since
 there were not any scripts for Windows.

 By the mean time I wanted to know the feasibility of setting up in Windows.

 Thanx.


 On Thu, Dec 5, 2013 at 10:14 AM, Ramith Jayasinghe ram...@wso2.comwrote:

 Well... we haven't tried it before... and we don't have Scripts for
 windows (yet!).
 But in my opinion nothing prevents us from doing it.
 Are you trying to do a distributed setup? or a local (everything in one
 machine) setup?



 On Thu, Dec 5, 2013 at 10:09 AM, Krishanthi Samarasinghe 
 krishant...@wso2.com wrote:

 Hi,

 Is it possible to install App Factory in Windows machines?

 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software Engineer

 Mobile: +94 716028280


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




 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671




 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software engineer

 Mobile: +94 716028280




-- 
Ramith Jayasinghe
Technical Lead
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

E: ram...@wso2.com
P: +94 776715671
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] support for OPTIONS [was Re: Do we have a JSON sample that ships with DSS?]

2013-12-04 Thread Samisa Abeysinghe
Do we support HTTP OPTIONS in DSS?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Wed, Dec 4, 2013 at 3:14 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 https://wso2.org/jira/browse/DS-825

 I raised it in DSS, but got to fix for the platform.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 3:10 PM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Samisa/Anjana,

 I've faced the same problem sometime back when I was working on a DSS
 based solution. At that I've raised the same concern in the dev list with
 the following subject.

 Enabling Http Content Negotiation by default in AS and DSS.

 Looks like this change is not available in the axis2.xml in 4.2.0 based
 products.

 Thanks,
 Sameera.


 On Wed, Dec 4, 2013 at 3:01 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi,

 Yeah, maybe it should. Sameera, can we add this change to kernel's
 axis2.xml? .. @Chanika, check if we get the axis2.xml from the kernel, or
 if we have our own one.

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 2:54 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Cool, that works. BTW, should not that parameter be set by default?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:22 PM, Anjana Fernando anj...@wso2.comwrote:

 Hi Samisa,

 I forgot one part, you need to add the following to the axis2.xml.

 parameter name=httpContentNegotiationtrue/parameter

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 2:14 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 That seems a bug that accept does not work, but content-type does?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:13 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 However, I figured that
 curl  -H Content-Type: application/json -X GET
 http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products
 works!


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:11 PM, Samisa Abeysinghe 
 sam...@wso2.comwrote:

 With the REST sample, I tried
 curl -H Accept: application/json -X GET
 http://localhost:9763/services/samples/ResourcesSample.HTTPEndpoint/products

 but it still returns XML.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 2:04 PM, Anjana Fernando anj...@wso2.comwrote:

 Hi Samisa,

 We don't actually have a specific sample for JSON as I know,
 Chanika was writing an article for this, with some scenarios, but 
 didn't
 publish yet as I know. Chanika, do put a section to the docs to 
 mention how
 to do JSON with DSS.

 The content negotiation in data service simply works by setting
 the HTTP header Accept, with the content type as the value. For 
 example,
 to get a JSON response, you would have a HTTP header like the 
 following:

 Accept: application/json.

 Cheers,
 Anjana.


 On Wed, Dec 4, 2013 at 12:52 PM, Samisa Abeysinghe 
 sam...@wso2.com wrote:

 To ask a related question, how do I do content negotiation with
 DSS REST?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Wed, Dec 4, 2013 at 12:32 PM, Samisa Abeysinghe 
 sam...@wso2.com wrote:

 I am looking to do REST with JSON as content type with DSS.

 Do we have a sample that I can use to get started with?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com





 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware







 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware





 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware




 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware



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


Re: [Dev] Installing App Factory in Windows machines

2013-12-04 Thread Danushka Fernando
We are running some bash scripts to setup AF. I think there are ways to run
bash scripts in windows. BTW three SCs should start as root/admin user.

Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729


On Thu, Dec 5, 2013 at 11:25 AM, Ramith Jayasinghe ram...@wso2.com wrote:

 Well... Ideally that requires porting shell scripts (that configures AF
 local setup) to windows.



 On Thu, Dec 5, 2013 at 11:19 AM, Krishanthi Samarasinghe 
 krishant...@wso2.com wrote:

 I wanted to do a local set up in Windows. But I have moved to Ubuntu
 since there were not any scripts for Windows.

 By the mean time I wanted to know the feasibility of setting up in
 Windows.

 Thanx.


 On Thu, Dec 5, 2013 at 10:14 AM, Ramith Jayasinghe ram...@wso2.comwrote:

 Well... we haven't tried it before... and we don't have Scripts for
 windows (yet!).
 But in my opinion nothing prevents us from doing it.
 Are you trying to do a distributed setup? or a local (everything in one
 machine) setup?



 On Thu, Dec 5, 2013 at 10:09 AM, Krishanthi Samarasinghe 
 krishant...@wso2.com wrote:

 Hi,

 Is it possible to install App Factory in Windows machines?

 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software Engineer

 Mobile: +94 716028280


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




 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671




 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software engineer

 Mobile: +94 716028280




 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671


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


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


Re: [Dev] Installing App Factory in Windows machines

2013-12-04 Thread Ramith Jayasinghe
Cygwin?


On Thu, Dec 5, 2013 at 11:49 AM, Danushka Fernando danush...@wso2.comwrote:

 We are running some bash scripts to setup AF. I think there are ways to
 run bash scripts in windows. BTW three SCs should start as root/admin user.

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729


 On Thu, Dec 5, 2013 at 11:25 AM, Ramith Jayasinghe ram...@wso2.comwrote:

 Well... Ideally that requires porting shell scripts (that configures AF
 local setup) to windows.



 On Thu, Dec 5, 2013 at 11:19 AM, Krishanthi Samarasinghe 
 krishant...@wso2.com wrote:

 I wanted to do a local set up in Windows. But I have moved to Ubuntu
 since there were not any scripts for Windows.

 By the mean time I wanted to know the feasibility of setting up in
 Windows.

 Thanx.


 On Thu, Dec 5, 2013 at 10:14 AM, Ramith Jayasinghe ram...@wso2.comwrote:

 Well... we haven't tried it before... and we don't have Scripts for
 windows (yet!).
 But in my opinion nothing prevents us from doing it.
 Are you trying to do a distributed setup? or a local (everything in one
 machine) setup?



 On Thu, Dec 5, 2013 at 10:09 AM, Krishanthi Samarasinghe 
 krishant...@wso2.com wrote:

 Hi,

 Is it possible to install App Factory in Windows machines?

 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software Engineer

 Mobile: +94 716028280


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




 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671




 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software engineer

 Mobile: +94 716028280




 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671


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





-- 
Ramith Jayasinghe
Technical Lead
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

E: ram...@wso2.com
P: +94 776715671
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Installing App Factory in Windows machines

2013-12-04 Thread Krishanthi Samarasinghe
Ok..do we have those scripts or do we need to write them for windows?

Thanx


On Thu, Dec 5, 2013 at 11:25 AM, Ramith Jayasinghe ram...@wso2.com wrote:

 Well... Ideally that requires porting shell scripts (that configures AF
 local setup) to windows.



 On Thu, Dec 5, 2013 at 11:19 AM, Krishanthi Samarasinghe 
 krishant...@wso2.com wrote:

 I wanted to do a local set up in Windows. But I have moved to Ubuntu
 since there were not any scripts for Windows.

 By the mean time I wanted to know the feasibility of setting up in
 Windows.

 Thanx.


 On Thu, Dec 5, 2013 at 10:14 AM, Ramith Jayasinghe ram...@wso2.comwrote:

 Well... we haven't tried it before... and we don't have Scripts for
 windows (yet!).
 But in my opinion nothing prevents us from doing it.
 Are you trying to do a distributed setup? or a local (everything in one
 machine) setup?



 On Thu, Dec 5, 2013 at 10:09 AM, Krishanthi Samarasinghe 
 krishant...@wso2.com wrote:

 Hi,

 Is it possible to install App Factory in Windows machines?

 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software Engineer

 Mobile: +94 716028280


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




 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671




 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software engineer

 Mobile: +94 716028280




 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671




-- 
Best Regards,
Krishanthi Bhagya Samarasinghe
Senior Software engineer

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


Re: [Dev] Installing App Factory in Windows machines

2013-12-04 Thread Gayan Dhanushka
Hi Krishanthi,

I think what people are suggesting here is that there may be clients which
enables us to run linux shell scripts on top of windows. If there be a
client like that you don't need to rewrite them. Yoou will just need to run
those scripts using that client.

Thanks.
GayanD

Gayan Dhanuska
Software Engineer
http://wso2.com/
Lean Enterprise Middleware

Mobile
071 666 2327

Office
Tel   : 94 11 214 5345
Fax  : 94 11 214 5300

Twitter : https://twitter.com/gayanlggd


On Thu, Dec 5, 2013 at 11:57 AM, Krishanthi Samarasinghe 
krishant...@wso2.com wrote:

 Ok..do we have those scripts or do we need to write them for windows?

 Thanx


 On Thu, Dec 5, 2013 at 11:25 AM, Ramith Jayasinghe ram...@wso2.comwrote:

 Well... Ideally that requires porting shell scripts (that configures AF
 local setup) to windows.



 On Thu, Dec 5, 2013 at 11:19 AM, Krishanthi Samarasinghe 
 krishant...@wso2.com wrote:

 I wanted to do a local set up in Windows. But I have moved to Ubuntu
 since there were not any scripts for Windows.

 By the mean time I wanted to know the feasibility of setting up in
 Windows.

 Thanx.


 On Thu, Dec 5, 2013 at 10:14 AM, Ramith Jayasinghe ram...@wso2.comwrote:

 Well... we haven't tried it before... and we don't have Scripts for
 windows (yet!).
 But in my opinion nothing prevents us from doing it.
 Are you trying to do a distributed setup? or a local (everything in one
 machine) setup?



 On Thu, Dec 5, 2013 at 10:09 AM, Krishanthi Samarasinghe 
 krishant...@wso2.com wrote:

 Hi,

 Is it possible to install App Factory in Windows machines?

 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software Engineer

 Mobile: +94 716028280


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




 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671




 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software engineer

 Mobile: +94 716028280




 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671




 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software engineer

 Mobile: +94 716028280


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


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


Re: [Dev] Installing App Factory in Windows machines

2013-12-04 Thread Krishanthi Samarasinghe
Ok..I got it ...thnx Gayan for more explanation...

Thnx all




On Thu, Dec 5, 2013 at 12:02 PM, Gayan Dhanushka gay...@wso2.com wrote:

 Hi Krishanthi,

 I think what people are suggesting here is that there may be clients which
 enables us to run linux shell scripts on top of windows. If there be a
 client like that you don't need to rewrite them. Yoou will just need to run
 those scripts using that client.

 Thanks.
 GayanD

 Gayan Dhanuska
 Software Engineer
 http://wso2.com/
 Lean Enterprise Middleware

 Mobile
 071 666 2327

 Office
 Tel   : 94 11 214 5345
 Fax  : 94 11 214 5300

 Twitter : https://twitter.com/gayanlggd


 On Thu, Dec 5, 2013 at 11:57 AM, Krishanthi Samarasinghe 
 krishant...@wso2.com wrote:

 Ok..do we have those scripts or do we need to write them for windows?

 Thanx


 On Thu, Dec 5, 2013 at 11:25 AM, Ramith Jayasinghe ram...@wso2.comwrote:

 Well... Ideally that requires porting shell scripts (that configures AF
 local setup) to windows.



 On Thu, Dec 5, 2013 at 11:19 AM, Krishanthi Samarasinghe 
 krishant...@wso2.com wrote:

 I wanted to do a local set up in Windows. But I have moved to Ubuntu
 since there were not any scripts for Windows.

 By the mean time I wanted to know the feasibility of setting up in
 Windows.

 Thanx.


 On Thu, Dec 5, 2013 at 10:14 AM, Ramith Jayasinghe ram...@wso2.comwrote:

 Well... we haven't tried it before... and we don't have Scripts for
 windows (yet!).
 But in my opinion nothing prevents us from doing it.
 Are you trying to do a distributed setup? or a local (everything in
 one machine) setup?



 On Thu, Dec 5, 2013 at 10:09 AM, Krishanthi Samarasinghe 
 krishant...@wso2.com wrote:

 Hi,

 Is it possible to install App Factory in Windows machines?

 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software Engineer

 Mobile: +94 716028280


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




 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671




 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software engineer

 Mobile: +94 716028280




 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671




 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software engineer

 Mobile: +94 716028280


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





-- 
Best Regards,
Krishanthi Bhagya Samarasinghe
Senior Software engineer

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


Re: [Dev] Installing App Factory in Windows machines

2013-12-04 Thread Danushka Fernando
 Ok..do we have those scripts or do we need to write them for windows?
You may need to change mysql commands. Not sure about those.

Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729


On Thu, Dec 5, 2013 at 12:02 PM, Gayan Dhanushka gay...@wso2.com wrote:

 Hi Krishanthi,

 I think what people are suggesting here is that there may be clients which
 enables us to run linux shell scripts on top of windows. If there be a
 client like that you don't need to rewrite them. Yoou will just need to run
 those scripts using that client.

 Thanks.
 GayanD

 Gayan Dhanuska
 Software Engineer
 http://wso2.com/
 Lean Enterprise Middleware

 Mobile
 071 666 2327

 Office
 Tel   : 94 11 214 5345
 Fax  : 94 11 214 5300

 Twitter : https://twitter.com/gayanlggd


 On Thu, Dec 5, 2013 at 11:57 AM, Krishanthi Samarasinghe 
 krishant...@wso2.com wrote:

 Ok..do we have those scripts or do we need to write them for windows?

 Thanx


 On Thu, Dec 5, 2013 at 11:25 AM, Ramith Jayasinghe ram...@wso2.comwrote:

 Well... Ideally that requires porting shell scripts (that configures AF
 local setup) to windows.



 On Thu, Dec 5, 2013 at 11:19 AM, Krishanthi Samarasinghe 
 krishant...@wso2.com wrote:

 I wanted to do a local set up in Windows. But I have moved to Ubuntu
 since there were not any scripts for Windows.

 By the mean time I wanted to know the feasibility of setting up in
 Windows.

 Thanx.


 On Thu, Dec 5, 2013 at 10:14 AM, Ramith Jayasinghe ram...@wso2.comwrote:

 Well... we haven't tried it before... and we don't have Scripts for
 windows (yet!).
 But in my opinion nothing prevents us from doing it.
 Are you trying to do a distributed setup? or a local (everything in
 one machine) setup?



 On Thu, Dec 5, 2013 at 10:09 AM, Krishanthi Samarasinghe 
 krishant...@wso2.com wrote:

 Hi,

 Is it possible to install App Factory in Windows machines?

 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software Engineer

 Mobile: +94 716028280


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




 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671




 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software engineer

 Mobile: +94 716028280




 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 776715671




 --
 Best Regards,
 Krishanthi Bhagya Samarasinghe
 Senior Software engineer

 Mobile: +94 716028280


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



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


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


[Dev] [Bamboo-Build] Developer Studio Eclipse-Tools #1313 has FAILED. Change made by Viraj Rajaguru.

2013-12-04 Thread Bamboo

---
Developer Studio  Eclipse-Tools  #1313 failed.
---
Code has been updated by Viraj Rajaguru.
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/DS0001-DSET01-1313/

-
Currently Responsible
-

Viraj Rajaguru (Automatically assigned)



--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.



--
Code Changes
--
Viraj Rajaguru (192554):

Updating dependency jars



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How the kernel patches get apply when install the product features from P2 repo

2013-12-04 Thread Asanka Vithanage
Hi All,

I tried to install AS 521 features using a P2 repo [1] on carbon server
downloaded from location [2]
But seems repository/components/patches folder does not contain patch0001 ,
patch0002 , patch0003 even after feature installation.

Do we need to add above patches manually in this case? Or What steps do we
really need to follow when build the 4.2.0 based products on carbon sever?


[1]
http://ec2-107-22-16-108.compute-1.amazonaws.com/chunk-05/05-12-2013/p2-repo/
[2] http://wso2.com/products/carbon/


-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] Developer Studio Eclipse-Tools #1314 was SUCCESSFUL. Change made by Viraj Rajaguru.

2013-12-04 Thread Bamboo

---
Developer Studio  Eclipse-Tools  #1314 was successful.
---
Code has been updated by Viraj Rajaguru.

http://wso2.org/bamboo/browse/DS0001-DSET01-1314/




--
Code Changes
--
Viraj Rajaguru (192557):

Updating dependency Jars



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev