Re: [Dev] [Architecture] WSO2 API Manager 3.0.0-M10 Released!

2017-12-16 Thread Samisa Abeysinghe
On Thu, Dec 14, 2017 at 10:13 PM, Rukshan Premathunga 
wrote:

> The WSO2 API Manager team is pleased to announce the release of API
> Manager 3.0.0-M10. It's now available to download.
> Distribution
>
>- https://github.com/wso2/product-apim/releases/
>download/v3.0.0-m10/wso2apim-3.0.0-m10.zip
>
> 
>- https://github.com/wso2/product-apim/releases/
>download/v3.0.0-m10/wso2apim-gateway-3.0.0-m10.zip
>
> 
>- https://github.com/wso2/product-apim/releases/
>download/v3.0.0-m10/wso2apim-das-3.0.0-m10.zip
>
> 
>
> Documentation
>
>- https://docs.wso2.com/display/AM300/
>
> Following list contains all the features, improvements and bug fixes
> available with this milestone.
> New Feature
>
>-
>
>https://github.com/wso2/product-apim/issues?utf8=%E2%
>9C%93=label%3A3.0.0+milestone%3A3.0.0-m10+is%
>3Aclosed+label%3A%22Type%2FNew+Feature%22+
>
> 
>
> Tasks/Bug Fixes
>
>-
>
>https://github.com/wso2/product-apim/issues?utf8=%E2%
>9C%93=label%3A3.0.0+milestone%3A3.0.0-m10+is%
>3Aclosed+label%3AType%2FBug+
>
> 
>
> Improvements
>
>-
>
>https://github.com/wso2/product-apim/issues?utf8=%E2%
>9C%93=label%3A3.0.0+milestone%3A3.0.0-m10+is%3Aclosed+label%3AType%
>2FImprovement+
>
>
> 
>
> List of Open Issues
>
>- https://github.com/wso2/product-apim/issues?q=is%3Aopen+is%3
>Aissue+label%3A3.0.0+label%3AType%2FBug
>
> 
>- https://github.com/wso2/carbon-apimgt/issues?q=is%3Aopen+is%
>3Aissue+label%3A3.0.0
>
> 
>
> How To Contribute
>
> Your feedback is most welcome!
> Mailing Lists
>
>- Join our mailing list and correspond with the developers directly.
>
> Developer List : dev@wso2.org | Subscribe | Mail Archive
> 
>
>- User Forum : StackOverflow
>
>
> Reporting Issues
>
> We encourage you to report issues, improvements and feature requests
> regarding WSO2 API Manager through WSO2 API Manager GIT Issues
> .
>

​I have done a round of evaluation on gateway and publisher/store packs and
found some issues
https://github.com/wso2/product-apim/search?q=repo%3Awso2%2Fproduct-apim+author%3Asamisawso2+is%3Aissue=Issues=%E2%9C%93

We got to fix these ASAP to help evaluation of these release packs. ​

> ~ WSO2 API Manager Team ~
>
> --
> Rukshan Chathuranga.
> Software Engineer.
> WSO2, Inc.
> +94711822074 <071%20182%202074>
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] WSO2 Enterprise Integrator 6.1.1-update10 Released !

2017-11-24 Thread Samisa Abeysinghe
I think we will have to move onto an aggressive hackathon mode to get this
fixed. We can learn some lessons from what IAM team did.

Please arrange a meeting Monday to discuss the plans with the issue fixing
sub team.

Thanks,
Samisa...


Samisa Abeysinghe

Chief Engineering and Delivery Officer

WSO2 Inc.
http://wso2.com


On Fri, Nov 24, 2017 at 4:47 PM, Jasintha Dasanayake <jasin...@wso2.com>
wrote:

> HI Nandika
>
> On Fri, Nov 24, 2017 at 2:16 PM, Nandika Jayawardana <nand...@wso2.com>
> wrote:
>
>> Actually, we have another 489 issues in DEVTOOLEI project which I think
>> is also critically important since dev studio is the primary development
>> tool the developers interact with. The perception generated from dev studio
>> will have a lasting effect on the product quality.
>>
>> In order to reduce the bug count, we will start with
>> classifying/prioritizing the issues.
>>
>
>  Please let me know if you need any help for this effort
>
> /Jasintha
>
>>
>> 1. There could be many issues which are already fixed and not resolved or
>> no longer relevant due to changes which can be resolved straight away.
>> 2. For the relevant issues, we can classify them depending on the
>> importance/relevance of the issue and identify the components which have
>> the most number of critical issues and work on them one component at a
>> time.
>>
>> Regards
>> Nandika
>>
>> On Fri, Nov 24, 2017 at 12:14 PM, Vijitha Ekanayake <vijit...@wso2.com>
>> wrote:
>>
>>> Hi Samisa,
>>>
>>> We are continuously working on fixing the bugs reported under JIRA and
>>> GitHub along with the EI 6 weekly updates. The plan is to pick a set up
>>> issues by filtering the priority and label those for the upcoming update
>>> release.
>>>
>>> Thanks,
>>> Vijitha.
>>>
>>> On Fri, Nov 24, 2017 at 3:14 AM, Samisa Abeysinghe <sam...@wso2.com>
>>> wrote:
>>>
>>>> We have 803 Jira and 265 Git open issues, what is the plan to flush
>>>> them?
>>>>
>>>> Thanks,
>>>> Samisa...
>>>>
>>>>
>>>> Samisa Abeysinghe
>>>>
>>>> Chief Engineering and Delivery Officer
>>>>
>>>> WSO2 Inc.
>>>> http://wso2.com
>>>>
>>>>
>>>> On Fri, Nov 24, 2017 at 12:08 AM, Vijitha Ekanayake <vijit...@wso2.com>
>>>> wrote:
>>>>
>>>>>
>>>>> Please find the correct link for the distribution: https://github.c
>>>>> om/wso2/product-ei/releases/download/v6.1.1-update10/wso2ei-
>>>>> 6.1.1-update10.zip
>>>>>
>>>>>
>>>>> On Fri, Nov 24, 2017 at 12:01 AM, Vijitha Ekanayake <vijit...@wso2.com
>>>>> > wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> The WSO2 Integration team is pleased to announce the release of
>>>>>> Enterprise Integrator 6.1.1-update10. It is available for download from
>>>>>> here
>>>>>> <https://github.com/wso2/product-ei/releases/download/untagged-0e9cb7d3bca7b3cac0e8/wso2-developer-studio-kernel-ei-composite-p2-6.1.1-update10.zip>
>>>>>> .
>>>>>>
>>>>>
>>>>>> *Tasks/Bug Fixes and Improvements*
>>>>>>
>>>>>> https://github.com/wso2/product-ei/issues?q=is%3Aissue+miles
>>>>>> tone%3A6.1.1-update-10+is%3Aclosed
>>>>>>
>>>>>> *​​List of Open Issues*
>>>>>>
>>>>>> https://wso2.org/jira/issues/?filter=13994
>>>>>>
>>>>>> https://github.com/wso2/product-ei/issues?q=is%3Aopen+is%3Aissue
>>>>>>
>>>>>>
>>>>>> *Mailing Lists*
>>>>>>
>>>>>> Join our mailing lists and correspond with the developers directly.
>>>>>>
>>>>>> Developer List : dev@wso2.org | Subscribe | Mail Archive
>>>>>>
>>>>>> WSO2 Architecture List: architect...@wso2.org
>>>>>>
>>>>>> User Forum : StackOverflow <https://stackoverflow.com/tags/wso2/info>
>>>>>>
>>>>>> *How To Contribute*
>>>>>>
>>>>>> Your feedback is most welcome!
>>>>>>
>>>>>> *Reporting Issues​*
>>>>>>
>>>>>>

Re: [Dev] [Architecture] WSO2 Enterprise Integrator 6.1.1-update10 Released !

2017-11-23 Thread Samisa Abeysinghe
We have 803 Jira and 265 Git open issues, what is the plan to flush them?

Thanks,
Samisa...


Samisa Abeysinghe

Chief Engineering and Delivery Officer

WSO2 Inc.
http://wso2.com


On Fri, Nov 24, 2017 at 12:08 AM, Vijitha Ekanayake <vijit...@wso2.com>
wrote:

>
> Please find the correct link for the distribution: https://github.
> com/wso2/product-ei/releases/download/v6.1.1-update10/
> wso2ei-6.1.1-update10.zip
>
>
> On Fri, Nov 24, 2017 at 12:01 AM, Vijitha Ekanayake <vijit...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> The WSO2 Integration team is pleased to announce the release of
>> Enterprise Integrator 6.1.1-update10. It is available for download from
>> here
>> <https://github.com/wso2/product-ei/releases/download/untagged-0e9cb7d3bca7b3cac0e8/wso2-developer-studio-kernel-ei-composite-p2-6.1.1-update10.zip>
>> .
>>
>
>> *Tasks/Bug Fixes and Improvements*
>>
>> https://github.com/wso2/product-ei/issues?q=is%3Aissue+
>> milestone%3A6.1.1-update-10+is%3Aclosed
>>
>> *​​List of Open Issues*
>>
>> https://wso2.org/jira/issues/?filter=13994
>>
>> https://github.com/wso2/product-ei/issues?q=is%3Aopen+is%3Aissue
>>
>>
>> *Mailing Lists*
>>
>> Join our mailing lists and correspond with the developers directly.
>>
>> Developer List : dev@wso2.org | Subscribe | Mail Archive
>>
>> WSO2 Architecture List: architect...@wso2.org
>>
>> User Forum : StackOverflow <https://stackoverflow.com/tags/wso2/info>
>>
>> *How To Contribute*
>>
>> Your feedback is most welcome!
>>
>> *Reporting Issues​*
>>
>> We encourage you to report issues, improvements and feature requests
>> regarding WSO2 Integrator through WSO2 EI GIT Issues
>> <https://github.com/wso2/product-ei/issues>.
>>
>> ~ The WSO2 Integration Team ~
>>
>
>>
>
>
> --
> Vijitha Ekanayake
> Senior Software Engineer*, *WSO2, Inc.; http://wso2.com/
> Mobile : +94 777 24 73 39 | +94 718 74 44 08
> lean.enterprise.middleware
>
> ___
> 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] Document in code where the config is

2016-12-14 Thread Samisa Abeysinghe
Hi All
   One of the problems I have is, when we try to debug an issue for a given
exception, it is so hard to map where the config came from.

For example say I get the error below. I look at the code. If I am a user
and want to figure out where the UN/PW came from so that I could double
check, how easy to locate the relevant config in the conf files?


TID: [-1] [] [2016-12-13 15:31:25,880] ERROR
{org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker}
-  Error while trying to login to data receiver :/10.83.80.32:9711
{org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker}
org.wso2.carbon.databridge.agent.exception.DataEndpointAuthenticationException:
Error while trying to login to data receiver :/10.83.80.32:9711
at 
org.wso2.carbon.databridge.agent.endpoint.binary.BinaryDataEndpoint.login(BinaryDataEndpoint.java:47)
at 
org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:94)
at 
org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.run(DataEndpointConnectionWorker.java:43)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.wso2.carbon.databridge.commons.exception.AuthenticationException:
wrong userName or password
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at 
org.wso2.carbon.databridge.agent.endpoint.binary.BinaryEventSender.processResponse(BinaryEventSender.java:164)
at 
org.wso2.carbon.databridge.agent.endpoint.binary.BinaryDataEndpoint.login(BinaryDataEndpoint.java:42)
... 7 more

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

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


Re: [Dev] Why not ship creator and publisher roles pre-built in API-M?

2016-09-14 Thread Samisa Abeysinghe
On Wed, Sep 14, 2016 at 10:24 AM, Uvindra Dias Jayasinha <uvin...@wso2.com>
wrote:

> Thats a good point Samisa.
>
> We have the subscriber role by default because we need it to set the
> permissions for users that sign up from the API store. All other user
> creations need to happen through the carbon admin console anyway so I guess
> we havent added those other roles by default.
>
> But I see no reason why we cannot have these roles already created to make
> it easier for the end user.
>

​+1
​

>
>
> On 14 September 2016 at 08:57, Samisa Abeysinghe <sam...@wso2.com> wrote:
>
>> We ship subscriber role with proper permissions set.
>>
>> https://docs.wso2.com/display/AM200/Adding+User+Roles describes creator
>> and publisher roles.
>> But the vanilla product does not have them.
>>
>> Why not create and ship them with proper permissions pre-set? Why only
>> subscriber role?
>>
>> Thanks,
>> Samisa...
>>
>>
>> Samisa Abeysinghe
>>
>> Vice President Delivery
>>
>> WSO2 Inc.
>> http://wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Regards,
> Uvindra
>
> Mobile: 33962
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Why not ship creator and publisher roles pre-built in API-M?

2016-09-13 Thread Samisa Abeysinghe
We ship subscriber role with proper permissions set.

https://docs.wso2.com/display/AM200/Adding+User+Roles describes creator and
publisher roles.
But the vanilla product does not have them.

Why not create and ship them with proper permissions pre-set? Why only
subscriber role?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

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


Re: [Dev] Fixing IDENTITY-4588 for 5.2

2016-06-12 Thread Samisa Abeysinghe
Why not?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

WSO2 Inc.
http://wso2.com


On Mon, Jun 13, 2016 at 10:52 AM, Pushpalanka Jayawardhana <la...@wso2.com>
wrote:

> Hi Samisa,
>
> This was not prioritized to be included in 5.2.0 GA.
>
> Thanks,
> Pushpalanka
>
> On Mon, Jun 13, 2016 at 10:37 AM, Samisa Abeysinghe <sam...@wso2.com>
> wrote:
>
>> Hi All
>>$subject
>>
>>Will this be available in 5.2 GA
>>
>> Thanks,
>> Samisa...
>>
>>
>> Samisa Abeysinghe
>>
>> Vice President Delivery
>>
>> WSO2 Inc.
>> http://wso2.com
>>
>>
>
>
> --
> Pushpalanka.
> --
> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
> Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
> Mobile: +94779716248
> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fixing IDENTITY-4588 for 5.2

2016-06-12 Thread Samisa Abeysinghe
Hi All
   $subject

   Will this be available in 5.2 GA

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

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


Re: [Dev] Should we ship custom error pages with product?

2016-05-30 Thread Samisa Abeysinghe
No, I want to know as a user the things like
   - where are the files that I have to edit
   - do I have to edit config files

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

WSO2 Inc.
http://wso2.com


On Tue, May 31, 2016 at 8:40 AM, Vanjikumaran Sivajothy <va...@wso2.com>
wrote:

> @samisa, IMO, we can give a sample but ideally client has the create their
> own impl.
>
> On Mon, May 30, 2016 at 8:09 PM, Samisa Abeysinghe <sam...@wso2.com>
> wrote:
>
>> And where is the doc for how to customise new implementation (e.g. I want
>> to edit and have my custom error message in there)
>>
>> Thanks,
>> Samisa...
>>
>>
>> Samisa Abeysinghe
>>
>> Vice President Delivery
>>
>> WSO2 Inc.
>> http://wso2.com
>>
>>
>> On Tue, May 31, 2016 at 8:34 AM, Samisa Abeysinghe <sam...@wso2.com>
>> wrote:
>>
>>> OK cool. This is yet to be released right?
>>>
>>> Thanks,
>>> Samisa...
>>>
>>>
>>> Samisa Abeysinghe
>>>
>>> Vice President Delivery
>>>
>>> WSO2 Inc.
>>> http://wso2.com
>>>
>>>
>>> On Tue, May 31, 2016 at 8:20 AM, Aruna Karunarathna <ar...@wso2.com>
>>> wrote:
>>>
>>>> Hi Samisa,
>>>>
>>>> This is already been addressed. See [1], [2].
>>>>
>>>> [1]. https://wso2.org/jira/browse/CARBON-15894
>>>> [2].
>>>> https://github.com/wso2/carbon-kernel/tree/release-4.4.6/core/org.wso2.carbon.ui/src/main/resources/web/errors
>>>>
>>>> Regards,
>>>> Aruna
>>>>
>>>> On Tue, May 31, 2016 at 7:14 AM, Samisa Abeysinghe <sam...@wso2.com>
>>>> wrote:
>>>>
>>>>> Shall we consider $subject and ship
>>>>> https://github.com/vanjikumaran/CustomErrorPages with the product?
>>>>>
>>>>> Looks like this is a common need for IS folks.
>>>>> See
>>>>> https://wso2.org/jira/browse/CARBON-15651
>>>>>
>>>>> http://stackoverflow.com/questions/33808615/wso2-identity-server-cannot-configure-custom-catch-all-exception-page/37535521#37535521
>>>>>
>>>>> Thanks,
>>>>> Samisa...
>>>>>
>>>>>
>>>>> Samisa Abeysinghe
>>>>>
>>>>> Vice President Delivery
>>>>>
>>>>> WSO2 Inc.
>>>>> http://wso2.com
>>>>>
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Aruna Sujith Karunarathna *
>>>> WSO2, Inc | lean. enterprise. middleware.
>>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>>> Email: ar...@wso2.com | Web: www.wso2.com
>>>>
>>>>
>>>
>>>
>>
>
>
> --
> Vanjikumaran Sivajothy
> *Associate Technical Lead*
> *WSO2 Inc. http://wso2.com <http://wso2.com/>*
>  *+1-925-464-6816*
> [image: Facebook] <https://www.facebook.com/vanjikumaran> [image: Twitter]
> <https://twitter.com/vanjikumaran> [image: LinkedIn]
> <http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293> [image:
> Blogger] <http://vanjikumaran.blogspot.com/> [image: SlideShare]
> <http://www.slideshare.net/vanjikumaran>
>
> 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, re-transmit, 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


Re: [Dev] Should we ship custom error pages with product?

2016-05-30 Thread Samisa Abeysinghe
And where is the doc for how to customise new implementation (e.g. I want
to edit and have my custom error message in there)

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

WSO2 Inc.
http://wso2.com


On Tue, May 31, 2016 at 8:34 AM, Samisa Abeysinghe <sam...@wso2.com> wrote:

> OK cool. This is yet to be released right?
>
> Thanks,
> Samisa...
>
>
> Samisa Abeysinghe
>
> Vice President Delivery
>
> WSO2 Inc.
> http://wso2.com
>
>
> On Tue, May 31, 2016 at 8:20 AM, Aruna Karunarathna <ar...@wso2.com>
> wrote:
>
>> Hi Samisa,
>>
>> This is already been addressed. See [1], [2].
>>
>> [1]. https://wso2.org/jira/browse/CARBON-15894
>> [2].
>> https://github.com/wso2/carbon-kernel/tree/release-4.4.6/core/org.wso2.carbon.ui/src/main/resources/web/errors
>>
>> Regards,
>> Aruna
>>
>> On Tue, May 31, 2016 at 7:14 AM, Samisa Abeysinghe <sam...@wso2.com>
>> wrote:
>>
>>> Shall we consider $subject and ship
>>> https://github.com/vanjikumaran/CustomErrorPages with the product?
>>>
>>> Looks like this is a common need for IS folks.
>>> See
>>> https://wso2.org/jira/browse/CARBON-15651
>>>
>>> http://stackoverflow.com/questions/33808615/wso2-identity-server-cannot-configure-custom-catch-all-exception-page/37535521#37535521
>>>
>>> Thanks,
>>> Samisa...
>>>
>>>
>>> Samisa Abeysinghe
>>>
>>> Vice President Delivery
>>>
>>> WSO2 Inc.
>>> http://wso2.com
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna *
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 9040362 | Work: +94 112145345
>> Email: ar...@wso2.com | Web: www.wso2.com
>>
>>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Should we ship custom error pages with product?

2016-05-30 Thread Samisa Abeysinghe
OK cool. This is yet to be released right?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

WSO2 Inc.
http://wso2.com


On Tue, May 31, 2016 at 8:20 AM, Aruna Karunarathna <ar...@wso2.com> wrote:

> Hi Samisa,
>
> This is already been addressed. See [1], [2].
>
> [1]. https://wso2.org/jira/browse/CARBON-15894
> [2].
> https://github.com/wso2/carbon-kernel/tree/release-4.4.6/core/org.wso2.carbon.ui/src/main/resources/web/errors
>
> Regards,
> Aruna
>
> On Tue, May 31, 2016 at 7:14 AM, Samisa Abeysinghe <sam...@wso2.com>
> wrote:
>
>> Shall we consider $subject and ship
>> https://github.com/vanjikumaran/CustomErrorPages with the product?
>>
>> Looks like this is a common need for IS folks.
>> See
>> https://wso2.org/jira/browse/CARBON-15651
>>
>> http://stackoverflow.com/questions/33808615/wso2-identity-server-cannot-configure-custom-catch-all-exception-page/37535521#37535521
>>
>> Thanks,
>> Samisa...
>>
>>
>> Samisa Abeysinghe
>>
>> Vice President Delivery
>>
>> WSO2 Inc.
>> http://wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Aruna Sujith Karunarathna *
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: www.wso2.com
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Should we ship custom error pages with product?

2016-05-30 Thread Samisa Abeysinghe
Shall we consider $subject and ship
https://github.com/vanjikumaran/CustomErrorPages with the product?

Looks like this is a common need for IS folks.
See
https://wso2.org/jira/browse/CARBON-15651
http://stackoverflow.com/questions/33808615/wso2-identity-server-cannot-configure-custom-catch-all-exception-page/37535521#37535521

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

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


Re: [Dev] G-Reg extension for integration with API-M

2016-05-16 Thread Samisa Abeysinghe
Great!

How are we planning to test this implementation?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

WSO2 Inc.
http://wso2.com


On Mon, May 16, 2016 at 7:31 PM, Shazni Nazir <sha...@wso2.com> wrote:

> Yes Samisa, so far so good.
>
> I'll also be having a review with NuwanB and G-Reg team by Thursday to see
> if things are aligned.
> On 16 May 2016 6:33 p.m., "Samisa Abeysinghe" <sam...@wso2.com> wrote:
>
> Are we on track in terms of the time schedule to deliver this?
>
> Thanks,
> Samisa...
>
>
> Samisa Abeysinghe
>
> Vice President Delivery
>
> WSO2 Inc.
> http://wso2.com
>
>
> On Mon, May 16, 2016 at 4:45 PM, Shazni Nazir <sha...@wso2.com> wrote:
>
>> Hi all,
>>
>> Following is the current update of the G-Reg extension for API-M
>> integration.
>>
>>- API rxt - created, but additional fields needs to be added.
>>
>> Some fields like thumbnail, sequences for in, out, fault have few
>> limitations on the rxt end. Pure rxt's doesn't support for file system
>> browse. I'm also looking into publisher extension to see if this could be
>> added in publisher app end.
>>
>> Further, the API-M REST API [1] does provide the thumbnailUrl and
>> sequence. Need to verify if this supports file based urls.
>>
>>- Developed the skeleton handler code
>>- Developed the code to get consumer key and secret using the API-M
>>REST API
>>- Developed the code to get the access and the refresh token using
>>the API-M REST API
>>- Developing the artifact attribute reading logic - in progress
>>
>> TODO's
>>
>>- Add missing fields to ext
>>- Reading the api manager related configuration from a configuration
>>file
>>- Provide rxt fields to read API Definition and populate the payload
>>according to that
>>- Develop the request json payload creation for API creation - in
>>progress
>>- Develop the access token regeneration when token expires
>>- Develop the life-cycle configuration for the API lifecycle
>>- Develop the executor for the lifecycle state change
>>
>>
>> [1]
>> https://docs.wso2.com/display/AM1100/apidocs/publisher/#!/operations#APIsApi#apisPost
>>
>>  regards,
>>
>> Shazni Nazeer
>> Mob : +94 37331
>> LinkedIn : http://lk.linkedin.com/in/shazninazeer
>> Blog : http://shazninazeer.blogspot.com
>>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] G-Reg extension for integration with API-M

2016-05-16 Thread Samisa Abeysinghe
Are we on track in terms of the time schedule to deliver this?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

WSO2 Inc.
http://wso2.com


On Mon, May 16, 2016 at 4:45 PM, Shazni Nazir <sha...@wso2.com> wrote:

> Hi all,
>
> Following is the current update of the G-Reg extension for API-M
> integration.
>
>- API rxt - created, but additional fields needs to be added.
>
> Some fields like thumbnail, sequences for in, out, fault have few
> limitations on the rxt end. Pure rxt's doesn't support for file system
> browse. I'm also looking into publisher extension to see if this could be
> added in publisher app end.
>
> Further, the API-M REST API [1] does provide the thumbnailUrl and
> sequence. Need to verify if this supports file based urls.
>
>- Developed the skeleton handler code
>- Developed the code to get consumer key and secret using the API-M
>REST API
>- Developed the code to get the access and the refresh token using the
>API-M REST API
>- Developing the artifact attribute reading logic - in progress
>
> TODO's
>
>- Add missing fields to ext
>- Reading the api manager related configuration from a configuration
>file
>- Provide rxt fields to read API Definition and populate the payload
>according to that
>- Develop the request json payload creation for API creation - in
>progress
>- Develop the access token regeneration when token expires
>- Develop the life-cycle configuration for the API lifecycle
>- Develop the executor for the lifecycle state change
>
>
> [1]
> https://docs.wso2.com/display/AM1100/apidocs/publisher/#!/operations#APIsApi#apisPost
>
>  regards,
>
> Shazni Nazeer
> Mob : +94 37331
> LinkedIn : http://lk.linkedin.com/in/shazninazeer
> Blog : http://shazninazeer.blogspot.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] When is ES 2.0 Beta Due?

2015-05-17 Thread Samisa Abeysinghe
$subject

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

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


[Dev] WSO2 Committers += Ashan Manathunga

2015-03-06 Thread Samisa Abeysinghe
Hi All
It's my pleasure to welcome Ashan as a WSO2 Committer.

Ashan, welcome aboard and keep up the good work!

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

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


Re: [Dev] [Architecture] API Manager 1.9.0 Milestone 1 Released

2015-02-20 Thread Samisa Abeysinghe
Where can I find the docs for this release?

Also, what is the IS version for KM that should be used against this
version of API-M?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

WSO2 Inc.
http://wso2.com


On Fri, Feb 20, 2015 at 8:08 PM, Lalaji Sureshika lal...@wso2.com wrote:

 *API Manager 1.9.0 Milestone 1 Released!*

 WSO2 API Manager team is pleased to announce the 1st Milestone release of
 WSO2 API Manager 1.9.0.
 The distribution is available to download at [1].
 This release includes following features,improvements and bug fixes.
 Bug

- [APIMANAGER-932 https://wso2.org/jira/browse/APIMANAGER-932] -
Integration tests for TokenParser should add to api configuration by
default.
- [APIMANAGER-966 https://wso2.org/jira/browse/APIMANAGER-966] -
RESTClient 'Response Headers' section doesn't show additional Header fields
(Eg: 'Allow:' Header field that is returned for OPTIONS).
- [APIMANAGER-1336 https://wso2.org/jira/browse/APIMANAGER-1336] -
Billing Sample data is not accurate and java.lang.ClassCastException thrown
when refreshing the page or when no data is available
- [APIMANAGER-1387 https://wso2.org/jira/browse/APIMANAGER-1387] -
Issues with billing sample
- [APIMANAGER-1787 https://wso2.org/jira/browse/APIMANAGER-1787] -
[GREG-APIM] StringIndexOutOfBoundsException occurs when launch Endpoint URL
of resource in API list
- [APIMANAGER-2015 https://wso2.org/jira/browse/APIMANAGER-2015] -
Statistics in API Manager gives an error when EnableBillingAndUsage is set
to true
- [APIMANAGER-2019 https://wso2.org/jira/browse/APIMANAGER-2019] -
Input after double quote in the description of an application gets lost
- [APIMANAGER-2037 https://wso2.org/jira/browse/APIMANAGER-2037] -
When adding an API, and when the API name contains special characters, the
API addition fails, but the appeared UI message is not descriptive enough
for the user to identify what went wrong.
- [APIMANAGER-2087 https://wso2.org/jira/browse/APIMANAGER-2087] -
'Test Endpoint button' says valid for some invalid endpoints
- [APIMANAGER-2233 https://wso2.org/jira/browse/APIMANAGER-2233] -
Tenant user name format in publisher statistics pages
- [APIMANAGER-2704 https://wso2.org/jira/browse/APIMANAGER-2704] -
Blocked subscriptions can be unblocked by re-subscribing to an API
- [APIMANAGER-2780 https://wso2.org/jira/browse/APIMANAGER-2780] -
APIM Test URI functionality in the API implementation section and the
Google Analytics Publishing are not proxy aware
- [APIMANAGER-2821 https://wso2.org/jira/browse/APIMANAGER-2821] -
WorkFlows: Eventhough the subscription pending for approval is deleted from
store, it still exists in workflow admin.
- [APIMANAGER-2965 https://wso2.org/jira/browse/APIMANAGER-2965] -
Application Name showed as null in all store statistics pages when token
encryption enabled
- [APIMANAGER-3010 https://wso2.org/jira/browse/APIMANAGER-3010] -
Issue in displaying the number of APIs displayed in the API Store
- [APIMANAGER-3161 https://wso2.org/jira/browse/APIMANAGER-3161] -
Endpoints are not shown on the UI when an API is created by invoking the
REST API
- [APIMANAGER-3204 https://wso2.org/jira/browse/APIMANAGER-3204] -
AM1.7-BAM2.4.1 Metering  Billing page always shows the rate 0.00 as cost
- [APIMANAGER-3206 https://wso2.org/jira/browse/APIMANAGER-3206] -
Issue in the Document Summary field
- [APIMANAGER-3218 https://wso2.org/jira/browse/APIMANAGER-3218] -
fixing stats showing in borwser even when APIUsageTracking is disabled
- [APIMANAGER-3219 https://wso2.org/jira/browse/APIMANAGER-3219] -
Issue in the API creation Design page Context field
- [APIMANAGER-3220 https://wso2.org/jira/browse/APIMANAGER-3220] -
In APIM Publisher faulty invocation graph Y-axis do not start with 0
- [APIMANAGER-3225 https://wso2.org/jira/browse/APIMANAGER-3225] -
The Popup error message doesn't showing up in the second time when
uploading a file name exceeds a certain length
- [APIMANAGER-3228 https://wso2.org/jira/browse/APIMANAGER-3228] -
First request in tenant erroneously sent to HTTP proxy
- [APIMANAGER-3243 https://wso2.org/jira/browse/APIMANAGER-3243] -
Workflows: admin-dashboard does not display the Approval Tasks sometimes
even without login out
- [APIMANAGER-3250 https://wso2.org/jira/browse/APIMANAGER-3250] -
My subscriptions load issue when there are cross tenant subscriptions
- [APIMANAGER-3253 https://wso2.org/jira/browse/APIMANAGER-3253] -
Cannot browse APIs
- [APIMANAGER-3254 https://wso2.org/jira/browse/APIMANAGER-3254] -
Cannot create APIs
- [APIMANAGER-3257 https://wso2.org/jira/browse/APIMANAGER-3257] -
In APIM Store get all subscription API do not show subscribed APIs 
 properly.
- [APIMANAGER-3258 https://wso2.org/jira/browse

Re: [Dev] Handling The Response Without Content Type

2014-12-18 Thread Samisa Abeysinghe
Looks great

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

WSO2 Inc.
http://wso2.com


On Thu, Dec 18, 2014 at 5:13 PM, Sriashalya Srivathsan asha...@wso2.com
wrote:

 Hi All,
 I finished the fast track project according to the milestone ,except the
 bugs that i discussed in the Dev mailing list.And I am continuing the
 remaining resources as discussed with Malaka and Vanji to fulfill the
 entire connector.

 please find the milestone[1] , github repository[2] ,Documentation[3]
 which is ready to review.
 [1]
 https://docs.google.com/a/wso2.com/spreadsheets/d/1vKAWs5rodK_k8V6i0zTukHl1P4twygVlo_OqNGtWqJM/edit#gid=0

 [2]https://github.com/ashalya/ZOHOInvoice

 [3]
 https://docs.google.com/a/wso2.com/document/d/1hHvRe1trjr6OUAb8x4nBlQh-G_VMkhE3Xi2aPWk_4bA/edit

 Thank you
 Regards
 Sriashalya.

 On Mon, Dec 15, 2014 at 3:36 PM, Sriashalya Srivathsan asha...@wso2.com
 wrote:

 I haven't got any changes in my results after i change the axis2.xml file.
 I've attached the wire logs ,that i tried after i changed the axis2.xml.
 Through the ESB api method  is working,but when I call through the
 template it is not working.

 On Mon, Dec 15, 2014 at 3:28 PM, Vanjikumaran Sivajothy va...@wso2.com
 wrote:

 Hi Sriashalaya,
 Your statement is not clear to me. Thus, Can you please let  me know
 when you get this get worked? after adding malaka's suggestion?
 Thanks,
 Vanji

 On Mon, Dec 15, 2014 at 2:44 PM, Sriashalya Srivathsan asha...@wso2.com
  wrote:

 Here I'm attaching two wire logs.

 On Mon, Dec 15, 2014 at 2:17 PM, Vanjikumaran Sivajothy va...@wso2.com
  wrote:

 Hi Sriashalaya,

 In that case, can you please end us Wire log of both scenario?


 On Mon, Dec 15, 2014 at 2:12 PM, Sriashalya Srivathsan 
 asha...@wso2.com wrote:

 It is working perfectly through the api method also.But problem with
 the template.


 api name=auth context=/auth
   resource methods=POST GET
  inSequence
 property name=POST_TO_URI value=true scope=axis2
 type=STRING/
 header name=Content-Type scope=transport
 action=remove/
 call
endpoint
   http method=POST
 uri-template=
 https://accounts.zoho.com/apiauthtoken/nb/create?SCOPE=ZohoInvoice/invoiceapiamp;EMAIL_ID=watsa...@yahoo.comamp;PASSWORD=12345678
 /
/endpoint
 /call
 respond/
  /inSequence
   /resource
/api

 On Mon, Dec 15, 2014 at 12:07 PM, Sriashalya Srivathsan 
 asha...@wso2.com wrote:

 *Actual Endpoint*

 https://accounts.zoho.com/apiauthtoken/nb/create?SCOPE=ZohoInvoice/invoiceapiEMAIL_ID=watsa...@yahoo.comPASSWORD=12345678



 On Mon, Dec 15, 2014 at 11:51 AM, Vanjikumaran Sivajothy 
 va...@wso2.com wrote:

 Can you please send us the reproducing steps.

 1) Synapse configuration (REST API or Proxy)
 2) Payload for WSO2 ESB
 3) Actual endpoint
 4) Actual payload for the endpoint

 On Mon, Dec 15, 2014 at 11:48 AM, Sriashalya Srivathsan 
 asha...@wso2.com wrote:

 I've added following 3 types to the axis2.xml file in ESB

- In the parameters section: parameter
name=DEFAULT_REQUEST_CONTENT_TYPE 
 locked=falseempty/content/parameter
- In the message builders section: messageBuilder
contentType=empty/content
class=org.wso2.carbon.relay.BinaryRelayBuilder/
- In the message formatters section: messageFormatter
contentType=empty/content
class=org.wso2.carbon.relay.ExpandingMessageFormatter/

 but still I'm getting the same error.

 On Fri, Dec 12, 2014 at 2:09 PM, Vanjikumaran Sivajothy 
 va...@wso2.com wrote:

 Hi,

 In the synapse code ClientWorker.java[1] has the method to handle
 the content type when there is no content-type with the payload.
 And default content type is application/octet-stream hence, your
 response is get build as binary.


 Please follow the Malaka's suggestion.

 Thanks


 [1]


 private String inferContentType() { //Check whether server sent
 Content-Type in different case MapString,String headers =
 response.getHeaders(); for(String header : headers.keySet()){ if(
 HTTP.CONTENT_TYPE.equalsIgnoreCase(header)){ return headers.
 get(header); } } String cType = response.getHeader(content-type
 ); if (cType != null) { return cType; } cType = response.
 getHeader(Content-type); if (cType != null) { return cType; } //
 Try to get the content type from the message context Object
 cTypeProperty = responseMsgCtx.getProperty(PassThroughConstants.
 CONTENT_TYPE); if (cTypeProperty != null) { return cTypeProperty.
 toString(); } // Try to get the content type from the axis
 configuration Parameter cTypeParam = cfgCtx.
 getAxisConfiguration().getParameter( PassThroughConstants.
 CONTENT_TYPE); if (cTypeParam != null) { return cTypeParam.
 getValue().toString(); } // When the response from backend does
 not have the body(Content-Length is 0 ) // and Content-Type is
 not set; ESB should not do any modification to the response and
 pass-through

[Dev] [API-M] Why do we give the option of selecting transports in the gateway?

2014-11-19 Thread Samisa Abeysinghe
We have the option of using NHTTP or PTT

When should I use which one? What are the pros and cons?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

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


Re: [Dev] [API-M] Why do we give the option of selecting transports in the gateway?

2014-11-19 Thread Samisa Abeysinghe
Then we need to remove from tuning docs too...

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

WSO2 Inc.
http://wso2.com


On Wed, Nov 19, 2014 at 5:33 PM, Nuwan Dias nuw...@wso2.com wrote:

 I guess you are referring to the commented out nhttp transports in the
 axis2.xml.

 Actually there is no usecase as such for these transports. Nhttp was left
 behind in commented out mode since PT was quite new in terms of maturity.
 And in the early days of PT, when people came across issues related to the
 transport they could easily switch back to Nhttp since the configurations
 were already in place.

 But now nobody switches back to nhttp since PT has matured enough at least
 in the context of API Manager. So maybe we should take nhttp off completely.

 Thanks,
 NuwanD.

 On Wed, Nov 19, 2014 at 5:02 PM, Samisa Abeysinghe sam...@wso2.com
 wrote:

 We have the option of using NHTTP or PTT

 When should I use which one? What are the pros and cons?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Delivery

 WSO2 Inc.
 http://wso2.com




 --
 Nuwan Dias

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

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


Re: [Dev] App Manager latest build pack - 28-10-2014

2014-10-27 Thread Samisa Abeysinghe
What is the Jira project for App-M?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

WSO2 Inc.
http://wso2.com


On Tue, Oct 28, 2014 at 10:05 AM, Dinusha Senanayaka dinu...@wso2.com
wrote:

 Hi,

 Please find the $Subject in [1].

 [1]. http://builder1.us1.wso2.org/~appm/28-10-2014/

 Regards,
 Dinusha.


 --
 Dinusha Dilrukshi
 Senior Software Engineer
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/

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


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


Re: [Dev] App Manager latest build pack - 28-10-2014

2014-10-27 Thread Samisa Abeysinghe
OK I got it https://wso2.org/jira/browse/APPM


Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

WSO2 Inc.
http://wso2.com


On Tue, Oct 28, 2014 at 11:25 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 What is the Jira project for App-M?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Delivery

 WSO2 Inc.
 http://wso2.com


 On Tue, Oct 28, 2014 at 10:05 AM, Dinusha Senanayaka dinu...@wso2.com
 wrote:

 Hi,

 Please find the $Subject in [1].

 [1]. http://builder1.us1.wso2.org/~appm/28-10-2014/

 Regards,
 Dinusha.


 --
 Dinusha Dilrukshi
 Senior Software Engineer
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/

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



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


Re: [Dev] Problems running build with auto tests on Mac

2014-09-30 Thread Samisa Abeysinghe
I will try

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

WSO2 Inc.
http://wso2.com


On Wed, Oct 1, 2014 at 8:54 AM, Lahiru Chandima lahi...@wso2.com wrote:

 Hi Samisa,

 I also had the same problem and could resolve by adding the following to
 my .bash_profile

 export JAVA_TOOL_OPTIONS='-Djava.awt.headless=true'

 I am not sure whether this affects any other functionality but it resolves
 the issue

 Thanks.

 On Wed, Oct 1, 2014 at 8:42 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 The process focus keep switching to Java icon due to server invocations

 Cannot do any other work while building on mac OS

 Do we have a solution?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Delivery

 WSO2 Inc.
 http://wso2.com


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




 --
 Lahiru Chandima
 *Senior Software Engineer*
 Mobile : +94 (0) 772 253283
 lahi...@wso2.com

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


[Dev] Why API-M components named 1.2.0

2014-09-30 Thread Samisa Abeysinghe
e.g. I see

Building WSO2 Carbon - API Management Usage Publisher 1.2.0


When building 4.2.0 chunk 13

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

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


Re: [Dev] Why API-M components named 1.2.0

2014-09-30 Thread Samisa Abeysinghe
But the product is 1.8 right? How do we track 1.2 to 1.8 as component vs
release version?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

WSO2 Inc.
http://wso2.com


On Wed, Oct 1, 2014 at 10:31 AM, Nuwan Dias nuw...@wso2.com wrote:

 Hi Samisa,

 All APIM components are named 1.x.x. The version strategy is based on the
 maturity of the components. Although the platform has gone for 4.x
 iterations, the apimgt components are quite new. Hence the reason we have
 1.x.x instead of 4.x.x.

 Thanks,
 NuwanD.

 On Wed, Oct 1, 2014 at 9:21 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 e.g. I see

 Building WSO2 Carbon - API Management Usage Publisher 1.2.0


 When building 4.2.0 chunk 13

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Delivery

 WSO2 Inc.
 http://wso2.com


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




 --
 Nuwan Dias

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

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


Re: [Dev] AM1.7.1 Test - Status update

2014-08-06 Thread Samisa Abeysinghe
On Wed, Aug 6, 2014 at 2:10 PM, Asanthi Kulasinghe asan...@wso2.com wrote:

 Hi,

 We did a long running test with throttling enabled.
 A 100% CPU usage on a key manager node was noticed.


​Does this usage go down when we kill the load?
​

 We are yet to analyze the results.


​​



 The current AM171 setup being tested is as follows :

 1. Publisher
 2. Store
 3. Gateway cluster with a hybrid node and a worker node fronted by the ELB
 4. Key Manager cluster with 2 worker nodes fronted by the ELB

 - Auth Manager configurations of publisher and store nodes are pointed to
 IS.
 - SSO is enabled among store and publisher

 Regards
 Asanthi



 On Tue, Aug 5, 2014 at 12:46 PM, Nuwan Dias nuw...@wso2.com wrote:

 Hi,

 Thanks for the report. Asanthi its good we can get going on the long
 running tests as well. We should specifically test for memory consumption,
 spinning threads, etc. Make sure that you do these tests with throttling
 enabled.

 Thanks,
 NuwanD.


 On Tue, Aug 5, 2014 at 12:40 AM, Asanthi Kulasinghe asan...@wso2.com
 wrote:

 Hi,

 The current status of the AM1.7.1 test is as follows.

 1) AM1.7.1 specific issue fixes have been verified except for the
 following.

 https://wso2.org/jira/browse/APIMANAGER-983
 https://wso2.org/jira/browse/APIMANAGER-2482
 https://wso2.org/jira/browse/APIMANAGER-2590

 Please refer to [1] to view the status of AM1.7.1 issue verification and
 reopened issue list.

 2) Performance and migration tests are ongoing and the following
 blockers have been reported for migration scenarios.

 https://wso2.org/jira/browse/APIMANAGER-2698
 https://wso2.org/jira/browse/APIMANAGER-2662

 Refer to [2] to view a complete list of issues reported.

 3) The following issues have been fixed but the fixes are not available
 in the latest pack. Therefore it's better if we could have a new pack and a
 p2repo at your earliest.

 https://wso2.org/jira/browse/APIMANAGER-2657
 https://wso2.org/jira/browse/APIMANAGER-2667
 https://wso2.org/jira/browse/APIMANAGER-2541


 [1]
 https://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0AqHAQ3Oa5kRHdG81T3B1QWpLblZXdXlvM0VBQlAyc2cpli=1#gid=105

 [2] https://wso2.org/jira/issues/?filter=11929


 Regards
 *Asanthi Kulasinghe*
 WSO2 Inc; http://www.wso2.com/.
 Mobile: +94777355522





 --
 Nuwan Dias

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




 --
 *Asanthi Kulasinghe*
 WSO2 Inc; http://www.wso2.com/.
 Mobile: +94777355522



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


Re: [Dev] chunk13 packs

2014-07-16 Thread Samisa Abeysinghe
What does this setup has?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

WSO2 Inc.
http://wso2.com



On Tue, Jul 15, 2014 at 5:42 PM, Evanthika Amarasiri evanth...@wso2.com
wrote:

 Did a smoke test for API-M. The issues we noticed in the previous pack are
 all fixed. We will replace the setup with the latest packs and continue
 testing.

 Regards,
 Evanthika

 On Tue, Jul 15, 2014 at 4:20 PM, Vijayaratha Vijayasingam rat...@wso2.com
  wrote:

 Hi ;
 Please find packs
 https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15_07_2014_new/

 @Evanthika..
 Please report issues..

 Thanks

 --
 -Ratha
 mobile: (+94)755906608



 ___
 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] chunk13 packs

2014-07-16 Thread Samisa Abeysinghe
IS not working is a huge issue :( Are these config issues?

Also, are we testing stuff like SSO? That is one of the areas we see issues
with clients.

Also, are we trying to crash and recover the cluster? Do we have auto
scaling?

Plus, where is the DMZ in these setups? What are in, and what are behind
the DMZ? That is another common deployment pattern.

What sort of load, volume are we using?

What are the auto tests that we run on this setup (if at all)?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

WSO2 Inc.
http://wso2.com



On Wed, Jul 16, 2014 at 7:41 PM, Evanthika Amarasiri evanth...@wso2.com
wrote:

 Hi Samisa,

 The setup has one publisher node and one store node + two gateway nodes +
 two keymanager nodes (fronted by ELB 2.1.1). We tried integrating with IS
 for SSO  IS as a Keymanager scenario but came across issues. Till we
 figure it out, we are running without IS. We just completed setting up a
 BAM fully distributed setup with the latest packs and it's connected to the
 API-M cluster as well. Also, we have a DSS two node cluster fronted by an
 HAProxy.

 Note that we are mainly focusing on the DSS (3.2.2), API-M (1.7.1)  BAM
 (2.4.2) products since those are the ones that are supposed to be released
 with chunk 13 this Friday.

 Regards,
 Evanthika


 On Wed, Jul 16, 2014 at 7:13 PM, Samisa Abeysinghe sam...@wso2.com
 wrote:

 What does this setup has?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Delivery

 WSO2 Inc.
 http://wso2.com



 On Tue, Jul 15, 2014 at 5:42 PM, Evanthika Amarasiri evanth...@wso2.com
 wrote:

 Did a smoke test for API-M. The issues we noticed in the previous pack
 are all fixed. We will replace the setup with the latest packs and continue
 testing.

 Regards,
 Evanthika

 On Tue, Jul 15, 2014 at 4:20 PM, Vijayaratha Vijayasingam 
 rat...@wso2.com wrote:

 Hi ;
 Please find packs
 https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15_07_2014_new/

 @Evanthika..
 Please report issues..

 Thanks

 --
 -Ratha
 mobile: (+94)755906608



 ___
 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] WSO2 Identity Server 5.0.0 - chpasswd.sh not working

2014-06-08 Thread Samisa Abeysinghe
http://stackoverflow.com/questions/24105848/wso2-identity-server-5-0-0-chpasswd-sh-not-working

I get the same error as the one this user has reported.

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

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


Re: [Dev] Password expiry option on IS

2014-04-28 Thread Samisa Abeysinghe
Guys, can we please have an answer to this?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Delivery

WSO2 Inc.
http://wso2.com



On Sun, Apr 27, 2014 at 11:18 PM, Dakshika Jayathilaka daksh...@wso2.comwrote:

 Hi All,

 Do we have $subject on IS?

 i found Authentication.Policy.Check.Password.Expire=false
 on identity-mgt.properties in IS_HOME/repository/conf/security/ , but
 didn't found any related documentation[1] to try out.

 Thank you,

 Regards,

 --
 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 [1] https://docs.wso2.org/display/IS460/Password+Policies

 ___
 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] Time reporting support with Jira connector

2014-04-09 Thread Samisa Abeysinghe
Looking at https://docs.wso2.org/display/ESB481/JIRA+Connector there is
nothing on the lines of dealing with time reporting.

I am trying to see if I can pull time reported info from Jira using this
connector.

What is the take on this?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

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


[Dev] Docs on P2 merge

2014-03-27 Thread Samisa Abeysinghe
Do we have $subject?

See
http://stackoverflow.com/questions/22678337/how-to-combine-two-or-more-p2-repositories

This should be part of the Carbon extension guide I guess.

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

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


Re: [Dev] [Architecture] Library to Process NLP

2014-03-21 Thread Samisa Abeysinghe
What is the use case?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Fri, Mar 21, 2014 at 10:05 PM, Rukshan Chathuranga rcruksha...@gmail.com
 wrote:

 i search about the natural language processing tool for process test
 script written in natural language in to common XML format. library is
 openNLP.

 *OpenNLP* is Most common Apache Library to Natural Language Text. Also It
 support Most Common tasks like Tokenization, Sentence segmentation, named
 entity extraction etc. Using this we can process Common Natural Language
 script to create common XML scripts.



 --
 Department Of Computer Science  Engineering,
 Faculty Of Engineering,
 University Of Moratuwa.
 Sri lanka.
 WEB: http://rukspot.com/


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


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


Re: [Dev] [Architecture] WSO2 Message Broker 2.1.1 - Released!

2014-03-17 Thread Samisa Abeysinghe
This is mainly a big fix release IMHO. We should target 2.2.0 release for
the Webinar

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Sat, Mar 15, 2014 at 9:25 PM, Kushlani De Silva kushl...@wso2.comwrote:

 Shall we schedule a product release/intro webinar last week of March? The
 last MB webinar we did was in Jan 2013 so i think its about time we did one
 :)

 WDYT

 Thanks,
 Kushlani



 Kushlani De Silva

 Senior Manager, Marketing | WSO2 Inc
 M : 0772256265 | http://wso2.com






 On Sat, Mar 15, 2014 at 8:46 PM, Hasitha Hiranya hasit...@wso2.comwrote:

 WSO2 Message Broker 2.1.1 -  Released!

 WSO2 MB team is pleased to announce the 2.1.1 release of the WSO2 Message
 Broker.

 WSO2 Message Broker 2.1.1, JMS message broker backed up with the wso2
 distributed message brokering engine Andes is compliant with AMQP 0-91
 version.The new 2.1.1 version is containing many bug fixes. This version is
 focused as a bug fix release of previous 2.1.0 version. Various bug fixes
 includes following areas,

- Message delivery issues in the clustered environment
   - Queue message losses due to repeated subscription closing
   -  Topic message delivery unreliability with high loads and
   concurrent access
- Complete revamp of durable topic message delivery
   - Durable topic message delivery can now operate with cluster
- Rigorous and Tested Failover Capability with message broker
graceful shutdown and also sudden kill of the broker
- SSL Capability - Messages can now be transferred securely using SSL
configuration. When fail-over is configured it can support brokers with
different trusted certificates.
- Hector Configurations - Now you can fine tune hector client to
efficiently communicate with Cassandra
- Minor fixes in configuration file defaults
- Performance improvements at various points of Message Brokering
- Intermittent issues fixes at various scenarios introduced by high
concurrency
- Improved robustness in message re-delivery
- Improved integration with other WSO2 Products
- Tested message delivery in clustered environment for 1 million
message burst.


 You can download this distribution from
 http://wso2.com/products/message-broker/

1. Extract the downloaded zip
2. Go to the bin directory in the extracted folder
3. Run the wso2server.sh or wso2server.bat as appropriate
4. Point your browser to the URL https://localhost:9443/carbon
5. Use admin, admin as the username and password to login as an
 admin and create a user account
6. Use the documentation to get to know on how to creating clients,
 using clients and deployment guide to do clustering.

 *Fixed Issues*

 This release of WSO2 MB comes with a number of bug fixes, both in the
 base framework and the MB specific components. All the issues which have
 been fixed in MB 2.1.1 are recorded at following locations:



- Fixed MB specific issueshttps://wso2.org/jira/issues/?filter=11739


 *Known Issues*

 Known issues are listed at the following url:


- WSO2 MB 2.1.1 component 
 issueshttps://wso2.org/jira/issues/?filter=11740




 -- WSO2 Message Broker Team --

 --
 *Hasitha Abeykoon*
 Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


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



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


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


Re: [Dev] [Marketing] Request New Public Git Repo

2014-03-10 Thread Samisa Abeysinghe
+1 for Sagara's suggestion. Developer repo is the right place for these as
these are developer oriented content

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Mon, Mar 10, 2014 at 12:50 PM, Sagara Gunathunga sag...@wso2.com wrote:




 On Mon, Mar 10, 2014 at 12:44 PM, Madhuka Udantha madh...@wso2.comwrote:

 Hi,


 For to share marketing week samples and demos

 We will need public git repo called 'wso2-marketing-demos' under WSO2[1].

 Please added the repo.


 Isn't that WSO2-Dev repo [1] is much suitable for above demos and samples
 ? IMHO these stuff directly related to developer experience rather our
 Carbon code base.

 [1] - https://github.com/wso2-dev

 Thanks !



 [1] https://github.com/wso2

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

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




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


[Dev] Customising API-M LC

2014-03-07 Thread Samisa Abeysinghe
Is $subject possible?

If yes, where is the doc?

The use case is, can we introduce an approval process for example into
publication?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

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


Re: [Dev] [Architecture] WSO2 Data Services Server 3.2.0-M1 Released

2014-03-07 Thread Samisa Abeysinghe
DO we have samples on how to get JSON working?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Mon, Mar 3, 2014 at 3:32 PM, Chanika Geeganage chan...@wso2.com wrote:

 *WSO2 Data Services Server 3.2.0-M1 Released!*


 The Milestone-1 pack is available at:
 http://svn.wso2.org/repos/wso2/people/chanika/DSS_3.2.0_M1/

 To run the samples please follow the read-me, $DSS_HOME/samples/README.txt

 Following are the bug fixes, improvements and the new features.

 Bug

- [DS-801 https://wso2.org/jira/browse/DS-801] - Task Scheduling on
task type based in a clustered setup
- [DS-846 https://wso2.org/jira/browse/DS-846] - DSS Batch Requests
are failing when DTP is enabled
- [DS-851 https://wso2.org/jira/browse/DS-851] - Turn on content
negotiation by default in axis2.xml
- [DS-854 https://wso2.org/jira/browse/DS-854] - Adding JNDI
datasource ui password field is missing
- [DS-856 https://wso2.org/jira/browse/DS-856] - CLOB type does not
appear in the input parameter list
- [DS-858 https://wso2.org/jira/browse/DS-858] - Fixing Round Robbin
based Location Resolver

 Improvement

- [DS-844 https://wso2.org/jira/browse/DS-844] - Resource
Dispatching for Multiple parameters with the same base URL
- [DS-855 https://wso2.org/jira/browse/DS-855] - Data Services
Streaming Improvements

 New Feature

- [DS-859 https://wso2.org/jira/browse/DS-859] - Native JSON support

 We welcome your feedback on this release of DSS.

 Thanks
 - WSO2 DSS Team -

 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 WSO2, Inc.; http://wso2.com


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


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


Re: [Dev] Customising API-M LC

2014-03-07 Thread Samisa Abeysinghe
Is this part of roadmap?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Sat, Mar 8, 2014 at 7:03 AM, Vijayaratha Vijayasingam rat...@wso2.comwrote:

 Hi samisa;
 In AM 1.6.0 this is not supported..That is, workflow integration is not
 added to LC management.

 Thanks.


 On 8 March 2014 06:40, Samisa Abeysinghe sam...@wso2.com wrote:

 Is $subject possible?

 If yes, where is the doc?

 The use case is, can we introduce an approval process for example into
 publication?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Developer Evangelism

 WSO2 Inc.
 http://wso2.com


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




 --
 -Ratha
 mobile: (+94)755906608

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


Re: [Dev] Customising API-M LC

2014-03-07 Thread Samisa Abeysinghe
What about subscribing? Can there be an approval process when subscribing

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Sat, Mar 8, 2014 at 7:16 AM, Sumedha Rubasinghe sume...@wso2.com wrote:

 Workflow extension for publishing is already implemented in next AM
 version by Amila. It should be available in the next build. There is an
 @arch discussion as well.
 On Mar 8, 2014 7:08 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 Is this part of roadmap?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Developer Evangelism

 WSO2 Inc.
 http://wso2.com



 On Sat, Mar 8, 2014 at 7:03 AM, Vijayaratha Vijayasingam rat...@wso2.com
  wrote:

 Hi samisa;
 In AM 1.6.0 this is not supported..That is, workflow integration is not
 added to LC management.

 Thanks.


  On 8 March 2014 06:40, Samisa Abeysinghe sam...@wso2.com wrote:

  Is $subject possible?

 If yes, where is the doc?

 The use case is, can we introduce an approval process for example into
 publication?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Developer Evangelism

 WSO2 Inc.
 http://wso2.com


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




 --
 -Ratha
 mobile: (+94)755906608



 ___
 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] [Architecture] Dropping Registry-based DepSync support from Carbon 4.3.0

2014-02-26 Thread Samisa Abeysinghe
Did we not drop registry one sometime ago and again intro it for the sake
of simple use cases: not all like/want the need to manage a repo. What is
the story for that if we drop this again?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Tue, Feb 25, 2014 at 2:40 PM, Sameera Jayasoma same...@wso2.com wrote:




 On Tue, Feb 25, 2014 at 12:38 PM, Sagara Gunathunga sag...@wso2.comwrote:




 On Tue, Feb 25, 2014 at 12:09 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi,

 This is to update the lists that we have decided to drop the
 Registry-based DepSync support from Carbon 4.3.0 release onward. We are
 thinking to keep SVN-based DepSync for now but it'll be deprecated once the
 GIT based DepSync is further stabilized.


 Since both GIT and SVN are in mainstream In my POV we should support for
 SVN based DepSync for sometime, some people may keep want to use SVN.


 We have to support SVN for sometime. Since it is the only tested
 implementation at the moment and its being used in most of the places.

 Thanks,
 Sameera.


 Thanks !



 Thanks,
 KasunG





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


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




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

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


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


Re: [Dev] [Architecture] Dropping Registry-based DepSync support from Carbon 4.3.0

2014-02-26 Thread Samisa Abeysinghe
That is what I am asking. What about the use cases that Reg based dep sync
was re-introduced after we dropped it last time?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Wed, Feb 26, 2014 at 9:54 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi Samisa,

 On Wed, Feb 26, 2014 at 9:48 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Did we not drop registry one sometime ago and again intro it for the sake
 of simple use cases: not all like/want the need to manage a repo. What is
 the story for that if we drop this again?


 I think the Registry DepSync support was deprecated previously, isn't it?
 From Carbon 4.3.0 we are dropping it, and all the relevant code is removed.



 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Developer Evangelism

 WSO2 Inc.
 http://wso2.com



 On Tue, Feb 25, 2014 at 2:40 PM, Sameera Jayasoma same...@wso2.comwrote:




 On Tue, Feb 25, 2014 at 12:38 PM, Sagara Gunathunga sag...@wso2.comwrote:




 On Tue, Feb 25, 2014 at 12:09 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi,

 This is to update the lists that we have decided to drop the
 Registry-based DepSync support from Carbon 4.3.0 release onward. We are
 thinking to keep SVN-based DepSync for now but it'll be deprecated once 
 the
 GIT based DepSync is further stabilized.


 Since both GIT and SVN are in mainstream In my POV we should support
 for SVN based DepSync for sometime, some people may keep want to use SVN.


 We have to support SVN for sometime. Since it is the only tested
 implementation at the moment and its being used in most of the places.

 Thanks,
 Sameera.


 Thanks !



 Thanks,
 KasunG





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


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




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

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



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




 --
 *Kasun Gajasinghe*
 Software Engineer;
 WSO2 Inc.; http://wso2.com


  ,
 *email: *
 *kasung AT spamfree wso2.com http://wso2.com   ** cell: **+94 (77)
 678-0813 %2B94%20%2877%29%20678-0813*
 *linked-in: *http://lk.linkedin.com/in/gajasinghe



 *blog: **http://kasunbg.org* http://kasunbg.org



 *twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg




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


Re: [Dev] Error using BAM mediator from proxy

2014-02-23 Thread Samisa Abeysinghe
I am using local registry

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Mon, Feb 24, 2014 at 8:35 AM, Chanaka Fernando chana...@wso2.com wrote:

 Hi Samisa,

 Are you using a remote registry instance or In-built registry?

 Thanks,
 Chanaka


 On Sun, Feb 23, 2014 at 8:41 AM, Pandula Kariyawasam pand...@wso2.comwrote:

 Hi Samisa,

 I tried this with having ESB4.8.1 on a windows7 machine and BAM2.4.1 
 AS5.2.1 on Ubuntu. It worked for me, expected message properties (company
 name  volume) received to BAM side. Since the windows machine is very low
 in performance, couldn't try all three on it.


 Thanks,
 Pandula



 On Sun, Feb 23, 2014 at 6:30 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 There seem to be a registry issue. And I am using Windows, so I wonder
 if this is a Windows issue.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Developer Evangelism

 WSO2 Inc.
 http://wso2.com



 On Fri, Feb 21, 2014 at 10:26 PM, Evanthika Amarasiri 
 evanth...@wso2.com wrote:

 Hi Samisa,

 I followed [1] with ESB 4.8.1 and stats were published as expected. We
 did test this for the release as well.

 [1] - http://docs.wso2.org/display/BAM240/Setting+up+BAM+Mediator

 Regards,
 Evanthika

 On Fri, Feb 21, 2014 at 5:31 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 So looks like ESB 4.8.1 BAM mediator is not working.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Developer Evangelism

 WSO2 Inc.
 http://wso2.com



 On Fri, Feb 21, 2014 at 5:26 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Ah mistake, it is already installed.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Developer Evangelism

 WSO2 Inc.
 http://wso2.com



 On Fri, Feb 21, 2014 at 5:24 PM, Samisa Abeysinghe 
 sam...@wso2.comwrote:

 Looks like *BAM Mediator *is not available for ESB 4.8.1. Do I have
 to use 4.8.0?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Developer Evangelism

 WSO2 Inc.
 http://wso2.com



 On Fri, Feb 21, 2014 at 4:36 PM, Maninda Edirisooriya 
 mani...@wso2.com wrote:

 Hi Samisa,

 You may have missed the 5 and 6 steps under the topic Configuring
 server profiles and streams in the doc [1]. (i.e. Saving BAM server
 profile in ESB)

 [1] http://docs.wso2.org/display/BAM240/Setting+up+BAM+Mediator


 *Maninda Edirisooriya*
 Software Engineer

 *WSO2, Inc. *lean.enterprise.middleware.

 *Blog* : http://maninda.blogspot.com/
 *Phone* : +94 777603226


 On Fri, Feb 21, 2014 at 4:32 PM, Chanaka Fernando 
 chana...@wso2.com wrote:

 Hi Samisa,

 According to the error, ESB can't find the registry resource for
 the BAM server profile.

 ERROR - RegistryManager Error while getting the resource from
 Registry. Resource does not exist at path /_system/config/
 bamServerProfiles/SimpleStockQuoteProfile


 You can browse this from the ESB registry and check whether this
 resource is available in this path (/_system/config/
 bamServerProfiles/SimpleStockQuoteProfile). This kind of error can
 happen if you change the stream definition of the BAM server profile, 
 when
 it is already used by a proxy. But in this scenario, it looks like 
 this BAM
 profile is not saved in  the registry.


 Thanks,
 Chanaka





 On Fri, Feb 21, 2014 at 3:55 PM, Samisa Abeysinghe 
 sam...@wso2.com wrote:

 I am following the instructions in
 http://wso2.com/library/articles/2013/07/monitoring-a-web-service-via-esb-analyzing-and-visualizing-results-using-bam/on
  Windows.

 I have defined the BAM server profile.

 But cannot use it form the proxy service. When configuring the
 mediator, the UI fails to fetch the stream name and version.

 I am using 2.4.0

 What could be the issue here?


 [2014-02-21 15:47:13,597] ERROR - RegistryManager Error while
 getting the resource from Registry. Resource does not exist at path
 /_system/config/bamServerProfiles/SimpleStockQuoteProfile
 org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
 Resource does not exist at path
 /_system/config/bamServerProfiles/SimpleStockQuoteProfile
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:532)
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:164)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:524)
 at
 org.wso2.carbon.mediator.bam.config.RegistryManager.getResourceString(RegistryManager.java:90)
 at
 org.wso2.carbon.mediator.bam.config.services.BamServerProfileConfigAdmin.getResourceString(BamServerProfileConfigAdmin.java:53)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.axis2

Re: [Dev] Error using BAM mediator from proxy

2014-02-22 Thread Samisa Abeysinghe
There seem to be a registry issue. And I am using Windows, so I wonder if
this is a Windows issue.

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Fri, Feb 21, 2014 at 10:26 PM, Evanthika Amarasiri evanth...@wso2.comwrote:

 Hi Samisa,

 I followed [1] with ESB 4.8.1 and stats were published as expected. We did
 test this for the release as well.

 [1] - http://docs.wso2.org/display/BAM240/Setting+up+BAM+Mediator

 Regards,
 Evanthika

 On Fri, Feb 21, 2014 at 5:31 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 So looks like ESB 4.8.1 BAM mediator is not working.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Developer Evangelism

 WSO2 Inc.
 http://wso2.com



 On Fri, Feb 21, 2014 at 5:26 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Ah mistake, it is already installed.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Developer Evangelism

 WSO2 Inc.
 http://wso2.com



 On Fri, Feb 21, 2014 at 5:24 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Looks like *BAM Mediator *is not available for ESB 4.8.1. Do I have to
 use 4.8.0?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Developer Evangelism

 WSO2 Inc.
 http://wso2.com



 On Fri, Feb 21, 2014 at 4:36 PM, Maninda Edirisooriya mani...@wso2.com
  wrote:

 Hi Samisa,

 You may have missed the 5 and 6 steps under the topic Configuring
 server profiles and streams in the doc [1]. (i.e. Saving BAM server
 profile in ESB)

 [1] http://docs.wso2.org/display/BAM240/Setting+up+BAM+Mediator


 *Maninda Edirisooriya*
 Software Engineer

 *WSO2, Inc. *lean.enterprise.middleware.

 *Blog* : http://maninda.blogspot.com/
 *Phone* : +94 777603226


 On Fri, Feb 21, 2014 at 4:32 PM, Chanaka Fernando 
 chana...@wso2.comwrote:

 Hi Samisa,

 According to the error, ESB can't find the registry resource for the
 BAM server profile.

 ERROR - RegistryManager Error while getting the resource from
 Registry. Resource does not exist at path /_system/config/
 bamServerProfiles/SimpleStockQuoteProfile


 You can browse this from the ESB registry and check whether this
 resource is available in this path (/_system/config/
 bamServerProfiles/SimpleStockQuoteProfile). This kind of error can
 happen if you change the stream definition of the BAM server profile, 
 when
 it is already used by a proxy. But in this scenario, it looks like this 
 BAM
 profile is not saved in  the registry.


 Thanks,
 Chanaka





 On Fri, Feb 21, 2014 at 3:55 PM, Samisa Abeysinghe 
 sam...@wso2.comwrote:

 I am following the instructions in
 http://wso2.com/library/articles/2013/07/monitoring-a-web-service-via-esb-analyzing-and-visualizing-results-using-bam/on
  Windows.

 I have defined the BAM server profile.

 But cannot use it form the proxy service. When configuring the
 mediator, the UI fails to fetch the stream name and version.

 I am using 2.4.0

 What could be the issue here?


 [2014-02-21 15:47:13,597] ERROR - RegistryManager Error while
 getting the resource from Registry. Resource does not exist at path
 /_system/config/bamServerProfiles/SimpleStockQuoteProfile
 org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
 Resource does not exist at path
 /_system/config/bamServerProfiles/SimpleStockQuoteProfile
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:532)
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:164)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:524)
 at
 org.wso2.carbon.mediator.bam.config.RegistryManager.getResourceString(RegistryManager.java:90)
 at
 org.wso2.carbon.mediator.bam.config.services.BamServerProfileConfigAdmin.getResourceString(BamServerProfileConfigAdmin.java:53)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
 at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
 at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
 at
 org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
 at
 org.wso2

[Dev] Error using BAM mediator from proxy

2014-02-21 Thread Samisa Abeysinghe
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

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


[Dev] Exception at BAM server startup

2014-02-21 Thread Samisa Abeysinghe
)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at
org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
at
org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

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


Re: [Dev] Exception at BAM server startup

2014-02-21 Thread Samisa Abeysinghe
That works. Thanks for quick help

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Fri, Feb 21, 2014 at 4:39 PM, Inosh Goonewardena in...@wso2.com wrote:

 On Fri, Feb 21, 2014 at 4:14 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 I get the following exception on Windows with 2.4.0

 This is a fresh pack, and I am using a port offset of 1

 After changing the port offset you also need to change the cassandra url
 of the WSO2BAM_UTIL_DATASOURCE (and WSO2BAM_CASSANDRA_DATASOURCE) in
 master-datasources.xml.


 [2014-02-21 16:11:51,693] ERROR
 {me.prettyprint.cassandra.connection.HConnectionManager} -  Could not start
 connection pool for host localhost(127.0.0.1):9160
 [2014-02-21 16:11:51,699] ERROR
 {org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent}
 -  All host pools marked down. Retry burden pushed out to client.
 me.prettyprint.hector.api.exceptions.HectorException: All host pools
 marked down. Retry burden pushed out to client.
 at
 me.prettyprint.cassandra.connection.HConnectionManager.getClientFromLBPolicy(HConnectionManager.java:393)
 at
 me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:249)
 at
 me.prettyprint.cassandra.service.ThriftCluster.addKeyspace(ThriftCluster.java:168)
 at
 org.wso2.carbon.bam.datasource.utils.DataSourceUtils.createKeyspaceIfNotExist(DataSourceUtils.java:80)
 at
 org.wso2.carbon.bam.datasource.utils.DataSourceUtils.getClusterKeyspaceFromRDBMSConfig(DataSourceUtils.java:92)
 at
 org.wso2.carbon.bam.datasource.utils.DataSourceUtils.getClusterKeyspaceFromRDBMSDataSource(DataSourceUtils.java:96)
 at
 org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent.initRecordStore(NotificationDispatchComponent.java:72)
 at
 org.wso2.carbon.bam.notification.task.internal.NotificationDispatchComponent.activate(NotificationDispatchComponent.java:64)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
 at
 org.wso2.carbon.ntask.core.internal.TasksDSComponent.activate(TasksDSComponent.java:105)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347

Re: [Dev] Error using BAM mediator from proxy

2014-02-21 Thread Samisa Abeysinghe
Looks like *BAM Mediator *is not available for ESB 4.8.1. Do I have to use
4.8.0?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Fri, Feb 21, 2014 at 4:36 PM, Maninda Edirisooriya mani...@wso2.comwrote:

 Hi Samisa,

 You may have missed the 5 and 6 steps under the topic Configuring server
 profiles and streams in the doc [1]. (i.e. Saving BAM server profile in
 ESB)

 [1] http://docs.wso2.org/display/BAM240/Setting+up+BAM+Mediator


 *Maninda Edirisooriya*
 Software Engineer

 *WSO2, Inc. *lean.enterprise.middleware.

 *Blog* : http://maninda.blogspot.com/
 *Phone* : +94 777603226


 On Fri, Feb 21, 2014 at 4:32 PM, Chanaka Fernando chana...@wso2.comwrote:

 Hi Samisa,

 According to the error, ESB can't find the registry resource for the BAM
 server profile.

 ERROR - RegistryManager Error while getting the resource from Registry.
 Resource does not exist at path /_system/config/
 bamServerProfiles/SimpleStockQuoteProfile


 You can browse this from the ESB registry and check whether this resource
 is available in this path (/_system/config/
 bamServerProfiles/SimpleStockQuoteProfile). This kind of error can happen
 if you change the stream definition of the BAM server profile, when it is
 already used by a proxy. But in this scenario, it looks like this BAM
 profile is not saved in  the registry.


 Thanks,
 Chanaka





 On Fri, Feb 21, 2014 at 3:55 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 I am following the instructions in
 http://wso2.com/library/articles/2013/07/monitoring-a-web-service-via-esb-analyzing-and-visualizing-results-using-bam/on
  Windows.

 I have defined the BAM server profile.

 But cannot use it form the proxy service. When configuring the mediator,
 the UI fails to fetch the stream name and version.

 I am using 2.4.0

 What could be the issue here?


 [2014-02-21 15:47:13,597] ERROR - RegistryManager Error while getting
 the resource from Registry. Resource does not exist at path
 /_system/config/bamServerProfiles/SimpleStockQuoteProfile
 org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
 Resource does not exist at path
 /_system/config/bamServerProfiles/SimpleStockQuoteProfile
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:532)
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:164)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:524)
 at
 org.wso2.carbon.mediator.bam.config.RegistryManager.getResourceString(RegistryManager.java:90)
 at
 org.wso2.carbon.mediator.bam.config.services.BamServerProfileConfigAdmin.getResourceString(BamServerProfileConfigAdmin.java:53)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
 at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
 at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
 at
 org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
 at
 org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
 at
 org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.mediator.bam.config.stub.BAMMediatorConfigAdminStub.getResourceString(BAMMediatorConfigAdminStub.java:2426)
 at
 org.wso2.carbon.mediator.bam.ui.BamServerProfileConfigAdminClient.getResourceString(BamServerProfileConfigAdminClient.java:56)
 at
 org.wso2.carbon.mediator.bam.ui.DdlAjaxProcessorHelper.getResource(DdlAjaxProcessorHelper.java:59)
 at
 org.wso2.carbon.mediator.bam.ui.DdlAjaxProcessorHelper.getStreamConfigurationNames(DdlAjaxProcessorHelper.java:97

Re: [Dev] Error using BAM mediator from proxy

2014-02-21 Thread Samisa Abeysinghe
Ah mistake, it is already installed.

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Fri, Feb 21, 2014 at 5:24 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 Looks like *BAM Mediator *is not available for ESB 4.8.1. Do I have to
 use 4.8.0?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Developer Evangelism

 WSO2 Inc.
 http://wso2.com



 On Fri, Feb 21, 2014 at 4:36 PM, Maninda Edirisooriya mani...@wso2.comwrote:

 Hi Samisa,

 You may have missed the 5 and 6 steps under the topic Configuring server
 profiles and streams in the doc [1]. (i.e. Saving BAM server profile in
 ESB)

 [1] http://docs.wso2.org/display/BAM240/Setting+up+BAM+Mediator


 *Maninda Edirisooriya*
 Software Engineer

 *WSO2, Inc. *lean.enterprise.middleware.

 *Blog* : http://maninda.blogspot.com/
 *Phone* : +94 777603226


 On Fri, Feb 21, 2014 at 4:32 PM, Chanaka Fernando chana...@wso2.comwrote:

 Hi Samisa,

 According to the error, ESB can't find the registry resource for the BAM
 server profile.

 ERROR - RegistryManager Error while getting the resource from Registry.
 Resource does not exist at path /_system/config/
 bamServerProfiles/SimpleStockQuoteProfile


 You can browse this from the ESB registry and check whether this
 resource is available in this path (/_system/config/
 bamServerProfiles/SimpleStockQuoteProfile). This kind of error can
 happen if you change the stream definition of the BAM server profile, when
 it is already used by a proxy. But in this scenario, it looks like this BAM
 profile is not saved in  the registry.


 Thanks,
 Chanaka





 On Fri, Feb 21, 2014 at 3:55 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 I am following the instructions in
 http://wso2.com/library/articles/2013/07/monitoring-a-web-service-via-esb-analyzing-and-visualizing-results-using-bam/on
  Windows.

 I have defined the BAM server profile.

 But cannot use it form the proxy service. When configuring the
 mediator, the UI fails to fetch the stream name and version.

 I am using 2.4.0

 What could be the issue here?


 [2014-02-21 15:47:13,597] ERROR - RegistryManager Error while getting
 the resource from Registry. Resource does not exist at path
 /_system/config/bamServerProfiles/SimpleStockQuoteProfile
 org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
 Resource does not exist at path
 /_system/config/bamServerProfiles/SimpleStockQuoteProfile
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:532)
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:164)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:524)
 at
 org.wso2.carbon.mediator.bam.config.RegistryManager.getResourceString(RegistryManager.java:90)
 at
 org.wso2.carbon.mediator.bam.config.services.BamServerProfileConfigAdmin.getResourceString(BamServerProfileConfigAdmin.java:53)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
 at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
 at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
 at
 org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
 at
 org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
 at
 org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.mediator.bam.config.stub.BAMMediatorConfigAdminStub.getResourceString(BAMMediatorConfigAdminStub.java:2426)
 at
 org.wso2.carbon.mediator.bam.ui.BamServerProfileConfigAdminClient.getResourceString(BamServerProfileConfigAdminClient.java:56)
 at
 org.wso2

Re: [Dev] Error using BAM mediator from proxy

2014-02-21 Thread Samisa Abeysinghe
So looks like ESB 4.8.1 BAM mediator is not working.

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Fri, Feb 21, 2014 at 5:26 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 Ah mistake, it is already installed.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Developer Evangelism

 WSO2 Inc.
 http://wso2.com



 On Fri, Feb 21, 2014 at 5:24 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Looks like *BAM Mediator *is not available for ESB 4.8.1. Do I have to
 use 4.8.0?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Developer Evangelism

 WSO2 Inc.
 http://wso2.com



 On Fri, Feb 21, 2014 at 4:36 PM, Maninda Edirisooriya 
 mani...@wso2.comwrote:

 Hi Samisa,

 You may have missed the 5 and 6 steps under the topic Configuring
 server profiles and streams in the doc [1]. (i.e. Saving BAM server
 profile in ESB)

 [1] http://docs.wso2.org/display/BAM240/Setting+up+BAM+Mediator


 *Maninda Edirisooriya*
 Software Engineer

 *WSO2, Inc. *lean.enterprise.middleware.

 *Blog* : http://maninda.blogspot.com/
 *Phone* : +94 777603226


 On Fri, Feb 21, 2014 at 4:32 PM, Chanaka Fernando chana...@wso2.comwrote:

 Hi Samisa,

 According to the error, ESB can't find the registry resource for the
 BAM server profile.

 ERROR - RegistryManager Error while getting the resource from Registry.
 Resource does not exist at path /_system/config/
 bamServerProfiles/SimpleStockQuoteProfile


 You can browse this from the ESB registry and check whether this
 resource is available in this path (/_system/config/
 bamServerProfiles/SimpleStockQuoteProfile). This kind of error can
 happen if you change the stream definition of the BAM server profile, when
 it is already used by a proxy. But in this scenario, it looks like this BAM
 profile is not saved in  the registry.


 Thanks,
 Chanaka





 On Fri, Feb 21, 2014 at 3:55 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 I am following the instructions in
 http://wso2.com/library/articles/2013/07/monitoring-a-web-service-via-esb-analyzing-and-visualizing-results-using-bam/on
  Windows.

 I have defined the BAM server profile.

 But cannot use it form the proxy service. When configuring the
 mediator, the UI fails to fetch the stream name and version.

 I am using 2.4.0

 What could be the issue here?


 [2014-02-21 15:47:13,597] ERROR - RegistryManager Error while getting
 the resource from Registry. Resource does not exist at path
 /_system/config/bamServerProfiles/SimpleStockQuoteProfile
 org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
 Resource does not exist at path
 /_system/config/bamServerProfiles/SimpleStockQuoteProfile
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:532)
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:164)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:524)
 at
 org.wso2.carbon.mediator.bam.config.RegistryManager.getResourceString(RegistryManager.java:90)
 at
 org.wso2.carbon.mediator.bam.config.services.BamServerProfileConfigAdmin.getResourceString(BamServerProfileConfigAdmin.java:53)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
 at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
 at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
 at
 org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
 at
 org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
 at
 org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2

Re: [Dev] Error using BAM mediator from proxy

2014-02-21 Thread Samisa Abeysinghe
Chanaka,
   The resource is
there /_system/config/bamServerProfiles/SimpleStockQuoteProfile

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Fri, Feb 21, 2014 at 4:32 PM, Chanaka Fernando chana...@wso2.com wrote:

 Hi Samisa,

 According to the error, ESB can't find the registry resource for the BAM
 server profile.

 ERROR - RegistryManager Error while getting the resource from Registry.
 Resource does not exist at path /_system/config/
 bamServerProfiles/SimpleStockQuoteProfile


 You can browse this from the ESB registry and check whether this resource
 is available in this path (/_system/config/
 bamServerProfiles/SimpleStockQuoteProfile). This kind of error can happen
 if you change the stream definition of the BAM server profile, when it is
 already used by a proxy. But in this scenario, it looks like this BAM
 profile is not saved in  the registry.


 Thanks,
 Chanaka





 On Fri, Feb 21, 2014 at 3:55 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 I am following the instructions in
 http://wso2.com/library/articles/2013/07/monitoring-a-web-service-via-esb-analyzing-and-visualizing-results-using-bam/on
  Windows.

 I have defined the BAM server profile.

 But cannot use it form the proxy service. When configuring the mediator,
 the UI fails to fetch the stream name and version.

 I am using 2.4.0

 What could be the issue here?


 [2014-02-21 15:47:13,597] ERROR - RegistryManager Error while getting the
 resource from Registry. Resource does not exist at path
 /_system/config/bamServerProfiles/SimpleStockQuoteProfile
 org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
 Resource does not exist at path
 /_system/config/bamServerProfiles/SimpleStockQuoteProfile
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:532)
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:164)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:524)
 at
 org.wso2.carbon.mediator.bam.config.RegistryManager.getResourceString(RegistryManager.java:90)
 at
 org.wso2.carbon.mediator.bam.config.services.BamServerProfileConfigAdmin.getResourceString(BamServerProfileConfigAdmin.java:53)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
 at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
 at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
 at
 org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
 at
 org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.mediator.bam.config.stub.BAMMediatorConfigAdminStub.getResourceString(BAMMediatorConfigAdminStub.java:2426)
 at
 org.wso2.carbon.mediator.bam.ui.BamServerProfileConfigAdminClient.getResourceString(BamServerProfileConfigAdminClient.java:56)
 at
 org.wso2.carbon.mediator.bam.ui.DdlAjaxProcessorHelper.getResource(DdlAjaxProcessorHelper.java:59)
 at
 org.wso2.carbon.mediator.bam.ui.DdlAjaxProcessorHelper.getStreamConfigurationNames(DdlAjaxProcessorHelper.java:97)
 at
 org.apache.jsp.bam_002dmediator.dropdown_005fajaxprocessor_jsp._jspService(org.apache.jsp.bam_002dmediator.dropdown_005fajaxprocessor_jsp:82)
 at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492

Re: [Dev] [ESB]LDAP Connector for WSO2 ESB : Asking for feedbacks

2014-02-06 Thread Samisa Abeysinghe
ESB team, can we please have a look into this?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Fri, Jan 31, 2014 at 9:34 AM, Dimuthu Upeksha dimut...@wso2.com wrote:

 Hi all,
 We are working on our intern project Infra portal. We needed to do some
 LDAP operations in our project. To make the integration easy we implemented
 a LDAP connector [1] for WSO2 ESB 4.8.0. We hope this will be useful to
 other groups which are working on LDAP authentication stuff. So we decided
 to share this with everyone. Detailed descriptions of currently available
 operations are mentioned in this[2] blog. We hope that this should be
 improved further because this includes only basic LDAP operations.

 It will be a great help for us I you can give us some feedbacks about
 improvements we can do in this connector.

 [1] https://svn.wso2.com/wso2/interns/2013/dimuthuu/ldap_connector/
 [2]
 http://dimuthuupeksha.blogspot.com/2014/01/ldap-connector-for-wso2-esb.html

 Thanks
 Dimuthu

 --
 Dimuthu Upeksha
 Engineering Intern
 WSO2 inc.

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


Re: [Dev] [Jaggery] Writing a Jaggery Client for secured REST Resource

2014-01-21 Thread Samisa Abeysinghe
Yes this is what I was looking for. Thanks for the information. And we
should document this

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Tue, Jan 21, 2014 at 6:29 PM, Kambiz Darabi dar...@m-creations.comwrote:

 Hi Samisa,

 I hope I understand your use case.

 I have successfully called Basic Auth secured REST services by creating an
 Authorization header in the jaggery code and sending the GET request
 with that header.

 Quoting from

 http://en.wikipedia.org/wiki/Basic_access_authentication#Client_side

 you can see that you just have to create a string username:password
 (separated by a colon) and encode it in base64, then you add an HTTP
 'Authorization' header to the request which contains

 Basic + base64_encode( username + : + password);

 Here is an example of a js implementation of base64 encoding (I don't
 know what the licence is):

 http://phpjs.org/functions/base64_encode/


 Is this what you are looking for?

 I could also dig out some code, when I get back to the office, if that
 is necessary.

 HTH



 Kambiz Darabi
 --
 m-creations gmbh
 Acker 2
 55116 Mainz
 Germany

 W: http://www.m-creations.com
 E: dar...@m-creations.com
 T: +49 6131 6224417
 F: +49 6131 6224418
 --
 Registered Office: Mainz, HRB Mainz 7382
 Managing Directors: Frank Pacholak, Kambiz Darabi


 Samisa Abeysinghe sam...@wso2.com wrote:
 
  Do we have a sample around this? We need one!
 
  Thanks,
  Samisa...
 
  Samisa Abeysinghe
 
  Vice President Developer Evangelism
 
  WSO2 Inc.
  http://wso2.com
 
  On Tue, Jan 21, 2014 at 10:43 AM, Madhuka Udantha madh...@wso2.com
  wrote:
 
  Hi Sudheera.
 
 
  you can pass token as header or data[1] depending on your BE
  service is expect.
 
 
  get(url[, data][, headers][, type][, success(data, xhr)])
 
 
  [1] http://jaggeryjs.org/apidocs/get.jag
 
 
 
 
 
  On Tue, Jan 21, 2014 at 10:22 AM, Sudheera Palihakkara
  sudhe...@wso2.com wrote:
 
 
 
 
  Hi madhuka,
 
 
  Yeah I'm referring to those, But I couldn't find any
  documentation about how to send the security parameters with
  the request. For example I have secured my data service with
  UsernameToken method[1], so in oder to invoke the service I
  have to send the username and the password with the request.
  How to send those parameters with jaggery GET or POST methods?
 
  [1]
 
 http://docs.wso2.org/display/DSS311/Security+Implementation#SecurityImplementation-
  1UsernameToken
 
 
  thank you all. :)
 
 
 
 
 
 
  On Tue, Jan 21, 2014 at 10:13 AM, Madhuka Udantha
  madh...@wso2.com wrote:
 
 
  Hi Sudheera,
 
 
  To call REST service you can try Http Client define in
  jaggery, You can fine sample codes in jaggery
  documentation as well.
 
 
  * get()[1]
 
  * post() [2]
 
  * put() [3]
 
  * del() [4]
 
 
  Thanks
 
 
  [1] http://jaggeryjs.org/apidocs/get.jag
 
  [2] http://jaggeryjs.org/apidocs/post.jag
  [3] http://jaggeryjs.org/apidocs/put.jag
  [4] http://jaggeryjs.org/apidocs/del.jag
 
 
 
 
 
  On Tue, Jan 21, 2014 at 9:47 AM, Sudheera Palihakkara
  sudhe...@wso2.com wrote:
 
 
 
 
  Hi,
 
  Thank you for the reply. Can we use the WSRequest
  object to invoke a REST resource defined in DSS? I
  have followed this blog post so far[1], and using http
  GET, POST, DELETE etc methods to invoke the REST
  resources.
 
  [1]
 
 http://blog.samisa.org/2014/01/rest-in-json-with-wso2-data-
  services.html
 
 
  thanks.
 
 
 
 
 
 
  On Mon, Jan 20, 2014 at 6:33 PM, Ruchira Wageesha
  ruch...@wso2.com wrote:
 
 
  You can invoke the secured service using WSRequest
  object of Jaggery. Please refer the doc at [1].
  Several sections of the article [2](written for
  mashup server), would also be helpful.
 
 
  /Ruchira
 
 
 
  [1] http://jaggeryjs.org/apidocs/ws.jag
  [2]
 
 http://ruchirawageesha.blogspot.com/2011/12/blog-post.
  html
 
 
 
 
 
  On Mon, Jan 20, 2014 at 4:06 PM, Sudheera
  Palihakkara sudhe...@wso2.com wrote:
 
 
 
 
 
 
  Hi,
 
 
  I have exposed a data service as a REST
  resource and coded a Jaggery client for the
  service. Now I want to secure this service,
  using DSS I have already secured the service
  with Username

Re: [Dev] [Jaggery] Writing a Jaggery Client for secured REST Resource

2014-01-20 Thread Samisa Abeysinghe
Do we have a sample around this? We need one!

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

WSO2 Inc.
http://wso2.com



On Tue, Jan 21, 2014 at 10:43 AM, Madhuka Udantha madh...@wso2.com wrote:

 Hi Sudheera.

 you can pass token as header or data[1] depending on your BE service is
 expect.

 get(url[, data][, headers][, type][, success(data, xhr)])

 [1] http://jaggeryjs.org/apidocs/get.jag


 On Tue, Jan 21, 2014 at 10:22 AM, Sudheera Palihakkara 
 sudhe...@wso2.comwrote:

 Hi madhuka,

 Yeah I'm referring to those, But I couldn't find any documentation about
 how to send the security parameters with the request. For example I have
 secured my data service with UsernameToken method[1], so in oder to invoke
 the service I have to send the username and the password with the request.
 How to send those parameters with jaggery GET or POST methods?

 [1]
 http://docs.wso2.org/display/DSS311/Security+Implementation#SecurityImplementation-1UsernameToken

 thank you all. :)


 On Tue, Jan 21, 2014 at 10:13 AM, Madhuka Udantha madh...@wso2.comwrote:

 Hi Sudheera,

 To call REST service you can try Http Client define in jaggery, You
 can fine sample codes in jaggery documentation as well.

- get()[1]
- post() [2]
- put() [3]
- del() [4]

 Thanks

 [1] http://jaggeryjs.org/apidocs/get.jag
  [2] http://jaggeryjs.org/apidocs/post.jag
 [3] http://jaggeryjs.org/apidocs/put.jag
 [4] http://jaggeryjs.org/apidocs/del.jag


 On Tue, Jan 21, 2014 at 9:47 AM, Sudheera Palihakkara sudhe...@wso2.com
  wrote:

 Hi,
 Thank you for the reply. Can we use the WSRequest object to invoke a
 REST resource defined in DSS? I have followed this blog post so far[1], and
 using http GET, POST, DELETE etc methods to invoke the REST resources.

 [1]
 http://blog.samisa.org/2014/01/rest-in-json-with-wso2-data-services.html

 thanks.


 On Mon, Jan 20, 2014 at 6:33 PM, Ruchira Wageesha ruch...@wso2.comwrote:

 You can invoke the secured service using WSRequest object of Jaggery.
 Please refer the doc at [1]. Several sections of the article [2](written
 for mashup server), would also be helpful.

 /Ruchira

 [1] http://jaggeryjs.org/apidocs/ws.jag
 [2] http://ruchirawageesha.blogspot.com/2011/12/blog-post.html


 On Mon, Jan 20, 2014 at 4:06 PM, Sudheera Palihakkara 
 sudhe...@wso2.com wrote:

 Hi,

 I have exposed a data service as a *REST* resource and coded a
 *Jaggery* client for the service. Now I want to secure this service,
 using DSS I have already secured the service with *Username 
 Token*implementation, but I have no idea how to write a
 *Jaggery* client to go along with it. Is there are any documentation
 or blog posts written on this?

 Thank you.

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




 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*



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




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

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





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


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

2014-01-01 Thread Samisa Abeysinghe
I have blogged about getting REST with JSON to work at:
http://blog.samisa.org/2014/01/rest-in-json-with-wso2-data-services.html

This is part of a series of blogs that I am writing on data services.


Thanks,
Samisa...


Samisa Abeysinghe

Vice President Developer Evangelism

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

2013-12-20 Thread Samisa Abeysinghe
So I am looking for a one stop shop info page on JSON. This thread has
already pointed me to 5 links that I should look into.

Like in the case of REST, or JMS, should we not have a nice landing page on
JSON support?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Fri, Dec 20, 2013 at 1:43 PM, Ravi Undupitiya r...@wso2.com wrote:

 ESB 4.8.0 docs also have updated Property[1], Filter[2], Switch and Log
 mediator explaining JSON path usage.  PF mediator docs also contain some
 JSON instructions.

 [1] - http://docs.wso2.org/display/ESB480/Property+Mediator
 [2] - http://docs.wso2.org/display/ESB480/Filter+Mediator
 [3] - http://docs.wso2.org/display/ESB480/PayloadFactory+Mediator


 On Fri, Dec 20, 2013 at 1:35 PM, Ishan Jayawardena is...@wso2.com wrote:

 Hi Samisa,
 I believe you are looking at this [1]. In addition to that the wiki has
 two samples on how to handle JSON within ESB [2] but ESB 4.8.0 has more
 improved support for JSON and we will add more samples covering those areas
 as well.

 [1] http://docs.wso2.org/display/ESB480/JSON+Support
 [2] http://docs.wso2.org/display/ESB480/Mediating+JSON+Messages

 Thanks,
 Ishan.



 On Fri, Dec 20, 2013 at 12:30 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Does this doc has all the information on the kind of JSON support we
 have in the ESB?

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com


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




 --
 Ishan Jayawardena
 Senior Software Engineer
 Mobile: +94 (77) 408 2330

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




 --
 *Ravi Undupitiya*
 Software Engineer; WSO2 Inc.; http://wso2.com


 *E-mail: r...@wso2.com http://wso2.com**M: **+94 772 930 712
 %2B94%C2%A0772%20930%20712*

 Lean . Enterprise . Middleware

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


Re: [Dev] ESB JSON support

2013-12-20 Thread Samisa Abeysinghe
Great thanks

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Fri, Dec 20, 2013 at 1:48 PM, Ishan Jayawardena is...@wso2.com wrote:

 Hi Samisa,
 I understand. Currently, we are working on a similar document. I will
 update the thread once we add it to the wiki.

 Thanks,
 Ishan.


 On Fri, Dec 20, 2013 at 1:44 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 So I am looking for a one stop shop info page on JSON. This thread has
 already pointed me to 5 links that I should look into.

 Like in the case of REST, or JMS, should we not have a nice landing page
 on JSON support?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Fri, Dec 20, 2013 at 1:43 PM, Ravi Undupitiya r...@wso2.com wrote:

 ESB 4.8.0 docs also have updated Property[1], Filter[2], Switch and Log
 mediator explaining JSON path usage.  PF mediator docs also contain some
 JSON instructions.

 [1] - http://docs.wso2.org/display/ESB480/Property+Mediator
 [2] - http://docs.wso2.org/display/ESB480/Filter+Mediator
 [3] - http://docs.wso2.org/display/ESB480/PayloadFactory+Mediator


 On Fri, Dec 20, 2013 at 1:35 PM, Ishan Jayawardena is...@wso2.comwrote:

 Hi Samisa,
 I believe you are looking at this [1]. In addition to that the wiki has
 two samples on how to handle JSON within ESB [2] but ESB 4.8.0 has more
 improved support for JSON and we will add more samples covering those areas
 as well.

 [1] http://docs.wso2.org/display/ESB480/JSON+Support
 [2] http://docs.wso2.org/display/ESB480/Mediating+JSON+Messages

 Thanks,
 Ishan.



 On Fri, Dec 20, 2013 at 12:30 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Does this doc has all the information on the kind of JSON support we
 have in the ESB?

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com


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




 --
 Ishan Jayawardena
 Senior Software Engineer
 Mobile: +94 (77) 408 2330

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




 --
 *Ravi Undupitiya*
 Software Engineer; WSO2 Inc.; http://wso2.com


 *E-mail: r...@wso2.com http://wso2.com**M: **+94 772 930 712
 %2B94%C2%A0772%20930%20712*

 Lean . Enterprise . Middleware





 --
 Ishan Jayawardena
 Senior Software Engineer
 Mobile: +94 (77) 408 2330

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


Re: [Dev] ESB JSON support

2013-12-20 Thread Samisa Abeysinghe
Jira created: https://wso2.org/jira/browse/ESBJAVA-2851

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Fri, Dec 20, 2013 at 1:57 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 Great thanks

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Fri, Dec 20, 2013 at 1:48 PM, Ishan Jayawardena is...@wso2.com wrote:

 Hi Samisa,
 I understand. Currently, we are working on a similar document. I will
 update the thread once we add it to the wiki.

 Thanks,
 Ishan.


 On Fri, Dec 20, 2013 at 1:44 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 So I am looking for a one stop shop info page on JSON. This thread has
 already pointed me to 5 links that I should look into.

 Like in the case of REST, or JMS, should we not have a nice landing page
 on JSON support?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Fri, Dec 20, 2013 at 1:43 PM, Ravi Undupitiya r...@wso2.com wrote:

 ESB 4.8.0 docs also have updated Property[1], Filter[2], Switch and Log
 mediator explaining JSON path usage.  PF mediator docs also contain some
 JSON instructions.

 [1] - http://docs.wso2.org/display/ESB480/Property+Mediator
 [2] - http://docs.wso2.org/display/ESB480/Filter+Mediator
 [3] - http://docs.wso2.org/display/ESB480/PayloadFactory+Mediator


 On Fri, Dec 20, 2013 at 1:35 PM, Ishan Jayawardena is...@wso2.comwrote:

 Hi Samisa,
 I believe you are looking at this [1]. In addition to that the wiki
 has two samples on how to handle JSON within ESB [2] but ESB 4.8.0 has 
 more
 improved support for JSON and we will add more samples covering those 
 areas
 as well.

 [1] http://docs.wso2.org/display/ESB480/JSON+Support
 [2] http://docs.wso2.org/display/ESB480/Mediating+JSON+Messages

 Thanks,
 Ishan.



 On Fri, Dec 20, 2013 at 12:30 PM, Samisa Abeysinghe 
 sam...@wso2.comwrote:

 Does this doc has all the information on the kind of JSON support we
 have in the ESB?

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com


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




 --
 Ishan Jayawardena
 Senior Software Engineer
 Mobile: +94 (77) 408 2330

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




 --
 *Ravi Undupitiya*
 Software Engineer; WSO2 Inc.; http://wso2.com


 *E-mail: r...@wso2.com http://wso2.com**M: **+94 772 930 712
 %2B94%C2%A0772%20930%20712*

 Lean . Enterprise . Middleware





 --
 Ishan Jayawardena
 Senior Software Engineer
 Mobile: +94 (77) 408 2330



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


[Dev] ESB JSON support

2013-12-19 Thread Samisa Abeysinghe
Does this doc has all the information on the kind of JSON support we have
in the ESB?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

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


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

2013-12-18 Thread Samisa Abeysinghe
Please report a blocker issue on OT Jira ESB project for this.

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Wed, Dec 18, 2013 at 3:16 PM, Pubudud Dissanayake pubu...@wso2.comwrote:

 Hi,
 Please look in to the $Subject

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

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

 Thanks
 Pubudu.

 --
 *Pubudu Dissanayake*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 Mobile: 0775503304

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


Re: [Dev] [DEV] [ESB] Problem running EIP Guide Publish-Subscribe scenario

2013-12-11 Thread Samisa Abeysinghe
OK, this is the second bug we are finding running the samples. This time it
is EIP, but that too falls under try them out samples.

We really got to get the integration tests going.


Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Thu, Dec 12, 2013 at 6:34 AM, Miyuru Wanninayaka miy...@wso2.com wrote:

 Seems eventing component does not properly sets thread local CC.


 On Thu, Dec 12, 2013 at 6:15 AM, Chanaka Fernando chana...@wso2.comwrote:

 Looks like this is a bug in the ESB 4.8.0. PrabathS has also reported the
 same issue in the support dev mailing list.
 I got the same results when I tried this sample. There was a similar
 issue reported [1] and it was fixed. But In this case, no clustering
 involved.

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

 Looping in carbon team.

 Thanks,
 Chanaka




 On Wed, Dec 11, 2013 at 4:22 AM, Vimuth Fernando vim...@wso2.com wrote:

 I tried to run the Publish-Subscribe Chanel scenario in the EIP guide (
 http://docs.wso2.org/display/IntegrationPatterns/Publish-Subscribe+Channel
 ).
 As it says in the guide, i added a new Topic and subscribed with the
 urls of the two server instances.But I am getting the following exception
 at the ESB when i try to run the client.

 [2013-12-11 14:30:08,656] ERROR - DefaultRealmService Tenant domain has
 not been set in CarbonContext
 java.lang.NullPointerException: Tenant domain has not been set in
 CarbonContext
 at
 org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:79)
  at
 org.wso2.carbon.user.core.tenant.TenantCache.getTenantCache(TenantCache.java:39)
 at
 org.wso2.carbon.user.core.tenant.TenantCache.getValueFromCache(TenantCache.java:77)
  at
 org.wso2.carbon.user.core.tenant.JDBCTenantManager.getTenant(JDBCTenantManager.java:224)
 at
 org.wso2.carbon.user.core.tenant.JDBCTenantManager.getTenant(JDBCTenantManager.java:54)
  at
 org.wso2.carbon.user.core.common.DefaultRealmService.getTenantUserRealm(DefaultRealmService.java:159)
 at
 org.wso2.carbon.event.core.internal.delivery.inmemory.InMemoryDeliveryManager.publish(InMemoryDeliveryManager.java:87)
  at
 org.wso2.carbon.event.core.internal.EventPublisher.run(EventPublisher.java:56)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:744)
 [2013-12-11 14:30:08,657] ERROR - EventPublisher Can not publish the
 message
 org.wso2.carbon.event.core.exception.EventBrokerException: Can not
 access the user store manager
 at
 org.wso2.carbon.event.core.internal.delivery.inmemory.InMemoryDeliveryManager.publish(InMemoryDeliveryManager.java:109)
  at
 org.wso2.carbon.event.core.internal.EventPublisher.run(EventPublisher.java:56)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:744)


 Thanks,
 Vimuth



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




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

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






 --
 Miyuru Wanninayaka
 Technical Lead
 WSO2 Inc. : http://wso2.com

 Mobile : +94 77 209 9788
 Blog : http://miyurudw.blogspot.com
 Flickr : http://www.flickr.com/photos/miyuru_daminda

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


Re: [Dev] [ESB] Having problem with creating a secure client

2013-12-08 Thread Samisa Abeysinghe
Don't we have a doc on this?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Mon, Dec 9, 2013 at 10:16 AM, Jeewantha Dharmaparakrama 
jeewan...@wso2.com wrote:

 You have to create that Implementing
 javax.security.auth.callback.CallbackHandler. See the example in the
 article. When WSS Policy is enabled ( I believe you enabled Username Token
 Policy at ESB proxy) , there has to be WSSecurity header in the SOAP
 request with Username and password. Rampart needs a password callback
 handler to get the password.

 Jeewantha


 On Mon, Dec 9, 2013 at 10:07 AM, Dimuthu Upeksha dimut...@wso2.comwrote:

 Hi Jeewantha,
 The class PasswordCallbackHandler can not be found in axis2 or rampart
 libs. What is the library that contains it?


 On Mon, Dec 9, 2013 at 10:00 AM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 Hi Dimuthu,

 You have to set the password callback handler at client side. Try adding
 it to client's options  [1]

 [1] http://wso2.com/library/3733/

 Jeewantha


 On Mon, Dec 9, 2013 at 9:43 AM, Dimuthu Upeksha dimut...@wso2.comwrote:

 Hi all,
 I am trying to implement a secure client to a secure proxy service in
 ESB. However I am getting an exception [2] at line [3]. I tried to capture
 packets going out from the client using tcpMon but I found nothing going
 out. It seems like a dependancy problem in the client but not sure. What
 could be the reason for that?

 Thank you

 [1] https://gist.github.com/DImuthuUpe/7867226
 [2] https://gist.github.com/DImuthuUpe/7867246
 [3] https://gist.github.com/DImuthuUpe/7867226#file-gistfile1-txt-L127

 Dimuthu

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




 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 774726790
 Skype : prasad.jeewantha
 LinkedIn : http://www.linkedin.com/in/jeewanthad
 Twitter: https://twitter.com/jeewamp
 Blog: http://jeewanthad.blogspot.com/





 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 774726790
 Skype : prasad.jeewantha
 LinkedIn : http://www.linkedin.com/in/jeewanthad
 Twitter: https://twitter.com/jeewamp
 Blog: http://jeewanthad.blogspot.com/

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


Re: [Dev] [ESB] Build failure in security client

2013-12-08 Thread Samisa Abeysinghe
Please send in the errors in the email itself. That way, it is easier to
read. You need to learn to copy the correct parts of the error into the
mail though  :)


Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Mon, Dec 9, 2013 at 10:09 AM, Chamila Wijayarathna cham...@wso2.comwrote:

 Hello all,
 I created a secure proxy service to connect to a web service existing in
 localhost [1].
 Then I generated pom.xml file to build a secure client to use the proxy
 service [2].
 But when I try to build it using Maven, it gave me this failure message
 [3].
 In original pom.xml which gave the same error, it had the portName as
 StockQuoteServiceAXHttpsEndpoint, but I observed that such port name does
 not exist in wsdl file. So I replaced it
 with StockQuoteServiceAXHttpEndpoint which does exist in wsdl file. What
 I have done wrong here?

 1. https://gist.github.com/cdwijayarathna/7867406
 2. https://gist.github.com/cdwijayarathna/7867411
 3. https://gist.github.com/cdwijayarathna/7867429

 Regards.

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


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


Re: [Dev] [ESB] Build failure in security client

2013-12-08 Thread Samisa Abeysinghe
You have to send the stack trace please ...

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Mon, Dec 9, 2013 at 10:32 AM, Chamila Wijayarathna cham...@wso2.comwrote:

 Sorry for the inconvenience,

 The error I am getting is,

 [ERROR] Failed to execute goal 
 org.apache.axis2:axis2-wsdl2code-maven-plugin:1.6.1-wso2v10:wsdl2code 
 (default) on project WSO2-Axis2-Client: Error parsing WSDL: No port found for 
 the given name :StockQuoteServiceAXHttpEndpoint - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

 pom.xml file has following configuration, which seems like the place which 
 has the problem.

 configuration
 outputDirectory${basedir}/generated-sources/outputDirectory
 
 databindingNameadb/databindingNameportNameStockQuoteServiceAXHttpEndpoint/portNamelanguagejava/languagewsdlFilehttp://chamila-Dell-System-Vostro-3450:8280/services/StockQuoteServiceAX?wsdl/wsdlFile
 /configuration




 On Mon, Dec 9, 2013 at 10:26 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 Please send in the errors in the email itself. That way, it is easier to
 read. You need to learn to copy the correct parts of the error into the
 mail though  :)


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Mon, Dec 9, 2013 at 10:09 AM, Chamila Wijayarathna 
 cham...@wso2.comwrote:

 Hello all,
 I created a secure proxy service to connect to a web service existing in
 localhost [1].
 Then I generated pom.xml file to build a secure client to use the proxy
 service [2].
 But when I try to build it using Maven, it gave me this failure message
 [3].
 In original pom.xml which gave the same error, it had the portName as
 StockQuoteServiceAXHttpsEndpoint, but I observed that such port name does
 not exist in wsdl file. So I replaced it
 with StockQuoteServiceAXHttpEndpoint which does exist in wsdl file. What
 I have done wrong here?

 1. https://gist.github.com/cdwijayarathna/7867406
 2. https://gist.github.com/cdwijayarathna/7867411
 3. https://gist.github.com/cdwijayarathna/7867429

 Regards.

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


Re: [Dev] [ESB] Having problem with creating a secure client

2013-12-08 Thread Samisa Abeysinghe
OK, we need to create a doc Jira please.

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Mon, Dec 9, 2013 at 10:38 AM, Jeewantha Dharmaparakrama 
jeewan...@wso2.com wrote:

 Hi Dimuthu,

 Did you create the password callback handler add add that to your clients
 classpath? After adding that to classpath you have to tell Rampart what the
 password callback handler is like follows.

 Options options = client.getOptions();
 options.put(WSHandlerConstants.PW_CALLBACK_REF, new 
 PasswordCallbackHandler());

 You will have to put username as well in which case I guess you could use
 this [1].

 Hi Samisa,

 I guess this is not documented properly except for this one [2]

 [1]
 http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#USER
 [2] http://wso2.com/library/3733/

 Jeewantha



 On Mon, Dec 9, 2013 at 10:27 AM, Dimuthu Upeksha dimut...@wso2.comwrote:

 I did as in the article but still I'm getting the same exception. Then I
 added these libraries [1] to the classpath then new exception occurred [2].

 [1] http://mavenhub.com/c/samples/userguide/pwcallback/jar
 [2] https://gist.github.com/DImuthuUpe/7867567


 On Mon, Dec 9, 2013 at 10:16 AM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 You have to create that Implementing
 javax.security.auth.callback.CallbackHandler. See the example in the
 article. When WSS Policy is enabled ( I believe you enabled Username Token
 Policy at ESB proxy) , there has to be WSSecurity header in the SOAP
 request with Username and password. Rampart needs a password callback
 handler to get the password.

 Jeewantha


 On Mon, Dec 9, 2013 at 10:07 AM, Dimuthu Upeksha dimut...@wso2.comwrote:

 Hi Jeewantha,
 The class PasswordCallbackHandler can not be found in axis2 or
 rampart libs. What is the library that contains it?


 On Mon, Dec 9, 2013 at 10:00 AM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 Hi Dimuthu,

 You have to set the password callback handler at client side. Try
 adding it to client's options  [1]

 [1] http://wso2.com/library/3733/

 Jeewantha


 On Mon, Dec 9, 2013 at 9:43 AM, Dimuthu Upeksha dimut...@wso2.comwrote:

 Hi all,
 I am trying to implement a secure client to a secure proxy service in
 ESB. However I am getting an exception [2] at line [3]. I tried to 
 capture
 packets going out from the client using tcpMon but I found nothing going
 out. It seems like a dependancy problem in the client but not sure. What
 could be the reason for that?

 Thank you

 [1] https://gist.github.com/DImuthuUpe/7867226
 [2] https://gist.github.com/DImuthuUpe/7867246
 [3]
 https://gist.github.com/DImuthuUpe/7867226#file-gistfile1-txt-L127

 Dimuthu

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




 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 774726790
 Skype : prasad.jeewantha
 LinkedIn : http://www.linkedin.com/in/jeewanthad
 Twitter: https://twitter.com/jeewamp
 Blog: http://jeewanthad.blogspot.com/





 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 774726790
 Skype : prasad.jeewantha
 LinkedIn : http://www.linkedin.com/in/jeewanthad
 Twitter: https://twitter.com/jeewamp
 Blog: http://jeewanthad.blogspot.com/





 --
 Jeewantha Dharmaparakrama
 Software Engineer; WSO2, Inc.; http://wso2.com/
 Phone : (+94) 774726790
 Skype : prasad.jeewantha
 LinkedIn : http://www.linkedin.com/in/jeewanthad
 Twitter: https://twitter.com/jeewamp
 Blog: http://jeewanthad.blogspot.com/

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


Re: [Dev] [ESB] Build failure in security client

2013-12-08 Thread Samisa Abeysinghe
It looks like you are trying to use the http binding from client. Given
that this is a secured service, there might not be an http binding, rather
an https binding in there in this service.
Please double check.

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Mon, Dec 9, 2013 at 10:45 AM, Chamila Wijayarathna cham...@wso2.comwrote:

 Sorry, you can find the stack trace below,

 org.apache.axis2.AxisFault: No port found for the given name 
 :StockQuoteServiceAXHttpEndpoint
   at 
 org.apache.axis2.description.WSDL11ToAxisServiceBuilder.findBinding(WSDL11ToAxisServiceBuilder.java:1041)
   at 
 org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:332)
   at 
 org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:107)

   at 
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:169)
   at 
 org.apache.axis2.maven2.wsdl2code.WSDL2CodeMojo.execute(WSDL2CodeMojo.java:566)
   at 
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
   at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
   at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
   at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
   at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
   at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

   at 
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
   at 
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
   at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
   at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
   at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
   at 
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
   at 
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)



 On Mon, Dec 9, 2013 at 10:33 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 You have to send the stack trace please ...

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Mon, Dec 9, 2013 at 10:32 AM, Chamila Wijayarathna 
 cham...@wso2.comwrote:

 Sorry for the inconvenience,

 The error I am getting is,

 [ERROR] Failed to execute goal 
 org.apache.axis2:axis2-wsdl2code-maven-plugin:1.6.1-wso2v10:wsdl2code 
 (default) on project WSO2-Axis2-Client: Error parsing WSDL: No port found 
 for the given name :StockQuoteServiceAXHttpEndpoint - [Help 1]


 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, 
 please read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

 pom.xml file has following configuration, which seems like the place which 
 has the problem.

 configuration
 outputDirectory${basedir}/generated-sources/outputDirectory
 
 databindingNameadb/databindingNameportNameStockQuoteServiceAXHttpEndpoint/portNamelanguagejava/languagewsdlFilehttp://chamila-Dell-System-Vostro-3450:8280/services/StockQuoteServiceAX?wsdl/wsdlFile


 /configuration




 On Mon, Dec 9, 2013 at 10:26 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 Please send in the errors in the email itself. That way, it is easier
 to read. You need to learn to copy the correct parts of the error into the
 mail though  :)


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Mon, Dec 9, 2013 at 10:09 AM, Chamila Wijayarathna cham...@wso2.com
  wrote:

 Hello all,
 I created a secure proxy service to connect to a web service existing
 in localhost [1].
 Then I generated pom.xml file to build a secure client to use the
 proxy service [2].
 But when I try to build it using Maven

Re: [Dev] How do I get connectors to work with DevS?

2013-12-06 Thread Samisa Abeysinghe
That is great. Thanks. The other improvement that I think is a must is the
alphabetical ordering of the connector operations. Are we looking into that
too? It would be great to have that fix too before we ship, as otherwise,
it is hard to locate the proper operations.


Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Fri, Dec 6, 2013 at 5:11 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi Samisa,

 Asanka has accommodated this change now. We will ship the Alpha 4 release
 with this fix.

 Thanks and Regards,
 Harshana


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



 On Wed, Dec 4, 2013 at 11:02 AM, Harshana Martin harsh...@wso2.comwrote:

 Hi Samisa,

 The current design of DevS connector import is incorrect!.

  It does not make sense user importing same connector over and over
 again just because the configurations are in 2 different ESB config
 projects.

 The connectors should be imported and maintained per Workspace not per
 Project.


 +1

 That is exactly what I meant too!


 So we will make this design change [1].

 [1]. https://wso2.org/jira/browse/TOOLS-2161

 Thanks and Regards,
 Harshana


 On Tue, Dec 3, 2013 at 1:39 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 In this model, is it correct to import a connector for every project
 that I want to use connectors for?

 Can I not import per DevS instance? Say I have multiple projects, why
 do I have to import project wise?


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Tue, Dec 3, 2013 at 1:31 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Created a Jira https://wso2.org/jira/browse/DOCUMENTATION-495

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Tue, Dec 3, 2013 at 12:59 PM, Asanka Sanjeewa asan...@wso2.comwrote:

 Hi,

 Seems like Developer Studio 3.3.0 Documentations has not been updated
 with tooling aspect in connectors.

 Viraj's blog at [1] will helpful in creating connector contents in
 Developer Studio 3.3.0 document.

 [1]
 http://sumuditha-viraj.blogspot.com/2013/10/how-to-use-wso2-developer-studio-cloud.html

 Thanks and Regards,
 AsankaS.


 On Tue, Dec 3, 2013 at 12:56 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Samisa,

 You can right-click on the ESB project and then select Import Cloud
 Connector.
 There is a blog post[1] written by Viraj on this but I am not sure
 whether this is documented in the wiki.

 [1]
 http://sumuditha-viraj.blogspot.com/2013/10/how-to-use-wso2-developer-studio-cloud.html


 Thanks.


 On Tue, Dec 3, 2013 at 12:42 PM, Samisa Abeysinghe 
 sam...@wso2.comwrote:

 For $subject, do I have to drop connectors to DevS? If yes, where
 is the doc on that?

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com


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




 --
 *Isuru Udana*
  Senior
 * Software Engineer*
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana




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






 --

 Harshana Martin
 Associate Technical Lead
 WSO2 Inc. : http://wso2.com

 Mobile: +94 775 998 115
 Profile: https://www.google.com/profiles/harshana05
 Blog: http://harshana05.blogspot.com
 Twitter: http://twitter.com/harshana05





 --

 Harshana Martin
 Associate Technical Lead
 WSO2 Inc. : http://wso2.com

 Mobile: +94 775 998 115
 Profile: https://www.google.com/profiles/harshana05
 Blog: http://harshana05.blogspot.com
 Twitter: http://twitter.com/harshana05


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


Re: [Dev] How do I get connectors to work with DevS?

2013-12-06 Thread Samisa Abeysinghe
Excellent!

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Sat, Dec 7, 2013 at 9:31 AM, Asanka Sanjeewa asan...@wso2.com wrote:

 Hi Samisa,

 Arranging connector operations in alphabetical order [1] related changes
 already done and this will be available in Developer Studio Alpha 4
 release.

 [1] https://wso2.org/jira/browse/TOOLS-2159

 Thanks and Regards,
 AsankaS.


 On Sat, Dec 7, 2013 at 6:11 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 That is great. Thanks. The other improvement that I think is a must is
 the alphabetical ordering of the connector operations. Are we looking into
 that too? It would be great to have that fix too before we ship, as
 otherwise, it is hard to locate the proper operations.


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Fri, Dec 6, 2013 at 5:11 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Samisa,

 Asanka has accommodated this change now. We will ship the Alpha 4
 release with this fix.

 Thanks and Regards,
 Harshana


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



 On Wed, Dec 4, 2013 at 11:02 AM, Harshana Martin harsh...@wso2.comwrote:

 Hi Samisa,

 The current design of DevS connector import is incorrect!.

  It does not make sense user importing same connector over and over
 again just because the configurations are in 2 different ESB config
 projects.

 The connectors should be imported and maintained per Workspace not per
 Project.


 +1

 That is exactly what I meant too!


 So we will make this design change [1].

 [1]. https://wso2.org/jira/browse/TOOLS-2161

 Thanks and Regards,
 Harshana


 On Tue, Dec 3, 2013 at 1:39 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 In this model, is it correct to import a connector for every
 project that I want to use connectors for?

 Can I not import per DevS instance? Say I have multiple projects, why
 do I have to import project wise?


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Tue, Dec 3, 2013 at 1:31 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Created a Jira https://wso2.org/jira/browse/DOCUMENTATION-495

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Tue, Dec 3, 2013 at 12:59 PM, Asanka Sanjeewa 
 asan...@wso2.comwrote:

 Hi,

 Seems like Developer Studio 3.3.0 Documentations has not been
 updated with tooling aspect in connectors.

 Viraj's blog at [1] will helpful in creating connector contents in
 Developer Studio 3.3.0 document.

 [1]
 http://sumuditha-viraj.blogspot.com/2013/10/how-to-use-wso2-developer-studio-cloud.html

 Thanks and Regards,
 AsankaS.


 On Tue, Dec 3, 2013 at 12:56 PM, Isuru Udana isu...@wso2.comwrote:

 Hi Samisa,

 You can right-click on the ESB project and then select Import
 Cloud Connector.
 There is a blog post[1] written by Viraj on this but I am not sure
 whether this is documented in the wiki.

 [1]
 http://sumuditha-viraj.blogspot.com/2013/10/how-to-use-wso2-developer-studio-cloud.html


 Thanks.


 On Tue, Dec 3, 2013 at 12:42 PM, Samisa Abeysinghe 
 sam...@wso2.com wrote:

 For $subject, do I have to drop connectors to DevS? If yes, where
 is the doc on that?

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com


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




 --
 *Isuru Udana*
  Senior
 * Software Engineer*
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana




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






 --

 Harshana Martin
 Associate Technical Lead
 WSO2 Inc. : http://wso2.com

 Mobile: +94 775 998 115
 Profile: https://www.google.com/profiles/harshana05
 Blog: http://harshana05.blogspot.com
 Twitter: http://twitter.com/harshana05





 --

 Harshana Martin
 Associate Technical Lead
 WSO2 Inc. : http://wso2.com

 Mobile: +94 775 998 115
 Profile: https://www.google.com/profiles/harshana05
 Blog: http://harshana05.blogspot.com
 Twitter: http://twitter.com/harshana05





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


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


[Dev] [DSS] Why do I have to give the DB name in data source URL?

2013-12-05 Thread Samisa Abeysinghe
and repeat the DB name, when creating the service using that data source?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

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


Re: [Dev] Proble with installing activeMQ 5.9.0

2013-12-05 Thread Samisa Abeysinghe
Please talk to someone from MB team or ESB team

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Fri, Dec 6, 2013 at 10:59 AM, Chamila Wijayarathna cham...@wso2.comwrote:

 I tried it after giving chmod 755 activemq as well. But still getting
 the same response.



 It seems a file permission problem. Check the write permission is there.



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


Re: [Dev] [DSS] Why do I have to give the DB name in data source URL?

2013-12-05 Thread Samisa Abeysinghe
Does it work for MySQL without the DB name? I tried and it did not work, I
wonder if I did something wrong.

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Fri, Dec 6, 2013 at 7:52 AM, Anjana Fernando anj...@wso2.com wrote:

 Hi Samisa,

 This depends on the RDBMS you're using, some require you to do so from the
 JDBC API, or it is not possible to get the required metadata for the
 service generation sometimes.

 Cheers,
 Anjana.


 On Thu, Dec 5, 2013 at 3:52 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 and repeat the DB name, when creating the service using that data source?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com


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




 --
 *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] Problem with samples.

2013-12-05 Thread Samisa Abeysinghe
Is the bug in the sample?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Fri, Dec 6, 2013 at 11:17 AM, Shafreen Anfar shafr...@wso2.com wrote:

 Hi Maduranga,

 I tried it with ESB-4.8.0 and I also came-across the same issue. It seems
 there is a bug. However, the problem occurs when you refer the localentry
 from the sequence element, which is not a valid use-case. Because you can
 simply define a sequence and refer it without using a localentry. It is
 there for the sake of the sample 14.

 Anyway, it seems there is a bug.


 On Tue, Dec 3, 2013 at 1:27 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 ESB 4.8.0 will be released soon (the pack is final)

 So try with the latest version and if it does not work, then file a bug
 in Jira.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Tue, Dec 3, 2013 at 1:01 PM, Maduranga Siriwardena madura...@wso2.com
  wrote:

 Hi all,
 I'm a intern of WSO2. I downloaded ESB 4.8.0 from atuwa [1] (Later I
 realized that the latest released version is 4.7.0) So I followed samples
 given in 4.7.0 documentation (with ESB version 4.8.0). In the sample 14
 [2], when I add the bellow xml part in the synapse file and update from
 source view, sequence element disappears. But still the expected log entry
 is made. But if I just click update again, without making any changes, the
 expected log entry is not made. Can someone please help me understand what
 is happening here?

 localEntry key=local-enrty-sequence-key
  sequence name=dynamic_sequence
  log level=custom
  property name=message value=*** Test Message 1 ***
 /
  /log
  /sequence
  /localEntry


 [1] http://atuwa.private.wso2.com/products/ESB/wso2esb-4.8.0.zip
 [2]
 http://docs.wso2.org/display/ESB470/Sample+14%3A+Sequences+and+Endpoints+as+Local+Registry+Items

 Thank you.



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




 --
 Regards,
 *Shafreen*
 Software Engineer
 WSO2 Inc
 Mobile : 077-556-395-1

___
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 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 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] [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


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] 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] [ESB] Problem with samples.

2013-12-03 Thread Samisa Abeysinghe
ESB 4.8.0 will be released soon (the pack is final)

So try with the latest version and if it does not work, then file a bug in
Jira.

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Tue, Dec 3, 2013 at 1:01 PM, Maduranga Siriwardena madura...@wso2.comwrote:

 Hi all,
 I'm a intern of WSO2. I downloaded ESB 4.8.0 from atuwa [1] (Later I
 realized that the latest released version is 4.7.0) So I followed samples
 given in 4.7.0 documentation (with ESB version 4.8.0). In the sample 14
 [2], when I add the bellow xml part in the synapse file and update from
 source view, sequence element disappears. But still the expected log entry
 is made. But if I just click update again, without making any changes, the
 expected log entry is not made. Can someone please help me understand what
 is happening here?

 localEntry key=local-enrty-sequence-key
  sequence name=dynamic_sequence
  log level=custom
  property name=message value=*** Test Message 1 ***/
  /log
  /sequence
  /localEntry


 [1] http://atuwa.private.wso2.com/products/ESB/wso2esb-4.8.0.zip
 [2]
 http://docs.wso2.org/display/ESB470/Sample+14%3A+Sequences+and+Endpoints+as+Local+Registry+Items

 Thank you.

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


Re: [Dev] How do I get connectors to work with DevS?

2013-12-03 Thread Samisa Abeysinghe
Created a Jira https://wso2.org/jira/browse/DOCUMENTATION-495

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Tue, Dec 3, 2013 at 12:59 PM, Asanka Sanjeewa asan...@wso2.com wrote:

 Hi,

 Seems like Developer Studio 3.3.0 Documentations has not been updated with
 tooling aspect in connectors.

 Viraj's blog at [1] will helpful in creating connector contents in
 Developer Studio 3.3.0 document.

 [1]
 http://sumuditha-viraj.blogspot.com/2013/10/how-to-use-wso2-developer-studio-cloud.html

 Thanks and Regards,
 AsankaS.


 On Tue, Dec 3, 2013 at 12:56 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Samisa,

 You can right-click on the ESB project and then select Import Cloud
 Connector.
 There is a blog post[1] written by Viraj on this but I am not sure
 whether this is documented in the wiki.

 [1]
 http://sumuditha-viraj.blogspot.com/2013/10/how-to-use-wso2-developer-studio-cloud.html


 Thanks.


 On Tue, Dec 3, 2013 at 12:42 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 For $subject, do I have to drop connectors to DevS? If yes, where is the
 doc on that?

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com


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




 --
 *Isuru Udana*
  Senior
 * Software Engineer*
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana




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


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


Re: [Dev] How do I get connectors to work with DevS?

2013-12-03 Thread Samisa Abeysinghe
In this model, is it correct to import a connector for every project that
I want to use connectors for?

Can I not import per DevS instance? Say I have multiple projects, why do I
have to import project wise?


Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Tue, Dec 3, 2013 at 1:31 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 Created a Jira https://wso2.org/jira/browse/DOCUMENTATION-495

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Tue, Dec 3, 2013 at 12:59 PM, Asanka Sanjeewa asan...@wso2.com wrote:

 Hi,

 Seems like Developer Studio 3.3.0 Documentations has not been updated
 with tooling aspect in connectors.

 Viraj's blog at [1] will helpful in creating connector contents in
 Developer Studio 3.3.0 document.

 [1]
 http://sumuditha-viraj.blogspot.com/2013/10/how-to-use-wso2-developer-studio-cloud.html

 Thanks and Regards,
 AsankaS.


 On Tue, Dec 3, 2013 at 12:56 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Samisa,

 You can right-click on the ESB project and then select Import Cloud
 Connector.
 There is a blog post[1] written by Viraj on this but I am not sure
 whether this is documented in the wiki.

 [1]
 http://sumuditha-viraj.blogspot.com/2013/10/how-to-use-wso2-developer-studio-cloud.html


 Thanks.


 On Tue, Dec 3, 2013 at 12:42 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 For $subject, do I have to drop connectors to DevS? If yes, where is
 the doc on that?

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com


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




 --
 *Isuru Udana*
  Senior
 * Software Engineer*
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana




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



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


[Dev] Hard to locate the supported connector operations in DevS

2013-12-03 Thread Samisa Abeysinghe
I am trying to use the connector tooling.

There is no ordering for the operations whatsoever. So, say I want to use
the Jira connector, and as a developer I want to find the operations that I
want to use.
e.g. I want to see what the operation for creating an issue. is it addIssue
or is it createIssue. Given the ops are not in alphabetical (or any other)
order, the user finds it so hard to locate it.
This is very probalamitc for new users. But even for users who get used to
it. when there are 10+ ops, it is hard to remember where in the list it
appears.

https://wso2.org/jira/browse/TOOLS-2159

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

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


Re: [Dev] How do I get connectors to work with DevS?

2013-12-03 Thread Samisa Abeysinghe
I do not think I completely understand. May be it is implementation
specific and designed that way.

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Tue, Dec 3, 2013 at 2:08 PM, Asanka Sanjeewa asan...@wso2.com wrote:

 Hi,

 According to the current implementation imported connectors are specific
 to the particular ESB Config project. So for the moment it doesn't support
 for global imports (such that imported connectors are visible to all ESB
 Config projects within the workspace).

 In the current model it allows to import only necessary connectors for the
 particular project.

 Thanks and Regards,
 AsanakS.


 On Tue, Dec 3, 2013 at 1:50 PM, Susinda Perera susi...@wso2.com wrote:

 There is a brief description on Using connectors in Developer Studio
 @[1] , but needs to be updated

 http://docs.wso2.org/display/ESB480/Using+a+Connector


 On Tue, Dec 3, 2013 at 1:31 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Created a Jira https://wso2.org/jira/browse/DOCUMENTATION-495

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Tue, Dec 3, 2013 at 12:59 PM, Asanka Sanjeewa asan...@wso2.comwrote:

 Hi,

 Seems like Developer Studio 3.3.0 Documentations has not been updated
 with tooling aspect in connectors.

 Viraj's blog at [1] will helpful in creating connector contents in
 Developer Studio 3.3.0 document.

 [1]
 http://sumuditha-viraj.blogspot.com/2013/10/how-to-use-wso2-developer-studio-cloud.html

 Thanks and Regards,
 AsankaS.


 On Tue, Dec 3, 2013 at 12:56 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Samisa,

 You can right-click on the ESB project and then select Import Cloud
 Connector.
 There is a blog post[1] written by Viraj on this but I am not sure
 whether this is documented in the wiki.

 [1]
 http://sumuditha-viraj.blogspot.com/2013/10/how-to-use-wso2-developer-studio-cloud.html


 Thanks.


 On Tue, Dec 3, 2013 at 12:42 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 For $subject, do I have to drop connectors to DevS? If yes, where is
 the doc on that?

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com


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




 --
 *Isuru Udana*
  Senior
 * Software Engineer*
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana




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



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




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

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




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


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


Re: [Dev] Hard to locate the supported connector operations in DevS

2013-12-03 Thread Samisa Abeysinghe
On Tue, Dec 3, 2013 at 2:16 PM, Asanka Sanjeewa asan...@wso2.com wrote:

 Hi,

 For the moment it doesn't arrange connector operations in any order. What
 is the convention that we should follow in arranging them? Is it
 alphabetical order?


Yes, and ideally should be able to swap ascending/descending.


 Meantime connector tool palette groups support filtering mechanism that we
 implemented for filtering mediators. Just focus on particular connector
 palette group type few characters and it will filter all the operations
 starting from typed characters.


The filtering is not that helpful for connector operations, unless I
already know the operation name.



 Thanks and Regards,
 AsankaS.


 On Tue, Dec 3, 2013 at 1:55 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 I am trying to use the connector tooling.

 There is no ordering for the operations whatsoever. So, say I want to use
 the Jira connector, and as a developer I want to find the operations that I
 want to use.
 e.g. I want to see what the operation for creating an issue. is it
 addIssue or is it createIssue. Given the ops are not in alphabetical (or
 any other) order, the user finds it so hard to locate it.
 This is very probalamitc for new users. But even for users who get used
 to it. when there are 10+ ops, it is hard to remember where in the list it
 appears.

 https://wso2.org/jira/browse/TOOLS-2159

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com


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




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


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


Re: [Dev] Fwd: [ESB] Need clarification about ESB sample 51

2013-12-03 Thread Samisa Abeysinghe
This too could be a bug. Please verify with TCP Mon and raise a JIRA ticket

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



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


 Hello all,
 I went through sample 51 given in WSO2 ESB documentation[1].
 What I observed is that in SwA request message drops its header and in
 MTOM and SwA response message no change happens to the message. What is
 really happening to the messages while mediating through ESB here?

 1. http://docs.wso2.org/pages/viewpage.action?pageId=26838822

 Thank you


 ___
 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] Fwd: [ESB] Need clarification about ESB sample 51

2013-12-03 Thread Samisa Abeysinghe
The idea is SWA is sent as MTOM and thus more optimized.

Please raise a Doc Jira, if this is not clear in the docs.


Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Tue, Dec 3, 2013 at 9:19 PM, Chamila Wijayarathna cham...@wso2.comwrote:

 It is not clear for me that what is expected to happen in MTOM and SwA
 optimizations. If this is working properly what I observe as results?


 On Tue, Dec 3, 2013 at 6:12 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 This too could be a bug. Please verify with TCP Mon and raise a JIRA
 ticket

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



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


 Hello all,
 I went through sample 51 given in WSO2 ESB documentation[1].
 What I observed is that in SwA request message drops its header and in
 MTOM and SwA response message no change happens to the message. What is
 really happening to the messages while mediating through ESB here?

 1. http://docs.wso2.org/pages/viewpage.action?pageId=26838822

 Thank you


 ___
 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] How do I get connectors to work with DevS?

2013-12-03 Thread Samisa Abeysinghe
On Wed, Dec 4, 2013 at 11:02 AM, Harshana Martin harsh...@wso2.com wrote:

 Hi Samisa,

 The current design of DevS connector import is incorrect!.

 It does not make sense user importing same connector over and over again
 just because the configurations are in 2 different ESB config projects.

 The connectors should be imported and maintained per Workspace not per
 Project.


+1

That is exactly what I meant too!


 So we will make this design change [1].

 [1]. https://wso2.org/jira/browse/TOOLS-2161

 Thanks and Regards,
 Harshana


 On Tue, Dec 3, 2013 at 1:39 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 In this model, is it correct to import a connector for every project
 that I want to use connectors for?

 Can I not import per DevS instance? Say I have multiple projects, why do
 I have to import project wise?


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Tue, Dec 3, 2013 at 1:31 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Created a Jira https://wso2.org/jira/browse/DOCUMENTATION-495

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Tue, Dec 3, 2013 at 12:59 PM, Asanka Sanjeewa asan...@wso2.comwrote:

 Hi,

 Seems like Developer Studio 3.3.0 Documentations has not been updated
 with tooling aspect in connectors.

 Viraj's blog at [1] will helpful in creating connector contents in
 Developer Studio 3.3.0 document.

 [1]
 http://sumuditha-viraj.blogspot.com/2013/10/how-to-use-wso2-developer-studio-cloud.html

 Thanks and Regards,
 AsankaS.


 On Tue, Dec 3, 2013 at 12:56 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Samisa,

 You can right-click on the ESB project and then select Import Cloud
 Connector.
 There is a blog post[1] written by Viraj on this but I am not sure
 whether this is documented in the wiki.

 [1]
 http://sumuditha-viraj.blogspot.com/2013/10/how-to-use-wso2-developer-studio-cloud.html


 Thanks.


 On Tue, Dec 3, 2013 at 12:42 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 For $subject, do I have to drop connectors to DevS? If yes, where is
 the doc on that?

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com


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




 --
 *Isuru Udana*
  Senior
 * Software Engineer*
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana




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






 --

 Harshana Martin
 Associate Technical Lead
 WSO2 Inc. : http://wso2.com

 Mobile: +94 775 998 115
 Profile: https://www.google.com/profiles/harshana05
 Blog: http://harshana05.blogspot.com
 Twitter: http://twitter.com/harshana05


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


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

2013-12-03 Thread Samisa Abeysinghe
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
___
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-03 Thread Samisa Abeysinghe
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


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


[Dev] How do I get connectors to work with DevS?

2013-12-02 Thread Samisa Abeysinghe
For $subject, do I have to drop connectors to DevS? If yes, where is the
doc on that?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

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


Re: [Dev] WSO2 ESB 4.8.0 RC1 Released !

2013-11-29 Thread Samisa Abeysinghe
On Fri, Nov 29, 2013 at 2:33 PM, Miyuru Wanninayaka miy...@wso2.com wrote:

 Hi Samisa,

 For now we do not have much non ESB features in P2 repo which can install
 in ESB as most products are not released after carbon context refectoring.
 Commonly installed features like AS, DSS, IS, BPS.(chunk01) are not
 compatible with ESB.


Hmmm, that is a problem for platform story. I thought previous chinks were
compatible.


 So if someone who need to install these features need to wait till
 chunk5,6.

 We were able to build an ESB instance by installing ESB p2 features in
 carbon instance.

 @Shafeen: Please share P2 repo link


 On Fri, Nov 29, 2013 at 1:17 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Can you call it the final pack if P2 has not been tested? Some of your
 clients use ESB with features added. So in case they want to upgrade ...


 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Fri, Nov 29, 2013 at 12:02 PM, Shafreen Anfar shafr...@wso2.comwrote:

 Hi Samisa,

 We did not create a P2 repo for RC1 pack. Currently, we are doing some
 re-factoring to P2 repo as some products are not being released with
 chunk-04. We will share the re-factored P2 repo as soon as possible.


 On Fri, Nov 29, 2013 at 11:47 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 Where is the P2 repo for this pack?

  Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Thu, Nov 28, 2013 at 11:11 AM, Shafreen Anfar shafr...@wso2.comwrote:

 Hi,

 Please find the latest connectors at below link.
 https://svn.wso2.org/repos/wso2/people/shafreen/20131128/connectors.zip


 On Thu, Nov 28, 2013 at 10:15 AM, Shafreen Anfar shafr...@wso2.comwrote:

 Hi,

 ESB version 4.8.0 RC1 is available at,

 https://svn.wso2.org/repos/wso2/people/shafreen/20131128/wso2esb-4.8.0.zip

 Release Notes

 Bug

- [ESBJAVA-2468 https://wso2.org/jira/browse/ESBJAVA-2468] -
[MSMP] UI Context Sensitive page required to update
- [ESBJAVA-2535 https://wso2.org/jira/browse/ESBJAVA-2535] -
Throwing ERROR - JmsStore Store [ww]. Could not 
 initialize JMS
Message Store, when try to add a jms message store with wrong details
- [ESBJAVA-2542 https://wso2.org/jira/browse/ESBJAVA-2542] -
state persistent of message processors not working as intended
- [ESBJAVA-2551 https://wso2.org/jira/browse/ESBJAVA-2551] -
when try to create a JMS message store on a fresh ESB pack,throws an 
 ERROR
- JmsStore Store [Store1]. Could not initialize JMS Message Store.
Error:Failed to create InitialContext using factory specified in hash 
 table.
- [ESBJAVA-2587 https://wso2.org/jira/browse/ESBJAVA-2587] -
Memory Leak while using Anonymous Endpoints
- [ESBJAVA-2589 https://wso2.org/jira/browse/ESBJAVA-2589] -
MS/MP does not work with the new JSON formatter
- [ESBJAVA-2600 https://wso2.org/jira/browse/ESBJAVA-2600] -
When try to create a message store observed ERROR - JmsStore Store
[Store1]. Could not initialize JMS Message Store.
- [ESBJAVA-2603 https://wso2.org/jira/browse/ESBJAVA-2603] -
Print the error log exponentially increasing time intervals when the
backend service down
- [ESBJAVA-2619 https://wso2.org/jira/browse/ESBJAVA-2619] -
ESB - HTTP Access logs showing local IP instead of remote IP, for 
 requests
came form a remote host
- [ESBJAVA-2625 https://wso2.org/jira/browse/ESBJAVA-2625] -
Getting an ERROR - RPCInOnlyMessageReceiver Repeat interval must be 
 = 0
when set the Retry Interval to a minus value
- [ESBJAVA-2665 https://wso2.org/jira/browse/ESBJAVA-2665] -
WSDL retrieval fails on a UT enabled service after a considerable load
- [ESBJAVA-2676 https://wso2.org/jira/browse/ESBJAVA-2676] -
salesforce.create throws a null pointer exception
- [ESBJAVA-2677 https://wso2.org/jira/browse/ESBJAVA-2677] -
Observing ERROR - JMSMessageReceiver Unknown error processing message
java.lang.NullPointerException , when try to send messages to a JMS 
 endpoint
- [ESBJAVA-2690 https://wso2.org/jira/browse/ESBJAVA-2690] -
ScriptMessageContext Setting null JSON object
- [ESBJAVA-2699 https://wso2.org/jira/browse/ESBJAVA-2699] -
Print the error log exponentially increasing time intervals when the
message broker down
- [ESBJAVA-2702 https://wso2.org/jira/browse/ESBJAVA-2702] -
Payload factory is broken in ESB-4.8.0 milestone packs
- [ESBJAVA-2703 https://wso2.org/jira/browse/ESBJAVA-2703] -
Call mediator is not functioning when it is place inside onAccept or
onReject of Throttle mediator
- [ESBJAVA-2704 https://wso2.org/jira/browse/ESBJAVA-2704] -
Call mediator is not functioning when it is place inside onCacheHit of
Cache mediator
- [ESBJAVA-2707 https://wso2.org/jira/browse/ESBJAVA-2707] -
[ESB 4.8] - Enabling Streaming XPath causes message building errors
- [ESBJAVA-2717 https

Re: [Dev] WSO2 ESB 4.8.0 RC1 Released !

2013-11-28 Thread Samisa Abeysinghe
Where is the P2 repo for this pack?

Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Thu, Nov 28, 2013 at 11:11 AM, Shafreen Anfar shafr...@wso2.com wrote:

 Hi,

 Please find the latest connectors at below link.
 https://svn.wso2.org/repos/wso2/people/shafreen/20131128/connectors.zip


 On Thu, Nov 28, 2013 at 10:15 AM, Shafreen Anfar shafr...@wso2.comwrote:

 Hi,

 ESB version 4.8.0 RC1 is available at,
 https://svn.wso2.org/repos/wso2/people/shafreen/20131128/wso2esb-4.8.0.zip

 Release Notes

 Bug

- [ESBJAVA-2468 https://wso2.org/jira/browse/ESBJAVA-2468] - [MSMP]
UI Context Sensitive page required to update
- [ESBJAVA-2535 https://wso2.org/jira/browse/ESBJAVA-2535] -
Throwing ERROR - JmsStore Store [ww]. Could not initialize JMS
Message Store, when try to add a jms message store with wrong details
- [ESBJAVA-2542 https://wso2.org/jira/browse/ESBJAVA-2542] - state
persistent of message processors not working as intended
- [ESBJAVA-2551 https://wso2.org/jira/browse/ESBJAVA-2551] - when
try to create a JMS message store on a fresh ESB pack,throws an ERROR -
JmsStore Store [Store1]. Could not initialize JMS Message Store.
Error:Failed to create InitialContext using factory specified in hash 
 table.
- [ESBJAVA-2587 https://wso2.org/jira/browse/ESBJAVA-2587] - Memory
Leak while using Anonymous Endpoints
- [ESBJAVA-2589 https://wso2.org/jira/browse/ESBJAVA-2589] - MS/MP
does not work with the new JSON formatter
- [ESBJAVA-2600 https://wso2.org/jira/browse/ESBJAVA-2600] - When
try to create a message store observed ERROR - JmsStore Store [Store1].
Could not initialize JMS Message Store.
- [ESBJAVA-2603 https://wso2.org/jira/browse/ESBJAVA-2603] - Print
the error log exponentially increasing time intervals when the backend
service down
- [ESBJAVA-2619 https://wso2.org/jira/browse/ESBJAVA-2619] - ESB -
HTTP Access logs showing local IP instead of remote IP, for requests came
form a remote host
- [ESBJAVA-2625 https://wso2.org/jira/browse/ESBJAVA-2625] -
Getting an ERROR - RPCInOnlyMessageReceiver Repeat interval must be = 0
when set the Retry Interval to a minus value
- [ESBJAVA-2665 https://wso2.org/jira/browse/ESBJAVA-2665] - WSDL
retrieval fails on a UT enabled service after a considerable load
- [ESBJAVA-2676 https://wso2.org/jira/browse/ESBJAVA-2676] -
salesforce.create throws a null pointer exception
- [ESBJAVA-2677 https://wso2.org/jira/browse/ESBJAVA-2677] -
Observing ERROR - JMSMessageReceiver Unknown error processing message
java.lang.NullPointerException , when try to send messages to a JMS 
 endpoint
- [ESBJAVA-2690 https://wso2.org/jira/browse/ESBJAVA-2690] -
ScriptMessageContext Setting null JSON object
- [ESBJAVA-2699 https://wso2.org/jira/browse/ESBJAVA-2699] - Print
the error log exponentially increasing time intervals when the message
broker down
- [ESBJAVA-2702 https://wso2.org/jira/browse/ESBJAVA-2702] -
Payload factory is broken in ESB-4.8.0 milestone packs
- [ESBJAVA-2703 https://wso2.org/jira/browse/ESBJAVA-2703] - Call
mediator is not functioning when it is place inside onAccept or onReject 
 of
Throttle mediator
- [ESBJAVA-2704 https://wso2.org/jira/browse/ESBJAVA-2704] - Call
mediator is not functioning when it is place inside onCacheHit of Cache
mediator
- [ESBJAVA-2707 https://wso2.org/jira/browse/ESBJAVA-2707] - [ESB
4.8] - Enabling Streaming XPath causes message building errors
- [ESBJAVA-2717 https://wso2.org/jira/browse/ESBJAVA-2717] -
salesforce.logout operation doesn't work properly
- [ESBJAVA-2720 https://wso2.org/jira/browse/ESBJAVA-2720] - Adding
json-eval expression in property mediator through sequence editor, leads 
 to
blank page
- [ESBJAVA-2724 https://wso2.org/jira/browse/ESBJAVA-2724] - Print
the error log exponentially increasing time intervals when the message
broker down(with JMS transport enabled)
- [ESBJAVA-2736 https://wso2.org/jira/browse/ESBJAVA-2736] - After
changing the self signed certificate, proxy service fails while retrieving
private key password of the key store
- [ESBJAVA-2741 https://wso2.org/jira/browse/ESBJAVA-2741] -
org.apache.axis2.AxisFault displays when invoking updating jira filter
- [ESBJAVA-2751 https://wso2.org/jira/browse/ESBJAVA-2751] -
Getting Errors when creating Message stores on Tenant mode
- [ESBJAVA-2754 https://wso2.org/jira/browse/ESBJAVA-2754] - Fault
Sequence not called on Twilio connector make call functionality

 Improvement

- [ESBJAVA-2622 https://wso2.org/jira/browse/ESBJAVA-2622] - Create
an queue from message store name when user didn't mention the JNDI Queue
Name parameter

 Patch

- [ESBJAVA-2486 https://wso2.org/jira/browse/ESBJAVA-2486] -
Exceptions during load test in enrich

Re: [Dev] WSO2 ESB 4.8.0 RC1 Released !

2013-11-28 Thread Samisa Abeysinghe
Can you call it the final pack if P2 has not been tested? Some of your
clients use ESB with features added. So in case they want to upgrade ...


Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Fri, Nov 29, 2013 at 12:02 PM, Shafreen Anfar shafr...@wso2.com wrote:

 Hi Samisa,

 We did not create a P2 repo for RC1 pack. Currently, we are doing some
 re-factoring to P2 repo as some products are not being released with
 chunk-04. We will share the re-factored P2 repo as soon as possible.


 On Fri, Nov 29, 2013 at 11:47 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 Where is the P2 repo for this pack?

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Thu, Nov 28, 2013 at 11:11 AM, Shafreen Anfar shafr...@wso2.comwrote:

 Hi,

 Please find the latest connectors at below link.
 https://svn.wso2.org/repos/wso2/people/shafreen/20131128/connectors.zip


 On Thu, Nov 28, 2013 at 10:15 AM, Shafreen Anfar shafr...@wso2.comwrote:

 Hi,

 ESB version 4.8.0 RC1 is available at,

 https://svn.wso2.org/repos/wso2/people/shafreen/20131128/wso2esb-4.8.0.zip

 Release Notes

 Bug

- [ESBJAVA-2468 https://wso2.org/jira/browse/ESBJAVA-2468] -
[MSMP] UI Context Sensitive page required to update
- [ESBJAVA-2535 https://wso2.org/jira/browse/ESBJAVA-2535] -
Throwing ERROR - JmsStore Store [ww]. Could not initialize 
 JMS
Message Store, when try to add a jms message store with wrong details
- [ESBJAVA-2542 https://wso2.org/jira/browse/ESBJAVA-2542] -
state persistent of message processors not working as intended
- [ESBJAVA-2551 https://wso2.org/jira/browse/ESBJAVA-2551] - when
try to create a JMS message store on a fresh ESB pack,throws an ERROR -
JmsStore Store [Store1]. Could not initialize JMS Message Store.
Error:Failed to create InitialContext using factory specified in hash 
 table.
- [ESBJAVA-2587 https://wso2.org/jira/browse/ESBJAVA-2587] -
Memory Leak while using Anonymous Endpoints
- [ESBJAVA-2589 https://wso2.org/jira/browse/ESBJAVA-2589] -
MS/MP does not work with the new JSON formatter
- [ESBJAVA-2600 https://wso2.org/jira/browse/ESBJAVA-2600] - When
try to create a message store observed ERROR - JmsStore Store [Store1].
Could not initialize JMS Message Store.
- [ESBJAVA-2603 https://wso2.org/jira/browse/ESBJAVA-2603] -
Print the error log exponentially increasing time intervals when the
backend service down
- [ESBJAVA-2619 https://wso2.org/jira/browse/ESBJAVA-2619] - ESB
- HTTP Access logs showing local IP instead of remote IP, for requests 
 came
form a remote host
- [ESBJAVA-2625 https://wso2.org/jira/browse/ESBJAVA-2625] -
Getting an ERROR - RPCInOnlyMessageReceiver Repeat interval must be = 0
when set the Retry Interval to a minus value
- [ESBJAVA-2665 https://wso2.org/jira/browse/ESBJAVA-2665] - WSDL
retrieval fails on a UT enabled service after a considerable load
- [ESBJAVA-2676 https://wso2.org/jira/browse/ESBJAVA-2676] -
salesforce.create throws a null pointer exception
- [ESBJAVA-2677 https://wso2.org/jira/browse/ESBJAVA-2677] -
Observing ERROR - JMSMessageReceiver Unknown error processing message
java.lang.NullPointerException , when try to send messages to a JMS 
 endpoint
- [ESBJAVA-2690 https://wso2.org/jira/browse/ESBJAVA-2690] -
ScriptMessageContext Setting null JSON object
- [ESBJAVA-2699 https://wso2.org/jira/browse/ESBJAVA-2699] -
Print the error log exponentially increasing time intervals when the
message broker down
- [ESBJAVA-2702 https://wso2.org/jira/browse/ESBJAVA-2702] -
Payload factory is broken in ESB-4.8.0 milestone packs
- [ESBJAVA-2703 https://wso2.org/jira/browse/ESBJAVA-2703] - Call
mediator is not functioning when it is place inside onAccept or 
 onReject of
Throttle mediator
- [ESBJAVA-2704 https://wso2.org/jira/browse/ESBJAVA-2704] - Call
mediator is not functioning when it is place inside onCacheHit of Cache
mediator
- [ESBJAVA-2707 https://wso2.org/jira/browse/ESBJAVA-2707] - [ESB
4.8] - Enabling Streaming XPath causes message building errors
- [ESBJAVA-2717 https://wso2.org/jira/browse/ESBJAVA-2717] -
salesforce.logout operation doesn't work properly
- [ESBJAVA-2720 https://wso2.org/jira/browse/ESBJAVA-2720] -
Adding json-eval expression in property mediator through sequence 
 editor,
leads to blank page
- [ESBJAVA-2724 https://wso2.org/jira/browse/ESBJAVA-2724] -
Print the error log exponentially increasing time intervals when the
message broker down(with JMS transport enabled)
- [ESBJAVA-2736 https://wso2.org/jira/browse/ESBJAVA-2736] -
After changing the self signed certificate, proxy service fails while
retrieving private key password of the key store
- [ESBJAVA-2741 https://wso2.org/jira/browse/ESBJAVA-2741

Re: [Dev] Developer Studio 3.3.0 Alpha 3 Released!

2013-11-21 Thread Samisa Abeysinghe
Given there is no auto test help, to guard against slips, lets at least use
a checklist of all mediators to be tested.

I was looking for auto tests, becuase, it is hard to test them all
manually.

Alternatively, we can see if we can use ESB auto tests in here, where we
develop the artifacts for all mediators using DevS and test those artifacts
with ESB auto test framework. That could work.


Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Thu, Nov 21, 2013 at 2:27 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi Samisa,


 On Thu, Nov 21, 2013 at 6:50 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 What is the plan to test all mediators for basic functionality for 3.3.0?


 At the moment we are planning to test the mediators using the samples
 mainly and some known use cases.


 I understand that some mediators were badly broken in 3.2.0 release e.g.
 XACML.


 Although Entitlement mediator was a specific mediator only, we fixed but
 there could be some other mediators like that. So we are going to cover all
 most all mediators during the testing.


 Can we make use of the auto test framework to ensure that there are no
 absolute blockers in any mediator out of the full mediator lot.


 Test framework is still not developed to support that level of
 requirements. We will try to improve it while testing the 3.3.0. But most
 of the testing will happen manually for this release. We are planning to
 assign someone full-time basis to improve the test framework to support
 complete automated testing.

 Thanks and Regards,
 Harshana



 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Mon, Nov 18, 2013 at 3:49 PM, Asanka Sanjeewa asan...@wso2.comwrote:

 Hi All,

 We have WSO2 Developer Studio 3.3.0 Alpha 3 version  ready to be
 downloaded at [1]. Installed eclipse distributions available at [2].

 This release includes following new feature, improvements and bug fixes.

 New Feature

- [TOOLS-1855 https://wso2.org/jira/browse/TOOLS-1855] - Cloud
connector support

 Improvements

- [TOOLS-1870 https://wso2.org/jira/browse/TOOLS-1870] - Enabling
Jaggery Editor Auto-Complete even without typing a character
- [TOOLS-2085 https://wso2.org/jira/browse/TOOLS-2085] - There is
no way to rename a GReg artifact.
- [TOOLS-2106 https://wso2.org/jira/browse/TOOLS-2106] - Adding
perspective login change icon into toolbar
- [TOOLS-2107 https://wso2.org/jira/browse/TOOLS-2107] - Login
window should not pop-up when resetting the perspective and should pop-up
for new perspective Only

 Bug Fixes

- [TOOLS-1337 https://wso2.org/jira/browse/TOOLS-1337] - There is
no way to add include block inside Script Mediator
- [TOOLS-1694 https://wso2.org/jira/browse/TOOLS-1694] - AF
perspective detais view not filling all the feilds
- [TOOLS-1719 https://wso2.org/jira/browse/TOOLS-1719] - [Dev
Studio-3.2] - Logging not consistent with WSO2 Standards
- [TOOLS-1722 https://wso2.org/jira/browse/TOOLS-1722] - Dev
Studio fails to create Registry resource without file extension
- [TOOLS-1731 https://wso2.org/jira/browse/TOOLS-1731] - Dev
Studio fails to rename a resource correctly.
- [TOOLS-1737 https://wso2.org/jira/browse/TOOLS-1737] - [Dev
Studio 3.2] End Point Connection Issues
- [TOOLS-1738 https://wso2.org/jira/browse/TOOLS-1738] - [Dev
Studio 3.2] - Null Argument error for Clone Mediator
- [TOOLS-1743 https://wso2.org/jira/browse/TOOLS-1743] - [Dev
Studio 3.2] - Exceptions Creating EndPoint (JMS)
- [TOOLS-1746 https://wso2.org/jira/browse/TOOLS-1746] - [Dev
Studio-3.2] - Argument not valid Exception in Opening with Registry Info
Editor
- [TOOLS-1747 https://wso2.org/jira/browse/TOOLS-1747] - [Dev
Studio-3.2] -Edit and saving resources to registy not possible
- [TOOLS-1757 https://wso2.org/jira/browse/TOOLS-1757] - Create
new Axis2 Service Project - wrong directory
- [TOOLS-1945 https://wso2.org/jira/browse/TOOLS-1945] - NPE when
trying to run ELB 2.0.2 from Dev Studio
- [TOOLS-1948 https://wso2.org/jira/browse/TOOLS-1948] - When A/F
login failed there is no way to re-login wihtout closing it
- [TOOLS-1951 https://wso2.org/jira/browse/TOOLS-1951] - Trying to
get versions from A/F application with just a developer role throws an
Internal Error
- [TOOLS-1952 https://wso2.org/jira/browse/TOOLS-1952] - Updating
an app with Data Sources throws an error
- [TOOLS-1975 https://wso2.org/jira/browse/TOOLS-1975] - Esb
graphical editor allows to delete proxy service
- [TOOLS-1976 https://wso2.org/jira/browse/TOOLS-1976] - When
pasted or moved a artifact between folders the artifact.xml doesn't 
 updated
corectly
- [TOOLS-1996 https://wso2.org/jira/browse/TOOLS-1996] - Error
occurs while trying to open an imported synapse configuration
- [TOOLS-2027 https

Re: [Dev] Developer Studio 3.3.0 Alpha 3 Released!

2013-11-20 Thread Samisa Abeysinghe
What is the plan to test all mediators for basic functionality for 3.3.0?

I understand that some mediators were badly broken in 3.2.0 release e.g.
XACML.

Can we make use of the auto test framework to ensure that there are no
absolute blockers in any mediator out of the full mediator lot.


Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Mon, Nov 18, 2013 at 3:49 PM, Asanka Sanjeewa asan...@wso2.com wrote:

 Hi All,

 We have WSO2 Developer Studio 3.3.0 Alpha 3 version  ready to be
 downloaded at [1]. Installed eclipse distributions available at [2].

 This release includes following new feature, improvements and bug fixes.

 New Feature

- [TOOLS-1855 https://wso2.org/jira/browse/TOOLS-1855] - Cloud
connector support

 Improvements

- [TOOLS-1870 https://wso2.org/jira/browse/TOOLS-1870] - Enabling
Jaggery Editor Auto-Complete even without typing a character
- [TOOLS-2085 https://wso2.org/jira/browse/TOOLS-2085] - There is no
way to rename a GReg artifact.
- [TOOLS-2106 https://wso2.org/jira/browse/TOOLS-2106] - Adding
perspective login change icon into toolbar
- [TOOLS-2107 https://wso2.org/jira/browse/TOOLS-2107] - Login
window should not pop-up when resetting the perspective and should pop-up
for new perspective Only

 Bug Fixes

- [TOOLS-1337 https://wso2.org/jira/browse/TOOLS-1337] - There is no
way to add include block inside Script Mediator
- [TOOLS-1694 https://wso2.org/jira/browse/TOOLS-1694] - AF
perspective detais view not filling all the feilds
- [TOOLS-1719 https://wso2.org/jira/browse/TOOLS-1719] - [Dev
Studio-3.2] - Logging not consistent with WSO2 Standards
- [TOOLS-1722 https://wso2.org/jira/browse/TOOLS-1722] - Dev Studio
fails to create Registry resource without file extension
- [TOOLS-1731 https://wso2.org/jira/browse/TOOLS-1731] - Dev Studio
fails to rename a resource correctly.
- [TOOLS-1737 https://wso2.org/jira/browse/TOOLS-1737] - [Dev Studio
3.2] End Point Connection Issues
- [TOOLS-1738 https://wso2.org/jira/browse/TOOLS-1738] - [Dev Studio
3.2] - Null Argument error for Clone Mediator
- [TOOLS-1743 https://wso2.org/jira/browse/TOOLS-1743] - [Dev Studio
3.2] - Exceptions Creating EndPoint (JMS)
- [TOOLS-1746 https://wso2.org/jira/browse/TOOLS-1746] - [Dev
Studio-3.2] - Argument not valid Exception in Opening with Registry Info
Editor
- [TOOLS-1747 https://wso2.org/jira/browse/TOOLS-1747] - [Dev
Studio-3.2] -Edit and saving resources to registy not possible
- [TOOLS-1757 https://wso2.org/jira/browse/TOOLS-1757] - Create new
Axis2 Service Project - wrong directory
- [TOOLS-1945 https://wso2.org/jira/browse/TOOLS-1945] - NPE when
trying to run ELB 2.0.2 from Dev Studio
- [TOOLS-1948 https://wso2.org/jira/browse/TOOLS-1948] - When A/F
login failed there is no way to re-login wihtout closing it
- [TOOLS-1951 https://wso2.org/jira/browse/TOOLS-1951] - Trying to
get versions from A/F application with just a developer role throws an
Internal Error
- [TOOLS-1952 https://wso2.org/jira/browse/TOOLS-1952] - Updating an
app with Data Sources throws an error
- [TOOLS-1975 https://wso2.org/jira/browse/TOOLS-1975] - Esb
graphical editor allows to delete proxy service
- [TOOLS-1976 https://wso2.org/jira/browse/TOOLS-1976] - When pasted
or moved a artifact between folders the artifact.xml doesn't updated
corectly
- [TOOLS-1996 https://wso2.org/jira/browse/TOOLS-1996] - Error
occurs while trying to open an imported synapse configuration
- [TOOLS-2027 https://wso2.org/jira/browse/TOOLS-2027] - CApp POM
editor does not save property changes
- [TOOLS-2039 https://wso2.org/jira/browse/TOOLS-2039] - Cloud
connector operation parameters doesn't get displayed in properties view
properly
- [TOOLS-2082 https://wso2.org/jira/browse/TOOLS-2082] - ESB project
is created inside GReg project
- [TOOLS-2083 https://wso2.org/jira/browse/TOOLS-2083] - Resources
Editor window can not be opened once closed
- [TOOLS-2084 https://wso2.org/jira/browse/TOOLS-2084] - Duplicate
resource files do not trigger error
- [TOOLS-2088 https://wso2.org/jira/browse/TOOLS-2088] - [Dev
Studio]When you create custom folders inside synapse config, Dev Studio
will give errors while importing it in to Dev Studio.
- [TOOLS-2089 https://wso2.org/jira/browse/TOOLS-2089] - Resource
Key Editor dialog displays incorrect workspace Registry keys
- [TOOLS-2092 https://wso2.org/jira/browse/TOOLS-2092] - Error while
deserializing HTTP endpoint
- [TOOLS-2093 https://wso2.org/jira/browse/TOOLS-2093] - DevS
removes the target sequence from the Iterate mediator
- [TOOLS-2094 https://wso2.org/jira/browse/TOOLS-2094] - Remove
Create New Synapse Config option in wizard since new editor does not
support
- [TOOLS-2103

  1   2   3   4   5   6   7   8   9   10   >