[Dev] Can we make FORCE_POST_PUT_NOBODY=true default behavior?
Hi All, Is $subject possible? Thanks. -- -- Lahiru Sandaruwan WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: *https://www.linkedin.com/in/lahirugmg/ <https://www.linkedin.com/in/lahirugmg/>* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Using clone and aggregator in the same sequence
On Fri, Dec 7, 2018 at 5:18 AM Lahiru Sandaruwan wrote: > Hi, > > We do not have any samples at [1] for $subject. They all show having > splitting requests in InSequence and aggregation in outSequence. > > Q1, Is this recommended? > Q2, If yes, shall we an a sample? > > For example, > > > > > * // do something* > > > > > * // do something* > > > > > > > > > > > expression="//jsonObject" xmlns:ns="http://org.apache.synapse/xsd;> > > *// do more with aggregated response* > > > > > > > Cache mediator has a similar sample at [2], with specific property, > > . > > [1] https://docs.wso2.com/display/EI611/Aggregate+Mediator > [2] https://docs.wso2.com/display/EI611/Cache+Mediator > > Thanks. > > -- > -- > > Lahiru Sandaruwan > WSO2 Inc., http://wso2.com > > lean.enterprise.middleware > > m: +1 901 530 2379 > e: lahi...@wso2.com b: https://medium.com/@lahirugmg > in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 > > -- -- Lahiru Sandaruwan WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Using clone and aggregator in the same sequence
Hi, We do not have any samples at [1] for $subject. They all show having splitting requests in InSequence and aggregation in outSequence. Q1, Is this recommended? Q2, If yes, shall we an a sample? For example, * // do something* * // do something* http://org.apache.synapse/xsd;> *// do more with aggregated response* Cache mediator has a similar sample at [2], with specific property, . [1] https://docs.wso2.com/display/EI611/Aggregate+Mediator [2] https://docs.wso2.com/display/EI611/Cache+Mediator Thanks. -- -- Lahiru Sandaruwan WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Maven dependency for WSO2 Synapse version 2.1.7.wso2v15
Never mind, Got it with following repo, wso2-nexus-repository WSO2 nexus Repository http://maven.wso2.org/nexus/content/groups/wso2-public/ Thanks. On Thu, May 10, 2018 at 4:19 PM, Lahiru Sandaruwan <lahi...@wso2.com> wrote: > Devs, > > Can't find $subject at, > https://mvnrepository.com/artifact/org.apache.synapse/ > synapse-core?repo=wso2 > > Any idea? > > Thanks. > > -- > -- > > Lahiru Sandaruwan > WSO2 Inc., http://wso2.com > > lean.enterprise.middleware > > m: +1 901 530 2379 > e: lahi...@wso2.com b: https://medium.com/@lahirugmg > in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 > > -- -- Lahiru Sandaruwan WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Maven dependency for WSO2 Synapse version 2.1.7.wso2v15
Devs, Can't find $subject at, https://mvnrepository.com/artifact/org.apache.synapse/synapse-core?repo=wso2 Any idea? Thanks. -- -- Lahiru Sandaruwan WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Publish event mediator vs Synapse log performance
Since the message is built in both cases, payload accessing part performance would be similar. But in the Synapse log, publishing is also synchronous(writing it to the file). But in Publish event mediator, after reading the message, publishing is asynchronous. So, I'm under the impression that, the second part should be more performant in publish event mediator. Please let me know your thoughts. Thanks. On Fri, Apr 6, 2018 at 12:12 PM, Lahiru Sandaruwan <lahi...@wso2.com> wrote: > Devs, > > It is known that logging the message payload through Log is synchronous > and a hit for performance. Publish event mediator is also content aware, > but publishing part works asynchronously. > > Does using publish event mediator with payload, affect performance as much > as logging does? > > [1] https://docs.wso2.com/display/EI611/Publish+Event+Mediator > > Thanks. > > -- > -- > > Lahiru Sandaruwan > WSO2 Inc., http://wso2.com > > lean.enterprise.middleware > > m: +1 901 530 2379 > e: lahi...@wso2.com b: https://medium.com/@lahirugmg > in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 > > -- -- Lahiru Sandaruwan WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Publish event mediator vs Synapse log performance
Devs, It is known that logging the message payload through Log is synchronous and a hit for performance. Publish event mediator is also content aware, but publishing part works asynchronously. Does using publish event mediator with payload, affect performance as much as logging does? [1] https://docs.wso2.com/display/EI611/Publish+Event+Mediator Thanks. -- -- Lahiru Sandaruwan WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] WSO2 EI - ESB statistics and/vs tracing
Hi all, While I was looking at $subject, noticed that we can only enable statistics in production environment, not tracing. As Gihan mentioned at another place, tracing will generate a huge volume of data since it publishes payload for each mediator and performance will be affected as well. Couple of questions, Is it recommended to use tracing in trouble-shooting scenarios only? Do we have a place listing the capabilities(what we can achieve) by enabling statistics and tracing separately? Thanks. -- -- Lahiru Sandaruwan WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Difference between primary and secondary use stores
Hi Randy, Please find the answers inline, On Wed, Mar 14, 2018 at 9:45 PM, Randy Adams <randyadamspar...@gmail.com> wrote: > Hi devs, > > I have some confusion on user store types in wso2 products. Please give > some assistance. > > What is the difference between primary and secondary user stores in wso2 > products? > Primary userstore WSO2 products must have at least one user store. This is the main user store and it is shared among all the tenants. Please find the more info from [1]. If you want to learn about tenancy in WSO2 products, read [2] Also, admin user of the super tenant(default tenent of WSO2 products), which is defined in [WSO2_Product_Home]/repository/conf/user-mgt.xml will reside in primary userstore. Read more about system administrator user at [3]. >From [1], "This is the main user store that is shared among all the tenants in the system. Only one user store should be configured as the primary user store" Secondary userstores Secondary user stores are helpful when your organization has different sources of users due to departments, company mergers/ acquisitions etc. So if you have different tenants, you mount the secondary user stores for each tenant separately. Find more details from [1]. Following quote is copied from there for your reference. "Any number of secondary user stores can be easily set up for your system and these user stores are specific to the created tenant, and they are not shared among multiple tenants." > What is the exact requirement to have two different types of user stores > as this? Why isn't it just "user stores" generally? > Primary needs to be identified separately for above said functionalities. > What are the different tasks done by these two categories? > Both types have all the functionalities other than above said differences. I have included IAM team to add to the details provided [1] https://docs.wso2.com/display/IS541/Configuring+User+Stores [2] https://docs.wso2.com/display/IS541/Creating+and+Managing+Tenants [3] https://docs.wso2.com/display/IS541/Configuring+the+System+Administrator Thanks. > > Regards, > Randy > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- -- Lahiru Sandaruwan WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 <+1%20901-530-2379> e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ESB 4.8.1] Setting empty JSON array from XSLT mediator
Hi Senduran, Already tried. Nothing comes out of XSLT with that(even in XML format). Thanks. On Wed, Mar 14, 2018 at 9:55 PM, Senduran <bsendu...@gmail.com> wrote: > Hi Lahiru, > > Can you try the following in your XSLT > > > tokens > > > Regards > Senduran > > On Thu, Mar 15, 2018 at 3:40 AM, Lahiru Sandaruwan <lahi...@wso2.com> > wrote: > >> Devs, >> >> I'm trying $subject using ESB 4.8.1 and I can only set the payload from >> XSLT. Let me explain an example below. >> >> I'm expecting the JSON result as, >> *{* >> * "name": "lahiru",* >> * "tokens": []* >> *}* >> >> Tried setting following from XSLT, >> *...* >> >> ** >> ** >> ** >> *...* >> >> It outputs XML, >> >> ** >> >> *lahiru* >> >> ** >> ** >> >> ** >> >> And it is converted to following which is not the disired, >> *{* >> * "name": "lahiru",* >> * "tokens": [* >> >> *""* >> >> *]* >> >> *}* >> >> If I could set XML node as ** from XSLT, it would >> work. But it seems there is no way to set such node. >> >> Any idea on how I can get this done? >> >> Thanks. >> >> -- >> -- >> >> Lahiru Sandaruwan >> WSO2 Inc., http://wso2.com >> >> lean.enterprise.middleware >> >> m: +1 901 530 2379 <+1%20901-530-2379> >> e: lahi...@wso2.com b: https://medium.com/@lahirugmg >> in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >> >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > -- -- Lahiru Sandaruwan WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [ESB 4.8.1] Setting empty JSON array from XSLT mediator
Devs, I'm trying $subject using ESB 4.8.1 and I can only set the payload from XSLT. Let me explain an example below. I'm expecting the JSON result as, *{* * "name": "lahiru",* * "tokens": []* *}* Tried setting following from XSLT, *...* ** ** ** *...* It outputs XML, ** *lahiru* ** ** ** And it is converted to following which is not the disired, *{* * "name": "lahiru",* * "tokens": [* *""* *]* *}* If I could set XML node as ** from XSLT, it would work. But it seems there is no way to set such node. Any idea on how I can get this done? Thanks. -- -- Lahiru Sandaruwan WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Heap dump creation need to be manage with the timestamp
+1 Chamara. This has been an issue for several users as I have also experienced. However, we need to advice the users to delete the older heap dumps as the server disk space may run out. Thanks. On Thu, Mar 8, 2018 at 7:35 AM, Chamara Silva <cham...@wso2.com> wrote: > According to the current implementation, If the server goes to OOM, heap > dump will not create if log directory already has the old heap dump file. > IMHO we need to manage this by creating heap dump file with the different > timestamp. Otherwise, we have to manually delete them. The impact is, some > customer's faced same situation and we cannot help them due to the > unavailability of latest heap dump. > > Thanks, > Chamara Silva > -- > Suminda Chamara Silva > Technical Lead > WSO2 Inc. > Mobile: +94718302858 <071%20830%202858> > blog: http://chamaras.blogspot.com > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- -- Lahiru Sandaruwan WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] How to handle HTML with unclosed tags in Synapse
Hi devs, When there are unclosed tags, Synapse throws following error if try to get rid of payload(Payload Factory). [2018-02-21 20:45:49,351] ERROR - com.ctc.wstx.exc.WstxParsingException: Unexpected close tag ; expected . at [row,col {unknown-source}]: [17,187] {org.apache.synapse.config.xml.AnonymousListMediator} org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxParsingException: Unexpected close tag ; expected . at [row,col {unknown-source}]: [17,187] I cannot use binary relay builder for HTML content type, since we need to read the content for well formatted XML use cases. Any idea how to handle both cases? Thanks. -- -- Lahiru Sandaruwan WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] CLI Client for MB4 using GoLang
Hi Eranda, Is this still developed with Go? I can see Java CLI client at [1]. However, +1 for using Go for the CLI. IMO it would be cleaner to keep the CLI code separately, as two are written in different languages. [1] https://github.com/wso2/message-broker/tree/master/modules/broker-cli-client Thanks. On Thu, Feb 8, 2018 at 4:30 AM, Eranda Rajapakshe <eran...@wso2.com> wrote: > Hi, > > For MB4 we are writing a CLI client to perform admin operations. I have > done a draft design and doing an implementation. At the moment I am trying > out this with GoLang as its really flexible for building CLIs and it can > be, executables will be able to run on machines without a JVM. > > We are hoping to package this CLI client into MB itself. Also, our idea is > to include the source code in message-broker repo[1] (to make it easy to > maintain). Since message-broker repo is built using maven, I am hoping to > use this maven-go plugin[2] to build the Go source code of the CLI. > > Is there a better approach to achieve our requirement? (as it seems > maven-go plugin can manage dependencies and compile the Go code without any > external involvement.) > > [1]. https://github.com/wso2/message-broker > [2]. https://github.com/raydac/mvn-golang/ > > Thanks, > -- > *Eranda Rajapakshe* > Software Engineer > WSO2 Inc. > Mobile : +94784822608 > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- -- Lahiru Sandaruwan WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Metrics databases for IS and EI
Hi, We have metrics databases for APIM 2.x.x[1] and IS 5.1.0[2]. But latest IS versions and EI does not have DBs to store metrics, even though EI has a list of MBeans supported at [3]. This is an useful feature for tracking information if users don't want to setup advanced monitoring tools. Are we planning to add this feature in the future? [1] https://docs.wso2.com/display/AM2xx/Enabling+Metrics+and+Storage+Types [2] https://docs.wso2.com/display/IS510/Enabling+Metrics+and+Storage+Types [3] https://docs.wso2.com/display/EI611/JMX+Monitoring Thanks. -- -- Lahiru Sandaruwan WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APIM][1.10] Setting HTTP_SC in Auth failure handler does not work
I see. Will follow that and set the code, respond from the sequence then. Thanks. On Tue, Jan 30, 2018 at 9:28 PM, Sanjeewa Malalgoda <sanje...@wso2.com> wrote: > Yes send from custom sequence and then drop flow will work. Its better to > maintain separate convert sequence. > > Thanks, > sanjeewa. > > On Wed, Jan 31, 2018 at 8:21 AM, Harsha Kumara <hars...@wso2.com> wrote: > >> Hi Lahiru, >> >> I think it's not possible to override it but you can follow [1] to do it >> in a separate way. >> >> [1] http://sanjeewamalalgoda.blogspot.com/2015/04/how-to-gen >> erate-custom-error-message.html >> >> Thanks, >> Harsha >> >> On Wed, Jan 31, 2018 at 2:08 AM, Lahiru Sandaruwan <lahi...@wso2.com> >> wrote: >> >>> Hi, >>> >>> I changed _auth_failure_handler_ to set HTTP code to 498. But it still >>> responds with 401. My handler after change is as follows, >>> >>> http://ws.apache.org/ns >>> /synapse"> >>> >>> >>> >>> >>> >>> Anything wrong with my config? >>> >>> Thanks. >>> >>> -- >>> -- >>> >>> Lahiru Sandaruwan >>> Associate Technical Lead, >>> WSO2 Inc., http://wso2.com >>> >>> lean.enterprise.middleware >>> >>> m: +1 901 530 2379 <(901)%20530-2379> >>> e: lahi...@wso2.com b: https://medium.com/@lahirugmg >>> in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>> >>> >> >> >> -- >> Harsha Kumara >> Software Engineer, WSO2 Inc. >> Mobile: +94775505618 <077%20550%205618> >> Blog:harshcreationz.blogspot.com >> > > > > -- > > *Sanjeewa Malalgoda* > WSO2 Inc. > Mobile : +94713068779 <071%20306%208779> > > <http://sanjeewamalalgoda.blogspot.com/>blog :http://sanjeewamalalgoda. > blogspot.com/ <http://sanjeewamalalgoda.blogspot.com/> > > > -- -- Lahiru Sandaruwan Associate Technical Lead, WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [APIM][1.10] Setting HTTP_SC in Auth failure handler does not work
Hi, I changed _auth_failure_handler_ to set HTTP code to 498. But it still responds with 401. My handler after change is as follows, http://ws.apache.org/ns/synapse;> Anything wrong with my config? Thanks. -- -- Lahiru Sandaruwan Associate Technical Lead, WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Simple example for Rates-based throttling policy
Hi, I'm trying to get a sample throttling policy for rate limiting similar to "Example for a rates-based policy" explained at [1], and I'm having the policy file as a Registry artifact, separately. I could get it working with below policy. http://schemas.xmlsoap.org/ws/2004/09/policy; xmlns:throttle="http://www.wso2.org/products/wso2commons/throttle;> other 3 1000 But it has unwanted information such as "other". I cannot get rid of that part as it stops rate limiting. According to the sample at [1], policy should be simpler. Any idea how we can simplify this? [1] https://docs.wso2.com/display/EI611/Throttle+Mediator#ThrottleMediator-Example Thanks. -- -- Lahiru Sandaruwan Associate Technical Lead, WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Dev studio expands
Hi Kevin, Thanks for the response. [1] says below about 'Maximum Concurrent Accesses', "When this parameter is used, the same Throttle mediator ID should be included in the response flow so that the completed responses are deducted from the available limit." Do we need to update docs? [1] https://docs.wso2.com/display/EI611/Throttle+Mediator Thanks. On Fri, Jan 5, 2018 at 6:54 AM, Kevin Ratnasekera <ke...@wso2.com> wrote: > Hi Lahiru, > > As far as I can remember, you no longer need to have empty throttle > mediator tag in OUT sequence, with same throttle id as in IN sequence. This > empty throttle mediator tag served purpose of decrementing concurrency > throttling counter ( number or parallel flows ) which was incremented IN > sequence throttle mediator. However in order to support concurrency > throttling for out only flows as well, we did some modifications as per [1] > users no longer need to explicitly add to OUT sequence, those are now > internally handled. Additionally throttle mediator will only engage on > request message paths. Have you tried samples without throttle mediator in > out sequence? I think it should work without a issue. Seems these samples > need to be updated. [2] > > [1] https://github.com/wso2/wso2-synapse/pull/26 > [2] https://docs.wso2.com/display/ESB500/Throttle+Mediator > > Regards > Kevin > > On Fri, Dec 22, 2017 at 4:28 AM, Lahiru Sandaruwan <lahi...@wso2.com> > wrote: > >> Hi, >> >> As per [1], when throttling mediator is used in out sequence, it should >> be one liner, such as . But when we save that >> in Developer studio, it expands to following, >> >> >> >> >> >> >> Looks like a bug. Could we fix? >> >> [1] https://docs.wso2.com/display/EI611/Sample+372%3A+Use+of >> +Both+Concurrency+Throttling+and+Request-Rate-Based+Throttling >> >> Thanks. >> -- >> -- >> >> Lahiru Sandaruwan >> Associate Technical Lead, >> WSO2 Inc., http://wso2.com >> >> lean.enterprise.middleware >> >> m: +1 901 530 2379 <(901)%20530-2379> >> e: lahi...@wso2.com b: https://medium.com/@lahirugmg >> in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >> >> > > > -- > *Kevin Ratnaskera* > Software Engineer > WSO2 Inc. - http://wso2.com > lean . enterprise . middleware > Mobile - +94774696950 <077%20469%206950> > Linkedin - https://www.linkedin.com/in/djkevincr > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- -- Lahiru Sandaruwan Associate Technical Lead, WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 <+1%20901-530-2379> e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [EI 6.1.1] WS-Security UsernameToken performance with large messages
I see. Looks like there would be a some hit on performance then. Thanks Azeez for the explanation. On Tue, Jan 9, 2018 at 11:22 PM, Afkham Azeez <az...@wso2.com> wrote: > IIRC, Rampart uses WSS4J and WSS4J works with DOM. So when Rampart kicks > in, it will convert OM (Axiom) to DOM. Actually we implemented a hybrid > object model called DOOM (DOM-OM) which supports both models because Axis2 > knows only Axiom and WSS4J knows only OM. So we can't avoid the cost of > creating the DOM. Even with SAX, once the events start firing, you cannot > stop and SAX doesn't support deferred building. That is why we used the > StAX parser in Axiom. The issue in Dennis Sosnoski's article refers to a > bug and should have been fixed a long time ago. > > Thanks > Azeez > > On Tue, Jan 9, 2018 at 11:55 PM, Lahiru Sandaruwan <lahi...@wso2.com> > wrote: > >> Hi Devs, >> >> Got a question on $subject. Concern is, if the username token is >> retrieved by building the whole message with DOM or it is read up to >> security header as in SAX(see [1] for difference) when parsing for >> authentication. >> >> [2] says, >> "Part of this performance hit from WS-Security is due to a flaw in the >> Rampart handler implementation, which causes it to convert each request and >> response message to Document Object Model (DOM) form any time Rampart is >> engaged (even if no security processing is to be done for the message). >> This particular issue should be fixed in time for a Rampart 1.5 release to >> go along with Axis2 1.5. Depending on how the fix is implemented, it may >> substantially improve the times for the UsernameToken test.". >> >> Difference is, when the messages get bigger, DOM model will cause more >> latency than SAX. >> Anyone can confirm if this was fixed in latest Rampart/Axis2 versions? >> >> [1] https://stackoverflow.com/questions/6828703/what-is-the- >> difference-between-sax-and-dom >> [2] https://www.ibm.com/developerworks/library/j-jws6/index.html >> >> Thanks. >> >> -- >> -- >> >> Lahiru Sandaruwan >> Associate Technical Lead, >> WSO2 Inc., http://wso2.com >> >> lean.enterprise.middleware >> >> m: +1 901 530 2379 <+1%20901-530-2379> >> e: lahi...@wso2.com b: https://medium.com/@lahirugmg >> in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >> >> > > > -- > *Afkham Azeez* > Senior Director, Platform Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > * <http://www.apache.org/>* > *email: **az...@wso2.com* <az...@wso2.com> > * cell: +94 77 3320919 <077%20332%200919>blog: **http://blog.afkham.org* > <http://blog.afkham.org> > *twitter: **http://twitter.com/afkham_azeez* > <http://twitter.com/afkham_azeez> > *linked-in: **http://lk.linkedin.com/in/afkhamazeez > <http://lk.linkedin.com/in/afkhamazeez>* > > *Lean . Enterprise . Middleware* > -- -- Lahiru Sandaruwan Associate Technical Lead, WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [EI 6.1.1] WS-Security UsernameToken performance with large messages
Hi Devs, Got a question on $subject. Concern is, if the username token is retrieved by building the whole message with DOM or it is read up to security header as in SAX(see [1] for difference) when parsing for authentication. [2] says, "Part of this performance hit from WS-Security is due to a flaw in the Rampart handler implementation, which causes it to convert each request and response message to Document Object Model (DOM) form any time Rampart is engaged (even if no security processing is to be done for the message). This particular issue should be fixed in time for a Rampart 1.5 release to go along with Axis2 1.5. Depending on how the fix is implemented, it may substantially improve the times for the UsernameToken test.". Difference is, when the messages get bigger, DOM model will cause more latency than SAX. Anyone can confirm if this was fixed in latest Rampart/Axis2 versions? [1] https://stackoverflow.com/questions/6828703/what-is-the-difference-between-sax-and-dom [2] https://www.ibm.com/developerworks/library/j-jws6/index.html Thanks. -- -- Lahiru Sandaruwan Associate Technical Lead, WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Dev studio expands
Hi, As per [1], when throttling mediator is used in out sequence, it should be one liner, such as . But when we save that in Developer studio, it expands to following, Looks like a bug. Could we fix? [1] https://docs.wso2.com/display/EI611/Sample+372%3A+Use+of+Both+Concurrency+Throttling+and+Request-Rate-Based+Throttling Thanks. -- -- Lahiru Sandaruwan Associate Technical Lead, WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 901 530 2379 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [EI 6.1.1] [update-1510032522941] UI Synapse editor is extremely slow
Hi Nandika, I just tried with Chrome and Firefox again. This time it doesn't show any lagging. Looks like it was an intermittent issue. Thanks. On Thu, Nov 9, 2017 at 8:21 PM, Nandika Jayawardana <nand...@wso2.com> wrote: > Hi Lahiru, > > Can you try with Chome also and let us know. This is not a known behaviour. > > Regards > Nandika > > On Fri, Nov 10, 2017 at 5:32 AM, Lahiru Sandaruwan <lahi...@wso2.com> > wrote: > >> Just noticed $subject. >> >> I'm using Firefox. Created a simple Rest API with a send mediator. Known >> behavior? >> >> Thanks. >> >> -- >> -- >> >> Lahiru Sandaruwan >> Associate Technical Lead, >> WSO2 Inc., http://wso2.com >> >> lean.enterprise.middleware >> >> m: +1 408 667 8686 <+1%20408-667-8686> >> e: lahi...@wso2.com b: https://medium.com/@lahirugmg >> in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >> >> > > > -- > Nandika Jayawardana > WSO2 Inc ; http://wso2.com > lean.enterprise.middleware > -- -- Lahiru Sandaruwan Associate Technical Lead, WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 408 667 8686 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [EI 6.1.1] [update-1510032522941] UI Synapse editor is extremely slow
Just noticed $subject. I'm using Firefox. Created a simple Rest API with a send mediator. Known behavior? Thanks. -- -- Lahiru Sandaruwan Associate Technical Lead, WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +1 408 667 8686 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ESB 4.8.1] Respond with arrays in JSON and XML formats
Hi Sudharma, Thanks for the response. I was able to get this done using dynamic XSLT tag as . Thanks. On Mon, Aug 21, 2017 at 12:54 PM, Sudharma Subasinghe <sudhar...@wso2.com> wrote: > Hi Lahiru, > > You can try the script mediator to build the expected response which is > better than duplicating XSLTs. > > Thanks > Sudharma > > On Mon, Aug 21, 2017 at 9:15 PM, Lahiru Sandaruwan <lahi...@wso2.com> > wrote: > >> Hi, >> >> I want to change the responding content type based on Accept header(JSON >> or XML), sent in the request. My concern is the wrapping element of arrays. >> For example, >> >> Required Json response, >> >> [ >> { >> "aaa" : "23432", >> "bbb" : "234", >> "ccc" : "asdfas" >> }, >> { >> "aaa" : "23432", >> "bbb" : "234", >> "ccc" : "asdfas" >> }, >> { >> "aaa" : "23432", >> "bbb" : "234", >> "ccc" : "asdfas" >> } >> ] >> >> Required XML response, >> >> >> >> 2342344 >> 23432432432 >> asdasdasd >> >> >> 234324 >> 32432 >> asdfasdf >> >> >> 234 >> 34234 >> asdf >> >> >> >> If I build local message with jsonArray and jsonElement as below, I could >> get the JSON response correctly. But XML response would be wrong, as it is >> not wrapped with accounts and account tags. >> >> >> >> 2342344 >> 23432432432 >> asdasdasd >> >> >> 234324 >> 32432 >> asdfasdf >> >> >> 234 >> 34234 >> asdf >> >> >> >> I'm building this message using a XSLT. I can think of using 2 XSLTs for >> two types. But that will duplicate XSLT just for this. Is there a better >> approach? >> >> Thanks. >> -- >> -- >> >> Lahiru Sandaruwan >> Associate Technical Lead, >> WSO2 Inc., http://wso2.com >> >> lean.enterprise.middleware >> >> m: +94773325954 <+94%2077%20332%205954> >> e: lahi...@wso2.com b: https://medium.com/@lahirugmg >> in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >> >> > > > -- > Sudharma Subasinghe, > Software Engineer, > WSO2 Inc. > Email: sudhar...@wso2.com <hasi...@wso2.com> > Mobile : +94 710 565 157 <%2B94%20718%20210%20200> > -- -- Lahiru Sandaruwan Associate Technical Lead, WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +94773325954 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [ESB 4.8.1] Respond with arrays in JSON and XML formats
Hi, I want to change the responding content type based on Accept header(JSON or XML), sent in the request. My concern is the wrapping element of arrays. For example, Required Json response, [ { "aaa" : "23432", "bbb" : "234", "ccc" : "asdfas" }, { "aaa" : "23432", "bbb" : "234", "ccc" : "asdfas" }, { "aaa" : "23432", "bbb" : "234", "ccc" : "asdfas" } ] Required XML response, 2342344 23432432432 asdasdasd 234324 32432 asdfasdf 234 34234 asdf If I build local message with jsonArray and jsonElement as below, I could get the JSON response correctly. But XML response would be wrong, as it is not wrapped with accounts and account tags. 2342344 23432432432 asdasdasd 234324 32432 asdfasdf 234 34234 asdf I'm building this message using a XSLT. I can think of using 2 XSLTs for two types. But that will duplicate XSLT just for this. Is there a better approach? Thanks. -- -- Lahiru Sandaruwan Associate Technical Lead, WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +94773325954 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ESB 4.8.1] Relate iterator mediator response with request
Thanks Nirmal. I followed this approach! On Wed, Jul 19, 2017 at 12:07 PM, Nirmal Fernando <nir...@wso2.com> wrote: > What about following; > > Iterate -> keep the message in a property () -> call back-end -> enrich > response & property -> aggregate ? > > On Wed, Jul 19, 2017 at 10:16 PM, Lahiru Sandaruwan <lahi...@wso2.com> > wrote: > >> Hi All, >> >> I have an use case for $subject. Requirement is to do calls parallelly >> and keep the relationship. >> >> For example, I'm iterating through tages, where each request will >> have , >> >> >> >> 1 >> >> >> 2 >> >> >> >> Response would look like below, without any information about >> >> >> info1 >> >> >> Is there a way to build something like below with iterator mediator(Note >> that I'm using 4.8.1)? >> >> >> >> 1 >> >> info1 >> >> >> >> 2 >> >> info2 >> >> >> >> >> Thanks. >> -- >> -- >> >> Lahiru Sandaruwan >> Associate Technical Lead, >> WSO2 Inc., http://wso2.com >> >> lean.enterprise.middleware >> >> m: +94773325954 <+94%2077%20332%205954> >> e: lahi...@wso2.com b: https://medium.com/@lahirugmg >> in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >> >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > > Thanks & regards, > Nirmal > > Technical Lead, WSO2 Inc. > Mobile: +94715779733 <071%20577%209733> > Blog: http://nirmalfdo.blogspot.com/ > > > -- -- Lahiru Sandaruwan Associate Technical Lead, WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +94773325954 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [ESB 4.8.1] Relate iterator mediator response with request
Hi All, I have an use case for $subject. Requirement is to do calls parallelly and keep the relationship. For example, I'm iterating through tages, where each request will have , 1 2 Response would look like below, without any information about info1 Is there a way to build something like below with iterator mediator(Note that I'm using 4.8.1)? 1 info1 2 info2 Thanks. -- -- Lahiru Sandaruwan Associate Technical Lead, WSO2 Inc., http://wso2.com lean.enterprise.middleware m: +94773325954 e: lahi...@wso2.com b: https://medium.com/@lahirugmg in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] ESB Dynamic endpoint support
Sorry, wrong solution. This is for, when you have the endpoint in a property :) Thanks. On Tue, Jun 7, 2016 at 2:11 PM, Lahiru Sandaruwan <lahi...@wso2.com> wrote: > Hi Godawin, > > You can set to header, see [1] > > > > Thanks. > [1] > https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/esb/docs/xdoc/faq.xml#mediation-change-ep-dynamic > > On Tue, Jun 7, 2016 at 2:00 PM, Godwin Shrimal <god...@wso2.com> wrote: > >> Hi All, >> >> Do we have a way to do $Subject such as below, same way we are doing with >> Sequence since my endpoint key is in a property. >> >> >> >> >> >> >> Thanks >> Godwin >> >> -- >> *Godwin Amila Shrimal* >> Senior Software Engineer >> WSO2 Inc.; http://wso2.com >> lean.enterprise.middleware >> >> mobile: *+94772264165* >> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>* >> twitter: https://twitter.com/godwinamila >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > -- > Lahiru Sandaruwan > Committer and PMC member, Apache Stratos, > Senior Software Engineer, > WSO2 Inc., http://wso2.com > lean.enterprise.middleware > > phone: +94773325954 > email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 > > -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] ESB Dynamic endpoint support
Hi Godawin, You can set to header, see [1] Thanks. [1] https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/esb/docs/xdoc/faq.xml#mediation-change-ep-dynamic On Tue, Jun 7, 2016 at 2:00 PM, Godwin Shrimal <god...@wso2.com> wrote: > Hi All, > > Do we have a way to do $Subject such as below, same way we are doing with > Sequence since my endpoint key is in a property. > > > > > > > Thanks > Godwin > > -- > *Godwin Amila Shrimal* > Senior Software Engineer > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: *+94772264165* > linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>* > twitter: https://twitter.com/godwinamila > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] What is the Jira project for "carbon-gateway-framework"
Thanks Isuru. On Fri, May 27, 2016 at 12:43 AM, Isuru Udana <isu...@wso2.com> wrote: > Hi Lahiru, > > Jira project is, > > https://wso2.org/jira/browse/CGF > > Readme updated. > > Thanks. > > > On Wed, May 25, 2016 at 9:41 PM, Lahiru Sandaruwan <lahi...@wso2.com> > wrote: > >> Hi, >> >> $subject? Shall we update in Readme? >> >> Thanks. >> >> -- >> -- >> Lahiru Sandaruwan >> Committer and PMC member, Apache Stratos, >> Senior Software Engineer, >> WSO2 Inc., http://wso2.com >> lean.enterprise.middleware >> >> phone: +94773325954 >> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ >> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >> >> > > > -- > *Isuru Udana* > Associate Technical Lead > WSO2 Inc.; http://wso2.com > email: isu...@wso2.com cell: +94 77 3791887 > blog: http://mytecheye.blogspot.com/ > -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] What is the Jira project for "carbon-gateway-framework"
Hi, $subject? Shall we update in Readme? Thanks. -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Architecture] [REST APIs][Analytics] GET request with a payload
Hi all, POST for filterings is not an issue for special cases, as document also clearly confirms. However, I think the decision has to be made on practical use cases. This use case doesn't looks like a complex one. As Ayoma mention, it is a good idea to implement two filters to include and exclude. Considering the practical use, if url length is not a problem(i.e. practically user will not have a requirement to use around 400 columns per search, if we average word length to 5), we should go for GET. Otherwise, we can go for POST. Thanks. On Thu, Mar 24, 2016 at 9:01 AM, Sachith Withana <sach...@wso2.com> wrote: > Hi Gimantha, > > I think the point made by Udara is valid. > Anyways if the user wants to get a selected number of columns, the chances > are it won't exceed the url limit. > ( due to the that number being low). > > Thanks, > Sachith > > On Thu, Mar 24, 2016 at 2:21 PM, Gimantha Bandara <giman...@wso2.com> > wrote: > >> Hi Sanjeewa, >> >> Thank you for the guidelines doc. The exact problem is discussed in 10.2 >> in the above document. We will be filtering the record values in each >> records by providing the required columns, so only those column values will >> be returned with each record. According to the document the POST can be >> used either for updating/creating a resource or for initializing a >> processing function. In our case we will be simply retrieving records but >> need to provide a filter for the record values. So from users perspective, >> it will be doing some processing and returning filtered records. >> >> We can actually implement the following url, but we cannot exactly say if >> it will exceed the url length limit. >> GET /analytics/tables/{tableName}?columns=column1,column2] >> >> Or we can implement something like below, >> >> POST /analytics/tables/tableName/ >> >> { >> from: >> to: >> start: >> count: >> columns :[c1,c2,c3] >> } >> >> or >> >> POST /analytics/ >> >> { >> tableName : >> from: >> to: >> start: >> count: >> columns :[c1,c2,c3] >> } >> >> Considering the url length limit, I think the second option is better. >> WDYT? >> >> On Thu, Mar 24, 2016 at 12:33 PM, Sanjeewa Malalgoda <sanje...@wso2.com> >> wrote: >> >>> Hi Gimantha, >>> Did you refer REST API guidelines document attached in this mail[1] in >>> architecture mailing list. >>> When we develop REST APIs please follow that document and if you see >>> anything missed there please let us know. >>> >>> [1][Architecture] REST API Guidelines >>> >>> >>> Thanks, >>> sanjeewa. >>> >>> On Wed, Mar 23, 2016 at 8:01 PM, Gimantha Bandara <giman...@wso2.com> >>> wrote: >>> >>>> Hi all, >>>> >>>> >>>> We have a REST API in DAS to retrieve records in a specific table. It >>>> supports GET method with the following url format. >>>> >>>> /analytics/tables/{tableName}/{from}/{to}/{start}/{count} >>>> >>>> Sending a GET request to above url will give the records between given >>>> "from", "to" time range starting from index "start" with "count" page >>>> size. >>>> >>>> Now we need to change the API, so that the user can define the record >>>> columns/fields he wants. Current API will return the records with all the >>>> values/columns. To do that, we can allow the user to define the columns he >>>> needs, in the payload. But it seems that having a payload with a GET is not >>>> the convention/the best practice. >>>> >>>> POST can be used to send the column names as a payload, but here we are >>>> not making any updates to {tableName} resource. We will be just retrieving >>>> records using a POST. So it also seems not the convention/the best >>>> practice. >>>> >>>> The only solution I can think of is, having a different resource path >>>> to get the records with only specified fields/columns. Are there any other >>>> solutions? >>>> >>>> Thanks, >>>> Gimantha >>>> >>>> >>>> ___ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>>
Re: [Dev] [Architecture] [REST APIs][Analytics] GET request with a payload
Yes, if it is possible to put the columns names in the url as Ayoma mentioned, we must use that(First i thought it is a complex payload you want to send). Unless there are limitations, like column list doesn't exceed the url length limits, we should use GET. Thanks. On Wed, Mar 23, 2016 at 3:54 PM, Ayoma Wijethunga <ay...@wso2.com> wrote: > Hi, > > It is true that using GET request with a payload is not the best option. > Even though it is not strictly prohibited in specs, it can be confusing > [1]. REST architecture is very open about how we use HTTP methods, but > thinking in terms of REST architecture, I do not think using POST is also > the correct approach here [2] (maybe it is just the personal preference). > > Let me summaries few examples on how others have addressed the same > requirement with GET requests. > > Facebook Graph API is using "field" query parameter for this [3]. For > example : > > Following Graph API call > *https://graph.facebook.com/bgolub?fields=id,name,picture >> <https://graph.facebook.com/bgolub?fields=id,name,picture>* will only >> return the id, name, and picture in Ben's profile >> > > SharePoint syntax is not very eye candy [4][5], but it goes like : > > >> http://server/siteurl/_vti_bin/listdata.svc/DocumentsOne?$select=MyDocumentType,Title,Id&$expand=MyDocumentType >> > > YouTube API has the same in below form [6] : > > Example 1: Retrieve number of items in feed, index of >> first item in result set, and all entries in the feed: >> fields=openSearch:totalResults,openSearch:startIndex,entry >> > > LinkedIn has the same [7] > > >> https://api.linkedin.com/v1/people-search:(people:(id,first-name,last-name,positions:(id,title,summary,start-date,end-date,is-current,company:(id,name,type,size,industry,ticker)) >> > > IMO Facebook Graph API has the cleanest mechanism. > > I believe that if we use a similar format we will not have to introduce > new resource paths. Instead we'll be able to provide all the columns, > unless user specifically request limited set of fields with a query > parameter. WDYT? > > [1] > http://stackoverflow.com/questions/5216567/is-this-statement-correct-http-get-method-always-has-no-message-body > [2] https://spring.io/understanding/REST > [3] > https://developers.facebook.com/docs/graph-api/using-graph-api#fieldexpansion > [4] > http://sharepoint.stackexchange.com/questions/118633/how-to-select-and-filter-list-items-lookup-column-with-sharepoint-2013-rest-feat > [5] > http://platinumdogs.me/2013/03/14/sharepoint-adventures-with-the-rest-api-part-1/ > [6] > https://developers.google.com/youtube/2.0/developers_guide_protocol_partial#Fields_Formatting_Rules > [7] https://developer.linkedin.com/docs/fields?u=0 > > Best Regards, > Ayoma. > > On Wed, Mar 23, 2016 at 8:13 PM, Lahiru Sandaruwan <lahi...@wso2.com> > wrote: > >> Hi, >> >> I think using a POST with a body, for retrieving information is fine >> considering the requirement. GET with body is not recommended. >> >> Thanks. >> >> On Wed, Mar 23, 2016 at 2:31 PM, Gimantha Bandara <giman...@wso2.com> >> wrote: >> >>> Hi all, >>> >>> >>> We have a REST API in DAS to retrieve records in a specific table. It >>> supports GET method with the following url format. >>> >>> /analytics/tables/{tableName}/{from}/{to}/{start}/{count} >>> >>> Sending a GET request to above url will give the records between given >>> "from", "to" time range starting from index "start" with "count" page >>> size. >>> >>> Now we need to change the API, so that the user can define the record >>> columns/fields he wants. Current API will return the records with all the >>> values/columns. To do that, we can allow the user to define the columns he >>> needs, in the payload. But it seems that having a payload with a GET is not >>> the convention/the best practice. >>> >>> POST can be used to send the column names as a payload, but here we are >>> not making any updates to {tableName} resource. We will be just retrieving >>> records using a POST. So it also seems not the convention/the best practice. >>> >>> The only solution I can think of is, having a different resource path to >>> get the records with only specified fields/columns. Are there any other >>> solutions? >>> >>> Thanks, >>> Gimantha >>> >>> >>> ___ >>> Architecture mailing l
Re: [Dev] [Architecture] [REST APIs][Analytics] GET request with a payload
Hi, I think using a POST with a body, for retrieving information is fine considering the requirement. GET with body is not recommended. Thanks. On Wed, Mar 23, 2016 at 2:31 PM, Gimantha Bandara <giman...@wso2.com> wrote: > Hi all, > > > We have a REST API in DAS to retrieve records in a specific table. It > supports GET method with the following url format. > > /analytics/tables/{tableName}/{from}/{to}/{start}/{count} > > Sending a GET request to above url will give the records between given > "from", "to" time range starting from index "start" with "count" page > size. > > Now we need to change the API, so that the user can define the record > columns/fields he wants. Current API will return the records with all the > values/columns. To do that, we can allow the user to define the columns he > needs, in the payload. But it seems that having a payload with a GET is not > the convention/the best practice. > > POST can be used to send the column names as a payload, but here we are > not making any updates to {tableName} resource. We will be just retrieving > records using a POST. So it also seems not the convention/the best practice. > > The only solution I can think of is, having a different resource path to > get the records with only specified fields/columns. Are there any other > solutions? > > Thanks, > Gimantha > > > ___ > Architecture mailing list > architect...@wso2.org > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Adding K8S artifacts for WSO2 AM Gateway worker/manager separation
Hi, I added $subject in PR[1]. Please review and merge. [1] https://github.com/wso2/kubernetes-artifacts/pull/11 Thanks. -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [wso2/puppet-modules] Puppet CERT error
>>>> Error: Could not retrieve catalog; skipping run >>>> Error: Could not send report: SSL_connect returned=1 errno=0 >>>> state=SSLv3 read server certificate B: certificate verify failed: >>>> [certificate revoked for /CN=apim-2.openstacklocal] >>>> >>>> [1] >>>> https://github.com/wso2/puppet-modules/wiki/Use-WSO2-Puppet-Modules-in-puppet-master-agent-Environment >>>> >>>> Thanks, >>>> >>>> -- >>>> *Bhathiya Jayasekara* >>>> *Senior Software Engineer,* >>>> *WSO2 inc., http://wso2.com <http://wso2.com>* >>>> >>>> *Phone: +94715478185 <%2B94715478185>* >>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj >>>> <http://www.linkedin.com/in/bhathiyaj>* >>>> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* >>>> *Blog: http://movingaheadblog.blogspot.com >>>> <http://movingaheadblog.blogspot.com/>* >>>> >>>> ___ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> *Pubudu Gunatilaka* >>> Committer and PMC Member - Apache Stratos >>> Software Engineer >>> WSO2, Inc.: http://wso2.com >>> mobile : +94774079049 <%2B94772207163> >>> >>> >> >> >> -- >> *Bhathiya Jayasekara* >> *Senior Software Engineer,* >> *WSO2 inc., http://wso2.com <http://wso2.com>* >> >> *Phone: +94715478185 <%2B94715478185>* >> *LinkedIn: http://www.linkedin.com/in/bhathiyaj >> <http://www.linkedin.com/in/bhathiyaj>* >> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* >> *Blog: http://movingaheadblog.blogspot.com >> <http://movingaheadblog.blogspot.com/>* >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Sajith Kariyawasam > *Committer and PMC member, Apache Stratos, * > *WSO2 Inc.; http://wso2.com <http://wso2.com>* > *Mobile: 0772269575 <0772269575>* > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Pubudu Gunatilaka
Congratz Pubudu! On Mon, Nov 30, 2015 at 10:47 PM, Imesh Gunaratne <im...@wso2.com> wrote: > Hi Devs, > > It's my pleasure to announce Pubudu as a WSO2 committer. Pubudu has made > great contributions to Apache Stratos & WSO2 Private PaaS. As a recognition > of his work he has been voted as a WSO2 committer. > > Pubudu, welcome aboard! Keep up the good work! > > Thanks > -- > *Imesh Gunaratne* > Senior Technical Lead > WSO2 Inc: http://wso2.com > T: +94 11 214 5345 M: +94 77 374 2057 > W: http://imesh.gunaratne.org > Lean . Enterprise . Middleware > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error in MB 3.0.0 Alpha
Hi Pumudu, Just run Sender and Receiver in the attached client. Thanks. On Fri, Jul 10, 2015 at 12:29 PM, Pumudu Ruhunage pum...@wso2.com wrote: Hi Lahiru, Can you please provide the load test scenario you used to reproduce it? Thanks, On Fri, Jul 10, 2015 at 11:50 AM, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi Hemika, Attached the Java client. Thanks. On Fri, Jul 10, 2015 at 11:20 AM, Hemika Kodikara hem...@wso2.com wrote: Hi Lahiru, Can you attach the client implementation ? Regards, Hemika Hemika Kodikara Software Engineer WSO2 Inc. lean . enterprise . middleware http://wso2.com Mobile : +9477762 On Fri, Jul 10, 2015 at 10:59 AM, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi, I was running a load test and found the error [1]. Is this a known error? Thanks. [1] [2015-07-10 10:55:10,727] INFO {org.wso2.andes.subscription.SubscriptionStore} - New local subscription ADDED [QU001]ID=4@NODELahirus-MacBook-Pro-2.local/ 10.100.1.152/T=1436505910725/D=true/X=false/O=null/E=amq.direct/ET=org.wso2.andes.server.exchange.DirectExchange$1@55a991d1/EUD=0/S=true [2015-07-10 10:55:23,131] INFO {org.wso2.andes.subscription.SubscriptionStore} - Local Subscription Removed [QU001]ID=4@NODELahirus-MacBook-Pro-2.local/ 10.100.1.152/T=1436505921201/D=true/X=false/O=null/E=amq.direct/ET=org.wso2.andes.server.exchange.DirectExchange$1@55a991d1/EUD=0/S=false [2015-07-10 10:56:10,123] INFO {org.wso2.andes.subscription.SubscriptionStore} - New local subscription ADDED [QU001]ID=5@NODELahirus-MacBook-Pro-2.local/ 10.100.1.152/T=1436505970121/D=true/X=false/O=null/E=amq.direct/ET=org.wso2.andes.server.exchange.DirectExchange$1@55a991d1/EUD=0/S=true [2015-07-10 10:56:10,266] ERROR {org.wso2.andes.kernel.distruptor.LogExceptionHandler} - [ Sequence: 330294 ] Exception occurred while processing inbound events.Event type: ACKNOWLEDGEMENT_EVENT java.lang.NullPointerException at org.wso2.andes.kernel.OnflightMessageTracker$MsgData.decrementDeliveryCount(OnflightMessageTracker.java:211) at org.wso2.andes.kernel.OnflightMessageTracker$MsgData.access$700(OnflightMessageTracker.java:117) at org.wso2.andes.kernel.OnflightMessageTracker.handleAckReceived(OnflightMessageTracker.java:399) at org.wso2.andes.kernel.distruptor.inbound.AckHandler.ackReceived(AckHandler.java:104) at org.wso2.andes.kernel.distruptor.inbound.AckHandler.onEvent(AckHandler.java:83) at org.wso2.andes.kernel.distruptor.ConcurrentBatchEventHandler.onEvent(ConcurrentBatchEventHandler.java:127) at org.wso2.andes.kernel.distruptor.ConcurrentBatchEventHandler.onEvent(ConcurrentBatchEventHandler.java:37) at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:128) 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) [2015-07-10 10:56:10,997] ERROR {org.wso2.andes.kernel.distruptor.LogExceptionHandler} - [ Sequence: 333063 ] Exception occurred while processing inbound events.Event type: STATE_CHANGE_EVENT java.lang.NullPointerException at org.wso2.andes.kernel.OnflightMessageTracker$MsgData.decrementDeliveryCount(OnflightMessageTracker.java:211) at org.wso2.andes.kernel.OnflightMessageTracker$MsgData.access$700(OnflightMessageTracker.java:117) at org.wso2.andes.kernel.OnflightMessageTracker.handleAckReceived(OnflightMessageTracker.java:399) at org.wso2.andes.kernel.distruptor.inbound.AckHandler.ackReceived(AckHandler.java:104) at org.wso2.andes.kernel.distruptor.inbound.AckHandler.onEvent(AckHandler.java:83) at org.wso2.andes.kernel.distruptor.ConcurrentBatchEventHandler.onEvent(ConcurrentBatchEventHandler.java:127) at org.wso2.andes.kernel.distruptor.ConcurrentBatchEventHandler.onEvent(ConcurrentBatchEventHandler.java:37) at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:128) 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) [2015-07-10 10:56:11,000] ERROR {org.wso2.andes.kernel.distruptor.LogExceptionHandler} - [ Sequence: 333163 ] Exception occurred while processing inbound events.Event type: ACKNOWLEDGEMENT_EVENT java.lang.NullPointerException at org.wso2.andes.kernel.OnflightMessageTracker$MsgData.decrementDeliveryCount(OnflightMessageTracker.java:211) at org.wso2.andes.kernel.OnflightMessageTracker$MsgData.access$700(OnflightMessageTracker.java:117) at org.wso2.andes.kernel.OnflightMessageTracker.handleAckReceived(OnflightMessageTracker.java:399) at org.wso2.andes.kernel.distruptor.inbound.AckHandler.ackReceived(AckHandler.java:104) at org.wso2.andes.kernel.distruptor.inbound.AckHandler.onEvent(AckHandler.java:83) at org.wso2.andes.kernel.distruptor.ConcurrentBatchEventHandler.onEvent
[Dev] Error in MB 3.0.0 Alpha
$MsgData.access$700(OnflightMessageTracker.java:117) at org.wso2.andes.kernel.OnflightMessageTracker.handleAckReceived(OnflightMessageTracker.java:399) at org.wso2.andes.kernel.distruptor.inbound.AckHandler.ackReceived(AckHandler.java:104) at org.wso2.andes.kernel.distruptor.inbound.AckHandler.onEvent(AckHandler.java:83) at org.wso2.andes.kernel.distruptor.ConcurrentBatchEventHandler.onEvent(ConcurrentBatchEventHandler.java:127) at org.wso2.andes.kernel.distruptor.ConcurrentBatchEventHandler.onEvent(ConcurrentBatchEventHandler.java:37) at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:128) 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) -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [GSoC-2015] Showing health statistics in GUI
Great work Ashan. On Thu, Jul 9, 2015 at 2:39 PM, Ashan Dhananjaya dhananjay...@gmail.com wrote: Hi All, I was able to take the timestamp from the cartridge agent (WSO2CEPHealthStatisticsPublisher and WSO2CEPInFlightRequestPublisher) to CEP PayLoad definition.Git Hub commits can be found here[1], [2]. Currently working on sending the timestamp to the RDBMS without conflicting execution plans. I have included the read-me [2] file to the cep extensions how to configure should happen for the Health Stat publishing to the RDBMS. [1]= https://github.com/apache/stratos/commit/4c65e705be822fd420b4e48ebafef789c8686b76 [2]= https://github.com/apache/stratos/commit/e09334cd98f245a4633c992f02db2878ac24d3d0 [3]= https://github.com/apache/stratos/commit/5ca895ef030f6aaeba56183d982aa5ae95db9337 Thank You! Best Regards, Ashan On Tue, Jul 7, 2015 at 1:13 PM, Lasantha Fernando lasantha@gmail.com wrote: Hi Ashan, Currently, you would not be able to get the timestamp out of the event unless you use a databridge agent callback. In that case, you can use Java code to simply get by calling event.getTimestamp(). However, if you want to use the timestamp as an attribute while doing processing within CEP, you would have to pass the timestamp as an attribute of the stream. i.e. add it as an attribute of either meta, correlation or payload data. Then you can use that timestamp and format the output event as necessary. Thanks, Lasantha On Tue, Jul 7, 2015 at 1:04 PM, Ashan Dhananjaya dhananjay...@gmail.com wrote: Hi All, I applied the above patch and get the timestamp in the Input Adapter. The formatter i used was member_average_memory_consumption_stats:1.0.0. I tried several time to get the timeStamp attribute but failed. Is there any way to get a data which is outside in the payload? The Input stream is as below, 10:40:27,757 [-] [DataBridge-Core-pool-2-thread-1] INFO TenantId=-1234 : Input Event Adaptor : DefaultWSO2EventInputAdaptor, received Event{ streamId='cartridge_agent_health_stats:1.0.0', timeStamp=1436245827731, metaData=null, correlationData=null, payloadData=[single-cartridge-app.my-php.php.domain, single-cartridge-app-1, network-partition-1, single-cartridge-app.my-php.php.domaina5598e2b-995f-4620-b652-e66341e24c99, partition-1, memory_consumption, 20.0], arbitraryDataMap={}, } Any help will be really appreciated. Thank You! Best Regards, Ashan On Tue, Jul 7, 2015 at 9:32 AM, Chamila De Alwis chami...@wso2.com wrote: Hi Ashan, As I've seen from the PCA testing recently, the timestamp is added to every ThriftEvent before publishing. Are you working on PCA or the Mock IaaS? I took a look at the Mock IaaS and the WSO2CEPStatisticsPublisher as well, and found out that the latter indeed doesn't add the timestamp to the ThriftEvents. This means that the JCA also publishes Thrift Events with empty timestamp fields. Following is the simple fix for that. I've attached the patch herewith. Could you quickly verify with the patch applied build also? chamilad@chamilad-ThinkPad-T530:~/dev/stratos[master *]$ git diff diff --git a/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/statistics/publisher/wso2/cep/WSO2CEPStatisticsPublisher.java b/c index 653288d..f1fe426 100644 --- a/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/statistics/publisher/wso2/cep/WSO2CEPStatisticsPublisher.java +++ b/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/statistics/publisher/wso2/cep/WSO2CEPStatisticsPublisher.java @@ -29,6 +29,7 @@ import org.wso2.carbon.databridge.agent.thrift.exception.AgentException; import org.wso2.carbon.databridge.commons.Event; import org.wso2.carbon.databridge.commons.StreamDefinition; +import java.util.Date; import java.util.HashMap; /** @@ -98,6 +99,7 @@ public class WSO2CEPStatisticsPublisher implements StatisticsPublisher { Event event = new Event(); event.setPayloadData(payload); +event.setTimeStamp(new Date().getTime()); event.setArbitraryDataMap(new HashMapString, String()); try { Regards, Chamila de Alwis Committer and PMC Member - Apache Stratos Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] PPaaS configurator doesn't pick all the payload parameters
Hi Anuruddha, I see two options to do this, 1. Mandate to the parameters to be started with CONFIG_PARAMS and pick those from environment variables, as we discussed offline 2. Scan through the templates and get placeholders to search environment variables Wdyt? Thanks. On Thu, Jun 25, 2015 at 10:09 AM, Imesh Gunaratne im...@wso2.com wrote: I see a problem with the existing logic. IMO configurator should give priority to the environment variables if that option is enabled. Requiring to comment variables in module.ini is an overhead. Thanks On Thursday, June 25, 2015, Anuruddha Liyanarachchi anurudd...@wso2.com wrote: Hi Lahiru, If we do that we will always have to set all the parameters. On Thu, Jun 25, 2015 at 8:23 AM, Lahiru Sandaruwan lahi...@wso2.com wrote: Ah.. I see, Thanks. Shall we make it read those values even if those values are commented in module.ini? Thanks. On Thu, Jun 25, 2015 at 8:14 AM, Anuruddha Liyanarachchi anurudd...@wso2.com wrote: Hi Lahiru, It looks like you haven't un-comment the line in module.ini. You need to uncomment the lines relevant to the parameters you are sending as payload, then only configurator will read those from environment and override the value with environment value. Thanks, On Thu, Jun 25, 2015 at 12:25 AM, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi, I have sent parameters that are required to configure ESB cluster in payload as at [1]. Payload contains all the values i sent. But the configurator only picks few, as per the log [2]. Any idea, on what i might be doing wrong? Thanks. [1] CONFIG_PARAM_CLUSTERING=true, CONFIG_PARAM_REGISTRY_DB_PASSWORD=asdfs, CONFIG_PARAM_WKA_MEMBERS=127.0.0.1:4000, CONFIG_PARAM_REGISTRY_DB_USER_NAME=root, CONFIG_PARAM_REGISTRY_DB_URL=jdbc:mysql:// 172.17.8.1:3306/reg_db?autoReconnect=true, CONFIG_PARAM_USER_MGT_DB_USER_NAME=root, CONFIG_PARAM_DRIVER_CLASS_NAME=com.mysql.jdbc.Driver, CONFIG_PARAM_PT_HTTP_PROXY_PORT=8280, CONFIG_PARAM_LOCAL_MEMBER_HOST=127.0.0.1, CONFIG_PARAM_PT_HTTPS_PROXY_PORT=8243, CONFIG_PARAM_PORT_OFFSET=0, START_CMD=PCA, CONFIG_PARAM_DOMAIN=wso2.esb.com, CONFIG_PARAM_USER_MGT_DB_PASSWORD=asdf, CONFIG_PARAM_MEMBERSHIP_SCHEME=wka, CONFIG_PARAM_USER_MGT_DB_URL=jdbc:mysql://172.17.8.1:3306/user_db, CONFIG_PARAM_LOCAL_MEMBER_PORT=4100 [2] 2015-06-24 18:15:43,408 __main__ INFO Context generated: {'CONFIG_PARAM_DOMAIN': 'wso2.esb.com', 'CONFIG_PARAM_LOCAL_MEMBER_PORT': '4100', 'CONFIG_PARAM_LOCAL_MEMBER_HOST': '127.0.0.1', 'CONFIG_PARAM_WKA_MEMBERS': {'127.0.0.1': '4000'}, 'CONFIG_PARAM_PORT_OFFSET': '0', 'CONFIG_PARAM_SUB_DOMAIN': 'worker', 'CONFIG_PARAM_MEMBERSHIP_SCHEME': 'wka', 'CONFIG_PARAM_CLUSTERING': 'true', 'CONFIG_PARAM_PT_HTTP_PROXY_PORT': '8280', 'CONFIG_PARAM_PT_HTTPS_PROXY_PORT': '8243'} -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- *Thanks and Regards,* Anuruddha Lanka Liyanarachchi Software Engineer - WSO2 Mobile : +94 (0) 712762611 Tel : +94 112 145 345 anurudd...@wso2.com -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- *Thanks and Regards,* Anuruddha Lanka Liyanarachchi Software Engineer - WSO2 Mobile : +94 (0) 712762611 Tel : +94 112 145 345 anurudd...@wso2.com -- *Imesh Gunaratne* Senior Technical Lead WSO2 Inc: http://wso2.com T: +94 11 214 5345 M: +94 77 374 2057 W: http://imesh.gunaratne.org Lean . Enterprise . Middleware -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] PPaaS configurator doesn't pick all the payload parameters
Hi, I have sent parameters that are required to configure ESB cluster in payload as at [1]. Payload contains all the values i sent. But the configurator only picks few, as per the log [2]. Any idea, on what i might be doing wrong? Thanks. [1] CONFIG_PARAM_CLUSTERING=true, CONFIG_PARAM_REGISTRY_DB_PASSWORD=asdfs, CONFIG_PARAM_WKA_MEMBERS=127.0.0.1:4000, CONFIG_PARAM_REGISTRY_DB_USER_NAME=root, CONFIG_PARAM_REGISTRY_DB_URL=jdbc:mysql:// 172.17.8.1:3306/reg_db?autoReconnect=true, CONFIG_PARAM_USER_MGT_DB_USER_NAME=root, CONFIG_PARAM_DRIVER_CLASS_NAME=com.mysql.jdbc.Driver, CONFIG_PARAM_PT_HTTP_PROXY_PORT=8280, CONFIG_PARAM_LOCAL_MEMBER_HOST=127.0.0.1, CONFIG_PARAM_PT_HTTPS_PROXY_PORT=8243, CONFIG_PARAM_PORT_OFFSET=0, START_CMD=PCA, CONFIG_PARAM_DOMAIN=wso2.esb.com, CONFIG_PARAM_USER_MGT_DB_PASSWORD=asdf, CONFIG_PARAM_MEMBERSHIP_SCHEME=wka, CONFIG_PARAM_USER_MGT_DB_URL=jdbc:mysql://172.17.8.1:3306/user_db, CONFIG_PARAM_LOCAL_MEMBER_PORT=4100 [2] 2015-06-24 18:15:43,408 __main__ INFO Context generated: {'CONFIG_PARAM_DOMAIN': 'wso2.esb.com', 'CONFIG_PARAM_LOCAL_MEMBER_PORT': '4100', 'CONFIG_PARAM_LOCAL_MEMBER_HOST': '127.0.0.1', 'CONFIG_PARAM_WKA_MEMBERS': {'127.0.0.1': '4000'}, 'CONFIG_PARAM_PORT_OFFSET': '0', 'CONFIG_PARAM_SUB_DOMAIN': 'worker', 'CONFIG_PARAM_MEMBERSHIP_SCHEME': 'wka', 'CONFIG_PARAM_CLUSTERING': 'true', 'CONFIG_PARAM_PT_HTTP_PROXY_PORT': '8280', 'CONFIG_PARAM_PT_HTTPS_PROXY_PORT': '8243'} -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] PPaaS configurator doesn't pick all the payload parameters
Ah.. I see, Thanks. Shall we make it read those values even if those values are commented in module.ini? Thanks. On Thu, Jun 25, 2015 at 8:14 AM, Anuruddha Liyanarachchi anurudd...@wso2.com wrote: Hi Lahiru, It looks like you haven't un-comment the line in module.ini. You need to uncomment the lines relevant to the parameters you are sending as payload, then only configurator will read those from environment and override the value with environment value. Thanks, On Thu, Jun 25, 2015 at 12:25 AM, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi, I have sent parameters that are required to configure ESB cluster in payload as at [1]. Payload contains all the values i sent. But the configurator only picks few, as per the log [2]. Any idea, on what i might be doing wrong? Thanks. [1] CONFIG_PARAM_CLUSTERING=true, CONFIG_PARAM_REGISTRY_DB_PASSWORD=asdfs, CONFIG_PARAM_WKA_MEMBERS=127.0.0.1:4000, CONFIG_PARAM_REGISTRY_DB_USER_NAME=root, CONFIG_PARAM_REGISTRY_DB_URL=jdbc:mysql:// 172.17.8.1:3306/reg_db?autoReconnect=true, CONFIG_PARAM_USER_MGT_DB_USER_NAME=root, CONFIG_PARAM_DRIVER_CLASS_NAME=com.mysql.jdbc.Driver, CONFIG_PARAM_PT_HTTP_PROXY_PORT=8280, CONFIG_PARAM_LOCAL_MEMBER_HOST=127.0.0.1, CONFIG_PARAM_PT_HTTPS_PROXY_PORT=8243, CONFIG_PARAM_PORT_OFFSET=0, START_CMD=PCA, CONFIG_PARAM_DOMAIN=wso2.esb.com, CONFIG_PARAM_USER_MGT_DB_PASSWORD=asdf, CONFIG_PARAM_MEMBERSHIP_SCHEME=wka, CONFIG_PARAM_USER_MGT_DB_URL=jdbc:mysql://172.17.8.1:3306/user_db, CONFIG_PARAM_LOCAL_MEMBER_PORT=4100 [2] 2015-06-24 18:15:43,408 __main__ INFO Context generated: {'CONFIG_PARAM_DOMAIN': 'wso2.esb.com', 'CONFIG_PARAM_LOCAL_MEMBER_PORT': '4100', 'CONFIG_PARAM_LOCAL_MEMBER_HOST': '127.0.0.1', 'CONFIG_PARAM_WKA_MEMBERS': {'127.0.0.1': '4000'}, 'CONFIG_PARAM_PORT_OFFSET': '0', 'CONFIG_PARAM_SUB_DOMAIN': 'worker', 'CONFIG_PARAM_MEMBERSHIP_SCHEME': 'wka', 'CONFIG_PARAM_CLUSTERING': 'true', 'CONFIG_PARAM_PT_HTTP_PROXY_PORT': '8280', 'CONFIG_PARAM_PT_HTTPS_PROXY_PORT': '8243'} -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- *Thanks and Regards,* Anuruddha Lanka Liyanarachchi Software Engineer - WSO2 Mobile : +94 (0) 712762611 Tel : +94 112 145 345 a thili...@wso2.comnurudd...@wso2.com -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Private PaaS product pack name
On Wed, May 27, 2015 at 11:49 AM, Udara Liyanage ud...@wso2.com wrote: Hi, We need to rename stratos.sh to wso2server.sh then? +1 On Wed, May 27, 2015 at 10:56 AM, Imesh Gunaratne im...@wso2.com wrote: +1 for naming the product as wso2ppaas-4.1.0. On Wed, May 27, 2015 at 10:53 AM, Lahiru Sandaruwan lahi...@wso2.com wrote: IMO we should rename it to ppaas*. Thanks. On Wed, May 27, 2015 at 10:50 AM, Udara Liyanage ud...@wso2.com wrote: Hi, Since we clone Stratos in PP 400, the name of the product was Stratos. However since we are not cloning Stratos code base, but just create a new product with existing features except for UI, are we going to rename the product or keep the same name as in 400? -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- *Imesh Gunaratne* Senior Technical Lead WSO2 Inc: http://wso2.com T: +94 11 214 5345 M: +94 77 374 2057 W: http://imesh.gunaratne.org Lean . Enterprise . Middleware -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Private PaaS product pack name
IMO we should rename it to ppaas*. Thanks. On Wed, May 27, 2015 at 10:50 AM, Udara Liyanage ud...@wso2.com wrote: Hi, Since we clone Stratos in PP 400, the name of the product was Stratos. However since we are not cloning Stratos code base, but just create a new product with existing features except for UI, are we going to rename the product or keep the same name as in 400? -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ML] Predicted vs. actuals chart in model summary
Hi, I'm not sure the kind of data set you are looking for. But we have a real use case of predicting and also the actual data relevant to predicted time, in Stratos. Load average, memory consumption, and requests in flight are predicted currently in Stratos, and we use CEP to receive those data. Thanks On Fri, May 22, 2015 at 2:43 PM, Supun Sethunga sup...@wso2.com wrote: Can we take a random sample from the test data and use that for this process? --Srianth +1 AFAIK, we are doing a similar thing to the ROC curve points too.. Regards, Supun On Fri, May 22, 2015 at 2:28 PM, CD Athuraliya chathur...@wso2.com wrote: Hi Srinath, Still that random sample will not correspond to predicted vs. actual values in test results. Given that there is no mapping between random sample data points and test result points. One thing we can do is running test separately (using the same model) for sampled data for the sole purpose of visualization. Any other options? On Fri, May 22, 2015 at 2:06 PM, Srinath Perera srin...@wso2.com wrote: Hi CD, Can we take a random sample from the test data and use that for this process? --Srianth On Fri, May 22, 2015 at 12:00 PM, CD Athuraliya chathur...@wso2.com wrote: Hi all, To implement $subject in ML we need all feature values of the dataset against predicted and actual values for test data. But Spark only returns predicted and actual values as test results. Right now we use random 10,000 data rows for other visualizations and we cannot use same data for this visualization since that random 10,000 data does not correspond to test data (test data is a subtracted from dataset according to the train data fraction at model building stage). One option is to persist test data at testing stage, but it can be too large for some datasets according to train data fraction. Appreciate if you can give your comments on this. Thanks, CD -- *CD Athuraliya* Software Engineer WSO2, Inc. lean . enterprise . middleware Mobile: +94 716288847 94716288847 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter https://twitter.com/cdathuraliya | Blog http://cdathuraliya.tumblr.com/ -- Blog: http://srinathsview.blogspot.com twitter:@srinath_perera Site: http://people.apache.org/~hemapani/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 -- *CD Athuraliya* Software Engineer WSO2, Inc. lean . enterprise . middleware Mobile: +94 716288847 94716288847 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter https://twitter.com/cdathuraliya | Blog http://cdathuraliya.tumblr.com/ -- *Supun Sethunga* Software Engineer WSO2, Inc. http://wso2.com/ lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please Merge PR [PPasS] [Configurator]
Reviewing. Thanks. On Fri, May 8, 2015 at 2:31 PM, Anuruddha Liyanarachchi anurudd...@wso2.com wrote: Hi, $subject please for [1]. [1]https://github.com/wso2/product-private-paas/pull/69 -- *Thanks and Regards,* Anuruddha Lanka Liyanarachchi Software Engineer - WSO2 Mobile : +94 (0) 712762611 Tel : +94 112 145 345 a thili...@wso2.comnurudd...@wso2.com -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Time series Siddhi extension use Apache commons math functions?
Hi, $subject... [1] has a set of functions that are available. I see Siddhi extension use commons math library, but could not find it is using these functions. Thanks. [1] http://commons.apache.org/proper/commons-math/userguide/stat.html -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Store mediator defined in sequence template adds a namespace to the message automatically
Created a Jira for this... https://wso2.org/jira/browse/ESBJAVA-3350 On Mon, Oct 6, 2014 at 10:16 AM, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi Anjana, I tried that. But when i save, declaration of namespace http://ws.apache.org/ns/synapse; goes away(does note get saved). That is the issue. Thanks On Mon, Oct 6, 2014 at 6:53 AM, Anjana Fernando anj...@wso2.com wrote: Hi Lahiru, You can run an Xpath in the usual way for this message also; In the place you define the expression, simply first declare the namespace http://ws.apache.org/ns/synapse; with a namespace prefix, e.g. ns1, and you can put Xpath expressions with that namespace prefix, e.g. /ns1:file/ns1:endpoint/ns1:host. Cheers, Anjana. On Sun, Oct 5, 2014 at 5:05 PM, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi guys, Is $subject a bug? Store get changed to following automatically, axis2ns9:store xmlns:axis2ns9=http://ws.apache.org/ns/synapse; messageStore=A/axis2ns9:store I receive this message to a proxy defined in ESB, and the message has this namespace. E.g. file xmlns=http://ws.apache.org/ns/synapse; endpoint hostmyftphost/host usernameusername/username /endpoint /file This namespace is a special one, which is used to define all synapse configs. Is there a way to run a Xpath to access elements in this message? Thanks. -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- *Anjana Fernando* Senior Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Store mediator defined in sequence template adds a namespace to the message automatically
Thanks Anjana. On Mon, Oct 6, 2014 at 7:15 PM, Anjana Fernando anj...@wso2.com wrote: H Lahiru, Yeah, I see, for this, we can give the namespace in the Xpath itself, like the following:- property name=host expression=//*[local-name()='host' and namespace-uri()='http://ws.apache.org/ns/synapse']/ Cheers, Anjana. On Mon, Oct 6, 2014 at 9:36 AM, Lahiru Sandaruwan lahi...@wso2.com wrote: Created a Jira for this... https://wso2.org/jira/browse/ESBJAVA-3350 On Mon, Oct 6, 2014 at 10:16 AM, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi Anjana, I tried that. But when i save, declaration of namespace http://ws.apache.org/ns/synapse; goes away(does note get saved). That is the issue. Thanks On Mon, Oct 6, 2014 at 6:53 AM, Anjana Fernando anj...@wso2.com wrote: Hi Lahiru, You can run an Xpath in the usual way for this message also; In the place you define the expression, simply first declare the namespace http://ws.apache.org/ns/synapse; with a namespace prefix, e.g. ns1, and you can put Xpath expressions with that namespace prefix, e.g. /ns1:file/ns1:endpoint/ns1:host. Cheers, Anjana. On Sun, Oct 5, 2014 at 5:05 PM, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi guys, Is $subject a bug? Store get changed to following automatically, axis2ns9:store xmlns:axis2ns9=http://ws.apache.org/ns/synapse; messageStore=A/axis2ns9:store I receive this message to a proxy defined in ESB, and the message has this namespace. E.g. file xmlns=http://ws.apache.org/ns/synapse; endpoint hostmyftphost/host usernameusername/username /endpoint /file This namespace is a special one, which is used to define all synapse configs. Is there a way to run a Xpath to access elements in this message? Thanks. -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- *Anjana Fernando* Senior Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- *Anjana Fernando* Senior Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Store mediator defined in sequence template adds a namespace to the message automatically
Hi guys, Is $subject a bug? Store get changed to following automatically, axis2ns9:store xmlns:axis2ns9=http://ws.apache.org/ns/synapse; messageStore=A/axis2ns9:store I receive this message to a proxy defined in ESB, and the message has this namespace. E.g. file xmlns=http://ws.apache.org/ns/synapse; endpoint hostmyftphost/host usernameusername/username /endpoint /file This namespace is a special one, which is used to define all synapse configs. Is there a way to run a Xpath to access elements in this message? Thanks. -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Store mediator defined in sequence template adds a namespace to the message automatically
Hi Anjana, I tried that. But when i save, declaration of namespace http://ws.apache.org/ns/synapse; goes away(does note get saved). That is the issue. Thanks On Mon, Oct 6, 2014 at 6:53 AM, Anjana Fernando anj...@wso2.com wrote: Hi Lahiru, You can run an Xpath in the usual way for this message also; In the place you define the expression, simply first declare the namespace http://ws.apache.org/ns/synapse; with a namespace prefix, e.g. ns1, and you can put Xpath expressions with that namespace prefix, e.g. /ns1:file/ns1:endpoint/ns1:host. Cheers, Anjana. On Sun, Oct 5, 2014 at 5:05 PM, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi guys, Is $subject a bug? Store get changed to following automatically, axis2ns9:store xmlns:axis2ns9=http://ws.apache.org/ns/synapse; messageStore=A/axis2ns9:store I receive this message to a proxy defined in ESB, and the message has this namespace. E.g. file xmlns=http://ws.apache.org/ns/synapse; endpoint hostmyftphost/host usernameusername/username /endpoint /file This namespace is a special one, which is used to define all synapse configs. Is there a way to run a Xpath to access elements in this message? Thanks. -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- *Anjana Fernando* Senior Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Enable domain based throttling for API Manager
Thanks Ratha. On Thu, Sep 11, 2014 at 11:37 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Lahiru; I checked the code, looks we check for Domain too.. You can simply define a throttle policy for domain and check.. To test this, if you face difficulty on how to set domain param, you can write simple axishandler and keep that @inflow and set REMOTE_HOST parameter with the configured domain value.. If that works, we will update doc too..:) Thanks. On 10 September 2014 17:54, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi, [1] explains how we can manage throttling policy for IP based throttling using a WS-Policy. Same manner, we should be able to support domain based throttling for APIs. As per [2], we can using domain attribute as follows. throttle:ID throttle:type=DOMAIN*.wso2.org/throttle:ID Is it just missing in the docs or are we depending on a API Manager component on this? Thanks. [1] https://docs.wso2.com/display/AM170/Managing+Throttling+Tiers#ManagingThrottlingTiers-HowtowriteathrottlingpolicyandengageittoAPIs [2] http://wso2.com/library/articles/wso2-throttling/ -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- -Ratha -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Admin user cannot login to APIM 1.7 store and publisher after changing password from GUI
Thanks Nuwan, Is it possible to bring it to an one place, in a next release? Thanks. On Sat, Jul 26, 2014 at 10:51 PM, Nuwan Dias nuw...@wso2.com wrote: Hi Lahiru, You need to change the admin credentials that are specified in the api-manager.xml as well. Thanks, NuwanD. On Sun, Jul 27, 2014 at 10:02 AM, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi, Following message is printed in GUI, *Unable to log you in!* Login failed.Insufficient Privileges. Following is the backend error, [2014-07-26 21:29:12,294] WARN - CarbonAuthenticationUtil Failed Administrator login attempt 'admin[-1234]' at [2014-07-26 21:29:12,293-0700] [2014-07-26 21:29:12,295] WARN - AuthenticationHandler Illegal access attempt at [2014-07-26 21:29:12,0294] from IP address 172.20.14.43 while trying to authenticate access to service RemoteAuthorizationManagerService [2014-07-26 21:29:12,295] ERROR - AUDIT_LOG Illegal access attempt at [2014-07-26 21:29:12,0294] from IP address 172.20.14.43 while trying to authenticate access to service RemoteAuthorizationManagerService [2014-07-26 21:29:12,299] ERROR - APIStoreHostObject Login failed.Insufficient Privileges. [2014-07-26 21:29:53,956] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2014-07-26 21:29:53,955-0700] [2014-07-26 21:29:54,003] WARN - CarbonAuthenticationUtil Failed Administrator login attempt 'admin[-1234]' at [2014-07-26 21:29:54,003-0700] [2014-07-26 21:29:54,039] WARN - AuthenticationHandler Illegal access attempt at [2014-07-26 21:29:54,0039] from IP address 172.20.14.43 while trying to authenticate access to service RemoteAuthorizationManagerService Thanks. -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ 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 -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Admin user cannot login to APIM 1.7 store and publisher after changing password from GUI
Hi, Following message is printed in GUI, *Unable to log you in!* Login failed.Insufficient Privileges. Following is the backend error, [2014-07-26 21:29:12,294] WARN - CarbonAuthenticationUtil Failed Administrator login attempt 'admin[-1234]' at [2014-07-26 21:29:12,293-0700] [2014-07-26 21:29:12,295] WARN - AuthenticationHandler Illegal access attempt at [2014-07-26 21:29:12,0294] from IP address 172.20.14.43 while trying to authenticate access to service RemoteAuthorizationManagerService [2014-07-26 21:29:12,295] ERROR - AUDIT_LOG Illegal access attempt at [2014-07-26 21:29:12,0294] from IP address 172.20.14.43 while trying to authenticate access to service RemoteAuthorizationManagerService [2014-07-26 21:29:12,299] ERROR - APIStoreHostObject Login failed.Insufficient Privileges. [2014-07-26 21:29:53,956] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2014-07-26 21:29:53,955-0700] [2014-07-26 21:29:54,003] WARN - CarbonAuthenticationUtil Failed Administrator login attempt 'admin[-1234]' at [2014-07-26 21:29:54,003-0700] [2014-07-26 21:29:54,039] WARN - AuthenticationHandler Illegal access attempt at [2014-07-26 21:29:54,0039] from IP address 172.20.14.43 while trying to authenticate access to service RemoteAuthorizationManagerService Thanks. -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Apache Stratos - OpenStack running on Ubuntu Server
Hi Kasun, There is a dev mailing list for Apache Stratos, d...@stratos.apache.org. You can use same for user queries as well. You might get better results as there can be a person who tried dev stack in Ubuntu 14.04. Thanks. On Mon, Jun 30, 2014 at 2:29 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi. I tried Open Stack to run on Ubuntu 14.04 TLS Server but when running the stack.sh from /devStack it gives me error that since it is not tested with trusty the operation cannot be continued. But it is working with Ubuntu 12.04.4 like a charm. Is it not tested with the current OS yet ?? Tanks and Regards -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Concern in configuring IS as key manager doc
Yes, when i run /identity/mysql.sql after apimgt/mysql.sql there were two duplicates. Couldn't record the log :( On Fri, Jun 27, 2014 at 12:02 PM, Sanjeewa Malalgoda sanje...@wso2.com wrote: 10th step is about database creation. Did get duplicates while doing that? Thanks, sanjeewa. On Thu, Jun 26, 2014 at 7:44 PM, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi, At [1], while following 10th step of IS configuration, it complains about two duplication. We can manually remove them and fix. Is my process wrong or need to go to docs? Thanks. [1] https://docs.wso2.org/display/CLUSTER420/Configuring+WSO2+Identity+Server+as+the+Key+Manager -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 http://sanjeewamalalgoda.blogspot.com/blog :http://sanjeewamalalgoda.blogspot.com/ http://sanjeewamalalgoda.blogspot.com/ -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Concern in configuring IS as key manager doc
On Fri, Jun 27, 2014 at 1:44 PM, Nirmal Fernando nir...@wso2.com wrote: Hi Lahiru, In latest APIM's mysql script, IS DB related tables are there by default. Hence, you don't need to run both scripts. I'm working with API Manager 1.6. On Fri, Jun 27, 2014 at 1:37 PM, Lahiru Sandaruwan lahi...@wso2.com wrote: Yes, when i run /identity/mysql.sql after apimgt/mysql.sql there were two duplicates. Couldn't record the log :( On Fri, Jun 27, 2014 at 12:02 PM, Sanjeewa Malalgoda sanje...@wso2.com wrote: 10th step is about database creation. Did get duplicates while doing that? Thanks, sanjeewa. On Thu, Jun 26, 2014 at 7:44 PM, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi, At [1], while following 10th step of IS configuration, it complains about two duplication. We can manually remove them and fix. Is my process wrong or need to go to docs? Thanks. [1] https://docs.wso2.org/display/CLUSTER420/Configuring+WSO2+Identity+Server+as+the+Key+Manager -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 http://sanjeewamalalgoda.blogspot.com/blog :http://sanjeewamalalgoda.blogspot.com/ http://sanjeewamalalgoda.blogspot.com/ -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ 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/ -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Concern in configuring IS as key manager doc
Hi, At [1], while following 10th step of IS configuration, it complains about two duplication. We can manually remove them and fix. Is my process wrong or need to go to docs? Thanks. [1] https://docs.wso2.org/display/CLUSTER420/Configuring+WSO2+Identity+Server+as+the+Key+Manager -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] IS 4.6.0 travelocity SSO sample is broken due to maven build issue
Hi, $subject... ? Followed [1] and got following error, [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.wso2.identity:org.wso2.sample.is.sso.agent:1.1.0 (/home/lahiru/work/engagements/setups/is_apim_sso/sampple/sso/SSOAgentSample/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.wso2.identity:wso2is-identity-samples-sso:4.6.0: Failure to find org.wso2.identity:wso2is-identity-samples:pom:4.6.0 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ org.wso2.identity:wso2is-identity-samples-sso:4.6.0, /home/lahiru/work/engagements/setups/is_apim_sso/sampple/sso/pom.xml, line 22, column 13 - [Help 2] [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/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException Thanks. [1] https://docs.wso2.com/display/IS460/Configuring+SAML2+SSO -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] BAM JMX Agent Aggregator feature is not available for 4.1.3 branch?
Hi, $subject. Cannot follow [1] without it. Thanks. [1] https://docs.wso2.org/display/BAM240/Setting+Up+JMX+Data+Agent -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] ESBJAVA-1777 is reproducible in ESB 4.7.0, 4.8.0, and 4.8.1
Hi, $subject. Here is the proxy i try. Am i doing something wrong? ?xml version=1.0 encoding=UTF-8? proxy xmlns=http://ws.apache.org/ns/synapsehttp://www.google.com/url?q=http%3A%2F%2Fws.apache.org%2Fns%2Fsynapsesa=Dsntz=1usg=AFQjCNHXEm-DVy-kXjma9HiDSOzvmv4DoA name=utTockenProxy transports=https statistics=disable trace=disable startOnLoad=true target inSequence log level=full/ send endpoint address uri=https://localhost:9443/services/echohttps://www.google.com/url?q=https%3A%2F%2Flocalhost%3A9443%2Fservices%2Fechosa=Dsntz=1usg=AFQjCNHIPmGy_-7JhscqWpy2Xu6a5KEGoQ / /endpoint /send /inSequence /target parameter name=ScenarioIDscenario1/parameter enableSec/ policy key=conf:/repository/axis2/service-groups/utTockenProxy/services/utTockenProxy/policies/UTOverTransport/ description/ /proxy *Error,* [2014-03-28 10:05:23,262] INFO - LogMediator To: /services/normalProxy.normalProxyHttpsSoap12Endpoint, WSAction: urn:mediate, SOAPAction: urn:mediate, MessageID: urn:uuid:fcc30644-4305-43d8-ae58-cb49694c3873, Direction: request, Envelope: ?xml version=1.0 encoding=utf-8?soapenv:Envelope xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;soapenv:Bodyp:echoInt xmlns:p=http://echo.services.core.carbon.wso2.org;!--0 to 1 occurrence--in23/in/p:echoInt/soapenv:Body/soapenv:Envelope [2014-03-28 10:05:23,322] ERROR - NativeWorkerPool Uncaught exception org.apache.axiom.soap.SOAPProcessingException: SOAP Envelope can not have children other than SOAP Header and Body at org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.checkChild(SOAPEnvelopeImpl.java:110) at org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.insertBefore(SOAPEnvelopeImpl.java:164) at org.apache.ws.security.util.WSSecurityUtil.prependChildElement(WSSecurityUtil.java:646) at org.apache.ws.security.util.WSSecurityUtil.findWsseSecurityHeaderBlock(WSSecurityUtil.java:722) at org.apache.ws.security.message.WSSecHeader.insertSecurityHeader(WSSecHeader.java:145) at org.apache.rampart.RampartMessageData.init(RampartMessageData.java:406) at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61) at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:426) at org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:163) at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:274) at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:488) at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) 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. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] ESBJAVA-1777 is reproducible in ESB 4.7.0, 4.8.0, and 4.8.1
Sent the proxy config with wrong endpoint, On Fri, Mar 28, 2014 at 10:09 AM, Lahiru Sandaruwan lahi...@wso2.comwrote: Hi, $subject. Here is the proxy i try. Am i doing something wrong? ?xml version=1.0 encoding=UTF-8? proxy xmlns=http://ws.apache.org/ns/synapsehttp://www.google.com/url?q=http%3A%2F%2Fws.apache.org%2Fns%2Fsynapsesa=Dsntz=1usg=AFQjCNHXEm-DVy-kXjma9HiDSOzvmv4DoA name=utTockenProxy transports=https statistics=disable trace=disable startOnLoad=true target inSequence log level=full/ send endpoint address uri=https://localhost:8280/services/echo/ /endpoint /send /inSequence /target parameter name=ScenarioIDscenario1/parameter enableSec/ policy key=conf:/repository/axis2/service-groups/utTockenProxy/services/utTockenProxy/policies/UTOverTransport/ description/ /proxy *Error,* [2014-03-28 10:05:23,262] INFO - LogMediator To: /services/normalProxy.normalProxyHttpsSoap12Endpoint, WSAction: urn:mediate, SOAPAction: urn:mediate, MessageID: urn:uuid:fcc30644-4305-43d8-ae58-cb49694c3873, Direction: request, Envelope: ?xml version=1.0 encoding=utf-8?soapenv:Envelope xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;soapenv:Bodyp:echoInt xmlns:p=http://echo.services.core.carbon.wso2.org;!--0 to 1 occurrence--in23/in/p:echoInt/soapenv:Body/soapenv:Envelope [2014-03-28 10:05:23,322] ERROR - NativeWorkerPool Uncaught exception org.apache.axiom.soap.SOAPProcessingException: SOAP Envelope can not have children other than SOAP Header and Body at org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.checkChild(SOAPEnvelopeImpl.java:110) at org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.insertBefore(SOAPEnvelopeImpl.java:164) at org.apache.ws.security.util.WSSecurityUtil.prependChildElement(WSSecurityUtil.java:646) at org.apache.ws.security.util.WSSecurityUtil.findWsseSecurityHeaderBlock(WSSecurityUtil.java:722) at org.apache.ws.security.message.WSSecHeader.insertSecurityHeader(WSSecHeader.java:145) at org.apache.rampart.RampartMessageData.init(RampartMessageData.java:406) at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61) at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:426) at org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:163) at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:274) at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:488) at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) 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. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Architecture] Developer Studio 3.6.0 RC 1 Released!
in the artifiacts.xml file in CApp [TOOLS-2346] - services.xml file not get updated when creating a new Axis2 Service class [TOOLS-2347] - Cannot drop a 'Drop' mediator into switch mediator case or default branches [TOOLS-2349] - [ESB] Custom task properties get serialized for empty property names and values too [TOOLS-2350] - Some Mediators and Endpoints are not in the alphabetical order in the tool pallet [TOOLS-2355] - It is allowing to add Respond and Loopback Mediators inside a mediator when they are already present in the mediator flow [TOOLS-2356] - It is allowing to add Respond and Loopback Mediators in the middle of the mediator flow [TOOLS-2357] - Maven-Car-Depoy-Plugin is unable to undeploy CAR files with Maven [TOOLS-2358] - Icon should change in the warning messages of ESB Graphical Editor [TOOLS-2367] - Maven Build profile properties updated in only endpoint artifact but not all Improvements [TOOLS-1422] - Support both Dynamic Endpoints and Service URIs in Callout mediator [TOOLS-1689] - Usability improvements in the Property fields for ESB Graphical Editor [TOOLS-2277] - Do not allow to add mediators after Respond or Loopback mediator [TOOLS-2326] - In the CallTemplate mediator's properties window, Value/Expression and Parameter Type columns should swap [TOOLS-2353] - Provide a mechanism to define a custom GroupId and a version to be used across all artifacts [TOOLS-2359] - Provide an option to upgrade maven plugin versions when migrating projects between different Developer Studio versions Task [TOOLS-2335] - Increase the priority of Mediator Project (Class Mediator) in Capp artifact ordering Your feedback is most welcome. Please report issues at [3] and specify the affect version as 3.6.0 RC1. [1] - http://builder1.us1.wso2.org/~developerstudio/developer-studio/3.6.0/RC1/wso2-developer-studio_3.6.0.zip [2] - http://builder1.us1.wso2.org/~developerstudio/developer-studio/3.6.0/RC1/Dev-Studio-Pre-installed-Eclipse/ [3] - https://wso2.org/jira/browse/TOOLS Thanks and Regards, WSO2 Developer Studio Team. -- Susinda Perera Software Engineer Mobile:(+94)716049075 WSO2 Inc. http://wso2.com/ Tel : 94 11 214 5345 Fax :94 11 2145300 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ 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 -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Daya Atapattu, Ph.D. Senior Architect, WSO2 Inc. Phone: +94 77 047 4730, +1 203 484 7099 ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- *Jasintha Dasanayake * *Software EngineerWSO2 Inc. | http://wso2.com http://wso2.com/ lean . enterprise . middleware* *mobile :- 0711368118 0711368118 * ___ Architecture mailing list architect...@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- * Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kavith Lokuhewage* Software Engineer WSO2 Inc. - http://wso2.com lean . enterprise . middleware Mobile - +9477-9-145-123 | +9471-455-6-401 Linkedin http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419 Twitter https://twitter.com/KavithThiranga ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com
[Dev] Cannot create a proxy service using Dev Studio
Hi, I tried to create a proxy service using Dev studio 3.5.0 dashboard. When i click on proxy service, it doesn't pop up the wizard, which for all other types, it did. There is no way that i can create a proxy service, as i tried with right click on projects etc. Something known? Thanks. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Cannot create a proxy service using Dev Studio
This occurs only when there are project already in the workspace. Anyway i'm in Java 6. Heard that i should use java 7, hence going to test with it. Thanks. On Fri, Feb 21, 2014 at 9:21 AM, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi, I tried to create a proxy service using Dev studio 3.5.0 dashboard. When i click on proxy service, it doesn't pop up the wizard, which for all other types, it did. There is no way that i can create a proxy service, as i tried with right click on projects etc. Something known? Thanks. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Cannot create a proxy service using Dev Studio
Hi Harshana, It works with Java 7. Thanks. On Fri, Feb 21, 2014 at 10:06 AM, Harshana Martin harsh...@wso2.com wrote: Hi Lahiru,. Yes. Please! Thanks and Regards, Harshana On 21 Feb 2014 22:34, Lahiru Sandaruwan lahi...@wso2.com wrote: This occurs only when there are project already in the workspace. Anyway i'm in Java 6. Heard that i should use java 7, hence going to test with it. Thanks. On Fri, Feb 21, 2014 at 9:21 AM, Lahiru Sandaruwan lahi...@wso2.comwrote: Hi, I tried to create a proxy service using Dev studio 3.5.0 dashboard. When i click on proxy service, it doesn't pop up the wizard, which for all other types, it did. There is no way that i can create a proxy service, as i tried with right click on projects etc. Something known? Thanks. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Password is printed in plain text in debug logs when you add secondary userstore
Hi all, I noticed $subject. AFAIK we are recommended to run servers in debug mode in production. So is $subject appropriate? Thanks. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Password is printed in plain text in debug logs when you add secondary userstore
On Thu, Jan 30, 2014 at 10:41 AM, Isuru Perera isu...@wso2.com wrote: Hi, My personal opinions: 1. Passwords should never be logged. So, we should fix the code. +1 2. INFO level logs should be enough for running the servers in production. DEBUG level logs should be enabled only when we need to *debug*. I'm not sure why you say that we recommend running servers in production with debug logs enabled. Any reference for such discussion? I just had that in my mind from somewhere i heard. Thought that catching the issues in production might be easy when debug is enabled. Again, it is logical to have it off since even logging might reduce the performance to some extend(if DEBUG is on). So i agree. Thanks. Thanks! Best Regards, On Thu, Jan 30, 2014 at 9:38 PM, Lahiru Sandaruwan lahi...@wso2.comwrote: Hi all, I noticed $subject. AFAIK we are recommended to run servers in debug mode in production. So is $subject appropriate? Thanks. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Isuru Perera Senior Software Engineer | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Hazelcast for tenant applications
Hi Azeez and all, Do we have any plans(or is it already available) to make Hazelcast service available for tenant applications? i.e. If a tenant need to create applications which use Hazelcast, then can they use Hazelcast instance which is already there in the server? Thanks. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Can we set JMS properties from WSO2 MB GUI when publishing messages to Topics?
Hi, $subject... Thanks. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Can we set JMS properties from WSO2 MB GUI when publishing messages to Topics?
On Fri, Dec 6, 2013 at 8:41 PM, Ishara Premadasa ish...@wso2.com wrote: Hi Lahiru, Topic message publishing UI in WSO2 MB currently support text messages and hence only message body (as xml ) can be set from the UI. If you need to set JMS properties this needs to be done using an external JMS client. Yeah, It can be an usecase where message is a XML and requires properties. Consider as a future item? :) Also why it is restricted to XML? Any reason? Thanks, Ishara On Fri, Dec 6, 2013 at 6:01 PM, Lahiru Sandaruwan lahi...@wso2.comwrote: Hi, $subject... Thanks. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Ishara Premasada Software Engineer, WSO2 Inc. http://wso2.com/ *Blog : http://isharapremadasa.blogspot.com/ http://isharapremadasa.blogspot.com/Twitter : https://twitter.com/ishadil https://twitter.com/ishadil Mobile : +94 714445832 %2B94%20714445832* -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] ESB 4.7.0 logs printed in high frequency when Message Broker is down
Heard that Ishara has fixed this for next release. Thanks. On Wed, Nov 13, 2013 at 6:43 AM, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi, I experience $subject.([1]) I happened when we create a proxy to listen a queue in Message Broker when the Message Broker is down. IMO we should handle this better as this can grow log files to GBs in minutes. Also logs become almost impossible to track for anything. Thanks. [1] [2013-11-13 06:30:24,525] INFO - AMQConnection Unable to connect to broker at tcp://localhost:5673 org.wso2.andes.transport.TransportException: Could not open connection at org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201) at org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71) at org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110) at org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616) at org.wso2.andes.client.AMQConnection.init(AMQConnection.java:398) at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315) at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:38) at org.apache.axis2.transport.jms.JMSUtils.createConnection(JMSUtils.java:629) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConnection(ServiceTaskManager.java:824) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.getConnection(ServiceTaskManager.java:706) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.receiveMessage(ServiceTaskManager.java:496) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.run(ServiceTaskManager.java:420) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) 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) [2013-11-13 06:30:24,527] ERROR - ServiceTaskManager Error acquiring a JMS connection to : QueueConnectionFactory using JNDI properties : {java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory, java.naming.provider.url=repository/conf/jndi.properties, transport.jms.ConnectionFactoryType=queue, serviceType=proxy} javax.jms.JMSException: Error creating connection: Could not open connection at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:325) at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:38) at org.apache.axis2.transport.jms.JMSUtils.createConnection(JMSUtils.java:629) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConnection(ServiceTaskManager.java:824) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.getConnection(ServiceTaskManager.java:706) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.receiveMessage(ServiceTaskManager.java:496) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.run(ServiceTaskManager.java:420) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) 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) Caused by: org.wso2.andes.AMQConnectionFailureException: Could not open connection at org.wso2.andes.client.AMQConnection.init(AMQConnection.java:475) at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315) ... 10 more Caused by: org.wso2.andes.transport.TransportException: Could not open connection at org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201) at org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71) at org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110) at org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616) at org.wso2.andes.client.AMQConnection.init(AMQConnection.java:398) ... 11 more [2013-11-13 06:30:24,529] ERROR - NativeWorkerPool Uncaught exception org.apache.axis2.transport.jms.AxisJMSException: Error acquiring a JMS connection to : QueueConnectionFactory using JNDI properties : {java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory, java.naming.provider.url=repository/conf/jndi.properties, transport.jms.ConnectionFactoryType=queue, serviceType=proxy} at org.apache.axis2.transport.jms.ServiceTaskManager.handleException
Re: [Dev] ESB 4.7.0 logs printed in high frequency when Message Broker is down
I've gone through the code. It seems what is fixed when the Message Broker is down after a deployment of a proxy which use MB. Thanks. On Sun, Nov 17, 2013 at 9:14 PM, Lahiru Sandaruwan lahi...@wso2.com wrote: Heard that Ishara has fixed this for next release. Thanks. On Wed, Nov 13, 2013 at 6:43 AM, Lahiru Sandaruwan lahi...@wso2.comwrote: Hi, I experience $subject.([1]) I happened when we create a proxy to listen a queue in Message Broker when the Message Broker is down. IMO we should handle this better as this can grow log files to GBs in minutes. Also logs become almost impossible to track for anything. Thanks. [1] [2013-11-13 06:30:24,525] INFO - AMQConnection Unable to connect to broker at tcp://localhost:5673 org.wso2.andes.transport.TransportException: Could not open connection at org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201) at org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71) at org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110) at org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616) at org.wso2.andes.client.AMQConnection.init(AMQConnection.java:398) at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315) at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:38) at org.apache.axis2.transport.jms.JMSUtils.createConnection(JMSUtils.java:629) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConnection(ServiceTaskManager.java:824) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.getConnection(ServiceTaskManager.java:706) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.receiveMessage(ServiceTaskManager.java:496) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.run(ServiceTaskManager.java:420) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) 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) [2013-11-13 06:30:24,527] ERROR - ServiceTaskManager Error acquiring a JMS connection to : QueueConnectionFactory using JNDI properties : {java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory, java.naming.provider.url=repository/conf/jndi.properties, transport.jms.ConnectionFactoryType=queue, serviceType=proxy} javax.jms.JMSException: Error creating connection: Could not open connection at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:325) at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:38) at org.apache.axis2.transport.jms.JMSUtils.createConnection(JMSUtils.java:629) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConnection(ServiceTaskManager.java:824) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.getConnection(ServiceTaskManager.java:706) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.receiveMessage(ServiceTaskManager.java:496) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.run(ServiceTaskManager.java:420) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) 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) Caused by: org.wso2.andes.AMQConnectionFailureException: Could not open connection at org.wso2.andes.client.AMQConnection.init(AMQConnection.java:475) at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315) ... 10 more Caused by: org.wso2.andes.transport.TransportException: Could not open connection at org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201) at org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71) at org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110) at org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616) at org.wso2.andes.client.AMQConnection.init(AMQConnection.java:398) ... 11 more [2013-11-13 06:30:24,529] ERROR - NativeWorkerPool Uncaught exception org.apache.axis2.transport.jms.AxisJMSException: Error acquiring a JMS connection to : QueueConnectionFactory using JNDI properties : {java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory
Re: [Dev] WSO2 ESB 4.8.0 - Alpha Released !
Hi Evanthika et al., Please verify whether the issue reported at thread ESB 4.7.0 logs printed in high frequency when Message Broker is down is fixed in ESB 4.8.0. Thanks. On Fri, Nov 15, 2013 at 8:03 AM, Evanthika Amarasiri evanth...@wso2.comwrote: Yes Subash, This was identified and reported as a bug for this release. https://wso2.org/jira/browse/ESBJAVA-2358 https://wso2.org/jira/browse/ESBJAVA-2359 Evanthika On Thu, Nov 14, 2013 at 9:26 PM, Subash Chaturanga sub...@wso2.comwrote: Hi Evanthika, In M5 packs, noticed that the default BAM mediation data publishing menu goes to a blank page (Refer [Monitor ESB from BAM 1.5.0] Mediation Data Publishing menu goes to a Blank Page !) and this is a blocker for people who wants to monitor ESB through BAM. Please check whether it is also fixed. On Wed, Nov 13, 2013 at 11:00 PM, Evanthika Amarasiri evanth...@wso2.com wrote: Noted Dushan, Evanthika On Wed, Nov 13, 2013 at 10:49 PM, Dushan Abeyruwan dus...@wso2.comwrote: Hi It seems like connectors are not updated correctly with the Alpha pack shared, anyway for QA process for 4.8.0 Alpha please do download the latest connectors from [1] [1]https://svn.wso2.org/repos/wso2/people/shafreen/connectors/ On Wed, Nov 13, 2013 at 8:16 PM, Shafreen Anfar shafr...@wso2.comwrote: Hi, ESB version 4.8.0 Alpha is available at, https://svn.wso2.org/repos/wso2/people/shafreen/ESB480/alpha/wso2esb-4.8.0.zip Connectors can be found in $ESB_HOME/repository/connectors -- 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 -- Dushan Abeyruwan Associate Tech Lead *Integration Technologies Team* *WSO2 Inc. http://wso2.com/ http://wso2.com/* *Mobile:(+94)714408632 %28%2B94%29714408632* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks /subash *Subash Chaturanga* Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com email: sub...@wso2.com blog: http://subashsdm.blogspot.com/ twitter: @subash89 phone: +9477 2225922 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] ESB 4.7.0 logs printed in high frequency when Message Broker is down
Hi, I experience $subject.([1]) I happened when we create a proxy to listen a queue in Message Broker when the Message Broker is down. IMO we should handle this better as this can grow log files to GBs in minutes. Also logs become almost impossible to track for anything. Thanks. [1] [2013-11-13 06:30:24,525] INFO - AMQConnection Unable to connect to broker at tcp://localhost:5673 org.wso2.andes.transport.TransportException: Could not open connection at org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201) at org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71) at org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110) at org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616) at org.wso2.andes.client.AMQConnection.init(AMQConnection.java:398) at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315) at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:38) at org.apache.axis2.transport.jms.JMSUtils.createConnection(JMSUtils.java:629) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConnection(ServiceTaskManager.java:824) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.getConnection(ServiceTaskManager.java:706) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.receiveMessage(ServiceTaskManager.java:496) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.run(ServiceTaskManager.java:420) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) 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) [2013-11-13 06:30:24,527] ERROR - ServiceTaskManager Error acquiring a JMS connection to : QueueConnectionFactory using JNDI properties : {java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory, java.naming.provider.url=repository/conf/jndi.properties, transport.jms.ConnectionFactoryType=queue, serviceType=proxy} javax.jms.JMSException: Error creating connection: Could not open connection at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:325) at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:38) at org.apache.axis2.transport.jms.JMSUtils.createConnection(JMSUtils.java:629) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConnection(ServiceTaskManager.java:824) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.getConnection(ServiceTaskManager.java:706) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.receiveMessage(ServiceTaskManager.java:496) at org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.run(ServiceTaskManager.java:420) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) 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) Caused by: org.wso2.andes.AMQConnectionFailureException: Could not open connection at org.wso2.andes.client.AMQConnection.init(AMQConnection.java:475) at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:315) ... 10 more Caused by: org.wso2.andes.transport.TransportException: Could not open connection at org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:201) at org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:71) at org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:110) at org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616) at org.wso2.andes.client.AMQConnection.init(AMQConnection.java:398) ... 11 more [2013-11-13 06:30:24,529] ERROR - NativeWorkerPool Uncaught exception org.apache.axis2.transport.jms.AxisJMSException: Error acquiring a JMS connection to : QueueConnectionFactory using JNDI properties : {java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory, java.naming.provider.url=repository/conf/jndi.properties, transport.jms.ConnectionFactoryType=queue, serviceType=proxy} at org.apache.axis2.transport.jms.ServiceTaskManager.handleException(ServiceTaskManager.java:1000) -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter
Re: [Dev] WSO2 ELB loadbalancer.conf links to blogs
Hi Isuru, On Sat, Sep 14, 2013 at 1:12 AM, Isuru Perera isu...@wso2.com wrote: Hi, Currently, the WSO2 ELB loadbalancer.conf has links to following blog articles. - http://nirmalfdo.blogspot.com/2012/06/fronting-wso2-application-server-50.html - http://blog.afkham.org/2011/09/wso2-load-balancer-how-it-works.html - http://nirmalfdo.blogspot.com/2013/01/scale-up-early-scale-down-slowly.html Shall we have links to latest WSO2 Docs? For example, http://docs.wso2.org/display/CLUSTER420/Clustering+WSO2+Products http://docs.wso2.org/display/ELB210/WSO2+Elastic+Load+Balancer+Documentation http://docs.wso2.org/display/ELB210/Auto-Scaling+in+Load+Balancer We should be able use doc links for latest docs. For example: http://docs.wso2.org/elastic-load-balancer This support is already there. E.g. [1] correctly redirects to latest version page[2]. [1] http://docs.wso2.org/elastic-load-balancer/Auto-Scaling+in+Load+Balancer/ [2] http://docs.wso2.org/display/ELB203/Auto-Scaling+in+Load+Balancer Thanks. Just an idea! Thanks! -- Isuru Perera Senior Software Engineer | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Generate events on system failures
Hi all, I just want to take an idea on how can we do $subject. Say we have a setup wich publish business activities to WSO2 BAM from WSO2 ESB or WSO2 ApiM. An user might need to generate events such as emails or phone calls on back end service unavailability. We will have these details in the received data from ESB or ApiM. Is it possible to achieve this using WSO2 CEP? Thanks. Sent from my mobile. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Generate events on system failures
Great. Thanks Nuwan and Dinusha. I will follow these resources. Thanks. On Wed, Sep 4, 2013 at 7:31 PM, Dinusha Senanayaka dinu...@wso2.com wrote: On Wed, Sep 4, 2013 at 7:23 PM, Nuwan Dias nuw...@wso2.com wrote: Yes, its possible to achieve $subject using CEP. Dinusha recently did a similar POC which triggered an email when a certain number of throttling level was reached AFAIR. Yes, we have done a sample for this.. API Manager will publish the events to CEP.. CEP is doing two things.. 1. Forward data to BAM to use for statistic calculations. 2. If same API invokes more than 5 times within 1 minute from the same application, this will send an email notification to a given email address. This set-up is available to download in [1] and related blog post [2]. [1]. http://builder3.us1.wso2.org/builds/BAM-CEP-AM/ [2]. http://dinushasblog.blogspot.com/2013/08/integrating-wso2-api-manager-with-bam.html Regards, Dinusha. Thanks, NuwanD. On Wed, Sep 4, 2013 at 6:56 PM, Lahiru Sandaruwan lahi...@wso2.comwrote: Hi all, I just want to take an idea on how can we do $subject. Say we have a setup wich publish business activities to WSO2 BAM from WSO2 ESB or WSO2 ApiM. An user might need to generate events such as emails or phone calls on back end service unavailability. We will have these details in the received data from ESB or ApiM. Is it possible to achieve this using WSO2 CEP? Thanks. Sent from my mobile. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Nuwan Dias Senior Software Engineer - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Generate events on system
Great. Thanks for the info. Will get more details from her and update here for others reference. Thanks. Sent from my mobile. On Sep 4, 2013 7:23 PM, Nuwan Dias nuw...@wso2.com wrote: Yes, its possible to achieve $subject using CEP. Dinusha recently did a similar POC which triggered an email when a certain number of throttling level was reached AFAIR. Thanks, NuwanD. On Wed, Sep 4, 2013 at 6:56 PM, Lahiru Sandaruwan lahi...@wso2.comwrote: Hi all, I just want to take an idea on how can we do $subject. Say we have a setup wich publish business activities to WSO2 BAM from WSO2 ESB or WSO2 ApiM. An user might need to generate events such as emails or phone calls on back end service unavailability. We will have these details in the received data from ESB or ApiM. Is it possible to achieve this using WSO2 CEP? Thanks. Sent from my mobile. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Nuwan Dias Senior Software Engineer - 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
[Dev] Cannot create ActiveMQ jms transport based proxies in ESB 4.7.0
Hi, $subject, I just tried enabling ActiveMQ jms transport and created a proxy only with jms transport. It was faulty when i saved it. Is this known? Thanks. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Cannot create ActiveMQ jms transport based proxies in ESB 4.7.0
Thanks Chanaka for the information. Will follow that thread. Thanks. On Mon, Sep 2, 2013 at 10:07 AM, Chanaka Fernando chana...@wso2.com wrote: Hi Lahiru, This was a known issue in ESB 4.7.0, when you have not started the message broker it will throw exceptions when you are creating jms proxy. This has been fixed by Ishara in the JMS transport code. You can follow this mail thread for more info [Dev] AS not patched for the continuous JMS connection retry issue? Thanks, On Mon, Sep 2, 2013 at 8:14 AM, Lahiru Sandaruwan lahi...@wso2.comwrote: Hi, $subject, I just tried enabling ActiveMQ jms transport and created a proxy only with jms transport. It was faulty when i saved it. Is this known? Thanks. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ 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 -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WHy we have a build directory in the platform
On Fri, Aug 30, 2013 at 9:28 AM, Amila Maha Arachchi ami...@wso2.comwrote: First, this was used to maintain the Stratos setup scripts (Stratos 1.x). I think it is still being used for that purpose (now for Stratos 2). We can get rid of Stratos 2 scripts as we migrated the code to Apache repository. Thanks. On Fri, Aug 30, 2013 at 8:38 AM, Srinath Perera srin...@wso2.com wrote: Mistake? platform/build/setup/is/repository/conf/tomcat Aplatform/build/setup/is/repository/conf/etc Aplatform/build/setup/is/repository/conf/etc/jmx.xml Aplatform/build/setup/is/bin Aplatform/build/setup/is/bin/wso2server.sh Aplatform/build/compile.sh Aplatform/build/stratos_config_full.xml Aplatform/build/stratos-setup.pl Aplatform/build/stratos.sh Aplatform/patch-releases -- Srinath Perera, Ph.D. Director, Research, WSO2 Inc. Visiting Faculty, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Amila Maharachchi* Senior Technical Lead WSO2, Inc.; http://wso2.com Blog: http://maharachchi.blogspot.com Mobile: +94719371446 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [API-M 1.4] Document asks me to subscribe using Bronze tier, but it is not listed
Did you add 'Bronze' under Tier Availability while creating? Thanks. On Wed, Aug 28, 2013 at 12:39 AM, Nirmal Fernando nir...@wso2.com wrote: http://docs.wso2.org/display/AM140/Access+Twitter%27s+Search+Using+an+API I can see only Gold in tiers. -- Thanks regards, Nirmal Senior Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- You received this message because you are subscribed to the Google Groups WSO2 Documentation group. To unsubscribe from this group and stop receiving emails from it, send an email to documentation+unsubscr...@wso2.com. For more options, visit https://groups.google.com/a/wso2.com/groups/opt_out. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Build Faliure in Branch 4.2/features
Formatter Aggregator Feature .. SKIPPED [INFO] WSO2 Carbon - Event Processor Feature . SKIPPED [INFO] WSO2 Carbon - Event Processor Server Feature .. SKIPPED [INFO] WSO2 Carbon - Event Processor UI Feature .. SKIPPED [INFO] WSO2 Carbon - Event Processor Aggregator Feature .. SKIPPED [INFO] WSO2 Carbon - CEP Process Flow Feature SKIPPED [INFO] WSO2 Carbon - CEP Process Flow UI Feature . SKIPPED [INFO] WSO2 Carbon - CEP Process Flow Aggregator Feature . SKIPPED [INFO] WSO2 Carbon - Event Statistics Feature Aggregator Module SKIPPED [INFO] WSO2 Carbon - Event Statistics Core Feature ... SKIPPED [INFO] WSO2 Carbon - Event Statistics UI Feature . SKIPPED [INFO] WSO2 Carbon - Event Statistics Feature SKIPPED [INFO] WSO2 Carbon - Event Tracer Feature Aggregator Module SKIPPED [INFO] WSO2 Carbon - Event Tracer Core Feature ... SKIPPED [INFO] WSO2 Carbon - Event Tracer UI Feature . SKIPPED [INFO] WSO2 Carbon - Event Tracer Feature SKIPPED [INFO] WSO2 Carbon - Input Transport Adaptor Feature . SKIPPED [INFO] WSO2 Carbon - Input Transport Adaptor Server Feature SKIPPED [INFO] WSO2 Carbon - Input JMS Transport Adaptor Server Feature SKIPPED [INFO] WSO2 Carbon - Input WSO2Event Transport Adaptor Server Feature SKIPPED [INFO] WSO2 Carbon - Input Email Transport Adaptor Server Feature SKIPPED [INFO] WSO2 Carbon - Input WSEvent Local Transport Adaptor Server Feature SKIPPED [INFO] WSO2 Carbon - Input WSEvent Transport Adaptor Server Feature SKIPPED [INFO] WSO2 Carbon - Transport Adaptor Manager Server Feature SKIPPED [INFO] WSO2 Carbon - Transport Adaptor Manager UI Feature SKIPPED [INFO] WSO2 Carbon - Input Transport Adaptor Aggregator Feature SKIPPED [INFO] WSO2 Carbon - Output Transport Adaptor Feature SKIPPED [INFO] WSO2 Carbon - Output Transport Adaptor Server Feature SKIPPED [INFO] WSO2 Carbon - Output JMS Transport Adaptor Server Feature SKIPPED [INFO] WSO2 Carbon - Output WSO2Event Transport Adaptor Server Feature SKIPPED [INFO] WSO2 Carbon - Output Email Transport Adaptor Server Feature SKIPPED [INFO] WSO2 Carbon - Output SMS Transport Adaptor Server Feature SKIPPED [INFO] WSO2 Carbon - Output WSEvent Local Transport Adaptor Server Feature SKIPPED [INFO] WSO2 Carbon - Output WSEvent Transport Adaptor Server Feature SKIPPED [INFO] WSO2 Carbon - Output Cassandra Transport Adaptor Server Feature SKIPPED [INFO] WSO2 Carbon - Output Transport Adaptor Manager Server Feature SKIPPED [INFO] WSO2 Carbon - Output Transport Adaptor Manager UI Feature SKIPPED [INFO] WSO2 Carbon - Output Mysql Transport Adaptor Server Feature SKIPPED [INFO] WSO2 Carbon - Output Transport Adaptor Aggregator Feature SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 12.422s [INFO] Finished at: Fri Aug 23 17:56:30 IST 2013 [INFO] Final Memory: 90M/874M [INFO] [ERROR] Failed to execute goal on project org.wso2.carbon.cartridge.agent.server.feature: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.cartridge.agent.server.feature:pom:1.0.0: Could not find artifact org.wso2.carbon:org.wso2.carbon.cartridge.agent:jar:1.0.0 in wso2-nexus ( http://maven.wso2.org/nexus/content/groups/wso2-public/) - [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/DependencyResolutionException -- --- W.G. Gihan Anuruddha Senior Software Engineer | WSO2, Inc. M: +94772272595 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman
Re: [Dev] Debug statements in TenantAwareLoadBalanceEndpoint
Hi, On Fri, Aug 16, 2013 at 8:31 PM, Nirmal Fernando nir...@wso2.com wrote: Hi, On Fri, Aug 16, 2013 at 7:43 PM, Sameera Jayasoma same...@wso2.comwrote: I've also seen some place where we need to improve in the TenantAwareLoadBalanceEndpoint class. Here are my observations. 1) Five different inner for-loops. This is a bad smell in the code. This five different inner 'for-loops' are not in TenantAwareLoadBalanceEndpoint class but in 'LoadBalancerConfiguration' file. And on the top of the method that has five different inner loops, there's a comment as follows (with a FIXME tag): *// FIXME if possible! I couldn't think of any other way to do this, at this moment. // Note: some of these for-loops are pretty small, thus no considerable performance overhead.* So, as the comment says, +1 for re-visiting the code and fixing it. 2) We do a registry lookup for each and every unknown host name. This bit of code is vulnerable to a DOS Attack. Yes, Understood. Since the newly mapped domains are added to registry dynamically, we have to look whether the invalid domain is defined there(In Stratos domain mapping scenario). Possible solution would be keeping the domain mapping in memory and persist(For a failover/HA scenario). For that, we need to do web service call to ELB or trigger an even to notify ELB. But service hosting facility is disabled in ELB AFAIR. So we might be able to use queue subscription to pass the message which we already have. That way we can avoid using registry and also can gain better performance. Please explain if there is a better way? @Lahiru please explain the context behind this. 3) This code looks more like procedural-oriented code. You mean the code in this class?? Lets do a proper code review on this and refactor the code for the next release. I've created a Redmine task for this. +1. We need all the people who contributed to this code, to understand the rationale behind. Thanks, Sameera. On Fri, Aug 16, 2013 at 4:43 PM, Afkham Azeez az...@wso2.com wrote: There are a number of debug statements which do String concatenations, and are not wrapped in log.isDebugEnabled() conditions. Such statements will cause unnecessary performance overhead. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/** email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919 blog: **http://blog.afkham.org* http://blog.afkham.org* twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *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 Lean . Enterprise . Middleware -- Thanks regards, Nirmal Senior Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Welcome Susankha Nirmala as a WSO2 Committer
Congratz Susanka! On Fri, Jul 26, 2013 at 11:57 AM, Manula Chathurika Thantriwatte manu...@wso2.com wrote: Congratulations Susankha !!! On Fri, Jul 26, 2013 at 11:51 AM, Sumedha Kodithuwakku sumed...@wso2.comwrote: Congratz Susankha...! On Fri, Jul 26, 2013 at 11:49 AM, Pulasthi Supun pulas...@wso2.comwrote: Congratzz Susankha Regards Pulasthi On Fri, Jul 26, 2013 at 11:47 AM, Jasintha Dasanayake jasin...@wso2.com wrote: Congratz /Jasintha On Fri, Jul 26, 2013 at 11:39 AM, Shameera Rathnayaka shame...@wso2.com wrote: Congratzz Susankha On Fri, Jul 26, 2013 at 11:36 AM, Harshana Martin harsh...@wso2.comwrote: Hi All, It is my distinct pleasure to welcome Susankha Nirmala as a WSO2 Committer. Susankha has made some great contributions to WSO2 Developer Studio and the Carbon Platform during the last couple of months and in recognition of his commitment and contributions, he has been voted as a Committer for WSO2. Susankha, Congratulations and Welcome Aboard! Keep up the good work!! Thanks and Regards, Harshana -- 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 -- *Software Engineer - WSO2 Inc.* *email: shameera AT wso2.com shame...@wso2.com , shameera AT apache.org shame...@apache.org* *phone: +9471 922 1454* * * *Linked in : * http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561 *Twitter : *https://twitter.com/Shameera_R ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Jasintha Dasanayake **Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware * * * *mobile :- 077 291 6596* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Pulasthi Supun Software Engineer; WSO2 Inc.; http://wso2.com, Email: pulas...@wso2.com Mobile: +94 (71) 9258281 Blog : http://pulasthisupun.blogspot.com/ Git hub profile: https://github.com/pulasthi ___ 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 -- *Manula Chathurika Thantriwatte* Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 2492511 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Is there a setup guide for App-factory?
Hi, $subject? There is SO question on this and i see downloadable zip at [2]. [1] http://stackoverflow.com/questions/17805634/unable-to-login-to-wso-appfactory [2] http://wso2.com/cloud/app-factory Thanks. http://wso2.com/cloud/app-factory-- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Build failure in trunk
On Thu, Jul 18, 2013 at 4:57 PM, Dushan Abeyruwan dus...@wso2.com wrote: Hi Thanks for pointing, actually this is wrong there is no need to ship connectors as features and required changers has been done. Please take update in mediation-library It fixed the build. Thanks. Cheers Dushan On Thu, Jul 18, 2013 at 4:50 PM, Lahiru Sandaruwan lahi...@wso2.comwrote: Now it can go up to feature level, Error at linked in connector, [INFO] WSO2 AppServer - AppServer Profile Generation . SKIPPED [INFO] WSO2 AppServer - Distribution . SKIPPED [INFO] WSO2 AppServer - Integration Tests SKIPPED [INFO] WSO2 AppServer - Integration Test Module .. SKIPPED [INFO] WSO2 AppServer - Integration Test UI Module ... SKIPPED [INFO] WSO2 Carbon - Platform Aggregator Pom . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 4:52:31.756s [INFO] Finished at: Thu Jul 18 16:29:40 IST 2013 [INFO] Final Memory: 725M/881M [INFO] [ERROR] Failed to execute goal on project org.wso2.carbon.mediation.library.connectors.linkedin.feature: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.mediation.library.connectors.linkedin.feature:pom:4.2.0-SNAPSHOT: Could not find artifact org.wso2.carbon:org.wso2.carbon.mediation.library.connectors.linked-in:zip:4.2.0-SNAPSHOT in carbon-plugin-repo ( http://maven.wso2.org/nexus/content/repositories/wso2archtype) - [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/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :org.wso2.carbon.mediation.library.connectors.linkedin.feature lahiru@lahiru-ThinkPad-T520:~/work/carbonSource/trunk/platform/trunk$ Thanks. On Wed, Jul 17, 2013 at 8:44 PM, Dushan Abeyruwan dus...@wso2.comwrote: Hi Please take update https://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/mediation/mediation-library/connectors, temporary removed linkdin connector from POM till fix the given issue Cheers Dushan On Wed, Jul 17, 2013 at 7:57 PM, Isuru Udana isu...@wso2.com wrote: Hi Dushan, It seems like this is due to the recent API change you did in connector core in r178450. On Wed, Jul 17, 2013 at 6:09 PM, Lahiru Sandaruwan lahi...@wso2.comwrote: $subject with clean repo, Error is, [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 4:18:31.856s [INFO] Finished at: Wed Jul 17 17:53:04 IST 2013 [INFO] Final Memory: 731M/884M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0:compile (default-compile) on project org.wso2.carbon.mediation.library.connectors.linked-in: Compilation failure: Compilation failure: [ERROR] /home/lahiru/work/carbonSource/trunk/platform/trunk/components/mediation/mediation-library/connectors/org.wso2.carbon.mediation.library.connectors.linked-in/src/main/java/org/wso2/carbon/mediation/library/connectors/linkedin/LinkedinPostStatusMediator.java:[17,7] org.wso2.carbon.mediation.library.connectors.linkedin.LinkedinPostStatusMediator is not abstract and does not override abstract method connect(org.apache.synapse.MessageContext) in org.wso2.carbon.mediation.library.connectors.core.AbstractConnector [ERROR] [ERROR] /home/lahiru/work/carbonSource/trunk/platform/trunk/components/mediation/mediation-library/connectors/org.wso2.carbon.mediation.library.connectors.linked-in/src/main/java/org/wso2/carbon/mediation/library/connectors/linkedin/LinkedinPostStatusMediator.java:[24,40] cannot find symbol [ERROR] symbol : method getMessageContext() [ERROR] location: class org.wso2.carbon.mediation.library.connectors.linkedin.LinkedinPostStatusMediator [ERROR] [ERROR] /home/lahiru/work/carbonSource/trunk/platform/trunk/components/mediation/mediation-library/connectors/org.wso2.carbon.mediation.library.connectors.linked-in/src/main/java/org/wso2/carbon/mediation/library/connectors/linkedin/LinkedinShowHeadlineMediator.java:[20,7] org.wso2.carbon.mediation.library.connectors.linkedin.LinkedinShowHeadlineMediator is not abstract and does not override abstract method connect
[Dev] Build failure in trunk
$subject with clean repo, Error is, [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 4:18:31.856s [INFO] Finished at: Wed Jul 17 17:53:04 IST 2013 [INFO] Final Memory: 731M/884M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0:compile (default-compile) on project org.wso2.carbon.mediation.library.connectors.linked-in: Compilation failure: Compilation failure: [ERROR] /home/lahiru/work/carbonSource/trunk/platform/trunk/components/mediation/mediation-library/connectors/org.wso2.carbon.mediation.library.connectors.linked-in/src/main/java/org/wso2/carbon/mediation/library/connectors/linkedin/LinkedinPostStatusMediator.java:[17,7] org.wso2.carbon.mediation.library.connectors.linkedin.LinkedinPostStatusMediator is not abstract and does not override abstract method connect(org.apache.synapse.MessageContext) in org.wso2.carbon.mediation.library.connectors.core.AbstractConnector [ERROR] [ERROR] /home/lahiru/work/carbonSource/trunk/platform/trunk/components/mediation/mediation-library/connectors/org.wso2.carbon.mediation.library.connectors.linked-in/src/main/java/org/wso2/carbon/mediation/library/connectors/linkedin/LinkedinPostStatusMediator.java:[24,40] cannot find symbol [ERROR] symbol : method getMessageContext() [ERROR] location: class org.wso2.carbon.mediation.library.connectors.linkedin.LinkedinPostStatusMediator [ERROR] [ERROR] /home/lahiru/work/carbonSource/trunk/platform/trunk/components/mediation/mediation-library/connectors/org.wso2.carbon.mediation.library.connectors.linked-in/src/main/java/org/wso2/carbon/mediation/library/connectors/linkedin/LinkedinShowHeadlineMediator.java:[20,7] org.wso2.carbon.mediation.library.connectors.linkedin.LinkedinShowHeadlineMediator is not abstract and does not override abstract method connect(org.apache.synapse.MessageContext) in org.wso2.carbon.mediation.library.connectors.core.AbstractConnector [ERROR] [ERROR] /home/lahiru/work/carbonSource/trunk/platform/trunk/components/mediation/mediation-library/connectors/org.wso2.carbon.mediation.library.connectors.linked-in/src/main/java/org/wso2/carbon/mediation/library/connectors/linkedin/LinkedinShowHeadlineMediator.java:[26,40] cannot find symbol [ERROR] symbol : method getMessageContext() [ERROR] location: class org.wso2.carbon.mediation.library.connectors.linkedin.LinkedinShowHeadlineMediator [ERROR] [ERROR] /home/lahiru/work/carbonSource/trunk/platform/trunk/components/mediation/mediation-library/connectors/org.wso2.carbon.mediation.library.connectors.linked-in/src/main/java/org/wso2/carbon/mediation/library/connectors/linkedin/LinkedinRegisterUserMediator.java:[13,7] org.wso2.carbon.mediation.library.connectors.linkedin.LinkedinRegisterUserMediator is not abstract and does not override abstract method connect(org.apache.synapse.MessageContext) in org.wso2.carbon.mediation.library.connectors.core.AbstractConnector [ERROR] [ERROR] /home/lahiru/work/carbonSource/trunk/platform/trunk/components/mediation/mediation-library/connectors/org.wso2.carbon.mediation.library.connectors.linked-in/src/main/java/org/wso2/carbon/mediation/library/connectors/linkedin/LinkedinRegisterUserMediator.java:[23,40] cannot find symbol [ERROR] symbol : method getMessageContext() Thanks. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Entitlement mediator for REST services
It should not be. Are you trying the case where incoming and outgoing requests are Rest to the proxy? Thanks. On Tue, Jun 25, 2013 at 11:59 PM, Eranda Sooriyabandara era...@wso2.comwrote: Hi all, Is $subject working? I had some problem with it today and after I use SOAP it worked. thanks Eranda -- *Eranda Sooriyabandara *Senior Software Engineer; Integration Technologies Team; WSO2 Inc.; http://wso2.com Lean . Enterprise . Middleware E-mail: eranda AT wso2.com Mobile: +94 716 472 816 Linked-In: http://www.linkedin.com/in/erandasooriyabandara Blog: http://emsooriyabandara.blogspot.com/ * * ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] A mediator to manage resources in registry?
Hi, Do we have $subject ? If not, is it good idea to have one? Like registry mediator :) I understand that the idea is not matching a lot as we store defined configs there. Asked because of [1]. [1] http://stackoverflow.com/questions/17291781/how-to-update-the-files-saved-in-registry Thanks. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] ESB: Integration test failure
Hi Ravi, I found that all the tests are moved to one module called 'tests'. In that this issue is not there. I was checking the old module called mediator-test. So we can consider this is fixed. Thanks. On Tue, Jun 4, 2013 at 6:01 PM, Ravi Undupitiya r...@wso2.com wrote: Hi Lahiru, I'm not seeing this error on the latest build. Which pack did you use to run this? It's possible this was fixed recently as there were some issues resolved related to XSLT Transformation. Thanks, Ravi On Fri, May 31, 2013 at 2:54 PM, Lahiru Sandaruwan lahi...@wso2.comwrote: Hi, $subject for 1 out of 7 tests in XSLT tests. Results : Failed tests: xsltTransformationFromUrl(org.wso2.carbon.mediator.tests.xslt.XsltTransformationFromUrlTestCase): Unable to perform XSLT transformation using : Value {name ='null', keyValue ='transform.xslt'} against source XPath : s11:Body/child::*[position()=1] | s12:Body/child::*[position()=1] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0 Attached the surefire report. Thanks. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- *Ravi Undupitiya* Software Engineer; WSO2 Inc.; http://wso2.com * * *E-mail: r...@wso2.com **M: **+94 772 930 712* * *Lean . Enterprise . Middleware -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] ESB: Integration test failure
On Tue, Jun 4, 2013 at 7:15 PM, Krishantha Samaraweera krishan...@wso2.comwrote: Need to get rid of old test modules. @Lahiru - Are you checking ESB 4.7.0 ? No, Support branch, ESB 4.6.0 thanks. Thanks, Krishantha. On Tue, Jun 4, 2013 at 6:36 PM, Lahiru Sandaruwan lahi...@wso2.comwrote: Hi Ravi, I found that all the tests are moved to one module called 'tests'. In that this issue is not there. I was checking the old module called mediator-test. So we can consider this is fixed. Thanks. On Tue, Jun 4, 2013 at 6:01 PM, Ravi Undupitiya r...@wso2.com wrote: Hi Lahiru, I'm not seeing this error on the latest build. Which pack did you use to run this? It's possible this was fixed recently as there were some issues resolved related to XSLT Transformation. Thanks, Ravi On Fri, May 31, 2013 at 2:54 PM, Lahiru Sandaruwan lahi...@wso2.comwrote: Hi, $subject for 1 out of 7 tests in XSLT tests. Results : Failed tests: xsltTransformationFromUrl(org.wso2.carbon.mediator.tests.xslt.XsltTransformationFromUrlTestCase): Unable to perform XSLT transformation using : Value {name ='null', keyValue ='transform.xslt'} against source XPath : s11:Body/child::*[position()=1] | s12:Body/child::*[position()=1] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0 Attached the surefire report. Thanks. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- *Ravi Undupitiya* Software Engineer; WSO2 Inc.; http://wso2.com * * *E-mail: r...@wso2.com **M: **+94 772 930 712* * *Lean . Enterprise . Middleware -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Isuru Perera
Congrats Isuru! On Mon, Jun 3, 2013 at 5:04 PM, Lakmal Warusawithana lak...@wso2.comwrote: Hi, Its my pleasure to welcome Isuru Perera as a WSO2 Commiter. IsuruP has done excellent contribution in the areas of Stratos2 specially new CLI and Stratos Controller UI. IsuruP, welcome aboard and keep up the good work. regards -- Lakmal Warusawithana Software Architect; WSO2 Inc. Mobile : +94714289692 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] ESB: Integration test failure
Hi, $subject for 1 out of 7 tests in XSLT tests. Results : Failed tests: xsltTransformationFromUrl(org.wso2.carbon.mediator.tests.xslt.XsltTransformationFromUrlTestCase): Unable to perform XSLT transformation using : Value {name ='null', keyValue ='transform.xslt'} against source XPath : s11:Body/child::*[position()=1] | s12:Body/child::*[position()=1] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0 Attached the surefire report. Thanks. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ?xml version=1.0 encoding=UTF-8? testng-results skipped=0 failed=1 total=7 passed=6 reporter-output /reporter-output suite name=Command line suite duration-ms=43648 started-at=2013-05-31T14:37:50Z finished-at=2013-05-31T14:38:34Z groups group name=wso2.esb method signature=org.wso2.carbon.mediator.tests.xslt.DynamicKeyXsltTransformationTestCase.xsltTransformationFromDynamicKey() name=xsltTransformationFromDynamicKey class=org.wso2.carbon.mediator.tests.xslt.DynamicKeyXsltTransformationTestCase/ method signature=org.wso2.carbon.mediator.tests.xslt.FileSystemLocalEntryXsltTransformationTestCase.xsltTransformationFromFileSystem() name=xsltTransformationFromFileSystem class=org.wso2.carbon.mediator.tests.xslt.FileSystemLocalEntryXsltTransformationTestCase/ method signature=org.wso2.carbon.mediator.tests.xslt.InLineLocalEntryXsltTransformationTestCase.xsltTransformationWithInlineLocalEntry() name=xsltTransformationWithInlineLocalEntry class=org.wso2.carbon.mediator.tests.xslt.InLineLocalEntryXsltTransformationTestCase/ method signature=org.wso2.carbon.mediator.tests.xslt.RegistryEntryXsltTransformationTestCase.xsltTransformationFromConfigRegistry() name=xsltTransformationFromConfigRegistry class=org.wso2.carbon.mediator.tests.xslt.RegistryEntryXsltTransformationTestCase/ method signature=org.wso2.carbon.mediator.tests.xslt.RegistryEntryXsltTransformationTestCase.xsltTransformationFromGovernanceRegistry() name=xsltTransformationFromGovernanceRegistry class=org.wso2.carbon.mediator.tests.xslt.RegistryEntryXsltTransformationTestCase/ method signature=org.wso2.carbon.mediator.tests.xslt.XsltTransformationFromUrlTestCase.xsltTransformationFromUrl() name=xsltTransformationFromUrl class=org.wso2.carbon.mediator.tests.xslt.XsltTransformationFromUrlTestCase/ method signature=org.wso2.carbon.mediator.tests.xslt.XsltTransformationWithPropertyTestCase.xsltTransformationWithProperty() name=xsltTransformationWithProperty class=org.wso2.carbon.mediator.tests.xslt.XsltTransformationWithPropertyTestCase/ /group /groups test name=Test - Mediator xslt duration-ms=43639 started-at=2013-05-31T14:37:50Z finished-at=2013-05-31T14:38:34Z class name=org.wso2.esb.integration.ESBTestServerManager test-method status=PASS signature=startServer() name=startServer is-config=true duration-ms=18258 started-at=2013-05-31T14:37:32Z finished-at=2013-05-31T14:37:50Z /test-method test-method status=PASS signature=stopServer() name=stopServer is-config=true duration-ms=5803 started-at=2013-05-31T14:38:34Z finished-at=2013-05-31T14:38:40Z /test-method /class class name=org.wso2.carbon.mediator.tests.xslt.XsltTransformationWithPropertyTestCase test-method status=PASS signature=doInit() name=doInit is-config=true duration-ms=4241 started-at=2013-05-31T14:38:15Z finished-at=2013-05-31T14:38:19Z /test-method test-method status=PASS signature=xsltTransformationWithProperty() name=xsltTransformationWithProperty duration-ms=53 started-at=2013-05-31T14:38:19Z description=Do XSLT transformation by Passing a value through the property element to the xslt finished-at=2013-05-31T14:38:19Z /test-method test-method status=PASS signature=doCleanup() name=doCleanup is-config=true duration-ms=3003 started-at=2013-05-31T14:38:19Z finished-at=2013-05-31T14:38:22Z /test-method /class class name=org.wso2.carbon.mediator.tests.xslt.FileSystemLocalEntryXsltTransformationTestCase test-method status=PASS signature=doInit() name=doInit is-config=true duration-ms=2277 started-at=2013-05-31T14:37:56Z finished-at=2013-05-31T14:37:58Z /test-method test-method status=PASS signature=xsltTransformationFromFileSystem() name=xsltTransformationFromFileSystem duration-ms=59 started-at=2013-05-31T14:37:58Z description=Do XSLT transformation by selecting the xslt file from file system finished-at=2013-05-31T14:37:58Z /test-method test-method status=PASS signature=doCleanup() name=doCleanup is-config=true duration-ms=3005 started-at=2013-05-31T14:37:58Z finished-at=2013-05-31T14:38:01Z /test-method
Re: [Dev] platform/branches/4.1.0/dependencies/orbit/juddi/3.1.5-wso2v1/pom.xml has 1 error
Hi Subash, dependencies/orbit/juddi/3.1.5-wso2v1/pom.xml points to a non-existing parent pom. Thanks. On Mon, May 27, 2013 at 4:52 PM, Subash Chaturanga sub...@wso2.com wrote: Hi Have you updated dependencies/juddi and dependencies/orbit/juddi both. and try to build dependencies again. On Mon, May 27, 2013 at 12:32 PM, Punnadi Gunarathna punn...@wso2.comwrote: Hi, I cannot build https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/orbit/juddi/3.1.5-wso2v1as it gives the below error: The project org.apache.juddi.wso2:juddi:3.1.5.wso2v1 (/home/punnadi/wso2/source/platform/4.1.0/dependencies/orbit/juddi/3.1.5-wso2v1/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.wso2.carbon:carbon-dependents:pom:4.1.0 in central ( http://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 22, column 13 - [Help 2] I was able to correct it by replacing the below changes: parent groupIdorg.wso2.carbon/groupId artifactIdcarbon-dependents/artifactId version4.1.0/version relativePath../../../pom.xml/relativePath /parent -- Thanks and Regards, Punnadi Gunarathna Senior Software Engineer, WSO2, Inc.; http://wso2.com http://wso2 email: punn...@wso2.com lal...@wso2.com http://lalajisureshika.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks /subash *Subash Chaturanga* Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com email: sub...@wso2.com blog: http://subashsdm.blogspot.com/ twitter: @subash89 phone: +9477 2225922 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Build fails at branch 4.1.3
$subject, Any thing missed? Error, [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 5:35.403s [INFO] Finished at: Tue May 28 21:41:50 IST 2013 [INFO] Final Memory: 534M/953M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.registry.indexing: Compilation failure: Compilation failure: [ERROR] /home/lahiru/work/carbonSource/branch4/platform/4.1.0/components/registry/org.wso2.carbon.registry.indexing/4.1.3/src/main/java/org/wso2/carbon/registry/indexing/service/ContentBasedSearchService.java:[118,41] cannot find symbol [ERROR] symbol : method getLimit() [ERROR] location: class org.wso2.carbon.registry.core.utils.PaginationContext [ERROR] /home/lahiru/work/carbonSource/branch4/platform/4.1.0/components/registry/org.wso2.carbon.registry.indexing/4.1.3/src/main/java/org/wso2/carbon/registry/indexing/service/ContentBasedSearchService.java:[118,106] cannot find symbol [ERROR] symbol : method getLimit() [ERROR] location: class org.wso2.carbon.registry.core.utils.PaginationContext [ERROR] - [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :org.wso2.carbon.registry.indexing Thanks. -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] ESB - Proxy not working when logged in as a tenant
:27,669] WARN {org.apache.synapse.core.axis2.TimeoutHandler} - Expiring message ID : urn:uuid:f4e09ed3-ac00-4d4d-b1b6-3c641e515cea; dropping message after global timeout of : 120 seconds {org.apache.synapse.core.axis2.TimeoutHandler} TID: [0] [ESB] [2013-05-27 23:55:21,137] WARN {org.apache.synapse.transport.passthru.SourceHandler} - Connection time out after request is read: 10.148.67.184:55076-10.143.18.125:8280{org.apache.synapse.transport.passthru.SourceHandler} TID: [0] [ESB] [2013-05-27 23:55:27,670] WARN {org.apache.synapse.core.axis2.TimeoutHandler} - Expiring message ID : urn:uuid:7e7c6707-d83a-4bc1-be01-81991baf90d2; dropping message after global timeout of : 120 seconds {org.apache.synapse.core.axis2.TimeoutHandler} TID: [0] [ESB] [2013-05-27 23:56:27,671] WARN {org.apache.synapse.core.axis2.TimeoutHandler} - Expiring message ID : urn:uuid:5086176b-65eb-4701-8d54-9294527c3699; dropping message after global timeout of : 120 seconds {org.apache.synapse.core.axis2.TimeoutHandler} TID: [0] [ESB] [2013-05-27 23:58:31,807] INFO {org.apache.synapse.mediators.builtin.LogMediator} - To: //services/, MessageID: urn:uuid:ed7fb5fe-9564-42b7-8bd4-9d89c3b0ddee, Direction: request, Envelope: ?xml version='1.0' encoding='utf-8'?soapenv:Envelope xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;soapenv:Body//soapenv:Envelope {org.apache.synapse.mediators.builtin.LogMediator} -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev