Re: [Dev] Why don't we have BAM mediator in ESB docs

2013-10-29 Thread Nirdesha Munasinghe
Hi Jackie, I just talked to the CEP team. As you said, the steps are similar to the ones given in BAM docs. Only difference is that we just point to a CEP server IP instead of BAM. In the docs, we can just say "any listening Thrift port" and mention BAM, CEP as examples of such. This way we can us

[Dev] ESB Pack Build 20131029 Invoke Proxy service UI (on tenant created) throws following error

2013-10-29 Thread Dushan Abeyruwan
W/M setup with mounted information (registry and user) *"Caused by: java.lang.SecurityException: Malicious code detected! Trying to override restricted item: carbonContextHolder. An incident has been logged for tenant demo.com[1]" * Any clue ? 10-29 13:49:44,101] INFO - DeploymentSynchronizer C

Re: [Dev] ESB Pack Build 20131029 Invoke Proxy service UI (on tenant created) throws following error

2013-10-29 Thread Gokul Balakrishnan
Hi Dushan, We too encountered the same error some time back in BAM 2.4.0, and the reason was that some components were not updated to the latest carbon context changes. In our case, once we changed "PrivilegedCarbonContext.getCurrentContext()" to "PrivilegedCarbonContext.getThreadLocalCarbonConte

Re: [Dev] ESB Pack Build 20131029 Invoke Proxy service UI (on tenant created) throws following error

2013-10-29 Thread Kishanthan Thangarajah
Yes, you need to change the method PriorityServiceComponent# createdConfigurationContext to retrieve CarbonContext using ThreadLocal as described above. On Tue, Oct 29, 2013 at 2:39 PM, Gokul Balakrishnan wrote: > Hi Dushan, > > We too encountered the same error some time back in BAM 2.4.0, and

Re: [Dev] ESB Pack Build 20131029 Invoke Proxy service UI (on tenant created) throws following error

2013-10-29 Thread Dushan Abeyruwan
HI I will looking to that Cheers Dusnan On Tue, Oct 29, 2013 at 2:46 PM, Kishanthan Thangarajah wrote: > Yes, you need to change the method PriorityServiceComponent# > createdConfigurationContext to retrieve CarbonContext using ThreadLocal > as described above. > > > On Tue, Oct 29, 2013 at 2

Re: [Dev] [CEP] Custom Event Adaptor??? CEP 3.0.0

2013-10-29 Thread Mohanadarshan Vivekanandalingam
Hi Andres, I have seen that you have added your Kafkha custom broker to the jira.. Really appreciate your contribution to the open source community. Thanks.. In CEP 3.0.0, you needs to write custom event adaptor to send and receive events. But there should separate implementation for receiving an

Re: [Dev] [CEP] Custom Event Adaptor??? CEP 3.0.0

2013-10-29 Thread andresgomez92
Okay, thank you very much!! I want to implement a custom input and output adapters for kafka. To use it in WSO2 cep 3.0.0. When I have it, I'll post to the community too!! Andrés Gómez -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/CEP-Dev-Custom-Event-Adaptor-C

Re: [Dev] [CEP] Custom Event Adaptor??? CEP 3.0.0

2013-10-29 Thread andresgomez92
Hello again Mohan, I have a question, when I compile the OSGI bundles, I must put the jar inside /repository/components/plugins nothing more? Thanks! Andrés Gómez -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/CEP-Dev-Custom-Event-Adaptor-CEP-3-0-0-tp87834p

Re: [Dev] [CEP] Custom Event Adaptor??? CEP 3.0.0

2013-10-29 Thread Mohanadarshan Vivekanandalingam
Hi Andres, On Tue, Oct 29, 2013 at 9:27 PM, andresgomez92 wrote: > Hello again Mohan, > > I have a question, when I compile the OSGI bundles, I must put the jar > inside /repository/components/plugins nothing more? > Yes.. Just build (mvn clean install) the code and put the jar to above di

Re: [Dev] [dev] org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: Resource does not exist at path /_system/config/repository/transports/https/listener ESB M4

2013-10-29 Thread Charitha Kankanamge
Can you please confirm if this cacheId param is mandatory for any jdbc mount in latest C4.2 products? Charitha Kankanamge Senior Manager, Technical Support cell: +94 717 129 752 http://charithaka.blogspot.com *SOA and Testing without nonsense* On Sat, Oct 26, 2013 at 9:24 PM, Shelan Perera wrot

Re: [Dev] [dev] org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: Resource does not exist at path /_system/config/repository/transports/https/listener ESB M4

2013-10-29 Thread Dushan Abeyruwan
Hi Charitha Its working ...after setup those patches On Tue, Oct 29, 2013 at 10:35 PM, Charitha Kankanamge wrote: > Can you please confirm if this cacheId param is mandatory for any jdbc > mount in latest C4.2 products? > > Charitha Kankanamge > Senior Manager, Technical Support > cell: +94 717

Re: [Dev] [dev] org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: Resource does not exist at path /_system/config/repository/transports/https/listener ESB M4

2013-10-29 Thread Charitha Kankanamge
Hi Dushan, Thanks! But is this cacheId thing mandatory setting in mounting config? Charitha Kankanamge Senior Manager, Technical Support cell: +94 717 129 752 http://charithaka.blogspot.com *SOA and Testing without nonsense* On Tue, Oct 29, 2013 at 10:42 PM, Dushan Abeyruwan wrote: > Hi Charit

Re: [Dev] [dev] org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: Resource does not exist at path /_system/config/repository/transports/https/listener ESB M4

2013-10-29 Thread Dushan Abeyruwan
Hi Charitha, I believe answer might be YES, unless I had issues as given above. so we need to alter documentation, anyway I do not have any insight info why its mandatory.. I think Greg ppl can give proper explanation for that.. On Tue, Oct 29, 2013 at 10:48 PM, Charitha Kankanamge wrote: > Hi D

Re: [Dev] [dev] org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: Resource does not exist at path /_system/config/repository/transports/https/listener ESB M4

2013-10-29 Thread Nuwan Dias
The cacheid is not mandatory for setting up mounts. I think this was a workaround given until the issue was properly fixed. Thanks, NuwanD. On Tue, Oct 29, 2013 at 10:51 PM, Dushan Abeyruwan wrote: > Hi Charitha, > I believe answer might be YES, unless I had issues as given above. so we > need

Re: [Dev] [CEP] Custom Event Adaptor??? CEP 3.0.0

2013-10-29 Thread Mohanadarshan Vivekanandalingam
Hi Andres, On Tue, Oct 29, 2013 at 10:20 PM, Mohanadarshan Vivekanandalingam < mo...@wso2.com> wrote: > > Hi Andres, > > On Tue, Oct 29, 2013 at 9:27 PM, andresgomez92 wrote: > >> Hello again Mohan, >> >> I have a question, when I compile the OSGI bundles, I must put the jar >> inside /reposito

Re: [Dev] [CEP] Custom Event Adaptor??? CEP 3.0.0

2013-10-29 Thread andresgomez92
Hi Mohan, That's exactly what I've done (clean and build the code and put the jar in /repository/components/plugins). I start WSO2 CEP boots normally but when I try to create the event adaptor, this does not appear in the field "Event Adaport Type".

Re: [Dev] [CEP] Custom Event Adaptor??? CEP 3.0.0

2013-10-29 Thread Mohanadarshan Vivekanandalingam
Hi Andres, On Tue, Oct 29, 2013 at 11:36 PM, andresgomez92 wrote: > Hi Mohan, > > That's exactly what I've done (clean and build the code and put the jar in > /repository/components/plugins). I start WSO2 CEP boots normally > but when I try to create the event adaptor, this does not appear in th

Re: [Dev] [DEV] Load testing a Thrift service

2013-10-29 Thread Venura Kahawala
Hi, Any updates on this? Regards, Venura On Mon, Oct 28, 2013 at 4:38 PM, Venura Kahawala wrote: > Hi, > > Is there a way to do the $subject. I found there is a code for the > thrift-jmeter-plugin [1]. > Built the jar with the above mentioned code and deployed within the > "apache-jmeter-2.9/

Re: [Dev] [CEP] Custom Event Adaptor??? CEP 3.0.0

2013-10-29 Thread andresgomez92
Thanks! You're right, that mistake!! Andrés Gómez -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/CEP-Dev-Custom-Event-Adaptor-CEP-3-0-0-tp87834p87867.html Sent from the WSO2 Development mailing list archive at Nabble.com. _

[Dev] Latest OAuth playground code.

2013-10-29 Thread Pradeep Fernando
Hi devs, where can i find the latest code ? thanks, --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Latest OAuth playground code.

2013-10-29 Thread Asela Pathberiya
On Wed, Oct 30, 2013 at 10:23 AM, Pradeep Fernando wrote: > Hi devs, > > where can i find the latest code ? > It is in SVN under product samples [1]... [1] http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/is/4.5.0/modules/samples/oauth2/playground2/ Thanks, Asela. > >

Re: [Dev] Latest OAuth playground code.

2013-10-29 Thread Amila Maha Arachchi
According to the docs [1] it is at [2]. [1] http://docs.wso2.org/display/IS450/OAuth+2.0+Playground+with+WSO2+Identity+Server [2] https://svn.wso2.org/repos/wso2/people/prabath/oauth-demo/oauthplayground On Wed, Oct 30, 2013 at 10:23 AM, Pradeep Fernando wrote: > Hi devs, > > where can i find

Re: [Dev] Latest OAuth playground code.

2013-10-29 Thread Amila Maha Arachchi
Does the doc link needs to be changed? On Wed, Oct 30, 2013 at 10:26 AM, Asela Pathberiya wrote: > > > > On Wed, Oct 30, 2013 at 10:23 AM, Pradeep Fernando wrote: > >> Hi devs, >> >> where can i find the latest code ? >> > > It is in SVN under product samples [1]... > > [1] > http://svn.wso2.or

[Dev] XML schema validation - How to identify '$' inside an attribute value ?

2013-10-29 Thread Dimuthu De Lanerolle
Hi All, I need to validate some xml files against their respective xsd files. In here, I need to validate some attribute values against the schema. Is there any way to impose a restriction on an attribute value to check whether the actual value of the attribute contains a special character like '$

[Dev] ESB ignores multiple headers

2013-10-29 Thread Susinda Perera
Hi All I observe the following issue, while testing a scenario for a customer issue. I send requests to a backend via ESB with multiple header values set, when PassThrough sender/receiver is used i observed that only the last header is set. Note that in the passthrough sender config, only *Set-Coo

Re: [Dev] Kernel commit required for patch0002

2013-10-29 Thread Thilini Ishaka
Hi Manoj, Can you please commit the attached kernel patch. Thanks Thilini On Tue, Oct 29, 2013 at 8:59 AM, Chanaka Fernando wrote: > Thanks ... > > Regards, > Chanaka > > > On Mon, Oct 28, 2013 at 8:25 PM, Manoj Kumara wrote: > >> done with 189757 >> >> Thanks, >> Manoj >> >> Best Regards..

Re: [Dev] XML schema validation - How to identify '$' inside an attribute value ?

2013-10-29 Thread Malintha Adikari
Hi Dimuthu, Yes we can do this. As an example consider following XML and the related XSD: XML: XSD: http://www.w3.org/2001/XMLSchema";> T

Re: [Dev] XML schema validation - How to identify '$' inside an attribute value ?

2013-10-29 Thread Dimuthu De Lanerolle
Hi Malintha, Yes. This is fine. Another workaround to achieve this is to define set of values that can be accepted by the restriction. In here we can ignore $. i.e if $ exists it will throw SAX exception. Product Name

Re: [Dev] Latest OAuth playground code.

2013-10-29 Thread Asela Pathberiya
On Wed, Oct 30, 2013 at 10:30 AM, Amila Maha Arachchi wrote: > Does the doc link needs to be changed? > Yes.. Thanks, Asela. > > > On Wed, Oct 30, 2013 at 10:26 AM, Asela Pathberiya wrote: > >> >> >> >> On Wed, Oct 30, 2013 at 10:23 AM, Pradeep Fernando wrote: >> >>> Hi devs, >>> >>> where ca

Re: [Dev] Latest OAuth playground code.

2013-10-29 Thread Pradeep Fernando
Thanks! On Wed, Oct 30, 2013 at 12:11 PM, Asela Pathberiya wrote: > > > > On Wed, Oct 30, 2013 at 10:30 AM, Amila Maha Arachchi wrote: > >> Does the doc link needs to be changed? >> > > Yes.. > > Thanks, > Asela. > > >> >> >> On Wed, Oct 30, 2013 at 10:26 AM, Asela Pathberiya wrote: >> >>> >>>

Re: [Dev] Latest OAuth playground code.

2013-10-29 Thread Samuel Gnaniah
Updated the docs. Cheers, Sam *Samuel Gnaniah* Senior Technical Writer WSO2 (pvt.) Ltd. Colombo, Sri Lanka (+94) 773131798 On Wed, Oct 30, 2013 at 12:13 PM, Pradeep Fernando wrote: > Thanks! > > > On Wed, Oct 30, 2013 at 12:11 PM, Asela Pathberiya wrote: > >> >> >> >> On Wed, Oct 30, 2013 a

[Dev] Use case of an OAuth2.0 - need some clarifications

2013-10-29 Thread Pradeep Fernando
Hi Devs, I want to secure a set of APIs using OAuth 2.0. Resource server has APIs of type, X and Y. Client authenticates itself with the authorization server (say resource owner password credentials grant...) and gets an access token. The authorization server has two types of users. (roles) ro