Re: [Dev] Exception occurs when trying to update an existing tenant
Hi Danushka, Please find the attached log. Also, I have checked add_tenant.jsp and submit_tenant_ajaxprocessor.jsp at [1]. As far as I observed both save and update buttons' actions have handled properly , but I was unable to find a cause. [1] http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/stratos/tenant-mgt/org.wso2.carbon.tenant.mgt.ui/2.2.1/src/main/resources/web/tenant-mgt Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine TID: [0] [IS] [2014-09-08 08:08:59,172] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2 Carbon... {org.wso2.carbon.core.internal.CarbonCoreActivator} TID: [0] [IS] [2014-09-08 08:08:59,175] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : Linux 3.8.0-30-generic, amd64 {org.wso2.carbon.core.internal.CarbonCoreActivator} TID: [0] [IS] [2014-09-08 08:08:59,175] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home: /home/sohani/sohani/jdk-7u17-linux-x64/usr/java/jdk1.7.0_17/jre {org.wso2.carbon.core.internal.CarbonCoreActivator} TID: [0] [IS] [2014-09-08 08:08:59,175] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version : 1.7.0_17 {org.wso2.carbon.core.internal.CarbonCoreActivator} TID: [0] [IS] [2014-09-08 08:08:59,176] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : Java HotSpot(TM) 64-Bit Server VM 23.7-b01,Oracle Corporation {org.wso2.carbon.core.internal.CarbonCoreActivator} TID: [0] [IS] [2014-09-08 08:08:59,176] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home : /home/sohani/Downloads/Desktop/Support/-168/wso2is-5.0.0 {org.wso2.carbon.core.internal.CarbonCoreActivator} TID: [0] [IS] [2014-09-08 08:08:59,176] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir: /home/sohani/Downloads/Desktop/Support/-168/wso2is-5.0.0/tmp {org.wso2.carbon.core.internal.CarbonCoreActivator} TID: [0] [IS] [2014-09-08 08:08:59,176] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - User : sohani, en-US, Asia/Colombo {org.wso2.carbon.core.internal.CarbonCoreActivator} TID: [0] [IS] [2014-09-08 08:08:59,253] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - The default keystore (wso2carbon.jks) is currently being used. To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile. {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} TID: [0] [IS] [2014-09-08 08:08:59,264] INFO {org.wso2.carbon.databridge.agent.thrift.AgentHolder} - Agent created ! {org.wso2.carbon.databridge.agent.thrift.AgentHolder} TID: [0] [IS] [2014-09-08 08:08:59,284] INFO {org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} - Successfully deployed Agent Client {org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} TID: [0] [IS] [2014-09-08 08:08:59,506] INFO {org.wso2.carbon.identity.authenticator.iwa.ui.internal.Activator} - Integrated Windows Authenticator enabled in the system {org.wso2.carbon.identity.authenticator.iwa.ui.internal.Activator} TID: [0] [IS] [2014-09-08 08:08:59,684] INFO {org.wso2.carbon.ldap.server.configuration.LDAPConfigurationBuilder} - KDC server is disabled. {org.wso2.carbon.ldap.server.configuration.LDAPConfigurationBuilder} TID: [0] [IS] [2014-09-08 08:08:59,756] INFO {org.wso2.carbon.ldap.server.DirectoryActivator} - Initializing Directory Server with working directory /home/sohani/Downloads/Desktop/Support/-168/wso2is-5.0.0/repository/data/org.wso2.carbon.directory and port 10389 {org.wso2.carbon.ldap.server.DirectoryActivator} TID: [0] [IS] [2014-09-08 08:09:02,062] INFO {org.wso2.carbon.social.internal.SocialComponent} - Social Activity bundle is activated {org.wso2.carbon.social.internal.SocialComponent} TID: [0] [IS] [2014-09-08 08:09:03,014] WARN {org.apache.directory.server.ldap.LdapSession} - AbandonableRequest with messageId 3 not found in outstandingRequests. {org.apache.directory.server.ldap.LdapSession} TID: [0] [IS] [2014-09-08 08:09:03,054] INFO {org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager} - LDAP connection created successfully in read-write mode {org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager} TID: [0] [IS] [2014-09-08 08:09:03,068] WARN {org.apache.directory.server.ldap.LdapSession} - AbandonableRequest with messageId 2 not found in outstandingRequests. {org.apache.directory.server.ldap.LdapSession} TID: [0] [IS] [2014-09-08 08:09:03,073] WARN {org.apache.directory.server.ldap.LdapSession} - AbandonableRequest with messageId 4 not found in outstandingRequests. {org.apache.directory.server.ldap.LdapSession} TID: [0] [IS] [2014-09-08 08:09:03,120] INFO
Re: [Dev] Fwd: Generating Basic Authentication header using the code
Yes. I got it. Thanks for the response. Thank you Dinithi De Silva Associate Software Engineer Mob: +94 716 667 655 On Tue, Sep 9, 2014 at 11:24 AM, Ramindu Deshapriya rasad...@gmail.com wrote: Hi Dinithi, As Milinda suggested, you can achieve this through a single XPath expression as well: header name=Authorization expression=fn:concat('Basic ', base64Encode( fn:concat( clientID , ':' , clientSecret )) ) scope=transport/ Thanks. On Tue, Sep 9, 2014 at 11:21 AM, Dinithi De Silva [via WSO2 Oxygen Tank] [hidden email] http://user/SendEmail.jtp?type=nodenode=102533i=0 wrote: I resolved the problem by using the following codes. property name=temp expression=fn:concat('clientID',':','secret') /property name=Authorization expression=fn:concat('Basic ', base64Encode(get-property('temp'))) scope=transport / Thank you very much for helping. Dinithi De Silva Associate Software Engineer Mob: a href=tel:%2B94%20716%20667%20655 value=+94716667655 target=_blank+94 716 667 655 On Mon, Sep 8, 2014 at 7:15 PM, Milinda Perera [hidden email] http://user/SendEmail.jtp?type=nodenode=102532i=0 wrote: Hi, Hope you need to add this to http header. Try header name=Authorization expression=fn:concat('Basic ', base64Encode( fn:concat( clientID , ':' , clientSecret )) ) scope=transport action=set/ Instead (you have to add scope=transport attribute if need to add this http header) header name=Authorization key=Authorization value='Authorization : Basic ' + base64(clientID + ':' + clientSecret) / Thanks, Milinda On Mon, Sep 8, 2014 at 5:37 PM, Dinithi De Silva [hidden email] http://user/SendEmail.jtp?type=nodenode=102532i=1 wrote: -- Forwarded message -- From: Dinithi De Silva [hidden email] http://user/SendEmail.jtp?type=nodenode=102532i=2 Date: Mon, Sep 8, 2014 at 5:34 PM Subject: Generating Basic Authentication header using the code To: [hidden email] http://user/SendEmail.jtp?type=nodenode=102532i=3, WSO2 Training Group [hidden email] http://user/SendEmail.jtp?type=nodenode=102532i=4 Hi all, I am developing an ESB connector for ToodleDo API v3. To get the access token, I need to pass the Basic Authentication header (using client id and secret) with the Authentication code. I used Advanced REST client to get the access token and it was successful. I can construct the header using the REST client. I need to know how to implement it from the code. Do I need to send the encoded client id and secret to generate the header? Below is the code that I have tried. Here I hard coded the client id and secret and tested. But it did not work. sequence header name=Content-Type value=application/x-www-form-urlencoded scope=transport / header name=Authorization key=Authorization value='Authorization : Basic ' + base64(clientID + ':' + clientSecret) / property name=messageType value=application/x-www-form-urlencoded scope=axis2 / property name=DISABLE_CHUNKING value=true scope= axis2 / property name=uri.var.code expression=$func:code / property name=uri.var.vers expression=$func:vers / property name= uri.var.os expression=$func:os / property name=uri.var.device expression=$func:device / payloadFactory media-type=xml format xform grant_typeauthorization_code/grant_type code$1/code vers$2/vers os$3/os device$4/device /xform /format args arg expression=get-property('uri.var.code') / arg expression= get-property('uri.var.vers') / arg expression= get-property('uri.var.os') / arg expression= get-property('uri.var.device') / /args /payloadFactory call endpoint http method=post uri-template= https://api.toodledo.com/3/account/token.php; / /endpoint /call filter source=$axis2:HTTP_SC regex=[2][0][0] then property name =access_token expression=json-eval($.access_token) / header name= Authorization expression=fn:concat('Bearer ',get-property('access_token')) scope=transport / /then /filter /sequence Thank you Dinithi De Silva Associate Software Engineer Mob: a href=tel:%2B94%20716%20667%20655 value=a href=tel:%2B94716667655 value=+94716667655 target=_blank +94716667655 target=_blanka href=tel:%2B94%20716%20667%20655 value=+94716667655 target=_blank+94 716 667 655 ___ Dev mailing list [hidden email] http://user/SendEmail.jtp?type=nodenode=102532i=5 http://wso2.org/cgi-bin/mailman/listinfo/dev -- Milinda Perera Software Engineer; WSO2 Inc. http://wso2.com , Mobile: a href=tel:%28%2B94%29%20714%20115%20032 value=a href=tel:%2B94714115032 value=+94714115032 target=_blank +94714115032 target=_blanka href=tel:%28%2B94%29%20714%20115%20032 value=+94714115032 target=_blank(+94) 714 115 032 ___ Dev mailing list [hidden email] http://user/SendEmail.jtp?type=nodenode=102532i=6 http://wso2.org/cgi-bin/mailman/listinfo/dev -- If you reply to this email,
Re: [Dev] Application Management OSGI Service
Hi Johann, Please find the relevant diff from following Jirra ticket. I have attached the diff with it. https://wso2.org/jira/browse/IDENTITY-2705 Cheers, Dhanuka *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 On Mon, Sep 8, 2014 at 10:07 PM, Johann Nallathamby joh...@wso2.com wrote: Hi Dhanuka, We are still not committing stuff to Git. Can you please send the diff to latest svn? Thanks, Johann. On Mon, Sep 8, 2014 at 9:44 PM, Dhanuka Ranasinghe dhan...@wso2.com wrote: Hi Johann, Please find the pull request for $Subject, Can you please review the code and merge to wso2-dev. https://github.com/wso2-dev/carbon-identity/pull/10 Cheers, Dhanuka *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 -- Thanks Regards, *Johann Dilantha Nallathamby* Associate Technical Lead Product Lead of WSO2 Identity Server Integration Technologies Team WSO2, Inc. lean.enterprise.middleware Mobile - *+9476950* Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] {chunk-13 packs}
Hi Ratha, With the p2 repo found at [1], I observed the exact issue reported at [2] when IS is configured as key manager. I know that we observed that issue in 3rd September packs [3] and it's fixed in latest build (found at [1]) . But can see it when IS is acting as key manager. So can you please check whether p2 repo is updated and correct. [1] https://svn.wso2.org/repos/wso2/scratch/chunk13-release/04-09-2014/p2-repo/ [2] https://wso2.org/jira/browse/APIMANAGER-2803 [3] https://svn.wso2.org/repos/wso2/scratch/chunk13-release/03-09-2014/ Regards, Pavithra On Fri, Sep 5, 2014 at 10:33 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi Evanthika, Use this packs fro testing; https://svn.wso2.org/repos/wso2/scratch/chunk13-release/04-09-2014/ Thanks. -- -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Pavithra Madurangi* Associate Technical Lead - QA. WSO2 Inc.: http://wso2.com/ Mobile: +94777207357 / +94773814110 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] XACML cache invalidation notification when changes are made to Identities
Hi Hasintha, Sorry for late response On Wed, Sep 3, 2014 at 6:37 PM, Hasintha Indrajee hasin...@wso2.com wrote: Hi Asela, I am working on the issue [1]. Can you please elaborate bit on the cache implementation of PIP side in XACML. As far as I noticed, as a solution for the bug part of the issue, invalidating Attribute cache and Decision cache is sufficient when an update occurs to user information (when firing user management listener). Are we using hazelcast for caching in XACML ? If not do we need to send cluster messages on the event of cache invalidation ?. Has this been already implemented in any of the caches in XACML ? Yes.. Entitlement component is using the Hazelcast... Therefore you do not need to send cluster messages... What are the usages (differences) of DecisionCache and DecisionInvalidationCache ? Decision cache keeps the XACML request and response and it is a local cache. DecisionInvalidationCache cache is used to invalidate the local caches in the cluster node when any update or API call is done. Thanks, Asela. [1] https://wso2.org/jira/browse/IDENTITY-2567 [2] https://redmine.wso2.com/issues/2901 - redmine issue -- Thanks Regards, Asela ATL Mobile : +94 777 625 933 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] {chunk-13 packs}
Hi Pavithra.. I'll chk this in new build Thanks On 9 September 2014 12:29, Pavithra Madurangi pavit...@wso2.com wrote: Hi Ratha, With the p2 repo found at [1], I observed the exact issue reported at [2] when IS is configured as key manager. I know that we observed that issue in 3rd September packs [3] and it's fixed in latest build (found at [1]) . But can see it when IS is acting as key manager. So can you please check whether p2 repo is updated and correct. [1] https://svn.wso2.org/repos/wso2/scratch/chunk13-release/04-09-2014/p2-repo/ [2] https://wso2.org/jira/browse/APIMANAGER-2803 [3] https://svn.wso2.org/repos/wso2/scratch/chunk13-release/03-09-2014/ Regards, Pavithra On Fri, Sep 5, 2014 at 10:33 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi Evanthika, Use this packs fro testing; https://svn.wso2.org/repos/wso2/scratch/chunk13-release/04-09-2014/ Thanks. -- -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Pavithra Madurangi* Associate Technical Lead - QA. WSO2 Inc.: http://wso2.com/ Mobile: +94777207357 / +94773814110 -- -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Please merge the carbon-identity/pull/11
[1] contains the unit tests for [2] [1] https://github.com/wso2-dev/carbon-identity/pull/11 [2] https://wso2.org/jira/browse/IDENTITY-2654 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Invitation: Code Review - API Manager self signup for tenant's API s... @ Tue Sep 9, 2014 12pm - 1pm (Vijayaratha Vijayasingam)
Code review notes; 1)In self-signup configuration password is stored in plain text in registry( @ selfsignup.xml, ) we need to add support for encryption. Same thing we need to do for workflow admin configuration file too. Jira: https://wso2.org/jira/browse/APIMANAGER-2824 2) Provide UI support to edit self-sgnup configuration? (@ userstore UI/admin dashboard) Jira: https://wso2.org/jira/browse/APIMANAGER-2825 3)self-signup observer class name to be corrected. Move this to tenantServiceCreator observer 4) Change log.info's to debug level, with more info. 5)Move AM related config files to config-registry. Currently it is stored under governance space. Jira: https://wso2.org/jira/browse/APIMANAGER-2826 Thanks. On 9 September 2014 09:52, Chamila Adhikarinayake chami...@wso2.com wrote: more details » https://www.google.com/calendar/event?action=VIEWeid=cHQ0NGFxaGM0YzNibnJyOWYxbXA1bm5xbDAgcmF0aGF2QHdzbzIuY29ttok=MTcjY2hhbWlsYWFAd3NvMi5jb201MjYxZjY3MWI1N2I1NTFhY2M2ZWY5N2U4NDc0ZTZkMDRlZWY1NjBjctz=Asia/Colombohl=en Code Review - API Manager self signup for tenant's API store *When* Tue Sep 9, 2014 12pm – 1pm Colombo *Where* LK 3rd Floor Meeting Room - Kernel (map https://maps.google.lk/maps?q=LK+3rd+Floor+Meeting+Room+-+Kernelhl=en) *Video call* https://plus.google.com/hangouts/_/wso2.com/chamilaa https://plus.google.com/hangouts/_/wso2.com/chamilaa?hceid=Y2hhbWlsYWFAd3NvMi5jb20.pt44aqhc4c3bnrr9f1mp5nnql0 *Calendar* Vijayaratha Vijayasingam *Who* • Chamila Adhikarinayake - organizer • Jenananthan Yogendran • dev@wso2.org • Lalaji Sureshika • Sumedha Rubasinghe • Vijayaratha Vijayasingam • Roshan Wijesena • Nuwan Dias • Amila De Silva • Shariq Muhammed Going? *Yes https://www.google.com/calendar/event?action=RESPONDeid=cHQ0NGFxaGM0YzNibnJyOWYxbXA1bm5xbDAgcmF0aGF2QHdzbzIuY29trst=1tok=MTcjY2hhbWlsYWFAd3NvMi5jb201MjYxZjY3MWI1N2I1NTFhY2M2ZWY5N2U4NDc0ZTZkMDRlZWY1NjBjctz=Asia/Colombohl=en - Maybe https://www.google.com/calendar/event?action=RESPONDeid=cHQ0NGFxaGM0YzNibnJyOWYxbXA1bm5xbDAgcmF0aGF2QHdzbzIuY29trst=3tok=MTcjY2hhbWlsYWFAd3NvMi5jb201MjYxZjY3MWI1N2I1NTFhY2M2ZWY5N2U4NDc0ZTZkMDRlZWY1NjBjctz=Asia/Colombohl=en - No https://www.google.com/calendar/event?action=RESPONDeid=cHQ0NGFxaGM0YzNibnJyOWYxbXA1bm5xbDAgcmF0aGF2QHdzbzIuY29trst=2tok=MTcjY2hhbWlsYWFAd3NvMi5jb201MjYxZjY3MWI1N2I1NTFhY2M2ZWY5N2U4NDc0ZTZkMDRlZWY1NjBjctz=Asia/Colombohl=en* more options » https://www.google.com/calendar/event?action=VIEWeid=cHQ0NGFxaGM0YzNibnJyOWYxbXA1bm5xbDAgcmF0aGF2QHdzbzIuY29ttok=MTcjY2hhbWlsYWFAd3NvMi5jb201MjYxZjY3MWI1N2I1NTFhY2M2ZWY5N2U4NDc0ZTZkMDRlZWY1NjBjctz=Asia/Colombohl=en Invitation from Google Calendar https://www.google.com/calendar/ You are receiving this email at the account rat...@wso2.com because you are subscribed for invitations on calendar Vijayaratha Vijayasingam. To stop receiving these notifications, please log in to https://www.google.com/calendar/ and change your notification settings for this calendar. -- -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please merge the carbon-identity/pull/11
I have attached the svn diff to public JIRA [3] [3] https://wso2.org/jira/browse/IDENTITY-2654?focusedCommentId=88674page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-88674 On Tue, Sep 9, 2014 at 1:16 PM, Chamil Jeewantha cha...@wso2.com wrote: [1] contains the unit tests for [2] [1] https://github.com/wso2-dev/carbon-identity/pull/11 [2] https://wso2.org/jira/browse/IDENTITY-2654 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 -- K.D. Chamil Jeewantha Associate Technical Lead WSO2, Inc.; http://wso2.com http://kdchamil.blogspot.com Mobile: +94716813892 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Exception occurs when trying to update an existing tenant
Hi This failing call is going through org.wso2.carbon.stratos.common.util.CommonUtil.validateEmail. Can you make sure that in both cases its going through this. You can add a log to this method and build the jar and patch it and check. Otherwise you can try debugging and see whether it hits there in both cases. I guess in non failing case its not going through there which should be the case. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, Sep 9, 2014 at 11:36 AM, Sohani Weerasinghe soh...@wso2.com wrote: Hi Danushka, Please find the attached log. Also, I have checked add_tenant.jsp and submit_tenant_ajaxprocessor.jsp at [1]. As far as I observed both save and update buttons' actions have handled properly , but I was unable to find a cause. [1] http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/stratos/tenant-mgt/org.wso2.carbon.tenant.mgt.ui/2.2.1/src/main/resources/web/tenant-mgt Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] XACML cache invalidation notification when changes are made to Identities
Hi Asela, Thanks for the information. I implemented above and tested for a cluster with two nodes and it worked as expected. On Tue, Sep 9, 2014 at 12:47 PM, Asela Pathberiya as...@wso2.com wrote: Hi Hasintha, Sorry for late response On Wed, Sep 3, 2014 at 6:37 PM, Hasintha Indrajee hasin...@wso2.com wrote: Hi Asela, I am working on the issue [1]. Can you please elaborate bit on the cache implementation of PIP side in XACML. As far as I noticed, as a solution for the bug part of the issue, invalidating Attribute cache and Decision cache is sufficient when an update occurs to user information (when firing user management listener). Are we using hazelcast for caching in XACML ? If not do we need to send cluster messages on the event of cache invalidation ?. Has this been already implemented in any of the caches in XACML ? Yes.. Entitlement component is using the Hazelcast... Therefore you do not need to send cluster messages... What are the usages (differences) of DecisionCache and DecisionInvalidationCache ? Decision cache keeps the XACML request and response and it is a local cache. DecisionInvalidationCache cache is used to invalidate the local caches in the cluster node when any update or API call is done. Thanks, Asela. [1] https://wso2.org/jira/browse/IDENTITY-2567 [2] https://redmine.wso2.com/issues/2901 - redmine issue -- Thanks Regards, Asela ATL Mobile : +94 777 625 933 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Please merge ESB Integration test commit#57 pull request
Hi ESB Team, Please merge the pull request https://github.com/wso2-dev/product-esb/pull/57 This will contain the merge of UI integration test module for ESB test. Thanks, Nuwanw -- Nuwan Wimalasekara Senior Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please merge ESB Integration test commit#57 pull request
Done On Tue, Sep 9, 2014 at 2:49 PM, Nuwan Wimalasekara nuw...@wso2.com wrote: Hi ESB Team, Please merge the pull request https://github.com/wso2-dev/product-esb/pull/57 This will contain the merge of UI integration test module for ESB test. Thanks, Nuwanw -- Nuwan Wimalasekara Senior Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620 -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Obtaining a registry value for a PHP application through the Registry REST API
Hi Madhawa, I have a super idea!!! :) Since we are doing Cartridge per app, I think it is more natural to have the filesystem. This is more natural to PHP developers. Ideally we can take the properties file from the UI and then the Cartridge agent can pull it from AF/Greg. thanks, dimuthu On Mon, Sep 8, 2014 at 3:24 PM, Udara Rathnayake uda...@wso2.com wrote: To generate access token you can use the token API[1] [1] https://docs.wso2.com/display/AM160/Token+API On Mon, Sep 8, 2014 at 2:45 AM, Madhawa Bandara madh...@wso2.com wrote: Adding to above: Need to get this done without generating the ouath token manually ( without using the API store). On Mon, Sep 8, 2014 at 3:06 PM, Madhawa Bandara madh...@wso2.com wrote: Hi all, In order to perform the $subject following the doc [1]. I am using $curl based invocation from my php application. How can I get my requests the authenticated / how can I obtain the oauth access token? Thanks in advance. [1] - https://docs.wso2.com/display/Governance460/Registry+REST+API -- Regards, *Madhawa Bandara* Software Engineer WSO2, Inc. lean.enterprise.middleware Mobile - *+94777487726 %2B94777487726* Blog* - *classdeffound.blogspot.com -- Regards, *Madhawa Bandara* Software Engineer WSO2, Inc. lean.enterprise.middleware Mobile - *+94777487726 %2B94777487726* Blog* - *classdeffound.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : +94 772207239 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Dimuthu Leelarathne Architect Product Lead of App Factory WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Mobile : 0773661935 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please commit patch to 4.2.0 patch0009
Done. On Mon, Sep 1, 2014 at 3:42 PM, Pulasthi Supun pulas...@wso2.com wrote: Hi Carbon Team, Please commit the patch for [1] which is attached, this is a backporting of an existing fix [1] https://wso2.org/jira/browse/REGISTRY-2147 Regards, Pulasthi -- -- Pulasthi Supun Software Engineer; WSO2 Inc.; http://wso2.com, Email: pulas...@wso2.com Mobile: +94 (71) 9258281 Blog : http://pulasthisupun.blogspot.com/ Git hub profile: https://github.com/pulasthi -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] GWT event hadling for ESB graphical tool implementation in GWT
Hi all, I am trying to attach a keypress event listener to a GWT image widget. In studying the GWT structure I figured that GWT elements are restricted by type in enabling attachment of events. Hence an we can attach click event listeners to Image widgets but not key listeners. I tried casting the keypressEvent handler as a default hadler and also casting the image widget as a Simplapanel widget, with no success. If anyone has previous experience in attempting something similar could you please give me a work around for this? thanks and regards Awanthika -- Awanthika Senarath Software Engineer, WSO2 Inc. Mobile: +94717681791 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please commit the patch
Done. Thanks, Sameera. On Thu, Sep 4, 2014 at 5:03 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi Sameera, Please commit the patch attached to [1]. Pull request also sent to the github. https://github.com/wso2-dev/carbon4-kernel/pull/92 [1]. https://wso2.org/jira/browse/CARBON-14938 -- * Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please commit the patch
Thanks. Regards, Aruna On Tue, Sep 9, 2014 at 3:27 PM, Sameera Jayasoma same...@wso2.com wrote: Done. Thanks, Sameera. On Thu, Sep 4, 2014 at 5:03 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi Sameera, Please commit the patch attached to [1]. Pull request also sent to the github. https://github.com/wso2-dev/carbon4-kernel/pull/92 [1]. https://wso2.org/jira/browse/CARBON-14938 -- * Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [PrivatePaaS] AppServer Puppet module - use of usermgt variable
Hi, In the Appserver and several other carbon puppet modules the variable usermgt is used in several templates to determine how the password handling is done. For example in /puppet/modules/appserver/templates/conf/user-mgt.xml.erb it is used as follows. %- if @usermgt -% Property name=PasswordsExternallyManagedtrue/Property %- end -% %- if @usermgt == 'readonly_ldap' -% %= scope.function_template(['appserver/conf/user-mgt/_roldap.erb']) -% %- elsif @usermgt == 'readwrite_ldap' -% %= scope.function_template(['appserver/conf/user-mgt/_rwldap.erb']) -% %- end -% However I can't find a place where this variable is initialized in puppet. Is usermgt supposed to be added to manifests/appserver.pp (or any other carbon cartridge where applicable) if only it is relevant? Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] ESB 4.9.0 M3 Released
Hi All, WSO2 ESB 4.9.0 M3 is available at [1] [1] http://svn.wso2.org/repos/wso2/people/malaka/ESB/ESB4.9.0/M3/wso2esb-4.9 .0-SNAPSHOT.zip Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Hazelcast issue with ESB 4.9.0 M3
Hi, We have identified an issue with clustering. Members are not joining to the cluster. The issue is with hazelcast_3.2.3.wso2v1. It was working fine with hazelcast,3.0.1.wso2v1. Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [PrivatePaaS] AppServer Puppet module - use of usermgt variable
Hi Chamila, (see my comments inline) On Tue, Sep 9, 2014 at 3:53 PM, Chamila De Alwis chami...@wso2.com wrote: Hi, In the Appserver and several other carbon puppet modules the variable usermgt is used in several templates to determine how the password handling is done. For example in /puppet/modules/appserver/templates/conf/user-mgt.xml.erb it is used as follows. %- if @usermgt -% Property name=PasswordsExternallyManagedtrue/Property %- end -% %- if @usermgt == 'readonly_ldap' -% %= scope.function_template(['appserver/conf/user-mgt/_roldap.erb']) -% %- elsif @usermgt == 'readwrite_ldap' -% %= scope.function_template(['appserver/conf/user-mgt/_rwldap.erb']) -% %- end -% However I can't find a place where this variable is initialized in puppet. Is usermgt supposed to be added to manifests/appserver.pp (or any other carbon cartridge where applicable) if only it is relevant? Yes. If you do not set the usermgt variable, Puppet will use the default user-mgt.xml. However, if you need to use the user-mgt.xml file you need to add it to the service-templates array in init.pp. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Manula Waidyanatha Systems Engineer, WSO2, Inc. Phone: +94 774 195853 Blog: blog.manula.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Hazelcast issue with ESB 4.9.0 M3
KasunG, Can you verify this? ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [PrivatePaaS] AppServer Puppet module - use of usermgt variable
Thanks Manula! That explains the usage. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Tue, Sep 9, 2014 at 4:42 PM, Manula Waidyanatha man...@wso2.com wrote: Hi Chamila, (see my comments inline) On Tue, Sep 9, 2014 at 3:53 PM, Chamila De Alwis chami...@wso2.com wrote: Hi, In the Appserver and several other carbon puppet modules the variable usermgt is used in several templates to determine how the password handling is done. For example in /puppet/modules/appserver/templates/conf/user-mgt.xml.erb it is used as follows. %- if @usermgt -% Property name=PasswordsExternallyManagedtrue/Property %- end -% %- if @usermgt == 'readonly_ldap' -% %= scope.function_template(['appserver/conf/user-mgt/_roldap.erb']) -% %- elsif @usermgt == 'readwrite_ldap' -% %= scope.function_template(['appserver/conf/user-mgt/_rwldap.erb']) -% %- end -% However I can't find a place where this variable is initialized in puppet. Is usermgt supposed to be added to manifests/appserver.pp (or any other carbon cartridge where applicable) if only it is relevant? Yes. If you do not set the usermgt variable, Puppet will use the default user-mgt.xml. However, if you need to use the user-mgt.xml file you need to add it to the service-templates array in init.pp. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Manula Waidyanatha Systems Engineer, WSO2, Inc. Phone: +94 774 195853 Blog: blog.manula.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Hazelcast issue with ESB 4.9.0 M3
Hi Malaka, What are the values you have used for localMemberHost? In Hz 3.2.3, you should not use 127.0.0.1 or localhost but the IP of the machine. Regards, KasunG On Tue, Sep 9, 2014 at 1:18 PM, Afkham Azeez az...@wso2.com wrote: KasunG, Can you verify this? -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Hazelcast issue with ESB 4.9.0 M3
Hi KasunG, Initially I have used 127.0.0.1. Then I have changed it to IP. However same issue exists. On Tue, Sep 9, 2014 at 4:52 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Malaka, What are the values you have used for localMemberHost? In Hz 3.2.3, you should not use 127.0.0.1 or localhost but the IP of the machine. Regards, KasunG On Tue, Sep 9, 2014 at 1:18 PM, Afkham Azeez az...@wso2.com wrote: KasunG, Can you verify this? -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Hazelcast issue with ESB 4.9.0 M3
Ok.. this might be a configuration issue. But we did not test this properly on Carbon 4.3.0 as well. Can you share you configuration files of all the nodes? Any useful logs? On Tue, Sep 9, 2014 at 1:34 PM, Malaka Silva mal...@wso2.com wrote: Hi KasunG, Initially I have used 127.0.0.1. Then I have changed it to IP. However same issue exists. On Tue, Sep 9, 2014 at 4:52 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Malaka, What are the values you have used for localMemberHost? In Hz 3.2.3, you should not use 127.0.0.1 or localhost but the IP of the machine. Regards, KasunG On Tue, Sep 9, 2014 at 1:18 PM, Afkham Azeez az...@wso2.com wrote: KasunG, Can you verify this? -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Application Management OSGI Service
Committed with r206976 On Tue, Sep 9, 2014 at 12:15 PM, Dhanuka Ranasinghe dhan...@wso2.com wrote: Hi Johann, Please find the relevant diff from following Jirra ticket. I have attached the diff with it. https://wso2.org/jira/browse/IDENTITY-2705 Cheers, Dhanuka *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 On Mon, Sep 8, 2014 at 10:07 PM, Johann Nallathamby joh...@wso2.com wrote: Hi Dhanuka, We are still not committing stuff to Git. Can you please send the diff to latest svn? Thanks, Johann. On Mon, Sep 8, 2014 at 9:44 PM, Dhanuka Ranasinghe dhan...@wso2.com wrote: Hi Johann, Please find the pull request for $Subject, Can you please review the code and merge to wso2-dev. https://github.com/wso2-dev/carbon-identity/pull/10 Cheers, Dhanuka *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 -- Thanks Regards, *Johann Dilantha Nallathamby* Associate Technical Lead Product Lead of WSO2 Identity Server Integration Technologies Team WSO2, Inc. lean.enterprise.middleware Mobile - *+9476950* Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prasad Tissera Software Engineer. Mobile : +94777223444 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Hazelcast issue with ESB 4.9.0 M3
Hi KasunG, Can confirm this is not a configuration issue, unless configuration has changed? Reason is to verify I have downgraded to hazelcast,3.0.1.wso2v1 manually, and it start working. Best Regards, Malaka On Tue, Sep 9, 2014 at 5:10 PM, Kasun Gajasinghe kas...@wso2.com wrote: Ok.. this might be a configuration issue. But we did not test this properly on Carbon 4.3.0 as well. Can you share you configuration files of all the nodes? Any useful logs? On Tue, Sep 9, 2014 at 1:34 PM, Malaka Silva mal...@wso2.com wrote: Hi KasunG, Initially I have used 127.0.0.1. Then I have changed it to IP. However same issue exists. On Tue, Sep 9, 2014 at 4:52 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Malaka, What are the values you have used for localMemberHost? In Hz 3.2.3, you should not use 127.0.0.1 or localhost but the IP of the machine. Regards, KasunG On Tue, Sep 9, 2014 at 1:18 PM, Afkham Azeez az...@wso2.com wrote: KasunG, Can you verify this? -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] How to connect to a wso2 server remotely using JConsole (deployed on a cloud instance)
Hi, I need to remotely monitor ELB (hosted on an cloud instance) using Jconsole.With default settings i am getting a connection failed from jconsole side. Then tried changing as HostNamecloud_instance_public_ip/HostName on repository/conf/etc/jmx.xml. now when starting the ELB server getting error [1]. Tried ELB starting with -Djava.rmi.server.hostname= as well, as mentioned on doc https://docs.wso2.com/display/ESB480/JMX+Monitoring ,but still no luck. Can anyone point me to a solution? [1] [2014-09-09 07:05:09,882] ERROR - JMXServerManager Could not initialize RMI server java.io.IOException: Cannot bind to URL [rmi://192.168.17.30:/jmxrmi]: javax.naming.NoPermissionException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.AccessException: Registry.Registry.bind disallowed; origin / 192.168.17.30 is non-local host] at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:827) at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:432) at org.wso2.carbon.core.init.JMXServerManager.startJMXService(JMXServerManager.java:121) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:197) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:282) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.wso2.carbon.server.admin.internal.ServerAdminServiceComponent.activate(ServerAdminServiceComponent.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:517) at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219) at
Re: [Dev] How to connect to a wso2 server remotely using JConsole (deployed on a cloud instance)
Hi, Try adding the following to the wso2server.sh script. -Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.authenticate=false \ -Dcom.sun.management.remote.ssl=false \ -Djava.rmi.server.hostname=IP \ Regards, On Tue, Sep 9, 2014 at 5:25 PM, Asanka Vithanage asan...@wso2.com wrote: Hi, I need to remotely monitor ELB (hosted on an cloud instance) using Jconsole.With default settings i am getting a connection failed from jconsole side. Then tried changing as HostNamecloud_instance_public_ip/HostName on repository/conf/etc/jmx.xml. now when starting the ELB server getting error [1]. Tried ELB starting with -Djava.rmi.server.hostname= as well, as mentioned on doc https://docs.wso2.com/display/ESB480/JMX+Monitoring ,but still no luck. Can anyone point me to a solution? [1] [2014-09-09 07:05:09,882] ERROR - JMXServerManager Could not initialize RMI server java.io.IOException: Cannot bind to URL [rmi://192.168.17.30:/jmxrmi]: javax.naming.NoPermissionException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.AccessException: Registry.Registry.bind disallowed; origin / 192.168.17.30 is non-local host] at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:827) at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:432) at org.wso2.carbon.core.init.JMXServerManager.startJMXService(JMXServerManager.java:121) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:197) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:282) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.wso2.carbon.server.admin.internal.ServerAdminServiceComponent.activate(ServerAdminServiceComponent.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at
Re: [Dev] How to connect to a wso2 server remotely using JConsole (deployed on a cloud instance)
Hi Dumidu, Thanks, Its working. On Tue, Sep 9, 2014 at 5:29 PM, Dumidu Handakumbura dum...@wso2.com wrote: Hi, Try adding the following to the wso2server.sh script. -Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.authenticate=false \ -Dcom.sun.management.remote.ssl=false \ -Djava.rmi.server.hostname=IP \ Regards, On Tue, Sep 9, 2014 at 5:25 PM, Asanka Vithanage asan...@wso2.com wrote: Hi, I need to remotely monitor ELB (hosted on an cloud instance) using Jconsole.With default settings i am getting a connection failed from jconsole side. Then tried changing as HostNamecloud_instance_public_ip/HostName on repository/conf/etc/jmx.xml. now when starting the ELB server getting error [1]. Tried ELB starting with -Djava.rmi.server.hostname= as well, as mentioned on doc https://docs.wso2.com/display/ESB480/JMX+Monitoring ,but still no luck. Can anyone point me to a solution? [1] [2014-09-09 07:05:09,882] ERROR - JMXServerManager Could not initialize RMI server java.io.IOException: Cannot bind to URL [rmi://192.168.17.30:/jmxrmi]: javax.naming.NoPermissionException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.AccessException: Registry.Registry.bind disallowed; origin / 192.168.17.30 is non-local host] at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:827) at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:432) at org.wso2.carbon.core.init.JMXServerManager.startJMXService(JMXServerManager.java:121) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:197) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:282) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.wso2.carbon.server.admin.internal.ServerAdminServiceComponent.activate(ServerAdminServiceComponent.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at
Re: [Dev] Hazelcast issue with ESB 4.9.0 M3
You need to put some kernel patches with the Hazelcast patch as well right? On Tue, Sep 9, 2014 at 5:10 PM, Kasun Gajasinghe kas...@wso2.com wrote: Ok.. this might be a configuration issue. But we did not test this properly on Carbon 4.3.0 as well. Can you share you configuration files of all the nodes? Any useful logs? On Tue, Sep 9, 2014 at 1:34 PM, Malaka Silva mal...@wso2.com wrote: Hi KasunG, Initially I have used 127.0.0.1. Then I have changed it to IP. However same issue exists. On Tue, Sep 9, 2014 at 4:52 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Malaka, What are the values you have used for localMemberHost? In Hz 3.2.3, you should not use 127.0.0.1 or localhost but the IP of the machine. Regards, KasunG On Tue, Sep 9, 2014 at 1:18 PM, Afkham Azeez az...@wso2.com wrote: KasunG, Can you verify this? -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/* *email: **az...@wso2.com* az...@wso2.com * cell: +94 77 3320919blog: **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* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] how to pass credentials - using a AXIOM (client)
Hi, I have created a non secured web service and secured it using ESB. When I invoke the service using an ADB client it worked properly. I used the below code to pass the credentials /// HttpTransportProperties.Authenticator authenticator = new HttpTransportProperties.Authenticator(); authenticator.setUsername(admin); authenticator.setPassword(admin); stub._getServiceClient().getOptions() .setProperty(HTTPConstants.AUTHENTICATE, authenticator); stub ._getServiceClient() .getOptions() .setProperty(Constants.Configuration.ENABLE_REST, Constants.VALUE_TRUE); /// *And I'm facing a problem when I try to do the same using an AXIOM client. I need to know how to pass credentials when using an AXIOM client?* -- *Lahiru Cooray* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94 715 654154 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Hazelcast issue with ESB 4.9.0 M3
On Tue, Sep 9, 2014 at 2:09 PM, Afkham Azeez az...@wso2.com wrote: You need to put some kernel patches with the Hazelcast patch as well right? Yes, for Carbon 4.2.0. Malaka is testing the patch in Kernel 4.3.0, so it should already be there. On Tue, Sep 9, 2014 at 5:10 PM, Kasun Gajasinghe kas...@wso2.com wrote: Ok.. this might be a configuration issue. But we did not test this properly on Carbon 4.3.0 as well. Can you share you configuration files of all the nodes? Any useful logs? On Tue, Sep 9, 2014 at 1:34 PM, Malaka Silva mal...@wso2.com wrote: Hi KasunG, Initially I have used 127.0.0.1. Then I have changed it to IP. However same issue exists. On Tue, Sep 9, 2014 at 4:52 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Malaka, What are the values you have used for localMemberHost? In Hz 3.2.3, you should not use 127.0.0.1 or localhost but the IP of the machine. Regards, KasunG On Tue, Sep 9, 2014 at 1:18 PM, Afkham Azeez az...@wso2.com wrote: KasunG, Can you verify this? -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/* *email: **az...@wso2.com* az...@wso2.com * cell: +94 77 3320919 %2B94%2077%203320919blog: * *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* -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [App Factory Training Project] Build a development statistics Dashboard for Apps in App Factory
Hi Pirinthapan, I would like to give some feedbacks on your design, [1] Giving boarders for each graphs and tables [2] You can increase the font size for headings (ex. Build Statistics, Weekly commit logs) [3] Bring the contents of browser to central position without align it to left [1] [4] Give some spaces at top before starting contents [4] You can use more attractive 3D graph designing tools Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com On Sat, Sep 6, 2014 at 1:04 PM, Pirinthapan Mahendran pirintha...@wso2.com wrote: Hi All, We have come up with a mockup design for showing the 'commit logs statistics' [1] and 'build statistics' [2] in App Factory. We would like to have your feed backs on these designs. 1. https://www.justinmind.com/usernote/tests/12597285/12597288/12597302/index.html#/screens/d12245cc-1680-458d-89dd-4f0d7fb22724 2. https://www.justinmind.com/usernote/tests/12597285/12597288/12597486/index.html#/screens/d12245cc-1680-458d-89dd-4f0d7fb22724 Thanks. Mahendran Pirinthapan Software Engineer | WSO2 Inc. Mobile +94772378732. On Fri, Sep 5, 2014 at 9:38 AM, Gayan Dhanushka gay...@wso2.com wrote: Hi Iqbal, Currently we have START, SUCCESS and FAIL status. If you closely have a look you can see that *appBuildStream *is a private variable which defines a data stream, not a method. For each of these data stream definitions, there are publish methods in the BamDataPublisher.java class. Thanks Gayan On Thu, Sep 4, 2014 at 2:22 PM, Iqbal Irham iq...@wso2.com wrote: Hi Gayan, Thank you very much for the reply. We are in the process of identifying the Build statuses which we are going to get from BAM. In the java code(BamDataPublisher.java) i found a method *appBuildStream.* As i highlighted below there is a String for Status. Please help us to find out what are the status values(i.e success,fail,Pending,Aborted) it's publishing. 'payloadData':[+ {'name':'applicationName','type':'string'},+ {'name':'applicationKey','type':'string'},+ {'name':'applicationVersion','type':'string'},+ {'name':'timeStamp','type':'double'},+ {'name':'tenantId', 'type':'string'},+ *{'name':'status', 'type':'string'}*,+ {'name':'buildId', 'type':'string'},+ {'name':'revision', 'type':'string'},+ {'name':'user', 'type':'string' }+ ]; Thanks On Thu, Sep 4, 2014 at 1:57 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi Pirinthapan, I believe you want to visualize the number of builds and commits in the per each day inside an application in App Factory. For this we already collect the build and commit data. We collect the build data through App Factory and commits data through a git post commit hook [1]. Please note that we have multiple activity points in App Factory from where the events are published to BAM. So the data that you are looking for is already being published. [1] https://svn.wso2.org/repos/wso2/scratch/appfactory_2.0.0/products/appfactory/2.0.1/vmware/appfactory_deployment_s4/resources/configs/jenkins.groovy Regards Gayan On Thu, Sep 4, 2014 at 11:11 AM, Pirinthapan Mahendran pirintha...@wso2.com wrote: Hi Gayan, We went through the 'BamDataPublisher' class [1]. In this class the publish events are available for App creation, App version, Tenant user, App user, App issue and App build. But we need the data for 'Commit logs' as well. So do we need to create an event to publish these commit logs? 1. https://svn.wso2.org/repos/wso2/scratch/appfactory_2.0.0/components/appfac/org.wso2.carbon.appfactory.bam.integration/2.0.1/src/main/java/org/wso2/carbon/appfactory/bam/integration/BamDataPublisher.java Thanks. Mahendran Pirinthapan Software Engineer | WSO2 Inc. Mobile +94772378732. -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd -- Irham Iqbal Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 777888452 -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd ___ 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] [Pull request] Use tomcat-annotations-api instead of JDK provided api
https://github.com/wso2-dev/carbon4-kernel/pull/86 On Tue, Sep 9, 2014 at 6:16 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Kasun, Please check this pull request and let me know whether you have applied the changes as we discussed that day. Thanks, Sameera. -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Pull request] Use tomcat-annotations-api instead of JDK provided api
Hi Sameera, Will update the thread when this is done. Currently finding time to get around to this again. :-) Thanks, KasunG On Tue, Sep 9, 2014 at 2:47 PM, Sameera Jayasoma same...@wso2.com wrote: https://github.com/wso2-dev/carbon4-kernel/pull/86 On Tue, Sep 9, 2014 at 6:16 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Kasun, Please check this pull request and let me know whether you have applied the changes as we discussed that day. Thanks, Sameera. -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [APIM][Publisher REST API] copy API rest call should be updated in the docs
Hi, I tried to invoke API manager REST publisher API via in a test case to copy API to new version and failed[1]. There is a additional parameter added in 1.2.2 code path to check whether the newly created version is default version or not. So doc should be updated as follows. curl -X POST -b cookies http://localhost:9763/publisher/site/blocks/overview/ajax/overview.jag -d action=createNewAPIprovider=user1apiName=API1version=1.0.0newVersion=2.0.0 *isDefaultVersion=default_version*” [1] https://docs.wso2.com/display/AM170/Publisher+APIs#PublisherAPIs-CopyanAPI -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Pull request] Use tomcat-annotations-api instead of JDK provided api
oh okay. I will reject the PR for now. Please send a new PR then. Thanks, Sameera. On Tue, Sep 9, 2014 at 6:28 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Sameera, Will update the thread when this is done. Currently finding time to get around to this again. :-) Thanks, KasunG On Tue, Sep 9, 2014 at 2:47 PM, Sameera Jayasoma same...@wso2.com wrote: https://github.com/wso2-dev/carbon4-kernel/pull/86 On Tue, Sep 9, 2014 at 6:16 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Kasun, Please check this pull request and let me know whether you have applied the changes as we discussed that day. Thanks, Sameera. -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Best approach to authenticate to Activiti REST API from BPMN explorer Jaggery App
Hi, We need to secure a REST API which is used perform BPMN operations in BPS server. We are basically invoking the Activiti engine provided REST API from our Jaggery web app. Activiti REST API accepts user name password for authentication. It can be extended to support other mechanisms. Currently we are using HTTP basic authentications for this by keeping the username and password. However, this method is not clean since we have keep the password stored for subsequent API calls other then the login at the front end. Therefore we are thinking of moving to a session based authentication method. We can get the Java session id using Authentication Admin service and send JSESSION ID with headers of subsequent rest calls. I tried to find a way to get the JSESSION ids validated from carbon, but I could not find such facility. Is there an API from carbon to get this done ? Is there any other options available to solve this problem properly. Appreciate any comments. Thanks, Waruna -- Regards, Waruna Lakshitha Jayaweera Software Engineer WSO2 Inc; http://wso2.com phone: +94713255198 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Build failed in Jenkins: product-ss #70
Hi Maheshika, Will you be able to check on this? Cheers, Prabath On Sun, Sep 7, 2014 at 9:54 AM, Harsha Kumara hars...@wso2.com wrote: Seems like build fail due to builder machine not have enough space. On Sun, Sep 7, 2014 at 3:55 AM, cbuil...@wso2.org wrote: See https://wso2.org/jenkins/job/product-ss/70/ -- [...truncated 543 lines...] Installing org.wso2.ss.styles.feature.group 1.5.0.SNAPSHOT. Installing org.wso2.carbon.tenant.usage.agent.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.tenant.throttling.agent.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.tenant.common.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.tenant.deployment.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.transaction.manager.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.event.common.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.ntask.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.claim.mgt.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.user.mgt.feature.group 4.3.0.SNAPSHOT. Operation completed in 11038 ms. [INFO] [INFO] --- maven-antrun-plugin:1.1:run (default) @ wso2ss-p2-profile --- [INFO] Executing tasks [INFO] Executed tasks [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ wso2ss-p2-profile --- [INFO] Installing https://wso2.org/jenkins/job/product-ss/ws/modules/p2-profile/pom.xml to https://wso2.org/jenkins/job/product-ss/ws/.repository/org/wso2/ss/wso2ss-p2-profile/1.5.0-SNAPSHOT/wso2ss-p2-profile-1.5.0-SNAPSHOT.pom [INFO] [INFO] [INFO] Building WSO2 Storage Server - Distribution 1.5.0-SNAPSHOT [INFO] [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ wso2ss --- [INFO] Deleting https://wso2.org/jenkins/job/product-ss/ws/modules/distribution/target [INFO] [INFO] --- maven-assembly-plugin:2.2-beta-5:attached (pre_dist) @ wso2ss --- [INFO] Reading assembly descriptor: src/main/assembly/dist.xml [INFO] Building zip: https://wso2.org/jenkins/job/product-ss/ws/modules/distribution/target/wso2ss-1.5.0-SNAPSHOT.zip [INFO] [INFO] --- maven-dependency-plugin:2.4:unpack (unpack-wso2carbon) @ wso2ss --- [INFO] Configured Artifact: org.wso2.carbon:wso2carbon-core:4.3.0-SNAPSHOT:zip [INFO] Unpacking https://wso2.org/jenkins/job/product-ss/ws/.repository/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/wso2carbon-core-4.3.0-SNAPSHOT.zip to https://wso2.org/jenkins/job/product-ss/ws/modules/distribution/target with includes and excludes [INFO] [INFO] --- maven-antrun-plugin:1.1:run (extract-docs-from-components) @ wso2ss --- [INFO] Executing tasks [mkdir] Created dir: https://wso2.org/jenkins/job/product-ss/ws/modules/distribution/target/docs-temp [unzip] Expanding: https://wso2.org/jenkins/job/product-ss/ws/modules/distribution/target/wso2ss-1.5.0-SNAPSHOT.zip into https://wso2.org/jenkins/job/product-ss/ws/modules/distribution/target/docs-temp [INFO] [INFO] Reactor Summary: [INFO] [INFO] WSO2 Storage Server - Aggregator Module ... SUCCESS [1.242s] [INFO] WSO2 Storage Server - Styles Parent ... SUCCESS [0.084s] [INFO] WSO2 Storage Server UI styles . SUCCESS [34.604s] [INFO] WSO2 Storage Server - Features Parent . SUCCESS [0.066s] [INFO] WSO2 Storage Server - Features Aggregator Module .. SUCCESS [0.065s] [INFO] WSO2 Storage Server - Styles Features . SUCCESS [2.031s] [INFO] WSO2 Storage Server - P2 Profile Generation ... SUCCESS [1:30.869s] [INFO] WSO2 Storage Server - Distribution FAILURE [14.662s] [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2:35.253s [INFO] Finished at: Sat Sep 06 22:24:58 UTC 2014 [INFO] Final Memory: 33M/361M [INFO] ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.lang.NullPointerException at hudson.remoting.Channel$3.adapt(Channel.java:772) at hudson.remoting.Channel$3.adapt(Channel.java:767) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:185) at hudson.maven.Maven3Builder.call(Maven3Builder.java:141) at
Re: [Dev] Application Management OSGI Service
Johann, IS team, We're currently working on GIT so this is definitely going to be a blocker for us (to release SS 1.5.0 M2) if we cannot this committed sometime soon. Therefore, would really appreciate if you guys can assign someone to stabilise identity related components on GIT ASAP. Cheers, Prabath On Tue, Sep 9, 2014 at 5:13 PM, Prasad Tissera pras...@wso2.com wrote: Committed with r206976 On Tue, Sep 9, 2014 at 12:15 PM, Dhanuka Ranasinghe dhan...@wso2.com wrote: Hi Johann, Please find the relevant diff from following Jirra ticket. I have attached the diff with it. https://wso2.org/jira/browse/IDENTITY-2705 Cheers, Dhanuka *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 On Mon, Sep 8, 2014 at 10:07 PM, Johann Nallathamby joh...@wso2.com wrote: Hi Dhanuka, We are still not committing stuff to Git. Can you please send the diff to latest svn? Thanks, Johann. On Mon, Sep 8, 2014 at 9:44 PM, Dhanuka Ranasinghe dhan...@wso2.com wrote: Hi Johann, Please find the pull request for $Subject, Can you please review the code and merge to wso2-dev. https://github.com/wso2-dev/carbon-identity/pull/10 Cheers, Dhanuka *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 -- Thanks Regards, *Johann Dilantha Nallathamby* Associate Technical Lead Product Lead of WSO2 Identity Server Integration Technologies Team WSO2, Inc. lean.enterprise.middleware Mobile - *+9476950* Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prasad Tissera Software Engineer. Mobile : +94777223444 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] how to pass credentials - using a AXIOM (client)
Hi Lahiru, Can I know what kind of error you are getting when using AXIOM client and passing credentials in the above way? Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com On Tue, Sep 9, 2014 at 5:45 PM, Lahiru Cooray lahi...@wso2.com wrote: Hi, I have created a non secured web service and secured it using ESB. When I invoke the service using an ADB client it worked properly. I used the below code to pass the credentials /// HttpTransportProperties.Authenticator authenticator = new HttpTransportProperties.Authenticator(); authenticator.setUsername(admin); authenticator.setPassword(admin); stub._getServiceClient().getOptions() .setProperty(HTTPConstants.AUTHENTICATE, authenticator); stub ._getServiceClient() .getOptions() .setProperty(Constants.Configuration.ENABLE_REST, Constants.VALUE_TRUE); /// *And I'm facing a problem when I try to do the same using an AXIOM client. I need to know how to pass credentials when using an AXIOM client?* -- *Lahiru Cooray* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94 715 654154 ___ 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] Select tag using Selenium web driver
Hi all I was working with $subject and got stuck in selecting the Sign out tag in following page source (Bolded one) div class=container a class=brand href=/store/ view-source:http://localhost:9763/store//a!-- ul class=nav menu store-menu /ul-- ul class=nav menu pull-right li class=nav-separator a href=/store/extensions/assets/webapp/subscriptions view-source:http://localhost:9763/store/extensions/assets/webapp/subscriptionsi class=icon-tags store-topnav-bookmark/i My Subscriptions/a/li lia class=dropdown-toggle data-toggle=dropdown href=# view-source:http://localhost:9763/store/#i class=icon-user/i admin b class=caret/b/a ul class=dropdown-menu dropdown-account role=menu aria-labelledby=dLabel li *a href=/store/logout view-source:http://localhost:9763/store/logouti class=icon-signout/i Sign out /a* /li /ul /li /ul /div any idea ? -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Select tag using Selenium web driver
Hi Kasun This might help you. http://stackoverflow.com/questions/17329436/selenium-xpath-selector-based-on-the-element-text Regards Roshan On Tue, Sep 9, 2014 at 8:58 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi all I was working with $subject and got stuck in selecting the Sign out tag in following page source (Bolded one) div class=container a class=brand href=/store//a !-- ul class=nav menu store-menu /ul-- ul class=nav menu pull-right li class=nav-separator a href=/store/extensions/assets/webapp/subscriptionsi class=icon-tags store-topnav-bookmark/i My Subscriptions/a /li lia class=dropdown-toggle data-toggle=dropdown href=#i class=icon-user/i admin b class=caret/b/a ul class=dropdown-menu dropdown-account role=menu aria-labelledby=dLabelli *a href=/store/logouti class=icon-signout/i Sign out /a*/li /ul /li /ul /div any idea ? -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Roshan Wijesena. Senior Software Engineer-WSO2 Inc. Mobile: *+94752126789* Email: ros...@wso2.com *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Build failed in Jenkins: product-ss #70
Hi Prabath The following builds are successful. Therefore, assume the issues is resolved. On Tue, Sep 9, 2014 at 8:14 PM, Prabath Abeysekera praba...@wso2.com wrote: Hi Maheshika, Will you be able to check on this? Cheers, Prabath On Sun, Sep 7, 2014 at 9:54 AM, Harsha Kumara hars...@wso2.com wrote: Seems like build fail due to builder machine not have enough space. On Sun, Sep 7, 2014 at 3:55 AM, cbuil...@wso2.org wrote: See https://wso2.org/jenkins/job/product-ss/70/ -- [...truncated 543 lines...] Installing org.wso2.ss.styles.feature.group 1.5.0.SNAPSHOT. Installing org.wso2.carbon.tenant.usage.agent.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.tenant.throttling.agent.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.tenant.common.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.tenant.deployment.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.transaction.manager.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.event.common.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.ntask.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.claim.mgt.feature.group 4.3.0.SNAPSHOT. Installing org.wso2.carbon.user.mgt.feature.group 4.3.0.SNAPSHOT. Operation completed in 11038 ms. [INFO] [INFO] --- maven-antrun-plugin:1.1:run (default) @ wso2ss-p2-profile --- [INFO] Executing tasks [INFO] Executed tasks [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ wso2ss-p2-profile --- [INFO] Installing https://wso2.org/jenkins/job/product-ss/ws/modules/p2-profile/pom.xml to https://wso2.org/jenkins/job/product-ss/ws/.repository/org/wso2/ss/wso2ss-p2-profile/1.5.0-SNAPSHOT/wso2ss-p2-profile-1.5.0-SNAPSHOT.pom [INFO] [INFO] [INFO] Building WSO2 Storage Server - Distribution 1.5.0-SNAPSHOT [INFO] [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ wso2ss --- [INFO] Deleting https://wso2.org/jenkins/job/product-ss/ws/modules/distribution/target [INFO] [INFO] --- maven-assembly-plugin:2.2-beta-5:attached (pre_dist) @ wso2ss --- [INFO] Reading assembly descriptor: src/main/assembly/dist.xml [INFO] Building zip: https://wso2.org/jenkins/job/product-ss/ws/modules/distribution/target/wso2ss-1.5.0-SNAPSHOT.zip [INFO] [INFO] --- maven-dependency-plugin:2.4:unpack (unpack-wso2carbon) @ wso2ss --- [INFO] Configured Artifact: org.wso2.carbon:wso2carbon-core:4.3.0-SNAPSHOT:zip [INFO] Unpacking https://wso2.org/jenkins/job/product-ss/ws/.repository/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/wso2carbon-core-4.3.0-SNAPSHOT.zip to https://wso2.org/jenkins/job/product-ss/ws/modules/distribution/target with includes and excludes [INFO] [INFO] --- maven-antrun-plugin:1.1:run (extract-docs-from-components) @ wso2ss --- [INFO] Executing tasks [mkdir] Created dir: https://wso2.org/jenkins/job/product-ss/ws/modules/distribution/target/docs-temp [unzip] Expanding: https://wso2.org/jenkins/job/product-ss/ws/modules/distribution/target/wso2ss-1.5.0-SNAPSHOT.zip into https://wso2.org/jenkins/job/product-ss/ws/modules/distribution/target/docs-temp [INFO] [INFO] Reactor Summary: [INFO] [INFO] WSO2 Storage Server - Aggregator Module ... SUCCESS [1.242s] [INFO] WSO2 Storage Server - Styles Parent ... SUCCESS [0.084s] [INFO] WSO2 Storage Server UI styles . SUCCESS [34.604s] [INFO] WSO2 Storage Server - Features Parent . SUCCESS [0.066s] [INFO] WSO2 Storage Server - Features Aggregator Module .. SUCCESS [0.065s] [INFO] WSO2 Storage Server - Styles Features . SUCCESS [2.031s] [INFO] WSO2 Storage Server - P2 Profile Generation ... SUCCESS [1:30.869s] [INFO] WSO2 Storage Server - Distribution FAILURE [14.662s] [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2:35.253s [INFO] Finished at: Sat Sep 06 22:24:58 UTC 2014 [INFO] Final Memory: 33M/361M [INFO] ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.lang.NullPointerException at hudson.remoting.Channel$3.adapt(Channel.java:772) at hudson.remoting.Channel$3.adapt(Channel.java:767) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at
[Dev] EAM nightly build pack - 09-09-2014
Hi, Please find the $subject in [1]. [1]. http://builder1.us1.wso2.org/~appm/09-09-2014/ Regards, Dinusha. -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Has to change the property name in Userstore configurations
Hi, passwordHashMethod property name should be changed as PasswordHashMethod p to P And has to fix this in the default configuration file too [1] Thanks, Ishara [1] https://wso2.org/jira/browse/IDENTITY-2281 -- Ishara Karunarathna Senior Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: isha...@wso2.com, blog: isharaaruna.blogspot.com, mobile: +94 718211678 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to connect to a wso2 server remotely using JConsole (deployed on a cloud instance)
Hi, You should be able to connect via jconsole as mentioned in [1] without any modifications to JVM arguments. You just need to look for JMX Service URL in the logs and use that in jconsole. Then you need to provide credentials of a user with Server Admin permission. Which ELB version are you trying? [1] https://docs.wso2.com/display/ESB480/JMX+Monitoring On Tue, Sep 9, 2014 at 5:35 PM, Asanka Vithanage asan...@wso2.com wrote: Hi Dumidu, Thanks, Its working. On Tue, Sep 9, 2014 at 5:29 PM, Dumidu Handakumbura dum...@wso2.com wrote: Hi, Try adding the following to the wso2server.sh script. -Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.authenticate=false \ -Dcom.sun.management.remote.ssl=false \ -Djava.rmi.server.hostname=IP \ Regards, On Tue, Sep 9, 2014 at 5:25 PM, Asanka Vithanage asan...@wso2.com wrote: Hi, I need to remotely monitor ELB (hosted on an cloud instance) using Jconsole.With default settings i am getting a connection failed from jconsole side. Then tried changing as HostNamecloud_instance_public_ip/HostName on repository/conf/etc/jmx.xml. now when starting the ELB server getting error [1]. Tried ELB starting with -Djava.rmi.server.hostname= as well, as mentioned on doc https://docs.wso2.com/display/ESB480/JMX+Monitoring ,but still no luck. Can anyone point me to a solution? [1] [2014-09-09 07:05:09,882] ERROR - JMXServerManager Could not initialize RMI server java.io.IOException: Cannot bind to URL [rmi://192.168.17.30:/jmxrmi]: javax.naming.NoPermissionException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.AccessException: Registry.Registry.bind disallowed; origin / 192.168.17.30 is non-local host] at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:827) at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:432) at org.wso2.carbon.core.init.JMXServerManager.startJMXService(JMXServerManager.java:121) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:197) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:282) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.wso2.carbon.server.admin.internal.ServerAdminServiceComponent.activate(ServerAdminServiceComponent.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at
[Dev] [DSS]Generating Using a Given Database Structure failed
Hi: When I generated dss server by using a given database structure, it failed and following error log displayed. TID: [0] [DSS] [2014-09-09 14:50:42,957] WARN {org.wso2.carbon.dataservices.core.script.DSGenerator} - Insert operation not created {org.wso2.carbon.dataservices.core.script.DSGenerator} DS Code: UNKNOWN_ERROR Nested Exception:- DS Fault Message: Invalid query param sqlType: 'null'. DS Code: UNKNOWN_ERROR at org.wso2.carbon.dataservices.core.engine.QueryParam.validateQueryParam(QueryParam.java:123) at org.wso2.carbon.dataservices.core.engine.QueryParam.init(QueryParam.java:76) at org.wso2.carbon.dataservices.core.script.DSGenerator.getQueryParamList(DSGenerator.java:754) at org.wso2.carbon.dataservices.core.script.DSGenerator.getInsertQuery(DSGenerator.java:687) at org.wso2.carbon.dataservices.core.script.DSGenerator.addInsertOperation(DSGenerator.java:472) at org.wso2.carbon.dataservices.core.script.DSGenerator.addOperations(DSGenerator.java:236) at org.wso2.carbon.dataservices.core.script.DSGenerator.makeService(DSGenerator.java:197) at org.wso2.carbon.dataservices.core.script.DSGenerator.generateService(DSGenerator.java:160) at org.wso2.carbon.dataservices.core.script.DSGenerator.init(DSGenerator.java:108) at org.wso2.carbon.dataservices.core.admin.DataServiceAdmin.getDSService(DataServiceAdmin.java:447) My DB is oracle and my table only include 4 datatypes NUMBER, VARCHAR2, DATE and TIMESTAMP, such as following: create table INFO ( object_id NUMBER(18) not null, oc_name VARCHAR2(50), last_time DATE, insert_time TIMESTAMP(3) default SYSDATE, ) It seems DSS does not support the datatype of TIMESTAMP, When I delete the datatype of TIMESTAMP, it can generate dss server successfully. I do not know why DSS do not support datatype of TIMESTAMP and how to solve it. stevegyc___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DSS]Generating Using a Given Database Structure failed
Hi, What is the format of TIMESTAMP value ? If your sending incorrect format that will cause some issues. *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Wed, Sep 10, 2014 at 2:16 AM, stevegyc steve...@163.com wrote: Hi: When I generated dss server by using a given database structure, it failed and following error log displayed. TID: [0] [DSS] [2014-09-09 14:50:42,957] WARN {org.wso2.carbon.dataservices.core.script.DSGenerator} - Insert operation not created {org.wso2.carbon.dataservices.core.script.DSGenerator} DS Code: UNKNOWN_ERROR Nested Exception:- DS Fault Message: Invalid query param sqlType: 'null'. DS Code: UNKNOWN_ERROR at org.wso2.carbon.dataservices.core.engine.QueryParam.validateQueryParam(QueryParam.java:123) at org.wso2.carbon.dataservices.core.engine.QueryParam.init(QueryParam.java:76) at org.wso2.carbon.dataservices.core.script.DSGenerator.getQueryParamList(DSGenerator.java:754) at org.wso2.carbon.dataservices.core.script.DSGenerator.getInsertQuery(DSGenerator.java:687) at org.wso2.carbon.dataservices.core.script.DSGenerator.addInsertOperation(DSGenerator.java:472) at org.wso2.carbon.dataservices.core.script.DSGenerator.addOperations(DSGenerator.java:236) at org.wso2.carbon.dataservices.core.script.DSGenerator.makeService(DSGenerator.java:197) at org.wso2.carbon.dataservices.core.script.DSGenerator.generateService(DSGenerator.java:160) at org.wso2.carbon.dataservices.core.script.DSGenerator.init(DSGenerator.java:108) at org.wso2.carbon.dataservices.core.admin.DataServiceAdmin.getDSService(DataServiceAdmin.java:447) My DB is oracle and my table only include 4 datatypes NUMBER, VARCHAR2, DATE and TIMESTAMP, such as following: create table INFO ( object_id NUMBER(18) not null, oc_name VARCHAR2(50), last_time DATE, insert_time TIMESTAMP(3) default SYSDATE, ) It seems DSS does not support the datatype of TIMESTAMP, When I delete the datatype of TIMESTAMP, it can generate dss server successfully. I do not know why DSS do not support datatype of TIMESTAMP and how to solve it. -- stevegyc ___ 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] Graceful Restart is not working
Hi, I am working on issue[1]. I could find that the RegistryConfigLoader() returns a null value. (line 73 in [2]). OMElement indexingConfig = configElement.getFirstChildWithName(new QName(indexingConfiguration)); This value is used in several places. but NPE is thrown in line 88, lastAccessTimeLocation = indexingConfig.getFirstChildWithName(new QName(lastAccessTimeLocation)).getText(); as the catch clause catches only catch (OMException e) { ... // set default value } while in other places (eg: line 78,79) it is catch (Exception e) { ... // set default value } This exception occurred due to a missing XML elements in registry.xml. This missing element ( indexingConfiguration /indexingConfiguration ) will be used if the product is using registry search feature. But this NPE should be handled for the products that does not use this feature. This can be fixed adding similar catch clause (catching Exception e ) in the catch clause(line 90,91) (current implementation use catch clauses to set default values if an exception occurs. Adding an extra catch clause to the later try block can be used to add similar behavior). Is there a better way to handle this? [1] https://wso2.org/jira/browse/CARBON-14904 [2] https://githubc.com/Nipuni/carbon-registry/blob/master/components/registry/org.wso2.carbon.registry.indexing/src/main/java/org/wso2/carbon/registry/indexing/RegistryConfigLoader.java https://github.com/Nipuni/carbon-registry/blob/master/components/registry/org.wso2.carbon.registry.indexing/src/main/java/org/wso2/carbon/registry/indexing/RegistryConfigLoader.java Thanks, Nipuni -- Nipuni Perera Software Engineer; WSO2 Inc.; http://wso2.com Email: nip...@wso2.com Git hub profile: https://github.com/nipuni Mobile: +94 (71) 5626680 http://wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [BRS]How to modify date formats in drools.
Hi: The default date format in drools is 'dd-MMM-', but in the definition of rule attribute date-effective, it says it contain a date and time definition. It need to use the date format as 'dd-MMM- HH:mm'. Any one know how to modify the date format to 'dd-MMM- HH:mm'? stevegyc___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Graceful Restart is not working
As a best practice, do not catch the Exception class, instead catch specific subclasses. But, you do not need to catch any exceptions in this particular case? Can't you just verify whether the indexingConfiguration element is available or not? KasunG On Wed, Sep 10, 2014 at 4:39 AM, Nipuni Perera nip...@wso2.com wrote: Hi, I am working on issue[1]. I could find that the RegistryConfigLoader() returns a null value. (line 73 in [2]). OMElement indexingConfig = configElement.getFirstChildWithName(new QName(indexingConfiguration)); This value is used in several places. but NPE is thrown in line 88, lastAccessTimeLocation = indexingConfig.getFirstChildWithName(new QName(lastAccessTimeLocation)).getText(); as the catch clause catches only catch (OMException e) { ... // set default value } while in other places (eg: line 78,79) it is catch (Exception e) { ... // set default value } This exception occurred due to a missing XML elements in registry.xml. This missing element ( indexingConfiguration /indexingConfiguration ) will be used if the product is using registry search feature. But this NPE should be handled for the products that does not use this feature. This can be fixed adding similar catch clause (catching Exception e ) in the catch clause(line 90,91) (current implementation use catch clauses to set default values if an exception occurs. Adding an extra catch clause to the later try block can be used to add similar behavior). Is there a better way to handle this? [1] https://wso2.org/jira/browse/CARBON-14904 [2] https://githubc.com/Nipuni/carbon-registry/blob/master/components/registry/org.wso2.carbon.registry.indexing/src/main/java/org/wso2/carbon/registry/indexing/RegistryConfigLoader.java https://github.com/Nipuni/carbon-registry/blob/master/components/registry/org.wso2.carbon.registry.indexing/src/main/java/org/wso2/carbon/registry/indexing/RegistryConfigLoader.java Thanks, Nipuni -- Nipuni Perera Software Engineer; WSO2 Inc.; http://wso2.com Email: nip...@wso2.com Git hub profile: https://github.com/nipuni Mobile: +94 (71) 5626680 http://wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Hazelcast issue with ESB 4.9.0 M3
Hi Guys, What is the way forward. Shall I create a jira? On Tue, Sep 9, 2014 at 5:50 PM, Kasun Gajasinghe kas...@wso2.com wrote: On Tue, Sep 9, 2014 at 2:09 PM, Afkham Azeez az...@wso2.com wrote: You need to put some kernel patches with the Hazelcast patch as well right? Yes, for Carbon 4.2.0. Malaka is testing the patch in Kernel 4.3.0, so it should already be there. On Tue, Sep 9, 2014 at 5:10 PM, Kasun Gajasinghe kas...@wso2.com wrote: Ok.. this might be a configuration issue. But we did not test this properly on Carbon 4.3.0 as well. Can you share you configuration files of all the nodes? Any useful logs? On Tue, Sep 9, 2014 at 1:34 PM, Malaka Silva mal...@wso2.com wrote: Hi KasunG, Initially I have used 127.0.0.1. Then I have changed it to IP. However same issue exists. On Tue, Sep 9, 2014 at 4:52 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Malaka, What are the values you have used for localMemberHost? In Hz 3.2.3, you should not use 127.0.0.1 or localhost but the IP of the machine. Regards, KasunG On Tue, Sep 9, 2014 at 1:18 PM, Afkham Azeez az...@wso2.com wrote: KasunG, Can you verify this? -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/* *email: **az...@wso2.com* az...@wso2.com * cell: +94 77 3320919 %2B94%2077%203320919blog: * *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* -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Hazelcast issue with ESB 4.9.0 M3
On Tue, Sep 9, 2014 at 2:01 PM, Kasun Gajasinghe kas...@wso2.com wrote: Ok.. Can you build the Hazelcast 3.0.1 from kernel patch0009 and verify whether it works with that? [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/patches/patch0009/orbit/hazelcast/3.0.1.wso2v1 Malaka, can you try the above? Then we can verify whether something is wrong with the Hz 3.2.3.wso2v1 orbit bundle. On Tue, Sep 9, 2014 at 1:52 PM, Malaka Silva mal...@wso2.com wrote: Hi KasunG, Can confirm this is not a configuration issue, unless configuration has changed? Reason is to verify I have downgraded to hazelcast,3.0.1.wso2v1 manually, and it start working. Best Regards, Malaka On Tue, Sep 9, 2014 at 5:10 PM, Kasun Gajasinghe kas...@wso2.com wrote: Ok.. this might be a configuration issue. But we did not test this properly on Carbon 4.3.0 as well. Can you share you configuration files of all the nodes? Any useful logs? On Tue, Sep 9, 2014 at 1:34 PM, Malaka Silva mal...@wso2.com wrote: Hi KasunG, Initially I have used 127.0.0.1. Then I have changed it to IP. However same issue exists. On Tue, Sep 9, 2014 at 4:52 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Malaka, What are the values you have used for localMemberHost? In Hz 3.2.3, you should not use 127.0.0.1 or localhost but the IP of the machine. Regards, KasunG On Tue, Sep 9, 2014 at 1:18 PM, Afkham Azeez az...@wso2.com wrote: KasunG, Can you verify this? -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Has to change the property name in Userstore configurations
Hi, Fixed in the IS docs and in the shared space. Thanks, Sam On Sep 9, 2014 11:46 PM, Ishara Karunarathna isha...@wso2.com wrote: Hi, passwordHashMethod property name should be changed as PasswordHashMethod p to P And has to fix this in the default configuration file too [1] Thanks, Ishara [1] https://wso2.org/jira/browse/IDENTITY-2281 -- Ishara Karunarathna Senior Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: isha...@wso2.com, blog: isharaaruna.blogspot.com, mobile: +94 718211678 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Hazelcast issue with ESB 4.9.0 M3
Tested with [1] and it has worked. [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/patches/patch0009/orbit/hazelcast/3.0.1.wso2v1 On Wed, Sep 10, 2014 at 9:00 AM, Kasun Gajasinghe kas...@wso2.com wrote: On Tue, Sep 9, 2014 at 2:01 PM, Kasun Gajasinghe kas...@wso2.com wrote: Ok.. Can you build the Hazelcast 3.0.1 from kernel patch0009 and verify whether it works with that? [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/patches/patch0009/orbit/hazelcast/3.0.1.wso2v1 Malaka, can you try the above? Then we can verify whether something is wrong with the Hz 3.2.3.wso2v1 orbit bundle. On Tue, Sep 9, 2014 at 1:52 PM, Malaka Silva mal...@wso2.com wrote: Hi KasunG, Can confirm this is not a configuration issue, unless configuration has changed? Reason is to verify I have downgraded to hazelcast,3.0.1.wso2v1 manually, and it start working. Best Regards, Malaka On Tue, Sep 9, 2014 at 5:10 PM, Kasun Gajasinghe kas...@wso2.com wrote: Ok.. this might be a configuration issue. But we did not test this properly on Carbon 4.3.0 as well. Can you share you configuration files of all the nodes? Any useful logs? On Tue, Sep 9, 2014 at 1:34 PM, Malaka Silva mal...@wso2.com wrote: Hi KasunG, Initially I have used 127.0.0.1. Then I have changed it to IP. However same issue exists. On Tue, Sep 9, 2014 at 4:52 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Malaka, What are the values you have used for localMemberHost? In Hz 3.2.3, you should not use 127.0.0.1 or localhost but the IP of the machine. Regards, KasunG On Tue, Sep 9, 2014 at 1:18 PM, Afkham Azeez az...@wso2.com wrote: KasunG, Can you verify this? -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] how to pass credentials - using a AXIOM (client)
Hi, I have the same question and please check below how I tried to implement this. -- System.setProperty(javax.net.ssl.trustStore, /Users/asok/Documents/wso2esb-4.8.1/repository/resources/security/client-truststore.jks ); System.setProperty(javax.net.ssl.trustStorePassword, wso2carbon); options = new Options(); try { options.setProperty(RampartMessageData.KEY_RAMPART_POLICY, loadPolicy( chb_policy_1.xml)); options.setUserName(admin); options.setPassword(admin); } catch (Exception e1) { e1.printStackTrace(); } - Im getting following error, even though I have put the chb_policy_1.xml file. org.apache.axis2.AxisFault: *Unable to engage module : rampart* at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:363 ) at client_AXIOM.Client.init(Client.java:54) at client_AXIOM.Client.main(Client.java:120) org.apache.axis2.AxisFault: Address information does not exist in the Endpoint Reference (EPR).The system cannot infer the transport mechanism. Can anyone point out how to implement this as AXIOM client ? BR *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2Fsa=Dsntz=1usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ lean.enterprise.middleware Mobile: +94722241032 On Tue, Sep 9, 2014 at 8:46 PM, Vimalanathan Rajeevan rajeev...@wso2.com wrote: Hi Lahiru, Can I know what kind of error you are getting when using AXIOM client and passing credentials in the above way? Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com On Tue, Sep 9, 2014 at 5:45 PM, Lahiru Cooray lahi...@wso2.com wrote: Hi, I have created a non secured web service and secured it using ESB. When I invoke the service using an ADB client it worked properly. I used the below code to pass the credentials /// HttpTransportProperties.Authenticator authenticator = new HttpTransportProperties.Authenticator(); authenticator.setUsername(admin); authenticator.setPassword(admin); stub._getServiceClient().getOptions() .setProperty(HTTPConstants.AUTHENTICATE, authenticator); stub ._getServiceClient() .getOptions() .setProperty(Constants.Configuration.ENABLE_REST, Constants.VALUE_TRUE); /// *And I'm facing a problem when I try to do the same using an AXIOM client. I need to know how to pass credentials when using an AXIOM client?* -- *Lahiru Cooray* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94 715 654154 ___ 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 mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Build failed in Jenkins: product-ss #74
Hi Maheshika, It looks like we're still running into this issue in the builder machine. Would you be able to have a look? Cheers, Prabath On Wed, Sep 10, 2014 at 3:16 AM, cbuil...@wso2.org wrote: See https://wso2.org/jenkins/job/product-ss/74/ -- [...truncated 729 lines...] [INFO] Reactor Summary: [INFO] [INFO] WSO2 Storage Server - Aggregator Module ... SUCCESS [0.384s] [INFO] WSO2 Storage Server - Styles Parent ... SUCCESS [0.025s] [INFO] WSO2 Storage Server UI styles . SUCCESS [50.917s] [INFO] WSO2 Storage Server - Features Parent . SUCCESS [0.023s] [INFO] WSO2 Storage Server - Features Aggregator Module .. SUCCESS [0.035s] [INFO] WSO2 Storage Server - Styles Features . SUCCESS [0.625s] [INFO] WSO2 Storage Server - P2 Profile Generation ... SUCCESS [1:45.002s] [INFO] WSO2 Storage Server - Distribution FAILURE [10.339s] [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2:53.874s [INFO] Finished at: Tue Sep 09 21:46:20 UTC 2014 [INFO] Final Memory: 32M/476M [INFO] ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.io.IOException: No space left on device at hudson.remoting.Channel$3.adapt(Channel.java:772) at hudson.remoting.Channel$3.adapt(Channel.java:767) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:185) at hudson.maven.Maven3Builder.call(Maven3Builder.java:141) at hudson.maven.Maven3Builder.call(Maven3Builder.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:414) at hudson.maven.MavenBuild$ProxyImpl2.execute(MavenBuild.java:542) at sun.reflect.GeneratedMethodAccessor204.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.model.Executor$1.call(Executor.java:559) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at com.sun.proxy.$Proxy78.execute(Unknown Source) at hudson.maven.MavenBuildProxy$Filter$AsyncInvoker.call(MavenBuildProxy.java:293) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.io.IOException: No space left on device at hudson.remoting.Channel$3.adapt(Channel.java:772) at hudson.remoting.Channel$3.adapt(Channel.java:767) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:185) at hudson.maven.Maven3Builder.call(Maven3Builder.java:141) at hudson.maven.Maven3Builder.call(Maven3Builder.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at
Re: [Dev] Please commit patch to 4.2.0 patch0009
Thanks, Regards, Pulasthi On Tue, Sep 9, 2014 at 3:04 PM, Sameera Jayasoma same...@wso2.com wrote: Done. On Mon, Sep 1, 2014 at 3:42 PM, Pulasthi Supun pulas...@wso2.com wrote: Hi Carbon Team, Please commit the patch for [1] which is attached, this is a backporting of an existing fix [1] https://wso2.org/jira/browse/REGISTRY-2147 Regards, Pulasthi -- -- Pulasthi Supun Software Engineer; WSO2 Inc.; http://wso2.com, Email: pulas...@wso2.com Mobile: +94 (71) 9258281 Blog : http://pulasthisupun.blogspot.com/ Git hub profile: https://github.com/pulasthi -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- -- Pulasthi Supun Software Engineer; WSO2 Inc.; http://wso2.com, Email: pulas...@wso2.com Mobile: +94 (71) 9258281 Blog : http://pulasthisupun.blogspot.com/ Git hub profile: https://github.com/pulasthi ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to connect to a wso2 server remotely using JConsole (deployed on a cloud instance)
Hi Isuru, I am using ELB 210. Jconsole couldn't connect with ELB as mentioned on the doc. May be since my ELB running on a open stack cloud instance. On Wed, Sep 10, 2014 at 6:58 AM, Isuru Perera isu...@wso2.com wrote: Hi, You should be able to connect via jconsole as mentioned in [1] without any modifications to JVM arguments. You just need to look for JMX Service URL in the logs and use that in jconsole. Then you need to provide credentials of a user with Server Admin permission. Which ELB version are you trying? [1] https://docs.wso2.com/display/ESB480/JMX+Monitoring On Tue, Sep 9, 2014 at 5:35 PM, Asanka Vithanage asan...@wso2.com wrote: Hi Dumidu, Thanks, Its working. On Tue, Sep 9, 2014 at 5:29 PM, Dumidu Handakumbura dum...@wso2.com wrote: Hi, Try adding the following to the wso2server.sh script. -Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.authenticate=false \ -Dcom.sun.management.remote.ssl=false \ -Djava.rmi.server.hostname=IP \ Regards, On Tue, Sep 9, 2014 at 5:25 PM, Asanka Vithanage asan...@wso2.com wrote: Hi, I need to remotely monitor ELB (hosted on an cloud instance) using Jconsole.With default settings i am getting a connection failed from jconsole side. Then tried changing as HostNamecloud_instance_public_ip/HostName on repository/conf/etc/jmx.xml. now when starting the ELB server getting error [1]. Tried ELB starting with -Djava.rmi.server.hostname= as well, as mentioned on doc https://docs.wso2.com/display/ESB480/JMX+Monitoring ,but still no luck. Can anyone point me to a solution? [1] [2014-09-09 07:05:09,882] ERROR - JMXServerManager Could not initialize RMI server java.io.IOException: Cannot bind to URL [rmi:// 192.168.17.30:/jmxrmi]: javax.naming.NoPermissionException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.AccessException: Registry.Registry.bind disallowed; origin /192.168.17.30 is non-local host] at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:827) at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:432) at org.wso2.carbon.core.init.JMXServerManager.startJMXService(JMXServerManager.java:121) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:197) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:282) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.wso2.carbon.server.admin.internal.ServerAdminServiceComponent.activate(ServerAdminServiceComponent.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at
Re: [Dev] ESB - Adding a custom proxy and specifying WSDL URI [Windows based environment]
Hi Dhanuka! Is this the complete configuration file you have... Why is the target tag missing which should be pointing to some back-end service? i.e. for example, this should have been something as follows... definitions xmlns=http://ws.apache.org/ns/synapse; proxy name=StockQuoteProxy target endpoint address uri= http://localhost:9000/services/SimpleStockQuoteService/ /endpoint outSequence send/ /outSequence /target publishWSDL uri=file:///c:/Apache/wso2esb-4.8.1/repository/sample_proxy_1.wsdl/ /proxy /definitions Please have a try and give your feedbacks. Cheers! *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Wed, Sep 10, 2014 at 10:12 AM, Jerad Rutnam je...@wso2.com wrote: Hi Dhanuka, Just for clarification, why are you not trying to have your service in Axis2 or WSO2 AS etc... and call it? Regards, Jerad On Tue, Sep 9, 2014 at 5:41 PM, Dhanuka De Silva dhanu...@wso2.com wrote: *Environment:* ESB 4.8.1 Running on Windows 8 ESB / Services / Add Proxy Service / Custom Proxy I'm trying to specify and test WSDL URI (file located inside windows file system) and still no luck with it. Can anybody help me on how to specify the location of a WSDL file located inside a windows file system and get it verified by hitting the TEST URI button. ?xml version=1.0 encoding=UTF-8? proxy xmlns=http://ws.apache.org/ns/synapse; name=StockQuoteProxy transports=https,http statistics=disable trace=disable startOnLoad=true target/ publishWSDL uri= *file:///c:/Apache/wso2esb-4.8.1/repository/sample_proxy_1.wsdl*/ description/ /proxy Checked all options according to http://en.wikipedia.org/wiki/File_URI_scheme#Windows , but no luck!. -- Dhanuka De Silva m: +94 773 887816 e: dhanu...@wso2.com w: http://www.wso2.com -- *Jerad Rutnam | **Software Engineer - UI* WSO2, Inc. www.wso2.com *Email: je...@wso2.com je...@wso2.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Build failed in Jenkins: product-ss #74
Hi Maheshika, This is occurs time to time. It says no space left on the device. This is the reason for the previous build failure too. As I remember day before yesterday, build was successful. Thanks, Harsha On Wed, Sep 10, 2014 at 9:57 AM, Prabath Abeysekera praba...@wso2.com wrote: Hi Maheshika, It looks like we're still running into this issue in the builder machine. Would you be able to have a look? Cheers, Prabath On Wed, Sep 10, 2014 at 3:16 AM, cbuil...@wso2.org wrote: See https://wso2.org/jenkins/job/product-ss/74/ -- [...truncated 729 lines...] [INFO] Reactor Summary: [INFO] [INFO] WSO2 Storage Server - Aggregator Module ... SUCCESS [0.384s] [INFO] WSO2 Storage Server - Styles Parent ... SUCCESS [0.025s] [INFO] WSO2 Storage Server UI styles . SUCCESS [50.917s] [INFO] WSO2 Storage Server - Features Parent . SUCCESS [0.023s] [INFO] WSO2 Storage Server - Features Aggregator Module .. SUCCESS [0.035s] [INFO] WSO2 Storage Server - Styles Features . SUCCESS [0.625s] [INFO] WSO2 Storage Server - P2 Profile Generation ... SUCCESS [1:45.002s] [INFO] WSO2 Storage Server - Distribution FAILURE [10.339s] [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2:53.874s [INFO] Finished at: Tue Sep 09 21:46:20 UTC 2014 [INFO] Final Memory: 32M/476M [INFO] ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.io.IOException: No space left on device at hudson.remoting.Channel$3.adapt(Channel.java:772) at hudson.remoting.Channel$3.adapt(Channel.java:767) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:185) at hudson.maven.Maven3Builder.call(Maven3Builder.java:141) at hudson.maven.Maven3Builder.call(Maven3Builder.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:414) at hudson.maven.MavenBuild$ProxyImpl2.execute(MavenBuild.java:542) at sun.reflect.GeneratedMethodAccessor204.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.model.Executor$1.call(Executor.java:559) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at com.sun.proxy.$Proxy78.execute(Unknown Source) at hudson.maven.MavenBuildProxy$Filter$AsyncInvoker.call(MavenBuildProxy.java:293) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.io.IOException: No space left on device at hudson.remoting.Channel$3.adapt(Channel.java:772) at hudson.remoting.Channel$3.adapt(Channel.java:767) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:185) at hudson.maven.Maven3Builder.call(Maven3Builder.java:141) at hudson.maven.Maven3Builder.call(Maven3Builder.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
[Dev] Invitation: Code Review - WSO2 EAM Testcases @ Wed Sep 10, 2014 2:30pm - 3pm (Kasun Dissanayake)
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20140910T09Z DTEND:20140910T093000Z DTSTAMP:20140910T050511Z ORGANIZER;CN=Kasun Dissanayake:mailto:kas...@wso2.com UID:4ugfmn2hv9ijhu64g30tn8c...@google.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Rajeeva Uthayasangar;X-NUM-GUESTS=0:mailto:raje...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Ruwan Yatawara;X-NUM-GUESTS=0:mailto:ruw...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Jenananthan Yogendran;X-NUM-GUESTS=0:mailto:jenanant...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Rushmin Fernando;X-NUM-GUESTS=0:mailto:rush...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE ;CN=Kasun Dissanayake;X-NUM-GUESTS=0:mailto:kas...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Sumedha Rubasinghe;X-NUM-GUESTS=0:mailto:sume...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Dinusha Senanayaka;X-NUM-GUESTS=0:mailto:dinu...@wso2.com CREATED:20140910T050511Z DESCRIPTION:View your event at https://www.google.com/calendar/event?action =VIEWeid=NHVnZm1uMmh2OWlqaHU2NGczMHRuOGMzZTggZGV2QHdzbzIub3Jntok=MTUja2Fz dW51QHdzbzIuY29tOWIzNWJjMGY3MWVlZDU0ZGY0MjhjZmE0ZjY2YmYxNTNiZWVlMDhhYgctz= Asia/Colombohl=en. LAST-MODIFIED:20140910T050511Z LOCATION:WSO2 Inc.\, LK 3rd Floor Meeting Room SEQUENCE:0 STATUS:CONFIRMED SUMMARY:Code Review - WSO2 EAM Testcases TRANSP:TRANSPARENT END:VEVENT END:VCALENDAR invite.ics Description: application/ics ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] ESB - Adding a custom proxy and specifying WSDL URI [Windows based environment]
Hi Dhanuka! This is just to have a try and see... If it is the UI that is not allowing you to proceed, try using the Source-View and manually setting-up the configuration. That might help you to verify your problem. Cheers! *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Wed, Sep 10, 2014 at 10:27 AM, Dhanuka De Silva dhanu...@wso2.com wrote: Hi Dilan It was halfway through the form and I was just trying to test the WSDL URI (using the TEST WSDL button) .. So to answer your question, No! it is not the complete configuration file at that point. Cheers On Wed, Sep 10, 2014 at 10:23 AM, Dilan Udara Ariyaratne dil...@wso2.com wrote: Hi Dhanuka! Is this the complete configuration file you have... Why is the target tag missing which should be pointing to some back-end service? i.e. for example, this should have been something as follows... definitions xmlns=http://ws.apache.org/ns/synapse; proxy name=StockQuoteProxy target endpoint address uri= http://localhost:9000/services/SimpleStockQuoteService/ /endpoint outSequence send/ /outSequence /target publishWSDL uri=file:///c:/Apache/wso2esb-4.8.1/repository/sample_proxy_1.wsdl/ /proxy /definitions Please have a try and give your feedbacks. Cheers! *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Wed, Sep 10, 2014 at 10:12 AM, Jerad Rutnam je...@wso2.com wrote: Hi Dhanuka, Just for clarification, why are you not trying to have your service in Axis2 or WSO2 AS etc... and call it? Regards, Jerad On Tue, Sep 9, 2014 at 5:41 PM, Dhanuka De Silva dhanu...@wso2.com wrote: *Environment:* ESB 4.8.1 Running on Windows 8 ESB / Services / Add Proxy Service / Custom Proxy I'm trying to specify and test WSDL URI (file located inside windows file system) and still no luck with it. Can anybody help me on how to specify the location of a WSDL file located inside a windows file system and get it verified by hitting the TEST URI button. ?xml version=1.0 encoding=UTF-8? proxy xmlns=http://ws.apache.org/ns/synapse; name=StockQuoteProxy transports=https,http statistics=disable trace=disable startOnLoad=true target/ publishWSDL uri= *file:///c:/Apache/wso2esb-4.8.1/repository/sample_proxy_1.wsdl*/ description/ /proxy Checked all options according to http://en.wikipedia.org/wiki/File_URI_scheme#Windows , but no luck!. -- Dhanuka De Silva m: +94 773 887816 e: dhanu...@wso2.com w: http://www.wso2.com -- *Jerad Rutnam | **Software Engineer - UI* WSO2, Inc. www.wso2.com *Email: je...@wso2.com je...@wso2.com* -- Dhanuka De Silva m: +94 773 887816 e: dhanu...@wso2.com w: http://www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Build failed in Jenkins: product-ss #74
Hi Harsha Prabath We are in the process of increasing the disk space. Hi Rumesh Most Jenkins builds have failed due to inadequate disk space. Therefore, please increase the Jenkins disk space. On Wed, Sep 10, 2014 at 10:32 AM, Harsha Kumara hars...@wso2.com wrote: Hi Maheshika, This is occurs time to time. It says no space left on the device. This is the reason for the previous build failure too. As I remember day before yesterday, build was successful. Thanks, Harsha On Wed, Sep 10, 2014 at 9:57 AM, Prabath Abeysekera praba...@wso2.com wrote: Hi Maheshika, It looks like we're still running into this issue in the builder machine. Would you be able to have a look? Cheers, Prabath On Wed, Sep 10, 2014 at 3:16 AM, cbuil...@wso2.org wrote: See https://wso2.org/jenkins/job/product-ss/74/ -- [...truncated 729 lines...] [INFO] Reactor Summary: [INFO] [INFO] WSO2 Storage Server - Aggregator Module ... SUCCESS [0.384s] [INFO] WSO2 Storage Server - Styles Parent ... SUCCESS [0.025s] [INFO] WSO2 Storage Server UI styles . SUCCESS [50.917s] [INFO] WSO2 Storage Server - Features Parent . SUCCESS [0.023s] [INFO] WSO2 Storage Server - Features Aggregator Module .. SUCCESS [0.035s] [INFO] WSO2 Storage Server - Styles Features . SUCCESS [0.625s] [INFO] WSO2 Storage Server - P2 Profile Generation ... SUCCESS [1:45.002s] [INFO] WSO2 Storage Server - Distribution FAILURE [10.339s] [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2:53.874s [INFO] Finished at: Tue Sep 09 21:46:20 UTC 2014 [INFO] Final Memory: 32M/476M [INFO] ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.io.IOException: No space left on device at hudson.remoting.Channel$3.adapt(Channel.java:772) at hudson.remoting.Channel$3.adapt(Channel.java:767) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:185) at hudson.maven.Maven3Builder.call(Maven3Builder.java:141) at hudson.maven.Maven3Builder.call(Maven3Builder.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:414) at hudson.maven.MavenBuild$ProxyImpl2.execute(MavenBuild.java:542) at sun.reflect.GeneratedMethodAccessor204.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.model.Executor$1.call(Executor.java:559) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at com.sun.proxy.$Proxy78.execute(Unknown Source) at hudson.maven.MavenBuildProxy$Filter$AsyncInvoker.call(MavenBuildProxy.java:293) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.io.IOException: No space left on device at hudson.remoting.Channel$3.adapt(Channel.java:772) at hudson.remoting.Channel$3.adapt(Channel.java:767) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:185) at hudson.maven.Maven3Builder.call(Maven3Builder.java:141) at hudson.maven.Maven3Builder.call(Maven3Builder.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at
Re: [Dev] how to pass credentials - using a AXIOM (client)
Hi The below source[1] is for secure axis2 service client implementation. please refer [1] and This may help to resolve your issue [1] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/platform-integration/test-automation-framework/4.2.6/org.wso2.carbon.automation.utils/src/main/java/org/wso2/carbon/automation/utils/axis2client/SecureAxisServiceClient.java Thanks, Nuwanw On Wed, Sep 10, 2014 at 9:56 AM, Asok Perera as...@wso2.com wrote: Hi, I have the same question and please check below how I tried to implement this. -- System.setProperty(javax.net.ssl.trustStore, /Users/asok/Documents/wso2esb-4.8.1/repository/resources/security/client-truststore.jks ); System.setProperty(javax.net.ssl.trustStorePassword, wso2carbon); options = new Options(); try { options.setProperty(RampartMessageData.KEY_RAMPART_POLICY, loadPolicy( chb_policy_1.xml)); options.setUserName(admin); options.setPassword(admin); } catch (Exception e1) { e1.printStackTrace(); } - Im getting following error, even though I have put the chb_policy_1.xml file. org.apache.axis2.AxisFault: *Unable to engage module : rampart* at org.apache.axis2.client.ServiceClient.engageModule( ServiceClient.java:363) at client_AXIOM.Client.init(Client.java:54) at client_AXIOM.Client.main(Client.java:120) org.apache.axis2.AxisFault: Address information does not exist in the Endpoint Reference (EPR).The system cannot infer the transport mechanism. Can anyone point out how to implement this as AXIOM client ? BR *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2Fsa=Dsntz=1usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ lean.enterprise.middleware Mobile: +94722241032 On Tue, Sep 9, 2014 at 8:46 PM, Vimalanathan Rajeevan rajeev...@wso2.com wrote: Hi Lahiru, Can I know what kind of error you are getting when using AXIOM client and passing credentials in the above way? Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com On Tue, Sep 9, 2014 at 5:45 PM, Lahiru Cooray lahi...@wso2.com wrote: Hi, I have created a non secured web service and secured it using ESB. When I invoke the service using an ADB client it worked properly. I used the below code to pass the credentials /// HttpTransportProperties.Authenticator authenticator = new HttpTransportProperties.Authenticator(); authenticator.setUsername(admin); authenticator.setPassword(admin); stub._getServiceClient().getOptions() .setProperty(HTTPConstants.AUTHENTICATE, authenticator); stub ._getServiceClient() .getOptions() .setProperty(Constants.Configuration.ENABLE_REST, Constants.VALUE_TRUE); /// *And I'm facing a problem when I try to do the same using an AXIOM client. I need to know how to pass credentials when using an AXIOM client?* -- *Lahiru Cooray* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94 715 654154 ___ 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 mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Nuwan Wimalasekara Senior Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] ESB - Adding a custom proxy and specifying WSDL URI [Windows based environment]
Hi Dhanuka, In Windows, you have to use back slash(/) to specify paths. Isn't it? uri=*file:\\c:\Apache\wso2esb-4.8.1\repository\sample_proxy_1.wsdl* Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com On Wed, Sep 10, 2014 at 10:39 AM, Dhanuka De Silva dhanu...@wso2.com wrote: This is what I've been following through! https://docs.wso2.com/display/ESB481/Lesson+Three%3A+Mediating+Services Refer point no 4. On Wed, Sep 10, 2014 at 10:27 AM, Dhanuka De Silva dhanu...@wso2.com wrote: Hi Dilan It was halfway through the form and I was just trying to test the WSDL URI (using the TEST WSDL button) .. So to answer your question, No! it is not the complete configuration file at that point. Cheers On Wed, Sep 10, 2014 at 10:23 AM, Dilan Udara Ariyaratne dil...@wso2.com wrote: Hi Dhanuka! Is this the complete configuration file you have... Why is the target tag missing which should be pointing to some back-end service? i.e. for example, this should have been something as follows... definitions xmlns=http://ws.apache.org/ns/synapse; proxy name=StockQuoteProxy target endpoint address uri= http://localhost:9000/services/SimpleStockQuoteService/ /endpoint outSequence send/ /outSequence /target publishWSDL uri=file:///c:/Apache/wso2esb-4.8.1/repository/sample_proxy_1.wsdl/ /proxy /definitions Please have a try and give your feedbacks. Cheers! *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Wed, Sep 10, 2014 at 10:12 AM, Jerad Rutnam je...@wso2.com wrote: Hi Dhanuka, Just for clarification, why are you not trying to have your service in Axis2 or WSO2 AS etc... and call it? Regards, Jerad On Tue, Sep 9, 2014 at 5:41 PM, Dhanuka De Silva dhanu...@wso2.com wrote: *Environment:* ESB 4.8.1 Running on Windows 8 ESB / Services / Add Proxy Service / Custom Proxy I'm trying to specify and test WSDL URI (file located inside windows file system) and still no luck with it. Can anybody help me on how to specify the location of a WSDL file located inside a windows file system and get it verified by hitting the TEST URI button. ?xml version=1.0 encoding=UTF-8? proxy xmlns=http://ws.apache.org/ns/synapse; name=StockQuoteProxy transports=https,http statistics=disable trace=disable startOnLoad=true target/ publishWSDL uri= *file:///c:/Apache/wso2esb-4.8.1/repository/sample_proxy_1.wsdl*/ description/ /proxy Checked all options according to http://en.wikipedia.org/wiki/File_URI_scheme#Windows , but no luck!. -- Dhanuka De Silva m: +94 773 887816 e: dhanu...@wso2.com w: http://www.wso2.com -- *Jerad Rutnam | **Software Engineer - UI* WSO2, Inc. www.wso2.com *Email: je...@wso2.com je...@wso2.com* -- Dhanuka De Silva m: +94 773 887816 e: dhanu...@wso2.com w: http://www.wso2.com -- Dhanuka De Silva m: +94 773 887816 e: dhanu...@wso2.com w: http://www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Build failed in Jenkins: product-as #230
Hi Maheshika, Error says builder is out of space. Can we clean it up please.. thanks, On Wed, Sep 10, 2014 at 3:25 AM, cbuil...@wso2.org wrote: See https://wso2.org/jenkins/job/product-as/230/ -- [...truncated 3826 lines...] at hudson.remoting.Channel$3.adapt(Channel.java:772) at hudson.remoting.Channel$3.adapt(Channel.java:767) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:185) at hudson.maven.Maven3Builder.call(Maven3Builder.java:141) at hudson.maven.Maven3Builder.call(Maven3Builder.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: No space left on device [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen (3-p2-profile-generation) on project wso2appserver-profile-gen: P2 publisher return code was 13 - [Help 1] at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:345) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221) [ERROR] at sun.nio.cs.StreamEncoder.implClose(StreamEncoder.java:316) at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:149) [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. at java.io.OutputStreamWriter.close(OutputStreamWriter.java:233) at java.io.BufferedWriter.close(BufferedWriter.java:266) at hudson.util.AtomicFileWriter.close(AtomicFileWriter.java:94) [ERROR] Re-run Maven using the -X switch to enable full debug logging. at hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:109) at hudson.model.Fingerprint.save(Fingerprint.java:1160) [ERROR] at hudson.model.Fingerprint.save(Fingerprint.java:1110) at hudson.model.Fingerprint.add(Fingerprint.java:906) at hudson.model.Fingerprint.add(Fingerprint.java:898) [ERROR] For more information about the errors and possible solutions, please read the following articles: at hudson.maven.reporters.MavenFingerprinter$1.call(MavenFingerprinter.java:125) at hudson.maven.reporters.MavenFingerprinter$1.call(MavenFingerprinter.java:112) at hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:414) [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException at hudson.maven.MavenBuild$ProxyImpl2.execute(MavenBuild.java:542) at sun.reflect.GeneratedMethodAccessor204.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.model.Executor$1.call(Executor.java:559) [ERROR] After correcting the problems, you can resume the build with the command at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at com.sun.proxy.$Proxy78.execute(Unknown Source) at hudson.maven.MavenBuildProxy$Filter$AsyncInvoker.call(MavenBuildProxy.java:293) [ERROR] mvn goals -rf :wso2appserver-profile-gen at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.io.IOException: No space left on device at hudson.remoting.Channel$3.adapt(Channel.java:772) at hudson.remoting.Channel$3.adapt(Channel.java:767) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at
Re: [Dev] Select tag using Selenium web driver
Hi Kasun, You can use driver.FindElement(By.LinkText(dummy_link)).Click() or xpath locator to click the Sign out link. Following WebDriver element locator plugin would be helpful to find selenium locator easily. - https://addons.mozilla.org/en-US/firefox/addon/element-locator-for-webdriv/ Thanks, Krishantha. On Tue, Sep 9, 2014 at 9:18 PM, Roshan Wijesena ros...@wso2.com wrote: Hi Kasun This might help you. http://stackoverflow.com/questions/17329436/selenium-xpath-selector-based-on-the-element-text Regards Roshan On Tue, Sep 9, 2014 at 8:58 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi all I was working with $subject and got stuck in selecting the Sign out tag in following page source (Bolded one) div class=container a class=brand href=/store//a !-- ul class=nav menu store-menu /ul-- ul class=nav menu pull-right li class=nav-separator a href=/store/extensions/assets/webapp/subscriptionsi class=icon-tags store-topnav-bookmark/i My Subscriptions/a /li lia class=dropdown-toggle data-toggle=dropdown href=#i class=icon-user/i admin b class=caret/b/a ul class=dropdown-menu dropdown-account role=menu aria-labelledby=dLabelli *a href=/store/logouti class=icon-signout/i Sign out /a*/li /ul /li /ul /div any idea ? -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Roshan Wijesena. Senior Software Engineer-WSO2 Inc. Mobile: *+94752126789* Email: ros...@wso2.com *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Graceful Restart is not working
Hi, On 10 September 2014 10:19, Nipuni Perera nip...@wso2.com wrote: Hi, Yes. I can add a null check to indexingConfig element and continue only if the value is available (But it will add the whole method execution inside constructor RegistryConfigLoader() to an if block - line 75 to 150 of [1]). Is this preferable? public RegistryConfigLoader() { try { FileInputStream fileInputStream = new FileInputStream(getConfigFile()); StAXOMBuilder builder = new StAXOMBuilder( CarbonUtils.replaceSystemVariablesInXml(fileInputStream)); OMElement configElement = builder.getDocumentElement(); OMElement indexingConfig = configElement.getFirstChildWithName( new QName(indexingConfiguration)); if (indexingConfig != null) { //newly added if block ... ... } } } catch (FileNotFoundException e) { // This virtually cannot happen as registry.xml is necessary to start up the registry log.error(registry.xml has not been found, e); } catch (RegistryException e) { log.error(e.getMessage(),e); } catch (XMLStreamException e) { String msg = error building registry.xml, check for badly formed xml; log.error(msg, e); } catch (CarbonException e) { log.error(An error occurred during system variable replacement, e); } } It seems if the indexingConfig is null, no need to call this constructor. RegistryConfigLoader() is called inside IndexingManager() constructor. private IndexingManager() { try { registry = Utils.getRegistryService().getRegistry(CarbonConstants.REGISTRY_SYSTEM_USERNAME); registryConfig = new RegistryConfigLoader(); // call to constructor RegistryConfigLoader() indexer = new AsyncIndexer(); } catch (RegistryException e) { log.error(Could not initialize registry for indexing, e); } } Can't we check indexingConfig value before calling RegistryConfigLoader() ? +1 to add a null check and deal with this. As to not calling RegistryConfigLoader if indexingConfig is not present, isn't RegistryConfigLoader there to read the whole registry.xml file and indexingConfig is only a part of that? If so, I guess we do need to call RegistryConfigLoader() regardless of whether indexingConfig is present or not. Maybe the GREG team can give better input on this. Also, this exact same code segment was discussed before in thread [Dev] Missing configuration in registry.xml causes OSGi services to be unsatisfied [1], but guess I forgot to raise a JIRA under that... :-). Can you look into that thread as well and if it is possible to add a touchpoint as well as suggested in that thread? [1] http://mail.wso2.org/mailarchive/dev/2014-April/029358.html Thanks, Lasantha [1] https://github.com/Nipuni/carbon-registry/blob/master/components/registry/org.wso2.carbon.registry.indexing/src/main/java/org/wso2/carbon/registry/indexing/RegistryConfigLoader.java Thanks, Nipuni On Wed, Sep 10, 2014 at 8:53 AM, Kasun Gajasinghe kas...@wso2.com wrote: As a best practice, do not catch the Exception class, instead catch specific subclasses. But, you do not need to catch any exceptions in this particular case? Can't you just verify whether the indexingConfiguration element is available or not? KasunG On Wed, Sep 10, 2014 at 4:39 AM, Nipuni Perera nip...@wso2.com wrote: Hi, I am working on issue[1]. I could find that the RegistryConfigLoader() returns a null value. (line 73 in [2]). OMElement indexingConfig = configElement.getFirstChildWithName(new QName(indexingConfiguration)); This value is used in several places. but NPE is thrown in line 88, lastAccessTimeLocation = indexingConfig.getFirstChildWithName(new QName(lastAccessTimeLocation)).getText(); as the catch clause catches only catch (OMException e) { ... // set default value } while in other places (eg: line 78,79) it is catch (Exception e) { ... // set default value } This exception occurred due to a missing XML elements in registry.xml. This missing element ( indexingConfiguration /indexingConfiguration ) will be used if the product is using registry search feature. But this NPE should be handled for the products that does not use this feature. This can be fixed adding similar catch clause (catching Exception e ) in the catch clause(line 90,91) (current implementation use catch clauses to set default values if an exception occurs. Adding an extra catch clause to the later try block can be used to add similar behavior). Is there a better way to handle this? [1] https://wso2.org/jira/browse/CARBON-14904 [2]
Re: [Dev] Build failed in Jenkins: product-as #230
Hi Supun The Infra team will be increasing the disk space for the Jenkins build machine. On Wed, Sep 10, 2014 at 11:06 AM, Supun Malinga sup...@wso2.com wrote: Hi Maheshika, Error says builder is out of space. Can we clean it up please.. thanks, On Wed, Sep 10, 2014 at 3:25 AM, cbuil...@wso2.org wrote: See https://wso2.org/jenkins/job/product-as/230/ -- [...truncated 3826 lines...] at hudson.remoting.Channel$3.adapt(Channel.java:772) at hudson.remoting.Channel$3.adapt(Channel.java:767) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:185) at hudson.maven.Maven3Builder.call(Maven3Builder.java:141) at hudson.maven.Maven3Builder.call(Maven3Builder.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: No space left on device [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen (3-p2-profile-generation) on project wso2appserver-profile-gen: P2 publisher return code was 13 - [Help 1] at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:345) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221) [ERROR] at sun.nio.cs.StreamEncoder.implClose(StreamEncoder.java:316) at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:149) [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. at java.io.OutputStreamWriter.close(OutputStreamWriter.java:233) at java.io.BufferedWriter.close(BufferedWriter.java:266) at hudson.util.AtomicFileWriter.close(AtomicFileWriter.java:94) [ERROR] Re-run Maven using the -X switch to enable full debug logging. at hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:109) at hudson.model.Fingerprint.save(Fingerprint.java:1160) [ERROR] at hudson.model.Fingerprint.save(Fingerprint.java:1110) at hudson.model.Fingerprint.add(Fingerprint.java:906) at hudson.model.Fingerprint.add(Fingerprint.java:898) [ERROR] For more information about the errors and possible solutions, please read the following articles: at hudson.maven.reporters.MavenFingerprinter$1.call(MavenFingerprinter.java:125) at hudson.maven.reporters.MavenFingerprinter$1.call(MavenFingerprinter.java:112) at hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:414) [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException at hudson.maven.MavenBuild$ProxyImpl2.execute(MavenBuild.java:542) at sun.reflect.GeneratedMethodAccessor204.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.model.Executor$1.call(Executor.java:559) [ERROR] After correcting the problems, you can resume the build with the command at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at com.sun.proxy.$Proxy78.execute(Unknown Source) at hudson.maven.MavenBuildProxy$Filter$AsyncInvoker.call(MavenBuildProxy.java:293) [ERROR] mvn goals -rf :wso2appserver-profile-gen at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.io.IOException: No space left on device at hudson.remoting.Channel$3.adapt(Channel.java:772) at