Re: [Dev] How to create a new ESB mediator

2014-10-29 Thread Udara Liyanage
Hi, This post might help you. http://wso2.com/library/tutorials/2014/03/understanding-the-carbon-component-architecture/ Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/

Re: [Dev] How to create a new ESB mediator

2014-10-29 Thread Udara Liyanage
Hi Lahiru, Could you try by placing the jar in plugins directory and manually add the entry to bundle.info file and restart the server. You can find the it at CARBON_HOME>/repository/components/configuration/org.eclipse.equinox.simpleconfigurator/ bundles.info Touched, not typed. Erroneous word

Re: [Dev] [Carbon] Changing ports 9443 to 443 and 9763 to 80

2014-10-29 Thread Udara Liyanage
t >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Supun Malinga, > > Senior Software Engineer, > WSO2 Inc. > http://wso2.com > email: sup...@wso2.com > mobile: +94 (0)71 56 91 321 > > __

Re: [Dev] Handling Concurrency with Jaggery Scripts

2014-10-26 Thread Udara Liyanage
ive... >>>>>> >>>>>> And also about the scope of Jaggery "session" variable: i.e. when the >>>>>> server is dealing with >>>>>> multiple concurrent executions of the same Jaggery script, are we >>>>

Re: [Dev] How to call a https API using Chrome's REST client

2014-10-24 Thread Udara Liyanage
gt;> Dev@wso2.org >>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>

Re: [Dev] [Private PaaS] Do we have sample git repository for Appserver cartridge

2014-10-24 Thread Udara Liyanage
neer > WSO2 Inc. : http://wso2.com > lean . enterprise . middleware > > email : manu...@wso2.com / man...@apache.org > phone : +94 772492511 > blog : http://manulachathurika.blogspot.com/ > > > > -- Udara Liyanage Software Engineer WSO2, I

Re: [Dev] Session maintain in HttpClient

2014-10-23 Thread Udara Liyanage
Hi Laxman, Yes session variables are stored in server side. But server should identify subsequent request are from the same client right. Since HTTP is stateless cookies(ex JSessionId) is used to identify the client. That's what HTTP context might do. Otherwise normal multiple HTTP calls won't be

Re: [Dev] Session maintain in HttpClient

2014-10-23 Thread Udara Liyanage
Hi Godwin, As a side note if you use http-client you can send maximum two concurrent requests which is not sufficient for production setups. You can use connection managers such as PoolingConnectionManagers which provides more fine grained configurations. [1] http://hc.apache.org/httpcomponents-c

Re: [Dev] How to get WSO2 Carbon Log to UI?

2014-10-17 Thread Udara Liyanage
Hi Jerad, Seems you are trying to view logs in UI in Stratos. Could you please let me know what you are trying to do exactly because in Private PAAS logs are sent to BAM. Then Stratos Manager fetch logs from BAM. May be you can get a better idea from there. Touched, not typed. Erroneous words ar

Re: [Dev] What is the standard way of handling exceptions

2014-10-15 Thread Udara Liyanage
); >>>>>> if(e instanceof ProductException) >>>>>>throw e; >>>>>> throw new ProductException(msg, e); >>>>>> } >>>>>> >>>>>> Thank you. >>>>>> >

Re: [Dev] Unable to send payload with delete request in ESB connector

2014-10-06 Thread Udara Liyanage
send the resource id in request > body as a json array. In their api method we can't send the id via url. > like specified here: > https://developer.spotify.com/web-api/remove-tracks-playlist/ > > On Tue, Oct 7, 2014 at 8:43 AM, Udara Liyanage wrote: > >> >> Hi, &

[Dev] Fwd: How do we restart the Private PAAS

2014-10-06 Thread Udara Liyanage
-- Forwarded message -- From: Udara Liyanage Date: Tue, Oct 7, 2014 at 10:37 AM Subject: Re: How do we restart the Private PAAS To: Reka Thirunavukkarasu Cc: Manula Chathurika Thantriwatte , Gayan Gunarathne < gay...@wso2.com>, WSO2 Developers' List , Nirmal Fer

Re: [Dev] Why does ESB source consume so much disk space?

2014-10-06 Thread Udara Liyanage
Hi, Chunk7 contains not only ESB source right. Built artifacts by default are stored in ~/.m2 local repository. Only built products packs are in products/product-name/modules/distribution/target. Touched, not typed. Erroneous words are a feature, not a typo.

Re: [Dev] Unable to send payload with delete request in ESB connector

2014-10-06 Thread Udara Liyanage
Hi, You are sending a DELETE request means to delete a particular resource from the system. You can define which resource to be deleted in url by id/name or any other identifier of the resource. Why you need to send a payload in a DELETE request? Touched, not typed. Erroneous words are a feature

Re: [Dev] Issue with Data Services Server samples

2014-10-01 Thread Udara Liyanage
Hi Lahiru, You will experience the browser caching issue in any two carbon products. It is not specific to DSS. Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] How will the modification of a field in the registry db affect an existing user

2014-09-24 Thread Udara Liyanage
Hi, Normally from version to version changes happen to database as well. So there is verdict that you can use the same db for all version right? You need to provide migration scripts for db. Touched, not typed. Erroneous words are a feature, not a typo. __

Re: [Dev] Apache Stratos configuration - Duplicate key name 'REG_PATH_IND_BY_PATH_VALUE'

2014-09-23 Thread Udara Liyanage
t;>>>>>>>>>>>>> thusha...@wso2.com> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Hi Udara, >>>>>>>>>>>>>>>>> Yes, We will do the needful. >>>>>>>>>>>>>>>>> >>&

Re: [Dev] [GREG] Add a resource under a existing resource

2014-09-22 Thread Udara Liyanage
same name under a > same parent path. What is the use case you are trying to implement? Any > reason why you cannot group parent and sub resources of the stratos/wso2app > into a collection structure? > > Thanks! > Isuruwan > > On Mon, Sep 22, 2014 at 12:27 PM, Udara Liyan

[Dev] [GREG] Add a resource under a existing resource

2014-09-21 Thread Udara Liyanage
.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56) at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141) -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com

Re: [Dev] java.net.MalformedURLException: no protocol

2014-09-19 Thread Udara Liyanage
Hi Dinithi, Error says you have not provided the URL correctly. You have provided just a file path /home/something It does not know you are referring to a file here. So you have to explicitly says you are referring to a file inside computer. Hence you add file:// Touched, not typed. Erroneo

Re: [Dev] [APIM] Is there a way to throttle from IP based and API based

2014-09-19 Thread Udara Liyanage
Hi Shashika, There is a section in the link you have provided describing "IP level throttling". Is it you are looking for or did n't I understand your email correctly. Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list

Re: [Dev] Apache Stratos configuration - Duplicate key name 'REG_PATH_IND_BY_PATH_VALUE'

2014-09-17 Thread Udara Liyanage
> [2] http://www.flashesofpanic.com/panic/002596.php >>>> [3] >>>> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Cloud+Controller+Configuration >>>> >>>> Thanks, >>>> Suhan and Thushara >>>> -- >>>> Suhan Dharmasuriy

Re: [Dev] Content type errors in testcases

2014-09-15 Thread Udara Liyanage
Hi, Sorry, listed under wrong label. Please ignore last email. Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Content type errors in testcases

2014-09-15 Thread Udara Liyanage
Hi, Better move to dev list I guess. Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] ES doc link gives a 404

2014-09-03 Thread Udara Liyanage
> Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- 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

Re: [Dev] ESB Connector - SSLHandshakeException

2014-09-03 Thread Udara Liyanage
___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 _

Re: [Dev] [Jaggery] Error while calling jaggery post method

2014-08-24 Thread Udara Liyanage
Hi, According to the http spec, response to a POST does not send a response body. Resource created is set in location header. Client can identify whether operation is successful by looking at http status code which is 201 in this case. However there is no hard rule that no response body should be

Re: [Dev] [Jaggery] Error while calling jaggery post method

2014-08-24 Thread Udara Liyanage
Hi Raj, According to the code, response is not empty, but is response body. Newly created resource url is received as location header. Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi

Re: [Dev] Installing the Stratos Cartridge Agent

2014-08-23 Thread Udara Liyanage
8:53 PM, Madhawa Bandara wrote: > Hi Udara, > > Thanks for the reference. > > The config.sh and init files are not available at the given URLs. Is there > a location from which I could get them? > > > On Sat, Aug 23, 2014 at 8:46 PM, Udara Liyanage wrote: > >>

Re: [Dev] Installing the Stratos Cartridge Agent

2014-08-23 Thread Udara Liyanage
roceed? > > Thanks > > -- > Regards, > > *Madhawa Bandara* > Software Engineer > WSO2, Inc. > lean.enterprise.middleware > > Mobile - *+94777487726 <%2B94777487726>* > Blog* - *classdeffound.blogspot.com > > __

[Dev] [APIM 1.7]Error while regenerating acess token - production keys

2014-08-23 Thread Udara Liyanage
Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) [2014-08-23 13:45:00,835] ERROR - subscription-add:jag org.wso2.carbon.apimgt.api.APIManagementException: Error in getting new accessToken -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise.

Re: [Dev] [App Factory] - Delete application created in a tenant

2014-08-20 Thread Udara Liyanage
s.wso2.com/plugins/servlet/mobile#RESTAPIs-getApplicationsOfUser>), > But I did't see any delete application operation there. How can we delete > them ? > > > On Thu, Aug 21, 2014 at 1:06 AM, Udara Liyanage wrote: > >> Hi, >> >> You can call AppFac REST API fo

Re: [Dev] [AF] [Private PAAS] Private pass cartrige agent still triggering the subscription-* scripts.

2014-08-20 Thread Udara Liyanage
21, 2014 at 6:01 AM, Danushka Fernando wrote: > Udara > AFAIR the decision took at the discussion is to remove these extension > points. > > Thanks & Regards > Danushka Fernando > Software Engineer > WSO2 inc. http://wso2.com/ > Mobile : +94716332729 > > > On T

Re: [Dev] Optimize file read operation in Jaggery

2014-08-20 Thread Udara Liyanage
Hi, If the file content is stored in memory, memory consumption would grow if it reads a big file or several files. How about using a cache of a fix size? What kind of files it would read multiple times, if they are configuration files only the important data could be stored in the memory. Could

Re: [Dev] [App Factory] - Delete application created in a tenant

2014-08-20 Thread Udara Liyanage
Hi, You can call AppFac REST API for this. Please refer to [1] [1] https://docs.wso2.com/plugins/servlet/mobile#RESTAPIs-getApplicationsOfUser Touched, not typed. Erroneous words are a feature, not a typo. On Aug 20, 2014 7:40 PM, "Godwin Amila Shrimal" wrote: > Hi, > > How can we check the

Re: [Dev] [AF] [Private PAAS] Private pass cartrige agent still triggering the subscription-* scripts.

2014-08-20 Thread Udara Liyanage
Hi, I guess subscription-domain-added cartridge extension is called when a subscription domain is added. This is the default behavior right? When a subscription domain is added, LB too get a notification so that it start load balancing request to that domain. Additionally subscription-domain-added

[Dev] [ApplicationServer] ConnectionTimeout vs SocketTimeout

2014-08-18 Thread Udara Liyanage
parameters? [1] https://docs.wso2.com/display/AS521/HTTP+Servlet+Transport -- 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

Re: [Dev] Convention for having CEP Puppet Modules for PPaaS

2014-08-14 Thread Udara Liyanage
> Thanks, > -- > *Lasindu Charith* > Software Engineer, WSO2 Inc. > Mobile: +94714427192 > Web: blog.lasindu.com > > _______ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- U

Re: [Dev] [P-PaaS] Mapping host names in worker-manager clustering

2014-08-09 Thread Udara Liyanage
node's* /etc/hosts > file. Don't we have to that? > > carbondb.mysql-wso2.com > mgt.as.wso2.com > > 1. https://docs.wso2.com/display/CLUSTER420/Configuring+the+Worker+Node > > Thanks. > > > On Sun, Aug 10, 2014 at 7:05 AM, Udara Liyanage wrote: > >>

Re: [Dev] [P-PaaS] Mapping host names in worker-manager clustering

2014-08-09 Thread Udara Liyanage
Hi, AS workers and managers are in different machines from the machine you run PP components. So boot.sh won't have those snippets. Worker nodes should know only about wka member. When you access mgt.as.wso2.com from your laptop you should manually add them to your laptop's hosts file. Mgt.as.wso

Re: [Dev] Fwd: [Carbon-jira] [jira] (DS-924) Created data service is not getting deployed on all the nodes in DSS cluster setup. [tenant user scenario]

2014-08-05 Thread Udara Liyanage
94715883223 > Blog : http://lankavitharana.blogspot.com/ > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. ente

[Dev] Passing complex types in Axis2

2014-08-04 Thread Udara Liyanage
this? Class Node{ Set nodes; // some other attibutes } -- 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

Re: [Dev] [ES-Rest API] Unifying API response messages

2014-08-03 Thread Udara Liyanage
'code' will >>> consist standard HTTP Status Codes." >>> >> >> Yes, we can drop "message" property from success response. >> >> Client can identify success or failure by http response code. IMO having >>> both code and messa

Re: [Dev] Cannot log in to my newly created OpenStack instance in my local machine

2014-08-01 Thread Udara Liyanage
Hi, Could you able to log in to the instance via openstack web ui vnc viewer? I assume you installed openstack via devstack on your local machine. Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list Dev@wso2.org http:

Re: [Dev] [Private PaaS] Why we don't have un-deploy option for Multi-tenant services in SM web console

2014-07-31 Thread Udara Liyanage
Hi, I don't find any reason not to have it in web UI. It is available in Stratos CLI too. Touched, not typed. Erroneous words are a feature, not a typo. On Jul 31, 2014 11:17 PM, "Harsha Thirimanna" wrote: > Hi, > > $subject, currently we have to execute curl command,, it is better if we > ca

Re: [Dev] [ES-Rest API] Unifying API response messages

2014-07-31 Thread Udara Liyanage
Hi, How about sending http response code. Then if it is a 200, 201, 204 etc then it can be considered as the success. Then there is no need of sending a message like "something happens successfully" because we can determine it by response code. For instance, when a resource with id abc is added s

Re: [Dev] Best approach to optimize imports in Java

2014-07-31 Thread Udara Liyanage
Hi, Good explanation Chamil. As a side note modern IDEs provide features to see which package a class is coming from. So there is not a big issue having stars. However it is more readable without starts. Touched, not typed. Erroneous words are a feature, not a typo. __

Re: [Dev] Why This Error In Building The ESB Version at Turing-chunk07

2014-07-29 Thread Udara Liyanage
ome/dilan/.m2/repository/org/slf4j/slf4j-jdk14/1.5.2/slf4j-jdk14-1.5.2.jar; >>>>>> error in opening zip file >>>>>> [ERROR] error: error reading >>>>>> /home/dilan/.m2/repository/bouncycastle/bcprov-jdk14/140/bcprov-jdk14-140.jar; >>>>>

Re: [Dev] Patching mechanism for Private PaaS Cartridge Agent via Puppet

2014-07-23 Thread Udara Liyanage
gt;>> > >>>> > >>>> > >>>> > -- >>>> > Thanks and Regards, >>>> > >>>> > Isuru H. >>>> > +94 716 358 048 >>>> > >>>> > >>>> >>>> >>>> >>>> -- >>>> Akila Ravihansa Perera >>>> Software Engineer >>>> WSO2 Inc. >>>> http://wso2.com >>>> >>>> Phone: +94 77 64 154 38 >>>> Blog: http://ravihansa3000.blogspot.com >>>> >>> >>> >>> >>> -- >>> >>> Thanks & regards, >>> Nirmal >>> >>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc. >>> Mobile: +94715779733 >>> Blog: http://nirmalfdo.blogspot.com/ >>> >>> >>> >> >> >> -- >> Lakmal Warusawithana >> Vice President, Apache Stratos >> Director - Cloud Architecture; WSO2 Inc. >> Mobile : +94714289692 >> Blog : http://lakmalsview.blogspot.com/ >> >> > > > -- > *Dinesh Bandara* > > Software Engineer > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- 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

Re: [Dev] [APM] Mark Subscribable APIs in store listing page

2014-07-23 Thread Udara Liyanage
Hi Harsha, +1 for the suggestion. However if there are multiple Applications, then an API become unsubscribable only when API is subscribed against all the applications. Additionally if a new application is created, then API become subscribable again. Touched, not typed. Erroneous words are a f

Re: [Dev] AppFactory REST API HTTP method mis match

2014-07-21 Thread Udara Liyanage
Hi Samita, In REST world GET is used to fetch resources and POST is used to create a resource. So using POST only to fetch resources is a violation if REST convention. Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list

[Dev] AppFactory REST API HTTP method mis match

2014-07-21 Thread Udara Liyanage
- getLatestBuildSuccessInfo - isApplicationKeyAvailable - getBuildLogsUrl [1] https://docs.wso2.com/display/AF200/REST+APIs -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897

Re: [Dev] api manager clustering

2014-07-20 Thread Udara Liyanage
mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- 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

Re: [Dev] How to get the request count received by each BE separately?

2014-07-20 Thread Udara Liyanage
lka > > -- > > Amalka Subasinghe > > Senior Software Engineer > WSO2 Inc. > Mobile: +94 77 9401267 > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Udara Liyanag

Re: [Dev] Adding data to database in WSO2 App Cloud

2014-07-09 Thread Udara Liyanage
;>> >>> I'm following this documentation: >>> >>> http://docs.wso2.com/display/AppCloud/Add+Data+to+my+Database+or+Connect+to+an+External+Database >>> >>> Do we need any additional configuration in App Cloud than mentioned in >>> th

[Dev] [Private PaaS] Oauth for GIT repository credentials

2014-07-09 Thread Udara Liyanage
use something like Oauth to overcome this? -- 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

Re: [Dev] Connector Integration Test error - SSLHandshakeException

2014-06-28 Thread Udara Liyanage
Hi, Add the certificate to the client-truststore.jks. Refer to [1] if needed. [1] http://udaraliyanage.wordpress.com/2014/06/16/add-a-ca-certificate-to-wso2-truststore/ Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing li

Re: [Dev] Connector Integration Test Error!- SSL Handshake Exception

2014-06-27 Thread Udara Liyanage
so2.carbon.connector.foursquare-4.2.0-tests.jar > [INFO] > > [INFO] BUILD SUCCESS > [INFO] > > [INFO] Total time: 51.087s > [INFO] Fin

[Dev] [APIM] Rest endpoints should return a more meaning full error message

2014-06-19 Thread Udara Liyanage
-remove.jag -d "action=removeApplication&application=app2" *{"message" : "Error occurred while executing the action removeApplication", "error" : true*} -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http

[Dev] [APIM] How to get Application ID for a application

2014-06-19 Thread Udara Liyanage
ite/blocks/application/application-list/ajax/application-list.jag ?action=getApplications [1] https://docs.wso2.org/display/AM160/Store+APIs -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 7

[Dev] [APIM] REST call to GetApplications does not show any application

2014-06-19 Thread Udara Liyanage
assword=admin' curl -b cookies http://localhost:9763/store/site/blocks/application/application-list/ajax/application-list.jag?action=getApplications {"applications" : [], "error" : false} Am I missing some step? -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2

Re: [Dev] Adding Mediators after the Send Mediator

2014-06-18 Thread Udara Liyanage
As Gayan mentioned send is async and if a mediator like log mediator is placed after send it will be invoked. However if we log something like "body" of the message we might see unexpected result in case message is already sent. Touched, not typed. Erroneous words are a feature, not a typo. _

Re: [Dev] what is the best practise for installing a production instance of a WSO2 product, e.g. ESB?

2014-06-12 Thread Udara Liyanage
isplay/ESB481/Clustered+Deployment > [4] https://docs.wso2.org/display/ESB481/Working+with+Databases > [5] https://github.com/wso2/Puppet/tree/master/modules/esb/4.8.0/esb > _______ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/ma

Re: [Dev] Running script commands after wso2server.sh is executed in a single script file

2014-06-07 Thread Udara Liyanage
Hi, Yes port open can be thought server is up and running. This is how sever running is identified in Stratos too. Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo

Re: [Dev] Exception when Invoking GmailConnector "ReadMailMessage" Operation

2014-05-31 Thread Udara Liyanage
Hi Sewwandi, Still if a client set sequent=false he might get the same error. Either the bug should be fixed or limitation should be documented. IMO it is better to fix it since it is a valid scenario for a client to set it false in case he expects parallel processing. Touched, not typed. Erron

Re: [Dev] Private PaaS- error while subscribing to a ESB cartridge

2014-05-28 Thread Udara Liyanage
cenario, you need to wait till the instances are active to >> subscribe. >> >> >> On Wed, May 28, 2014 at 8:42 PM, Udara Liyanage wrote: >> >>> Hi, >>> >>> I got the fallowing error when subscribing to a ESB cartridge. >>> >>&g

Re: [Dev] Private PaaS- error while subscribing to a ESB cartridge

2014-05-28 Thread Udara Liyanage
Initialization completed successfully. On Wed, May 28, 2014 at 8:49 PM, Isuru Haththotuwa wrote: > In MT scenario, you need to wait till the instances are active to > subscribe. > > > On Wed, May 28, 2014 at 8:42 PM, Udara Liyanage wrote: > >> Hi, >> >> I got the f

[Dev] Private PaaS- error while subscribing to a ESB cartridge

2014-05-28 Thread Udara Liyanage
bmit.jag) at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23) at org.jaggeryjs.rhino.console.controllers.c3._c_script_0(/console/controllers/cartridgeSubscribeSubmit.jag:23) at org.jaggeryjs.rhino.console.controllers.c3.call(/console/controllers/cartridgeSubscribeSubmit.

[Dev] WSO2MB topics where messages are automatically cleared

2014-05-20 Thread Udara Liyanage
Hi, Is there any type of queue/topic in MB where messages are deleted automatically after sometime if they are not consumed. Please point me to a doc if available. Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list Dev

[Dev] Private Paas - Puppet error from a AS instnace

2014-05-19 Thread Udara Liyanage
27;, group => 'root', target => '/mnt/' } Class['stratos_base'] -> Class['java'] -> Class['appserver'] ~> Class['agent'] } -- Udara Liyanage Software Engineer WSO2, Inc.:

[Dev] Review and merge pull request for carbon-utils

2014-05-06 Thread Udara Liyanage
Hi, Do $subject for https://github.com/wso2/carbon-utils/pull/1 -- 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

Re: [Dev] What is the Git location for components/logging

2014-05-06 Thread Udara Liyanage
Thanks Udara On Tue, May 6, 2014 at 1:01 PM, Udara Rathnayake wrote: > https://github.com/wso2/carbon-utils/tree/master/components/logging > > > On Tue, May 6, 2014 at 12:55 PM, Udara Liyanage wrote: > >> $subject? >> >> -- >> >> Udara Liyan

[Dev] What is the Git location for components/logging

2014-05-06 Thread Udara Liyanage
$subject? -- 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

[Dev] Merge pull request to mediation-security

2014-05-05 Thread Udara Liyanage
Hi, Please do the $subject for [1] [1] https://github.com/wso2-dev/carbon-mediation/pull/9 -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897

[Dev] What is the git location for mediation security

2014-04-30 Thread Udara Liyanage
Hi, $subject. I looked at [1], but could not find it. [1] https://github.com/wso2/carbon-mediation/tree/master/components -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897

Re: [Dev] Question on making the single jvm pack HA

2014-04-24 Thread Udara Liyanage
gt;> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *--* > *Sajith Kariyawasam* > *Mobile: +94772269575 <%2B94772269575>* > >

Re: [Dev] [Identity Server] Deploying IS for production use.

2014-04-16 Thread Udara Liyanage
gt; Thank you. > Supun Nakandala > > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware

[Dev] [ESB] How to use a Axis2 handler inside a proxy

2014-04-15 Thread Udara Liyanage
Hi, How to do $subject if possible. -- 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

Re: [Dev] setting property at runtime in a cluster

2014-04-15 Thread Udara Liyanage
o use the local registry. But in what way i can create and > update a registry properties (or a local entry) taking into consideration > that the STATUS PROPERTY have to be propagated to the ESB WORKERs? > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso

[Dev] Unable to access a secure vault value within a ESB proxy

2014-04-08 Thread Udara Liyanage
://docs.wso2.org/display/ESB480/Working+with+Passwords -- 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

Re: [Dev] [ESB] Error occurred when running ciphertool outside of the bin folder

2014-04-07 Thread Udara Liyanage
be observed in all the products which ships the ciphertool.sh. > > You are welcome to fix this issue since this is a platform wide > requirement. :D > > Thanks, > Chanaka > > > On Tue, Apr 8, 2014 at 10:05 AM, Udara Liyanage wrote: > >> Hi, >> >> When I

[Dev] [ESB] Error occurred when running ciphertool outside of the bin folder

2014-04-07 Thread Udara Liyanage
ilderImpl.parse(DocumentBuilderImpl.java:284) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180) at org.wso2.ciphertool.CipherTool.getPrimaryKeyStoreData(CipherTool.java:289) ... 2 more -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middle

Re: [Dev] What does this Git error mean?

2014-03-31 Thread Udara Liyanage
I get similar error when there are changes in remote repo which my repo didn't have. simple "git pull" solved in my case. Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/

Re: [Dev] Getting OperationNotSupportedException when creating the initial context for tenants

2014-03-18 Thread Udara Liyanage
gt;>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) >>>> >> at >>>> >> >>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) >>>> >> at >>>> >&g

Re: [Dev] Exception handling on REST call

2014-03-05 Thread Udara Liyanage
;>>> - can setup HTTP_SC to axis2 context >>>>>>>>> - can use mediator to reply client with error. >>>>>>>>> >>>>>>>>> .. >>>>>>>>> .. >>>>>>>

Re: [Dev] Error when install WSO2 Stratos 2.0

2014-03-04 Thread Udara Liyanage
.getEligible(Resolver.java:343) >>> at >>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) >>> >>> Could you show me some direction to fix? Thanks >>> >>> -- >>> >>> >>> *V uQ u a n

Re: [Dev] java.lang.OutOfMemoryError: GC overhead limit exceeded observed for ESB message store and forward scenario in MB Cluster Environment

2014-03-03 Thread Udara Liyanage
I saw a similar issue occurred in BAM. Have a look mail thread subjected " [Dev] [BAM] java.lang.OutOfMemoryError: GC overhead limit exceeded" Touched, not typed. Erroneous words are a feature, not a typo. On Mar 3, 2014 6:57 PM, "Iranga Muthuthanthri" wrote: > Hi All. > > Following was noted in

Re: [Dev] [BAM] java.lang.OutOfMemoryError: GC overhead limit exceeded

2014-02-21 Thread Udara Liyanage
Googling got me to have this disable GC overhead limit by using below command line parameter. -XX:-UseGCOverheadLimit This can be used to temporary avoid the error and proceed. However please investigate. Touched, not typed. Erroneous words are a feature, not a typo.

Re: [Dev] NativeWorkerPool Exception when using callout mediator

2014-02-20 Thread Udara Liyanage
5:15 AM, Isuru Perera wrote: > >> May be your data service is not returning any response. Can you check >> whether the callout service returns a proper response? >> >> >> On Thu, Feb 13, 2014 at 3:23 PM, Udara Liyanage wrote: >> >>> Hi, >>&g

Re: [Dev] How to get UserAdmin interface document.

2014-02-20 Thread Udara Liyanage
This [1] might be usefull . [1] http://charithaka.blogspot.com/2013/06/invoking-wso2-carbon-admin-services.html?m=1 Touched, not typed. Erroneous words are a feature, not a typo. On Feb 19, 2014 8:57 AM, "stevegyc" wrote: > Hi: > > > I want to learn about the UserAdmin interface, but did not fi

Re: [Dev] Script mediator vs Filter mediator

2014-02-20 Thread Udara Liyanage
Can you explain what is your requirement. Filter mediated is to filter a message based on its content and do some task. Script mediator is more like a scripting language. Yes you can do the work of filter mediator using script mediator.you can do more from scripting mediator. What to use depends on

Re: [Dev] (no subject)

2014-02-20 Thread Udara Liyanage
Please use a proper subject so it easy for readers. Touched, not typed. Erroneous words are a feature, not a typo. On Feb 19, 2014 3:06 PM, "Mihil Ranathunga" wrote: > Hi all, > > I'm trying to create rest resources in wso2dss. I get following error when > i try to put resource parameters in the

Re: [Dev] Combining WSO2 ESB with WSO2 AS

2014-02-16 Thread Udara Liyanage
Hi, [1] is a article that describe how to install features. However since you try to install I think you already know it.You can find the appropriate p2 repo from the release matrix [1]. However as Mohan mentioned sometimes I have faced issues after installing features. Try and report the issues y

[Dev] NativeWorkerPool Exception when using callout mediator

2014-02-13 Thread Udara Liyanage
hru.ServerWorker.run(ServerWorker.java:183) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at jav

Re: [Dev] Clarification needed on reading annotation information from .Java files

2014-02-04 Thread Udara Liyanage
Let's say a service.XML is found but without any service definition. Is it still a axis2 service? Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] ESB 460 Message processor not deactivated after max-delivery attempts

2014-02-03 Thread Udara Liyanage
ocessors.forward.ForwardingJob.execute(ForwardingJob.java:88) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 _

Re: [Dev] Password is printed in plain text in debug logs when you add secondary userstore

2014-01-30 Thread Udara Liyanage
I'm not saying printing password is a good thing, but let's say we want to see if the passwords are set correctly how do we check it. Remote debug is kind of a hard. Touched, not typed. Erroneous words are a feature, not a typo. On Jan 30, 2014 11:29 PM, "Isuru Perera" wrote: > Hi, > > > On Thu,

[Dev] http and https have the same class/protocol in axis2_client.xml ESB 4.8.0

2014-01-20 Thread Udara Liyanage
Hi, I just noticed that class, protocol are same for both http and https transport senders in axis2_client.xml of ESB 4.8.0. Is this the expected? HTTP/1.1 chunked 6 6 HTTP/1.1 chunked 6 6 -- Udara

[Dev] Login error while setting up SSO

2014-01-17 Thread Udara Liyanage
AML Response is not signed. So authentication process will be terminated. [1] http://docs.wso2.org/display/IS410/Enabling+SSO+for+WSO2+Servers -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.

Re: [Dev] Fwd: Intern Projects - How to do testing for CEP and BAM based products

2014-01-14 Thread Udara Liyanage
Hi Chamila, If I understood you correctly, you can write test cases for your functions too. You can use our integration framework for this. Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list Dev@wso2.org http://wso2.org/

<    1   2   3   4   >