Re: [Dev] [API M] Overridding endpoint information doesnt work as expected in API Micro Gateway 2.6
Hi Nadeesha and all, I had a closer a look at this, using the demo API provided (Pizzashack API) in APIM. In Ubuntu, this worked fine and the provided config was set as expected. However, in Windows, there seems to be an issue in the gateway.bat script [1]. Got the following error in addition to the usual startup logs: .\runtime\bin\ballerina : ballerina: HTTP access log enabled At line:1 char:1 + .\runtime\bin\ballerina run .\exec\pizzashack-project.balx -e api ... + ~ + CategoryInfo : NotSpecified: (ballerina: HTTP access log enabled:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError The above error didn't stop the services from starting up. And as you mentioned, the config wasn't overridden. However, you can directly run the program without any problems. I ran the following from GW_HOME: >runtime\bin\ballerina run --config conf\micro-gw.conf -e PizzaShackAPI.1.0.0.prod.endpoint.0="http://localhost:8080/x; exec\pizzashack-project.balx In this case, there weren't any errors. And when trying to invoke the API, it resulted in a 500 Internal Server Error response (which is expected in this case I guess) and in the gateway console, the following was logged for the request which confirms that the config for the endpoint URL was overridden using the one we provided using the -e flag: 2018-11-28 17:44:04,895 ERROR [src:0.0.0] - Error in client response : {message:"Connection refused: no further information: localhost/ 127.0.0.1:8080", cause:null} Also note that setting the above endpoint URL as an env var works since in that case, the config API will simply look it up in env vars (tested for the above case). The periods in the config key has to be replaced by underscores as Rajith pointed out. However, don't put the URL within quotes when setting the env var. That'll cause an error in parsing the URL when trying to initialize the HTTP endpoint. [1] https://github.com/wso2/product-microgateway/blob/master/components/micro-gateway-cli/src/main/resources/distribution/bin/gateway.bat Regards, Pubudu On Tue, Nov 27, 2018 at 10:07 AM Nadeesha Gamage wrote: > Hi all, > Can we check and verify this, this looks like a bug to me. > > Nadeesha > > On Fri, Nov 23, 2018 at 7:13 PM Pubudu Fernando wrote: > >> Hi All, >> >> I had a quick look. The following simple b7a program works. Which means >> this is not an issue with the b7a config API. >> import ballerina/config; >> import ballerina/io; >> >> public function main() { >> string s = config:getAsString("InventoryAPI.1.0.prod.endpoint.0"); >> io:println(s); >> } >> >> $ ballerina run -e InventoryAPI.1.0.prod.endpoint.0=" >> http://localhost:8080/x; test.bal >> >> Running the above command prints the provided URL on the console. >> >> Could it be an issue with the gateway startup script? Shall we verify >> that the arguments are correctly passed to the ballerina run command? >> >> Regards, >> Pubudu >> >> On Tue, Nov 20, 2018 at 5:13 PM Chamila Adhikarinayake >> wrote: >> >>> Since microgateway uses ballerina config to resolve the variables[1] >>> related to endpoints, defining environment variables as mentioned in the >>> ballerina docs should work >>> >>> [1] >>> https://github.com/wso2/product-microgateway/blob/master/components/micro-gateway-core/src/main/ballerina/gateway/utils/utils.bal#L401 >>> >>> On Mon, Nov 19, 2018 at 10:19 PM Pubudu Gunatilaka >>> wrote: >>> >>>> Hi Nadeesha, >>>> >>>> Looks like in Windows you have to export env values as follows [1]. >>>> >>>> // In Linux and Mac. >>>> $ export b7a_http_tracelog_path=”./trace.log” >>>> $ export b7a_http_accesslog_path=”./access.log” // >>>> >>>> In Windows. >>>> $ set(x) b7a_http_tracelog_path=”./trace.log” >>>> $ set(x) b7a_http_accesslog_path=”./access.log” >>>> >>>> Could you please try that? If it works we can add to the documentation. >>>> @documentat...@wso2.com @Shani Ranasinghe >>>> @Mariangela Hills >>>> >>>> In addition to this, CLI parameters should work in Windows as well. @Isuru >>>> Haththotuwa @Chamila Adhikarinayake >>>> : Thoughts? >>>> >>>> [1] - https://ballerina.io/learn/api-docs/ballerina/config.html >>>> >>>> Thank you! >>>> >>>> On Mon, Nov 19, 2018 at 7:16 PM Nadeesha Gamage >>>> wrote: >>>> >>>>> Hi Ra
Re: [Dev] [API M] Overridding endpoint information doesnt work as expected in API Micro Gateway 2.6
Hi All, I had a quick look. The following simple b7a program works. Which means this is not an issue with the b7a config API. import ballerina/config; import ballerina/io; public function main() { string s = config:getAsString("InventoryAPI.1.0.prod.endpoint.0"); io:println(s); } $ ballerina run -e InventoryAPI.1.0.prod.endpoint.0=" http://localhost:8080/x; test.bal Running the above command prints the provided URL on the console. Could it be an issue with the gateway startup script? Shall we verify that the arguments are correctly passed to the ballerina run command? Regards, Pubudu On Tue, Nov 20, 2018 at 5:13 PM Chamila Adhikarinayake wrote: > Since microgateway uses ballerina config to resolve the variables[1] > related to endpoints, defining environment variables as mentioned in the > ballerina docs should work > > [1] > https://github.com/wso2/product-microgateway/blob/master/components/micro-gateway-core/src/main/ballerina/gateway/utils/utils.bal#L401 > > On Mon, Nov 19, 2018 at 10:19 PM Pubudu Gunatilaka > wrote: > >> Hi Nadeesha, >> >> Looks like in Windows you have to export env values as follows [1]. >> >> // In Linux and Mac. >> $ export b7a_http_tracelog_path=”./trace.log” >> $ export b7a_http_accesslog_path=”./access.log” // >> >> In Windows. >> $ set(x) b7a_http_tracelog_path=”./trace.log” >> $ set(x) b7a_http_accesslog_path=”./access.log” >> >> Could you please try that? If it works we can add to the documentation. >> @documentat...@wso2.com @Shani Ranasinghe >> @Mariangela Hills >> >> In addition to this, CLI parameters should work in Windows as well. @Isuru >> Haththotuwa @Chamila Adhikarinayake : >> Thoughts? >> >> [1] - https://ballerina.io/learn/api-docs/ballerina/config.html >> >> Thank you! >> >> On Mon, Nov 19, 2018 at 7:16 PM Nadeesha Gamage >> wrote: >> >>> Hi Rajitha, >>> Setting the environment explicitly doesnt work as well for a Windows >>> environment. >>> >>> Nadeesha >>> >>> On Mon, Nov 19, 2018 at 6:29 AM Nadeesha Gamage >>> wrote: >>> >>>> Hi Roshan, >>>> I will try that >>>> >>>> Thank you, >>>> Nadeesha >>>> >>>> On Mon, Nov 19, 2018 at 6:12 AM Rajith Roshan wrote: >>>> >>>>> Hi Nadeesha, >>>>> May be an issue reading -e CLI parameters from ballerina config API. >>>>> Can you try setting the environment variable explicitly[1] as well. >>>>> >>>>> [1] - export InventoryAPI_1_0_prod_endpoint_0=" >>>>> http://localhost:8080/x; >>>>> >>>>> Thanks! >>>>> Rajith >>>>> >>>>> On Mon, Nov 19, 2018 at 8:22 AM Nadeesha Gamage >>>>> wrote: >>>>> >>>>>> >>>>>> + API M team >>>>>> >>>>>> -- Forwarded message - >>>>>> From: Nadeesha Gamage >>>>>> Date: Sun, Nov 18, 2018 at 11:16 AM >>>>>> Subject: [API M] Overridding endpoint information doesnt work as >>>>>> expected in API Micro Gateway 2.6 >>>>>> To: dev >>>>>> >>>>>> >>>>>> Hi Devs, >>>>>> I am trying to override an existing backend API endpoint exposed via >>>>>> MG (after building the MG). I am executing the the following command to >>>>>> run >>>>>> the MG but it still goes to the old endpoint. I have attached the source >>>>>> .bal file generated in setup. The command that I executed is also given >>>>>> below >>>>>> >>>>>> gateway -e InventoryAPI.1.0.prod.endpoint.0=" >>>>>> http://localhost:8080/x; >>>>>> >>>>>> I am running this on a Windows environment. >>>>>> >>>>>> Can anyone let me know if I am doing something wrong or is this an >>>>>> issue? >>>>>> >>>>>> >>>>>> -- >>>>>> Nadeesha Gamage >>>>>> Senior Lead Solutions Engineer >>>>>> T : +94 77 394 5706 >>>>>> B : https://nadeesha678.wordpress.com/ >>>>>> -- >>>>>> Nadeesha Gamage >>>>>> Senior Lead Solutions Engineer >>>>>> T : +94 77 394 5706 >>>>>> B : https://nadeesha678.wordpress.com/ >>>>>> >>>>> >>>>> >>>>> -- >>>>> Rajith Roshan >>>>> Senior Software Engineer, WSO2 Inc. >>>>> Mobile: +94-7 <%2B94-71-554-8430>17-064-214 >>>>> >>>> >>>> >>>> -- >>>> Nadeesha Gamage >>>> Senior Lead Solutions Engineer >>>> T : +94 77 394 5706 >>>> B : https://nadeesha678.wordpress.com/ >>>> >>> >>> >>> -- >>> Nadeesha Gamage >>> Senior Lead Solutions Engineer >>> T : +94 77 394 5706 >>> B : https://nadeesha678.wordpress.com/ >>> >> >> >> -- >> *Pubudu Gunatilaka* >> Committer and PMC Member - Apache Stratos >> Associate Technical Lead >> WSO2, Inc.: http://wso2.com >> mobile : +94774078049 <%2B94772207163> >> >> > > -- > Regards, > Chamila Adhikarinayake > Associate Technical Lead > WSO2, Inc. > Mobile - +94712346437 > Email - chami...@wso2.com > Blog - http://helpfromadhi.blogspot.com/ > -- *Pubudu Fernando *| Senior Software Engineer | WSO2 Inc. (m) +94 77 888 2543 | (e) pubu...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] JKS with multiple keys (each with unique passwords)
Hi, I raised this question on Stackoverflow [1] and someone has answered it. Apparently we have to implement ManagerFactoryParameters [2]. Is this something that would be worth looking into? [1] - https://stackoverflow.com/questions/48183829/jks-with-multiple-keys-different-passwords [2] - https://docs.oracle.com/javase/8/docs/api/javax/net/ssl/ManagerFactoryParameters.html On Wed, Jan 10, 2018 at 5:07 PM, Afkham Azeez <az...@wso2.com> wrote: > Yeah, this has been something discussed over and over again over the past > many years and everybody has been sticking with using the same password for > the private key and keystore. > > Azeez > > On Wed, Jan 10, 2018 at 5:03 PM, Prabath Siriwardena <prab...@wso2.com> > wrote: > >> AFAIK that's how it worked - same password for the private key and the >> key store.. >> >> But reading your mail, it says.. >> >> "However, if the passwords of all the keys were the same, it worked >> correctly. The password of the key store was different from the password(s) >> of the keys in both scenarios. " >> >> Does that mean when you have multiple private keys with the same password >> - but a different password for the key sore, it worked..? >> >> Thanks & regards, >> -Prabath >> >> On Wed, Jan 10, 2018 at 3:22 AM, Pubudu Fernando <pubu...@wso2.com> >> wrote: >> >>> Hi All, >>> >>> We were looking into getting multiple keys with unique passwords in the >>> same key store to work (for the HTTP transport [1]). But when the passwords >>> were unique to each key, it resulted in an UnrecoverableKeyException. >>> However, if the passwords of all the keys were the same, it worked >>> correctly. The password of the key store was different from the password(s) >>> of the keys in both scenarios. >>> >>> Checked several Stackoverflow questions related to this [2], [3], [4], >>> [5] and pretty much every answer to this was to use the same password for >>> both the key store and the key. >>> >>> Tomcat also seem to follow this approach of keeping the store and key >>> passwords the same [6]. >>> >>> Does anyone know whether this can or cannot be done for certain? >>> >>> If this cannot be done, are we also going to keep following the Tomcat's >>> (and others') approach of using the same password for both key store and >>> the key? >>> >>> [1] - https://github.com/wso2/transport-http/blob/master/compone >>> nts/org.wso2.transport.http.netty/src/main/java/org/wso2/tra >>> nsport/http/netty/common/ssl/SSLHandlerFactory.java >>> >>> [2] - https://stackoverflow.com/questions/35709433/java-keystore >>> -with-multiple-keys-and-different-passwords >>> >>> [3] - https://stackoverflow.com/questions/15967650/caused-by-jav >>> a-security-unrecoverablekeyexception-cannot-recover-key?nore >>> direct=1=1 >>> >>> [4] - https://stackoverflow.com/questions/1321557/can-not-get-ke >>> y-from-keystore >>> >>> [5] - https://stackoverflow.com/questions/2889238/keystore-chang >>> e-passwords/2889605 >>> >>> [6] - https://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html#Pr >>> epare_the_Certificate_Keystore >>> >>> Thanks. >>> >>> -- >>> Best Regards, >>> >>> *Pubudu Fernando* >>> Software Engineer >>> WSO2 (www.wso2.com) >>> m: +94 77 888 2543 <077%20888%202543> >>> >>> <https://lk.linkedin.com/in/pubuduf> <http://blog.pubudu.xyz/> >>> <https://github.com/pubudu91> >>> <http://stackoverflow.com/users/4329912/pubudu> >>> >>> >> >> >> -- >> Thanks & Regards, >> Prabath >> >> Twitter : @prabath >> LinkedIn : http://www.linkedin.com/in/prabathsiriwardena >> >> Mobile : +1 650 625 7950 <+1%20650-625-7950> >> >> Blog: http://blog.facilelogin.com >> Vlog: http://vlog.facilelogin.com >> >> >> > > > -- > *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 <+94%2077%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* > -- Best Regards, *Pubudu Fernando* Software Engineer WSO2 (www.wso2.com) m: +94 77 888 2543 <https://lk.linkedin.com/in/pubuduf> <http://blog.pubudu.xyz/> <https://github.com/pubudu91> <http://stackoverflow.com/users/4329912/pubudu> ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] JKS with multiple keys (each with unique passwords)
Yeah, I added 2 certificates with the same password, and a different password for the key store and it worked. On Wed, Jan 10, 2018 at 5:07 PM, Afkham Azeez <az...@wso2.com> wrote: > Yeah, this has been something discussed over and over again over the past > many years and everybody has been sticking with using the same password for > the private key and keystore. > > Then shall we just leave it as it is (using the same password for both store and keys)? Regards, Pubudu Azeez > > On Wed, Jan 10, 2018 at 5:03 PM, Prabath Siriwardena <prab...@wso2.com> > wrote: > >> AFAIK that's how it worked - same password for the private key and the >> key store.. >> >> But reading your mail, it says.. >> >> "However, if the passwords of all the keys were the same, it worked >> correctly. The password of the key store was different from the password(s) >> of the keys in both scenarios. " >> >> Does that mean when you have multiple private keys with the same password >> - but a different password for the key sore, it worked..? >> >> Thanks & regards, >> -Prabath >> >> On Wed, Jan 10, 2018 at 3:22 AM, Pubudu Fernando <pubu...@wso2.com> >> wrote: >> >>> Hi All, >>> >>> We were looking into getting multiple keys with unique passwords in the >>> same key store to work (for the HTTP transport [1]). But when the passwords >>> were unique to each key, it resulted in an UnrecoverableKeyException. >>> However, if the passwords of all the keys were the same, it worked >>> correctly. The password of the key store was different from the password(s) >>> of the keys in both scenarios. >>> >>> Checked several Stackoverflow questions related to this [2], [3], [4], >>> [5] and pretty much every answer to this was to use the same password for >>> both the key store and the key. >>> >>> Tomcat also seem to follow this approach of keeping the store and key >>> passwords the same [6]. >>> >>> Does anyone know whether this can or cannot be done for certain? >>> >>> If this cannot be done, are we also going to keep following the Tomcat's >>> (and others') approach of using the same password for both key store and >>> the key? >>> >>> [1] - https://github.com/wso2/transport-http/blob/master/compone >>> nts/org.wso2.transport.http.netty/src/main/java/org/wso2/tra >>> nsport/http/netty/common/ssl/SSLHandlerFactory.java >>> >>> [2] - https://stackoverflow.com/questions/35709433/java-keystore >>> -with-multiple-keys-and-different-passwords >>> >>> [3] - https://stackoverflow.com/questions/15967650/caused-by-jav >>> a-security-unrecoverablekeyexception-cannot-recover-key?nore >>> direct=1=1 >>> >>> [4] - https://stackoverflow.com/questions/1321557/can-not-get-ke >>> y-from-keystore >>> >>> [5] - https://stackoverflow.com/questions/2889238/keystore-chang >>> e-passwords/2889605 >>> >>> [6] - https://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html#Pr >>> epare_the_Certificate_Keystore >>> >>> Thanks. >>> >>> -- >>> Best Regards, >>> >>> *Pubudu Fernando* >>> Software Engineer >>> WSO2 (www.wso2.com) >>> m: +94 77 888 2543 <077%20888%202543> >>> >>> <https://lk.linkedin.com/in/pubuduf> <http://blog.pubudu.xyz/> >>> <https://github.com/pubudu91> >>> <http://stackoverflow.com/users/4329912/pubudu> >>> >>> >> >> >> -- >> Thanks & Regards, >> Prabath >> >> Twitter : @prabath >> LinkedIn : http://www.linkedin.com/in/prabathsiriwardena >> >> Mobile : +1 650 625 7950 <+1%20650-625-7950> >> >> Blog: http://blog.facilelogin.com >> Vlog: http://vlog.facilelogin.com >> >> >> > > > -- > *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 <+94%2077%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* > -- Best Regards, *Pubudu Fernando* Software Engineer WSO2 (www.wso2.com) m: +94 77 888 2543 <https://lk.linkedin.com/in/pubuduf> <http://blog.pubudu.xyz/> <https://github.com/pubudu91> <http://stackoverflow.com/users/4329912/pubudu> ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] JKS with multiple keys (each with unique passwords)
Hi All, We were looking into getting multiple keys with unique passwords in the same key store to work (for the HTTP transport [1]). But when the passwords were unique to each key, it resulted in an UnrecoverableKeyException. However, if the passwords of all the keys were the same, it worked correctly. The password of the key store was different from the password(s) of the keys in both scenarios. Checked several Stackoverflow questions related to this [2], [3], [4], [5] and pretty much every answer to this was to use the same password for both the key store and the key. Tomcat also seem to follow this approach of keeping the store and key passwords the same [6]. Does anyone know whether this can or cannot be done for certain? If this cannot be done, are we also going to keep following the Tomcat's (and others') approach of using the same password for both key store and the key? [1] - https://github.com/wso2/transport-http/blob/master/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/common/ssl/SSLHandlerFactory.java [2] - https://stackoverflow.com/questions/35709433/java-keystore-with-multiple-keys-and-different-passwords [3] - https://stackoverflow.com/questions/15967650/caused-by-java-security-unrecoverablekeyexception-cannot-recover-key?noredirect=1=1 [4] - https://stackoverflow.com/questions/1321557/can-not-get-key-from-keystore [5] - https://stackoverflow.com/questions/2889238/keystore-change-passwords/2889605 [6] - https://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html#Prepare_the_Certificate_Keystore Thanks. -- Best Regards, *Pubudu Fernando* Software Engineer WSO2 (www.wso2.com) m: +94 77 888 2543 <https://lk.linkedin.com/in/pubuduf> <http://blog.pubudu.xyz/> <https://github.com/pubudu91> <http://stackoverflow.com/users/4329912/pubudu> ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] ${ballerina.home} variable found in the netty-transports.yml config in carbon-tranposrts
Hi Charuka, You can ignore that netty-transports.yml file. Carbon transport simply provides a jar which you can use as a dependency. If you need to configure it, the relevant netty configurations should be provided by the product itself. You can add your own netty-transports.yml file with the configurations you need. Thanks, Pubudu Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa <https://lk.linkedin.com/in/pubuduf> <http://blog.pubudu.xyz> <https://github.com/pubudu91> <http://stackoverflow.com/users/4329912/pubudu> On 18 October 2017 at 13:54, Charuka Karunanayake <char...@wso2.com> wrote: > Hi all, > > Any update on this? ${ballerina.home} variable is still present in the > latest release (v6.0.27). We are working on implementing a web socket in > Analytics Dashboard that requires to configure a HTTPS transport. > > thanks, > > Regards, > Charuka. > > On Mon, Sep 18, 2017 at 11:19 AM, Thusitha Thilina Dayaratne < > thusit...@wso2.com> wrote: > >> Hi Vinod, >> >> In addition to what Sajith mentioned, shouldn't we move all the configs >>> to the deployment.yaml, according to the C5 based config model[1]? Why are >>> we having a separate config for netty? >> >> AFAIK the idea is to move all the carbon-transport related configs to the >> deployment.yaml. I think we couldn't do this due to the time constraints in >> previous releases. >> >> Thanks >> Thusitha >> >> On Mon, Sep 18, 2017 at 11:15 AM, Vinod Kavinda <vi...@wso2.com> wrote: >> >>> HI All, >>> In addition to what Sajith mentioned, shouldn't we move all the configs >>> to the deployment.yaml, according to the C5 based config model[1]? Why are >>> we having a separate config for netty? >>> >>> [1] - https://github.com/wso2/carbon-config/blob/master/docs/Upd >>> atingConfigurations.md >>> >>> On Mon, Sep 18, 2017 at 11:12 AM, Thusitha Thilina Dayaratne < >>> thusit...@wso2.com> wrote: >>> >>>> Hi Sajith, >>>> >>>> AFAIK with the redesign of carbon-transport, OSGi functionality is no >>>> longer valid in transport. But IMHO we should fix this. >>>> >>>> Thanks >>>> Thusitha >>>> >>>> On Mon, Sep 18, 2017 at 11:00 AM, SajithAR Ariyarathna < >>>> sajit...@wso2.com> wrote: >>>> >>>>> Hi All, >>>>> >>>>> I noticed $subject [1]. Any particular reason behind this? >>>>> >>>>> This Ballerina variable has been introduced in v4.2.3 and presents at >>>>> the latest v6.0.7 too. IMO, this variable shouldn't be in the >>>>> netty-transports.yml as this is not a Ballerina repo. >>>>> >>>>> [1] https://github.com/wso2/carbon-transports/blob/v6.0.7/fe >>>>> atures/http/org.wso2.carbon.transport.http.netty.feature/res >>>>> ources/conf/netty-transports.yml#L136 >>>>> >>>>> Thanks. >>>>> >>>>> -- >>>>> Sajith Janaprasad Ariyarathna >>>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com/ >>>>> <https://wso2.com/signature> >>>>> >>>> >>>> >>>> >>>> -- >>>> Thusitha Dayaratne >>>> WSO2 Inc. - lean . enterprise . middleware | wso2.com >>>> >>>> Mobile +94712756809 <+94%2071%20275%206809> >>>> Blog alokayasoya.blogspot.com >>>> Abouthttp://about.me/thusithathilina >>>> <http://wso2.com/signature> >>>> >>>> >>>> ___ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> Vinod Kavinda >>> Senior Software Engineer >>> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.* >>> Mobile : +94 (0) 712 415544 >>> Blog : http://soatechflicks.blogspot.com/ >>> [image: http://wso2.com/signature] >>> <http://wso2.com/signature> >>> >>> >> >> >> -- >> Thusitha Dayaratne >> WSO2 Inc. - lean . enterprise . middleware | wso2.com >> >> Mobile +94712756809 <+94%2071%20275%206809> >> Blog alokayasoya.blogspot.com >> Abouthttp://about.me/thusithathilina >> <http://wso2.com/signature> >> >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Charuka Karunanayake* > Intern | WSO2 > > Email : char...@wso2.com > Mobile : +94711611848 <+94%2071%20161%201848> > > * <http://wso2.com/signature>* > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Is quartz-2.3.0.wso2v1 orbit bundle created properly ?
Hi Mohan, No, this was not tested in a product distribution. Really sorry about that. Will send a PR to fix this as you suggested. Thanks, Pubudu On Thu, Jul 20, 2017 at 10:19 PM, Mohanadarshan Vivekanandalingam < mo...@wso2.com> wrote: > Hi Team, > > We have faced below issue after upgrading the carbon-transports version > for product-sp milestone release. > > Cannot complete the install because one or more required items could not > be found. > Software being installed: WSO2 MSF4J Feature 2.3.0.m2 > (org.wso2.msf4j.feature.group 2.3.0.m2) > Missing requirement: quartz 2.3.0.wso2v1 (quartz 2.3.0.wso2v1) requires > 'package commonj.work 0.0.0' but it could not be found > Cannot satisfy dependency: > From: WSO2 Carbon Transport Connector Framework Feature 4.4.17 > (org.wso2.carbon.connector.framework.feature.group 4.4.17) > To: quartz [2.3.0.wso2v1] > Cannot satisfy dependency: > From: WSO2 MSF4J Feature 2.3.0.m2 (org.wso2.msf4j.feature.group 2.3.0.m2) > To: org.wso2.carbon.connector.framework.feature.group [4.3.0.m2,5.0.0) > > When we analyzed the related orbit bundle, I could see there are some > external dependencies are defined in the Import-Package section of the > manifest as shown below. > > Import-Package: com.mchange.v2.c3p0,com.zaxxer.hikari;version="[2.3,3) > ",commonj.work;resolution:=optional,javax.ejb;resolution:=optional,ja > vax.jms;resolution:=optional,javax.mail;resolution:=optional,javax.ma > il.internet;resolution:=optional,javax.management,javax.management.op > enmbean,javax.naming,javax.servlet;resolution:=optional,javax.servlet > .http;resolution:=optional,javax.sql;resolution:=optional,javax.trans > action;resolution:=optional,javax.xml.bind,javax.xml.namespace,javax. > xml.parsers,javax.xml.xpath,oracle.sql;resolution:=optional,org.jboss > .logging;resolution:=optional,org.jboss.naming;resolution:=optional,o > rg.jboss.system;resolution:=optional,org.quartz,org.quartz.impl.match > ers,org.quartz.impl.triggers,org.quartz.jobs;resolution:=optional,org > .quartz.spi,org.slf4j;version="[1.7,2)",org.terracotta.toolkit;resolu > tion:=optional,org.terracotta.toolkit.atomic;resolution:=optional,org > .terracotta.toolkit.builder;resolution:=optional,org.terracotta.toolk > it.cluster;resolution:=optional,org.terracotta.toolkit.collections;re > solution:=optional,org.terracotta.toolkit.concurrent.locks;resolution > :=optional,org.terracotta.toolkit.config;resolution:=optional,org.ter > racotta.toolkit.internal;resolution:=optional,org.terracotta.toolkit. > internal.concurrent.locks;resolution:=optional,org.terracotta.toolkit > .rejoin;resolution:=optional,org.terracotta.toolkit.search;resolution > :=optional,org.terracotta.toolkit.search.attribute;resolution:=option > al,org.terracotta.toolkit.store;resolution:=optional,org.w3c.dom,org. > xml.sax,weblogic.jdbc.jts;resolution:=optional,weblogic.jdbc.vendor.o > racle;resolution:=optional > > IMO, above is not correct, then we'll ended up adding more and more > external dependencies to use this orbit bundle. @Pubudu, Have we tested > above orbit bundle in any product distribution before doing the release ? > > I have checked the pom file of existing orbit release of quartz > (2.1.1.wso2v1) and it has below entries. IMO, below should be the correct > way to handle this.. > > > > org.apache.felix > maven-bundle-plugin > 1.4.0 > true > > > ${pom.artifactId} SymbolicName> > ${pom.artifactId} > > org.quartz.*;version="2.1.1" > > ** > *** > > > > > > @Thusitha, Nira and team, appreciate your input on this ? > > Thanks, > Mohan > > -- > *V. Mohanadarshan* > *Associate Tech Lead,* > *Data Technologies Team,* > *WSO2, Inc. http://wso2.com <http://wso2.com> * > *lean.enterprise.middleware.* > > email: mo...@wso2.com > phone:(+94) 771117673 <+94%2077%20111%207673> > -- Best Regards, *Pubudu Fernando* Software Engineer WSO2, Inc. (www.wso2.com) m: +94 77 888 2543 <https://lk.linkedin.com/in/pubuduf> <http://blog.pubudu.xyz/> <https://github.com/pubudu91> <http://stackoverflow.com/users/4329912/pubudu> ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DEV] How to Pause / Resume a file server or a file system server ?
Hi Minudika, No we cannot pause/resume since only start() and stop() methods are provided as you mentioned. Thanks, Pubudu On Mon, Jul 17, 2017 at 12:27 AM, Minudika Malshan <minud...@wso2.com> wrote: > Hi, > > Do we have the facility to pause and resume a file server or a file system > server? > AFAIK there are only stop() and start() methods. > > Thanks and regards! > > > -- > *Minudika Gammanpila* > Software Engineer - WSO2 > > Email : minud...@wso2.com > Mobile : +94715659887 <+94%2071%20565%209887> > Web : http://wso2.com <http://wso2.com/signature> > -- Best Regards, *Pubudu Fernando* Software Engineer WSO2, Inc. (www.wso2.com) m: +94 77 888 2543 <https://lk.linkedin.com/in/pubuduf> <http://blog.pubudu.xyz/> <https://github.com/pubudu91> <http://stackoverflow.com/users/4329912/pubudu> ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Getting meta data of consumed file with the carbon message.
Hi, Thanks for pointing it out Minudika. We will add the ability to retrieve meta data of files. Thanks Pubudu On Fri, Jul 14, 2017 at 1:01 AM, Minudika Malshan <minud...@wso2.com> wrote: > I was referring to FileConsumer.java[1] in PR-314 > <https://github.com/wso2/carbon-transports/pull/314>. > > [1] https://github.com/wso2/carbon-transports/pull/314/files#diff- > 518cebee9a97a86819ac8daa5b646cdaR319 > > BR > > On Thu, Jul 13, 2017 at 8:49 PM, Minudika Malshan <minud...@wso2.com> > wrote: > >> Hi, >> >> In previous implementation of file transport, it is possible to get meta >> data of consumed file from the carbon message which is received to message >> processor. [1] >> >> Will it be possible in the new one also? >> >> Could you please check and confirm this because those data can be >> necessary in siddhi level if they are required as transport properties >> (trp). >> >> [1] https://github.com/wso2/carbon-transports/blob/master/file/ >> org.wso2.carbon.transport.file/src/main/java/org/wso2/ >> carbon/transport/file/connector/server/FileConsumer.java#L337 >> >> Thanks and regards! >> >> >> -- >> *Minudika Gammanpila* >> Software Engineer - WSO2 >> >> Email : minud...@wso2.com >> Mobile : +94715659887 <+94%2071%20565%209887> >> Web : http://wso2.com <http://wso2.com/signature> >> > > > > -- > *Minudika Gammanpila* > Software Engineer - WSO2 > > Email : minud...@wso2.com > Mobile : +94715659887 <+94%2071%20565%209887> > Web : http://wso2.com <http://wso2.com/signature> > -- Best Regards, *Pubudu Fernando* Software Engineer WSO2, Inc. (www.wso2.com) m: +94 77 888 2543 <https://lk.linkedin.com/in/pubuduf> <http://blog.pubudu.xyz/> <https://github.com/pubudu91> <http://stackoverflow.com/users/4329912/pubudu> ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Fwd: [GSoC 16'] Proposal 20: [IS] SCIM 2.0 Support to WSO2 Identity Server
[adding mentors] On Mon, Mar 21, 2016 at 8:35 PM, Manujith Pallewatte <manujith...@gmail.com> wrote: > Hi, > > I'm Manujith Pallewatte, a 2nd year undergraduate from Department of > Computer Science and Engineering, University of Moratuwa. I'm interested in > doing project for WSO2 for GSoC 2016. > > I already picked Proposal 20 considering my capabilities and interest in > the area. > As a Oracle certified java programmer I have a firm hand on Java, and I > have developed several REST APIs on top of different platforms (like google > app engine). And currently I'm reading on SCIM specification. > > So far, I cloned the *product-is* repo (https://github.com/wso2/product-is) > which i believe to be the source of Identity Server and then build it. I > played around with the system a bit and now trying to connect different > services to it. > > So I want to know if I'm going in the wrong direction (with the objective > of working for the above proposal) and please give me some suggestions to > read or work on to improve my familiarity with the system. > > Thank You > -- > > > > [image: Manujith Pallewatte on about.me] > > Manujith Pallewatte > about.me/manzzup > <http://about.me/manzzup> > > > > -- > > > > [image: Manujith Pallewatte on about.me] > > Manujith Pallewatte > about.me/manzzup > <http://about.me/manzzup> > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Pubudu Fernando* Software Engineer - Intern WSO2 Inc. m: +94 77 888 2543 <https://lk.linkedin.com/in/pubuduf> <http://blog.pubudu.xyz/> <https://github.com/pubudu91> <http://stackoverflow.com/users/4329912/pubudu> ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [VOTE] Release WSO2 Puppet Modules 1.1.0 RC1
Hi All, I just noticed that the identity/sso-idp-config.xml is not included as a template in [1]. This needs to be added as a template since the AssertionConsumerService setting in the file needs to be configurable. If not properly configured, the user sign-in won't function as expected. To reproduce this issue, start up a fresh GReg 5.1.0 instance (with HostName and MgtHostName in carbon.xml configured) in a separate laptop (or in a virtual server), and try to sign-in (default credentials) to either the store or the publisher using the browser. [1] - https://github.com/wso2/puppet-modules/tree/master/modules/wso2greg/templates/5.1.0/repository/conf Thanks Pubudu *Pubudu Fernando* Software Engineer - Intern WSO2 Inc. m: +94 77 888 2543 <https://lk.linkedin.com/in/pubuduf> <http://blog.pubudu.xyz/> <https://github.com/pubudu91> <http://stackoverflow.com/users/4329912/pubudu> On Tue, Mar 8, 2016 at 5:16 PM, Thanuja Uruththirakodeeswaran < thanu...@wso2.com> wrote: > Hi All, > > I have corrected the README files. Please review the p/r [1]. > > [1]. https://github.com/wso2/puppet-modules/pull/25 > > Thanks. > > On Tue, Mar 8, 2016 at 10:32 AM, Chamila De Alwis <chami...@wso2.com> > wrote: > >> Hi, >> >> This vote is now cancelled to correct the above mentioned issues. >> >> >> Regards, >> Chamila de Alwis >> Committer and PMC Member - Apache Stratos >> Software Engineer | WSO2 | +94772207163 >> Blog: code.chamiladealwis.com >> >> >> >> On Mon, Mar 7, 2016 at 6:21 PM, Isuru Haththotuwa <isu...@wso2.com> >> wrote: >> >>> Verified the following: >>> >>>1. IS 5.0.0 and 5.1.0 single node deployment >>>2. APIM 1.9.1 and 1.10.1 single node deployment >>> >>> [X] Stable - Go ahead and release >>> >>> On Fri, Mar 4, 2016 at 11:08 AM, Chamila De Alwis <chami...@wso2.com> >>> wrote: >>> >>>> Hi, >>>> >>>> This is the first release candidate of WSO2 Puppet Modules 1.1.0. >>>> Please download, verify, and vote. >>>> >>>> [ ] Broken - Do not release (explain why) >>>> [ ] Stable - Go ahead and release >>>> >>>> *This release is based on the following tag:* >>>> https://github.com/wso2/puppet-modules/releases/tag/1.1.0-rc1 >>>> <https://github.com/wso2/puppet-modules/releases/tag/1.1.0-rc1> >>>> <https://github.com/wso2/puppet-modules/releases/tag/1.1.0-rc1> >>>> >>>> *Release verification guide can be found at:* >>>> https://github.com/wso2/puppet-modules/wiki/Verifying-Puppet-Modules >>>> >>>> *This release contains the following new features:* >>>> >>>>1. Puppet configurations to enable SecureVault >>>>2. Puppet templates and Hieradata for WSO2 API Manager 1.10.0 >>>>3. Additional Hieradata for WSO2 API Manager 1.9.1 Key Manager, >>>>Store, Publisher, and Gateway profiles >>>>4. Puppet templates and Hieradata for WSO2 Message Broker 3.1.0 >>>>5. Puppet templates and Hieradata for WSO2 Data Analytics Server >>>>3.0.1 >>>> >>>> Furthermore, it contains minor fixes to streamline Hieradata. >>>> >>>> *Source and distribution packages can be downloaded at:* >>>> https://github.com/wso2/puppet-modules/releases/tag/1.1.0-rc1 >>>> >>>> Regards, >>>> Chamila de Alwis >>>> Committer and PMC Member - Apache Stratos >>>> Software Engineer | WSO2 | +94772207163 >>>> Blog: code.chamiladealwis.com >>>> >>>> >>>> >>>> ___ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> Thanks and Regards, >>> >>> Isuru H. >>> +94 716 358 048* <http://wso2.com/>* >>> >>> >>> >>> ___ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Thanuja Uruththirakodeeswaran > Software Engineer > WSO2 Inc.;http://wso2.com > lean.enterprise.middleware > > mobile: +94 774363167 > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [GSoC] Proposal 8: HTTP Load balancer on top of WSO2 Gateway
Hi Kasun & Isuru, Thanks for the guidance. I will have a look at what you have mentioned and inform you of the progress made. Thanks. Pubudu *Pubudu Fernando* Software Engineer - Intern WSO2 Inc. mobile: +94 77 888 2543 blog: http://blog.pubudu.xyz On Wed, Mar 2, 2016 at 10:28 AM, Kasun Indrasiri <ka...@wso2.com> wrote: > Hi Pubudu, > > Can you come up with the use cases that you are planning to add on top of > HTTP GW. Also, come up with a design of the existing GW and how the LB > related features will be implemented on the GW. These things will be > critical in order to proceed with the project. > > Thanks, > Kasun > > On Wed, Mar 2, 2016 at 9:28 AM, Isuru Ranawaka <isu...@wso2.com> wrote: > >> Hi Pubudu, >> >> First you can evaluate existing loadbalancers (ex Nginx , HA ) and look >> in to main features related to HTTP loadbalancing such as Load balancing >> methods (roundrobin, iphash, leastconnected) , session persistence, ..etc. >> Try to identify how those concepts works within those and come up with a >> set of features that needs to be implemented. >> >> thanks >> IsuruR >> >> On Wed, Mar 2, 2016 at 1:12 AM, Pubudu Fernando <pubudu...@cse.mrt.ac.lk> >> wrote: >> >>> Hi, >>> >>> I'm a 3rd year Computer Engineering undergraduate student from >>> University of Moratuwa and I am interested in contributing to proposal 8, >>> developing a HTTP load balancer on top of Gateway for GSoC. I am a bit >>> familiar with load balancing concepts and WSO2 Gateway and I have >>> configured and used Ngnix as a load balancer when configuring WSO2 server >>> clusters. And I also did some background reading ([1], [2]) in order to >>> gain a better understanding of concepts behind the construction of a load >>> balancer. >>> >>> I would be grateful if you can advise me (topics and libraries that I >>> should look up etc), regarding how to proceed with this project. Also, can >>> you please elaborate a bit more about the requirements? Which load >>> balancing algorithms do you expect to be implemented in this project? >>> >>> [1] - http://www.aosabook.org/en/nginx.html >>> [2] - >>> https://www.digitalocean.com/community/tutorials/understanding-nginx-http-proxying-load-balancing-buffering-and-caching >>> >>> Thank you. >>> >>> Best Regards, >>> >>> *Pubudu Fernando* >>> Batch '12 >>> Department of Computer Science and Engineering >>> University of Moratuwa >>> >> >> >> >> -- >> Best Regards >> Isuru Ranawaka >> M: +94714629880 >> Blog : http://isurur.blogspot.com/ >> > > > > -- > Kasun Indrasiri > Software Architect > WSO2, Inc.; http://wso2.com > lean.enterprise.middleware > > cell: +94 77 556 5206 > Blog : http://kasunpanorama.blogspot.com/ > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [GSoC] Proposal 8: HTTP Load balancer on top of WSO2 Gateway
Hi, I'm a 3rd year Computer Engineering undergraduate student from University of Moratuwa and I am interested in contributing to proposal 8, developing a HTTP load balancer on top of Gateway for GSoC. I am a bit familiar with load balancing concepts and WSO2 Gateway and I have configured and used Ngnix as a load balancer when configuring WSO2 server clusters. And I also did some background reading ([1], [2]) in order to gain a better understanding of concepts behind the construction of a load balancer. I would be grateful if you can advise me (topics and libraries that I should look up etc), regarding how to proceed with this project. Also, can you please elaborate a bit more about the requirements? Which load balancing algorithms do you expect to be implemented in this project? [1] - http://www.aosabook.org/en/nginx.html [2] - https://www.digitalocean.com/community/tutorials/understanding-nginx-http-proxying-load-balancing-buffering-and-caching Thank you. Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] puppet modules - validating yaml files
Hi, I make use of [1] in Atom for catching and fixing syntax errors in Puppet modules. Works in the terminal too. Source code is available on Github. Maybe this can be adapted for use, if incorporating validation to the project itself? [1] - https://atom.io/packages/linter-puppet-lint *Pubudu Fernando* Software Engineering Intern WSO2 Inc. mobile: +94 77 888 2543 blog: http://blog.pubudu.xyz On Sun, Jan 17, 2016 at 2:26 AM, Sajith Kariyawasam <saj...@wso2.com> wrote: > well, ideally we should validate all the puppet modules too (*.pp files) > for syntax errors, at the time of packaging the modules. > > On Sun, Jan 17, 2016 at 2:24 AM, Sajith Kariyawasam <saj...@wso2.com> > wrote: > >> Hi Devs, >> >> While implementing puppet modules in [1] I came across with syntax errors >> (using tabs, missing semicolons etc) in yaml files and which was detected >> only at the puppet runtime. >> True that some editors do syntax validation, but there could be >> situations developers use simple editors. IMO its good if we can provide >> yaml validation into the project itself, which would >> make sure there are no yaml syntax errors. For now, I wrote a simple ruby >> script[2] to validate this and were able to find one issue in a yaml file >> :) >> May be we could incorporate this into the maven build file? WDYT? >> >> [1] https://github.com/wso2/puppet-modules >> [2] >> = >> begin >> require 'yaml' >> >> Dir.glob('**/*.yaml') do |rb_file| >> YAML.load_file("#{rb_file}") >> end >> >> rescue => e >> puts "Error during processing: #{$!}" >> end >> = >> >> Thanks, >> Sajith >> >> -- >> Sajith Kariyawasam >> *Committer and PMC member, Apache Stratos, * >> *WSO2 Inc.; http://wso2.com <http://wso2.com>* >> *Mobile: 0772269575* >> > > > > -- > Sajith Kariyawasam > *Committer and PMC member, Apache Stratos, * > *WSO2 Inc.; http://wso2.com <http://wso2.com>* > *Mobile: 0772269575* > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Clustering Governance Registry 5.1.0
Hi, I'm trying to create a cluster for Governance Registry 5.1.0, following the instructions given at (the documentation for GR 5.1.0 [1] points to [2]) [2]. In step 2 of [3], it says to use a file at $GREG_HOME/dbscripts/apimgt/mysql.sql. However, in GR 5.1.0, there isn't any folder called apimgt in dbscripts folder. How should I proceed with this? [1] https://docs.wso2.com/display/Governance510/Clustered+Deployment [2] https://docs.wso2.com/display/CLUSTER44x/Clustering+Governance+Registry+5.0.0 [3] https://docs.wso2.com/display/CLUSTER44x/Clustering+Governance+Registry+5.0.0#ClusteringGovernanceRegistry5.0.0-CreatingtheDBmountsforthecluster Thanks. *Pubudu Fernando* Software Engineering Intern WSO2 Inc. mobile: +94 77 888 2543 skype: pubudu.fernando ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ESB] Could not create custom proxy server
Hi, "The method replace(char, char) in the type String is not applicable for the arguments (String, String)" Note that line. It looks like you are passing the wrong type of parameters to this method replace() you are using. *Pubudu Fernando* Software Engineering Intern WSO2 Inc. mobile: +94 77 888 2543 skype: pubudu.fernando On Mon, Nov 16, 2015 at 4:45 PM, Vithulan Vijayanandan <vithu...@wso2.com> wrote: > Hi, > I got the following error while I was trying to create a custom proxy > service. What could be the root-course of this error? > > ERROR - ApplicationDispatcher Servlet.service() for servlet bridgeservlet > threw exception > org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for > JSP > > PWC6197: An error occurred at line: 109 in the jsp file: > /proxyservices/index.jsp > PWC6199: Generated servlet error: > The type java.lang.CharSequence cannot be resolved. It is indirectly > referenced from required .class files > > PWC6197: An error occurred at line: 109 in the jsp file: > /proxyservices/index.jsp > PWC6199: Generated servlet error: > The method replace(char, char) in the type String is not applicable for > the arguments (String, String) > > > at > org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:129) > at > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:299) > at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:392) > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:453) > at > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:625) > at > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) > at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) > at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155) > at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) > at > org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37) > at > org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) > at > org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) > at > org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) > at > org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) > at > org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605) > at > org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544) > at > org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37) > at > org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369) > at > org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1015) > at > org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:689) > at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:98) > at > org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88) > at > org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82) > at > org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465) > at > org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140) > at > org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117) > at > org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171) > at > org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75) > at > org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80) > at > org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:603) > at > org.apache.jsp.admin.layo
Re: [Dev] [GSoC2015] Proposal 2: Siddhi Editor for WSO2 CEP
Hi, Noted, I'll use 1.7 Can you please have a look at the proposal as well? Thanks, Pubudu On Mar 27, 2015 10:52 AM, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: On Fri, Mar 27, 2015 at 2:24 AM, Pubudu Fernando pubudu...@cse.mrt.ac.lk wrote: Hi, Sorry about the long delay. I have prepared a draft of my GSoC proposal. I would be grateful if you can go through it and let me know of the areas on which it needs to improve. https://docs.google.com/a/cse.mrt.ac.lk/document/d/1yZQH9uRaGieeIupaVtw_v_pdIF4uYgOXzlVw_VVR9mE/edit?usp=sharing And also, I have tried running a few samples on the CEP. When the server is starting, it gives out an error saying that Carbon is only supported on JDK 1.6 and 1.7 (I'm using 1.8). The server is running fine afterwards though. Current released WSO2 product versions does not run in jdk 1.8 .. Please use jdk 1.6 or 1.7.. Thank you. Pubudu On 11 March 2015 at 19:55, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: On Tue, Mar 10, 2015 at 6:03 PM, Pubudu Fernando pubudu...@cse.mrt.ac.lk wrote: Hi, Thank you very much for the Google Hangout session today. It was very helpful in getting a good idea about what is expected from us. I had some issues with the connection towards the end of the session, so I couldn't raise my questions there. Anyways, in a nutshell, what we are supposed to do is not really to come up with a brand new editor for Siddhi, but to add more capabilities to the existing editor which would better assist the user in writing queries, right? Yes, It can be adding improvements for existing siddhi editor if it is possible. If not, you can come up with new design as well. And the second question, what is the technical background of the typical user of the Siddhi query editor? Are they Software Engineers or someone else with a similar, strong technical background? Or is it used by others with a lesser technical background (i.e: finance division of an organization)? Users will have basic knowledge but not going to be a person who know siddhi language well. If a user knows well about siddhi then current siddhi editor is enough. But we are looking for an editor which help and give some idea for a basic user who have less/very less knowledge about Siddhi. Hope, it is clear now.. Thanks, Mohan Thanks, Pubudu On 9 March 2015 at 01:45, Pubudu Fernando pubudu...@cse.mrt.ac.lk wrote: Hi Mohan, Thank you for the reply and yes, I would really appreciate their guidance in this. :) I am following the mailing list, and I will do my best to keep up-to-date with the latest developments related to the project. Currently I am going through the documentation of CEP and the codebase of Siddhi in order to get a better understanding of the project. Thanks, Pubudu On 8 March 2015 at 02:47, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: On Fri, Mar 6, 2015 at 1:57 AM, Pubudu Fernando pubudu...@cse.mrt.ac.lk wrote: Hi, Hi Pubudu, I'm Pubudu, a second year undergraduate student at the Department of Computer Science and Engineering in University of Moratuwa. I am interested in undertaking the above mentioned project for GSoC 2015. Can you please let me know what the requirements are in order to get selected for the project? Do I have to submit bug fixes or something of the sort? Welcome and happy to hear that you like to work on this project.. I hope, you have some understanding about the project by looking at other dev mails. Anyway FYI, Siddhi is the event processing engines which comes with WSO2 CEP. At the moment there is no any proper editor to write Siddhi queries. From this project, we are expected to develop a graphical editor to write Siddhi queries. I am adding Suho Srinath to the thread who can give more guidelines and information about the project, then you can ahead with preparing the proposal for the project.. Yes. you are always welcome to contribute by giving bug fixes.. :) Thanks, Mohan Thank you. -- Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *V. Mohanadarshan* *Software Engineer,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com http://wso2.com * *lean.enterprise.middleware.* email: mo...@wso2.com phone:(+94) 771117673 -- Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa -- Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa -- *V. Mohanadarshan* *Software Engineer,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com http://wso2.com * *lean.enterprise.middleware.* email: mo...@wso2.com phone:(+94) 771117673 -- Best Regards
Re: [Dev] [GSoC2015] Proposal 2: Siddhi Editor for WSO2 CEP
Hi, Sorry about the long delay. I have prepared a draft of my GSoC proposal. I would be grateful if you can go through it and let me know of the areas on which it needs to improve. https://docs.google.com/a/cse.mrt.ac.lk/document/d/1yZQH9uRaGieeIupaVtw_v_pdIF4uYgOXzlVw_VVR9mE/edit?usp=sharing And also, I have tried running a few samples on the CEP. When the server is starting, it gives out an error saying that Carbon is only supported on JDK 1.6 and 1.7 (I'm using 1.8). The server is running fine afterwards though. Thank you. Pubudu On 11 March 2015 at 19:55, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: On Tue, Mar 10, 2015 at 6:03 PM, Pubudu Fernando pubudu...@cse.mrt.ac.lk wrote: Hi, Thank you very much for the Google Hangout session today. It was very helpful in getting a good idea about what is expected from us. I had some issues with the connection towards the end of the session, so I couldn't raise my questions there. Anyways, in a nutshell, what we are supposed to do is not really to come up with a brand new editor for Siddhi, but to add more capabilities to the existing editor which would better assist the user in writing queries, right? Yes, It can be adding improvements for existing siddhi editor if it is possible. If not, you can come up with new design as well. And the second question, what is the technical background of the typical user of the Siddhi query editor? Are they Software Engineers or someone else with a similar, strong technical background? Or is it used by others with a lesser technical background (i.e: finance division of an organization)? Users will have basic knowledge but not going to be a person who know siddhi language well. If a user knows well about siddhi then current siddhi editor is enough. But we are looking for an editor which help and give some idea for a basic user who have less/very less knowledge about Siddhi. Hope, it is clear now.. Thanks, Mohan Thanks, Pubudu On 9 March 2015 at 01:45, Pubudu Fernando pubudu...@cse.mrt.ac.lk wrote: Hi Mohan, Thank you for the reply and yes, I would really appreciate their guidance in this. :) I am following the mailing list, and I will do my best to keep up-to-date with the latest developments related to the project. Currently I am going through the documentation of CEP and the codebase of Siddhi in order to get a better understanding of the project. Thanks, Pubudu On 8 March 2015 at 02:47, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: On Fri, Mar 6, 2015 at 1:57 AM, Pubudu Fernando pubudu...@cse.mrt.ac.lk wrote: Hi, Hi Pubudu, I'm Pubudu, a second year undergraduate student at the Department of Computer Science and Engineering in University of Moratuwa. I am interested in undertaking the above mentioned project for GSoC 2015. Can you please let me know what the requirements are in order to get selected for the project? Do I have to submit bug fixes or something of the sort? Welcome and happy to hear that you like to work on this project.. I hope, you have some understanding about the project by looking at other dev mails. Anyway FYI, Siddhi is the event processing engines which comes with WSO2 CEP. At the moment there is no any proper editor to write Siddhi queries. From this project, we are expected to develop a graphical editor to write Siddhi queries. I am adding Suho Srinath to the thread who can give more guidelines and information about the project, then you can ahead with preparing the proposal for the project.. Yes. you are always welcome to contribute by giving bug fixes.. :) Thanks, Mohan Thank you. -- Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *V. Mohanadarshan* *Software Engineer,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com http://wso2.com * *lean.enterprise.middleware.* email: mo...@wso2.com phone:(+94) 771117673 -- Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa -- Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa -- *V. Mohanadarshan* *Software Engineer,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com http://wso2.com * *lean.enterprise.middleware.* email: mo...@wso2.com phone:(+94) 771117673 -- Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [GSoC2015] Proposal 2: Siddhi Editor for WSO2 CEP
Hi, Thank you very much for the Google Hangout session today. It was very helpful in getting a good idea about what is expected from us. I had some issues with the connection towards the end of the session, so I couldn't raise my questions there. Anyways, in a nutshell, what we are supposed to do is not really to come up with a brand new editor for Siddhi, but to add more capabilities to the existing editor which would better assist the user in writing queries, right? And the second question, what is the technical background of the typical user of the Siddhi query editor? Are they Software Engineers or someone else with a similar, strong technical background? Or is it used by others with a lesser technical background (i.e: finance division of an organization)? Thanks, Pubudu On 9 March 2015 at 01:45, Pubudu Fernando pubudu...@cse.mrt.ac.lk wrote: Hi Mohan, Thank you for the reply and yes, I would really appreciate their guidance in this. :) I am following the mailing list, and I will do my best to keep up-to-date with the latest developments related to the project. Currently I am going through the documentation of CEP and the codebase of Siddhi in order to get a better understanding of the project. Thanks, Pubudu On 8 March 2015 at 02:47, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: On Fri, Mar 6, 2015 at 1:57 AM, Pubudu Fernando pubudu...@cse.mrt.ac.lk wrote: Hi, Hi Pubudu, I'm Pubudu, a second year undergraduate student at the Department of Computer Science and Engineering in University of Moratuwa. I am interested in undertaking the above mentioned project for GSoC 2015. Can you please let me know what the requirements are in order to get selected for the project? Do I have to submit bug fixes or something of the sort? Welcome and happy to hear that you like to work on this project.. I hope, you have some understanding about the project by looking at other dev mails. Anyway FYI, Siddhi is the event processing engines which comes with WSO2 CEP. At the moment there is no any proper editor to write Siddhi queries. From this project, we are expected to develop a graphical editor to write Siddhi queries. I am adding Suho Srinath to the thread who can give more guidelines and information about the project, then you can ahead with preparing the proposal for the project.. Yes. you are always welcome to contribute by giving bug fixes.. :) Thanks, Mohan Thank you. -- Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *V. Mohanadarshan* *Software Engineer,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com http://wso2.com * *lean.enterprise.middleware.* email: mo...@wso2.com phone:(+94) 771117673 -- Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa -- Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [GSoC2015] Proposal 2: Siddhi Editor for WSO2 CEP
Hi Mohan, Thank you for the reply and yes, I would really appreciate their guidance in this. :) I am following the mailing list, and I will do my best to keep up-to-date with the latest developments related to the project. Currently I am going through the documentation of CEP and the codebase of Siddhi in order to get a better understanding of the project. Thanks, Pubudu On 8 March 2015 at 02:47, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: On Fri, Mar 6, 2015 at 1:57 AM, Pubudu Fernando pubudu...@cse.mrt.ac.lk wrote: Hi, Hi Pubudu, I'm Pubudu, a second year undergraduate student at the Department of Computer Science and Engineering in University of Moratuwa. I am interested in undertaking the above mentioned project for GSoC 2015. Can you please let me know what the requirements are in order to get selected for the project? Do I have to submit bug fixes or something of the sort? Welcome and happy to hear that you like to work on this project.. I hope, you have some understanding about the project by looking at other dev mails. Anyway FYI, Siddhi is the event processing engines which comes with WSO2 CEP. At the moment there is no any proper editor to write Siddhi queries. From this project, we are expected to develop a graphical editor to write Siddhi queries. I am adding Suho Srinath to the thread who can give more guidelines and information about the project, then you can ahead with preparing the proposal for the project.. Yes. you are always welcome to contribute by giving bug fixes.. :) Thanks, Mohan Thank you. -- Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *V. Mohanadarshan* *Software Engineer,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com http://wso2.com * *lean.enterprise.middleware.* email: mo...@wso2.com phone:(+94) 771117673 -- Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [GSoC2015] Proposal 2: Siddhi Editor for WSO2 CEP
Hi, I'm Pubudu, a second year undergraduate student at the Department of Computer Science and Engineering in University of Moratuwa. I am interested in undertaking the above mentioned project for GSoC 2015. Can you please let me know what the requirements are in order to get selected for the project? Do I have to submit bug fixes or something of the sort? Thank you. -- Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev