[Dev] Openstack network interface error
Hi All, I was configuring openstack in Ubuntu 12.04 virtual box instance and configure the network as follow auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp #Public Interface auto eth1 iface eth1 inet static address 172.16.0.1 netmask 255.255.255.0 network 172.16.0.0 gateway 172.16.0.100 broadcast 172.16.0.255 #Bridged Interface auto br100 iface br100 inet static bridge_ports eth1 bridge_stp off bridge_maxwait 0 bridge_fd 0 address 10.16.0.0 netmask 255.255.255.0 but when i restart network manager i get Failed to bring up eth1 any where i was wrong ? -- 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] WSO2 Committers += Niranjan Karunanandham
Congradzzz Nira !!! On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera ino...@wso2.com wrote: Congratulations Niranjan !! On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Congratz Niranjan...!!! On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Congratulations Niranjan!!! :) On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla prasa...@wso2.com wrote: Congratulations !!! On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna ar...@wso2.com wrote: Congratulations Nira..!!! On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Niranjan ! On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera samee...@wso2.com wrote: Hi all, It's my pleasure to announce Niranjan as a WSO2 Committer. He has been an active contributor for WSO2 Enterprise Mobility Manager. Niranjan, welcome aboard and keep up the good work!. -- -- *Sameera Perera* Director of Engineering gtalk: samee...@wso2.com Tel : 94 11 214 5345 Fax :94 11 2145300 *WSO2, Inc.* http://wso2.com/ lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *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 -- Prasanna Dangalla Software Engineer, WSO2, Inc.; http://wso2.com/ lean.enterprise.middleware cell: +94 777 55 80 30 | +94 718 11 27 51 twitter: @prasa77 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : rajeev...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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] [DEV] UI Test fail - Unrecognized Selenium driver URI
Hi Akalanka, What is your current FF version ? On Mon, Oct 27, 2014 at 11:47 AM, Akalanka Pagoda Arachchi darsha...@wso2.com wrote: Hi, We are getting the following error when running the UI tests on Jenkins. Stacktrace java.lang.IllegalArgumentException: Unrecognized Selenium driver URI 'embedded-rc:'. Make sure you got the proper driver jars in your classpath, or increase the logging level to get more information. at com.saucelabs.selenium.client.factory.SeleniumFactory.createWebDriver(SeleniumFactory.java:291) at com.saucelabs.selenium.client.factory.SeleniumFactory.createWebDriverInstance(SeleniumFactory.java:273) at com.saucelabs.selenium.client.factory.SeleniumFactory.createWebDriver(SeleniumFactory.java:84) at org.wso2.carbon.automation.extensions.selenium.BrowserManager.getWebDriver(BrowserManager.java:58) at org.wso2.mb.integration.common.utils.backend.MBIntegrationUiBaseTest.init(MBIntegrationUiBaseTest.java:45) at org.wso2.carbon.mb.ui.test.login.LoginTestCase.init(LoginTestCase.java:32) What could be the reason for this? Note - Our UI tests require Firefox browser to run. Thanks and Regards, *Darshana Akalanka Pagoda Arachchi,* *Software Engineer* *078-4721791* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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
[Dev] Error while building sample connector
Hi all, I have checked out the http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.provisioning.connector.sample/4.2.0/ and compiled with following repository as offline discuss with Darshana -- 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] WSO2 Committers += Samith Dassanayake
Congradzz Samith On Thu, Oct 2, 2014 at 10:46 AM, Roshan Wijesena ros...@wso2.com wrote: Congratulations!! On Thu, Oct 2, 2014 at 10:43 AM, Lasindu Charith lasi...@wso2.com wrote: Congratz Samith ...!!! On Thu, Oct 2, 2014 at 10:40 AM, Kasun De Silva kas...@wso2.com wrote: Congratz Samith *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Thu, Oct 2, 2014 at 10:39 AM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi all, Its my pleasure to welcome Samith Dassanayake as a WSO2 Committer. Samith has contributed immensely to WSO2 App Factory and has shown great commitment. In recognition of his contribution, he has been voted as a WSO2 Committer. Samith, welcome aboard! thanks, dimuthu -- 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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lasindu Charith* Software Engineer, WSO2 Inc. Mobile: +94714427192 Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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 -- 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
[Dev] Invitation: Code Review - Integration Testcases @ Fri Sep 26, 2014 3pm - 4pm (kas...@wso2.com)
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20140926T093000Z DTEND:20140926T103000Z DTSTAMP:20140926T062723Z ORGANIZER;CN=Kasun Dissanayake:mailto:kas...@wso2.com UID:sjbd6cm3jn0v65ngiimad9m...@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=Dharshana Warusavitharana;X-NUM-GUESTS=0:mailto:dharsha...@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=Waruna Perera;X-NUM-GUESTS=0:mailto:waru...@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=Thilini Shanika;X-NUM-GUESTS=0:mailto:thili...@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=NEEDS-ACTION;RSVP= TRUE;CN=Nuwan Dias;X-NUM-GUESTS=0:mailto:nuw...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE ;CN=kas...@wso2.com;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:20140926T062318Z DESCRIPTION:View your event at https://www.google.com/calendar/event?action =VIEWeid=c2piZDZjbTNqbjB2NjVuZ2lpbWFkOW0wNzggZGV2QHdzbzIub3Jntok=MTUja2Fz dW51QHdzbzIuY29tZjU2ZGQxNDA4OWVmOGRkOGJjNmQ4YmQ0MmI1OTcyNGVjYjc5YzVlZgctz= Asia/Colombohl=en. LAST-MODIFIED:20140926T062723Z LOCATION:LK - 5th Floor Garage SEQUENCE:0 STATUS:CONFIRMED SUMMARY:Code Review - Integration Testcases TRANSP:OPAQUE 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] Error while SSL handshaking in WSO2 EAM
Hi Danushka, I'll answer you according to number 1) This is the url of login. Since out publisher does not have any log in api to call. I'm getting the samlsso url and post form body from this. This gives me the samlsso url, and post body 2) I did that so i get the same error 3) yep. Get the error as unknown certificate. 4) The absolute file path of truststore On Mon, Sep 22, 2014 at 3:28 PM, Danushka Fernando danush...@wso2.com wrote: Hi Kasun Few questions 1. What is the purpose of *HttpRequestUtil.doGet(backEndUrl + /publisher/login,requestHeaders)* 2. So AFAIU this line also do a http get call and you need to define system properties before this. 3. Did you try to debug the client? What were the findings? 4. What's the output of *System.out.println(System.getProperty(javax.net.ssl.**trustStore));* ? Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mon, Sep 22, 2014 at 3:18 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi Danushka, This is my client code building using JDK 1.6 public HttpResponse login(String userName, String password) throws Exception { HttpResponse response = HttpRequestUtil.doGet(backEndUrl + /publisher/login,requestHeaders); if(response.getResponseCode()==200){ this.requestHeaders.put(Content-Type, application/x-www-form-urlencoded); String trustStore = System.getProperty(carbon.home) + File.separator + repository + File.separator + resources + File.separator + security + File.separator + client-truststore.jks; String responseData = response.getData(); System.setProperty(javax.net.ssl.trustStore, trustStore); System.setProperty(javax.net.ssl.trustStorePassword, wso2carbon); System.setProperty(javax.net.ssl.trustStoreType, JKS); System.setProperty(carbon.repo.write.mode, true); System.out.println(System.getProperty(javax.net.ssl.trustStore)); HttpResponse samlResponse = HttpRequestUtil.doPost(new URL(extractSamlSSOURL(responseData)),createPostBodyForSAMLSSO(responseData),requestHeaders); } return response; } On Fri, Sep 19, 2014 at 8:41 PM, Danushka Fernando danush...@wso2.com wrote: Hi Here in Axis2 client what we really needs to set is truststore. But since in wso2carbon.jks it contains all trusted keys that contains in client-trustore.jks with wso2carbon.jks also it should work. Can you post the axis2client code here. Then we can have a look at it. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Sep 19, 2014 at 8:02 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi Manoj. It didn't work On Fri, Sep 19, 2014 at 7:18 PM, Manoj Kumara ma...@wso2.com wrote: Hi Kasun, I believe you need to use 'client-truststore.jks' as the truststore not the keystore. This is not the direct example for your case but hope this might help [1]. [1] http://manojwritenotes.blogspot.com/2014/04/how-to-invoke-secured-api-using.html Regards, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Fri, Sep 19, 2014 at 7:00 AM, Kasun Dissanayake kas...@wso2.com wrote: Hi All, I'm working with log in function in EAM test framework. I need to log in to publisher and it will redirect me to samlsso. The url is https://localhost:9443/samlsso with the body. Since this is a secured port I have added following system properties. String trustStore = System.getProperty(carbon.home) + File.separator + repository + File.separator + resources + File.separator + security + File.separator + wso2carbon.jks; System.setProperty(javax.net.ssl.trustStore, trustStore); System.setProperty(javax.net.ssl.trustStorePassword, wso2carbon); System.setProperty(javax.net.ssl.trustStoreType, JKS); System.setProperty(carbon.repo.write.mode, true); but i get following error when i run the tests. javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present Any help? Cheers -- 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 -- 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] Error while SSL handshaking in WSO2 EAM
Hi All/Dhanushka Found the issue. In carbon.xm we are specifying the hostname as localhost but in this the url is local IP address. So that truststores are failing. As a matter of fact I removed the HttpURLConnectionVerifire like follow HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier() { public boolean verify(String hostname, SSLSession session) { // ip address of the service URL(like.23.28.244.244) if (hostname.equals(10.100.5.68)) return true; return false; } }); as DarshanaG suggested. Now it works. We can continue this either doing this or modifying carbon.xml Cheers On Mon, Sep 22, 2014 at 4:23 PM, Danushka Fernando danush...@wso2.com wrote: This may be due to a file permission issue. Try pointing out to a separate copy of the jks file or try changing permission (to 777) of the file. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mon, Sep 22, 2014 at 4:18 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi Danushka, I'll answer you according to number 1) This is the url of login. Since out publisher does not have any log in api to call. I'm getting the samlsso url and post form body from this. This gives me the samlsso url, and post body 2) I did that so i get the same error 3) yep. Get the error as unknown certificate. 4) The absolute file path of truststore On Mon, Sep 22, 2014 at 3:28 PM, Danushka Fernando danush...@wso2.com wrote: Hi Kasun Few questions 1. What is the purpose of *HttpRequestUtil.doGet(backEndUrl + /publisher/login,requestHeaders)* 2. So AFAIU this line also do a http get call and you need to define system properties before this. 3. Did you try to debug the client? What were the findings? 4. What's the output of *System.out.println(System.getProperty(javax.net.ssl.**trustStore));* ? Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mon, Sep 22, 2014 at 3:18 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi Danushka, This is my client code building using JDK 1.6 public HttpResponse login(String userName, String password) throws Exception { HttpResponse response = HttpRequestUtil.doGet(backEndUrl + /publisher/login,requestHeaders); if(response.getResponseCode()==200){ this.requestHeaders.put(Content-Type, application/x-www-form-urlencoded); String trustStore = System.getProperty(carbon.home) + File.separator + repository + File.separator + resources + File.separator + security + File.separator + client-truststore.jks; String responseData = response.getData(); System.setProperty(javax.net.ssl.trustStore, trustStore); System.setProperty(javax.net.ssl.trustStorePassword, wso2carbon); System.setProperty(javax.net.ssl.trustStoreType, JKS); System.setProperty(carbon.repo.write.mode, true); System.out.println(System.getProperty(javax.net.ssl.trustStore)); HttpResponse samlResponse = HttpRequestUtil.doPost(new URL(extractSamlSSOURL(responseData)),createPostBodyForSAMLSSO(responseData),requestHeaders); } return response; } On Fri, Sep 19, 2014 at 8:41 PM, Danushka Fernando danush...@wso2.com wrote: Hi Here in Axis2 client what we really needs to set is truststore. But since in wso2carbon.jks it contains all trusted keys that contains in client-trustore.jks with wso2carbon.jks also it should work. Can you post the axis2client code here. Then we can have a look at it. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Sep 19, 2014 at 8:02 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi Manoj. It didn't work On Fri, Sep 19, 2014 at 7:18 PM, Manoj Kumara ma...@wso2.com wrote: Hi Kasun, I believe you need to use 'client-truststore.jks' as the truststore not the keystore. This is not the direct example for your case but hope this might help [1]. [1] http://manojwritenotes.blogspot.com/2014/04/how-to-invoke-secured-api-using.html Regards, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Fri, Sep 19, 2014 at 7:00 AM, Kasun Dissanayake kas...@wso2.com wrote: Hi All, I'm working with log in function in EAM test framework. I need to log in to publisher and it will redirect me to samlsso. The url is https://localhost:9443/samlsso with the body. Since this is a secured port I have added following system properties. String trustStore = System.getProperty(carbon.home) + File.separator + repository + File.separator
[Dev] Invitation: Code Review - Integration Tests WSO2 EAM @ Tue Sep 23, 2014 3pm - 4pm (kas...@wso2.com)
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20140923T093000Z DTEND:20140923T103000Z DTSTAMP:20140923T040242Z ORGANIZER;CN=Kasun Dissanayake:mailto:kas...@wso2.com UID:r866f27rrnvls1hl7vhicvk...@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=Waruna Perera;X-NUM-GUESTS=0:mailto:waru...@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=Thilini Shanika;X-NUM-GUESTS=0:mailto:thili...@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=kas...@wso2.com;X-NUM-GUESTS=0:mailto:kas...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Krishantha Samaraweera;X-NUM-GUESTS=0:mailto:krishan...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Chathura Dilan;X-NUM-GUESTS=0:mailto:chathu...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Dinusha Senanayaka;X-NUM-GUESTS=0:mailto:dinu...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Sumedha Rubasinghe;X-NUM-GUESTS=0:mailto:sume...@wso2.com CREATED:20140923T040031Z DESCRIPTION:View your event at https://www.google.com/calendar/event?action =VIEWeid=cjg2NmYyN3JybnZsczFobDd2aGljdmtyZzggZGV2QHdzbzIub3Jntok=MTUja2Fz dW51QHdzbzIuY29tMDcxMmNlY2E5ZDJhOTk1ZDJlMzMwODZlMzJkMWEwMDczZmUyZjJlNActz= Asia/Colombohl=en. LAST-MODIFIED:20140923T040242Z LOCATION:LK\, 3rd Floor Meeting Room SEQUENCE:0 STATUS:CONFIRMED SUMMARY:Code Review - Integration Tests WSO2 EAM TRANSP:OPAQUE END:VEVENT END:VCALENDAR invite.ics Description: application/ics ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Error while SSL handshaking in WSO2 EAM
Hi All, I'm working with log in function in EAM test framework. I need to log in to publisher and it will redirect me to samlsso. The url is https://localhost:9443/samlsso with the body. Since this is a secured port I have added following system properties. String trustStore = System.getProperty(carbon.home) + File.separator + repository + File.separator + resources + File.separator + security + File.separator + wso2carbon.jks; System.setProperty(javax.net.ssl.trustStore, trustStore); System.setProperty(javax.net.ssl.trustStorePassword, wso2carbon); System.setProperty(javax.net.ssl.trustStoreType, JKS); System.setProperty(carbon.repo.write.mode, true); but i get following error when i run the tests. javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present Any help? Cheers -- 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] Error while SSL handshaking in WSO2 EAM
Hi Manoj. It didn't work On Fri, Sep 19, 2014 at 7:18 PM, Manoj Kumara ma...@wso2.com wrote: Hi Kasun, I believe you need to use 'client-truststore.jks' as the truststore not the keystore. This is not the direct example for your case but hope this might help [1]. [1] http://manojwritenotes.blogspot.com/2014/04/how-to-invoke-secured-api-using.html Regards, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Fri, Sep 19, 2014 at 7:00 AM, Kasun Dissanayake kas...@wso2.com wrote: Hi All, I'm working with log in function in EAM test framework. I need to log in to publisher and it will redirect me to samlsso. The url is https://localhost:9443/samlsso with the body. Since this is a secured port I have added following system properties. String trustStore = System.getProperty(carbon.home) + File.separator + repository + File.separator + resources + File.separator + security + File.separator + wso2carbon.jks; System.setProperty(javax.net.ssl.trustStore, trustStore); System.setProperty(javax.net.ssl.trustStorePassword, wso2carbon); System.setProperty(javax.net.ssl.trustStoreType, JKS); System.setProperty(carbon.repo.write.mode, true); but i get following error when i run the tests. javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present Any help? Cheers -- 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 -- 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] Error when maven install using eclipse (writing a Carbon component)
Hi Ramindu Try it using -Dmaven.test.skip=true On Thu, Sep 18, 2014 at 4:35 PM, Ramindu De Silva ramin...@wso2.com wrote: a problem occurred to me when I was trying to code according to the following link. http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/ After creating all the pom.xml files then when doing the maven build the following errors occurs. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project org.wso2.carbon.student.mgt: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: Unable to load the mojo 'test' in the plugin 'org.apache.maven.plugins:maven-surefire-plugin:2.17'. A required class is missing: org/apache/maven/plugin/surefire/SurefireReportParameters [ERROR] - [ERROR] realm = pluginorg.apache.maven.plugins:maven-surefire-plugin:2.17 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/home/ramindu/.m2/repository/org/apache/maven/plugins/maven-surefire-plugin/2.17/maven-surefire-plugin-2.17.jar [ERROR] urls[1] = file:/home/ramindu/.m2/repository/org/apache/maven/surefire/maven-surefire-common/2.17/maven-surefire-common-2.17.jar [ERROR] urls[2] = file:/home/ramindu/.m2/repository/org/apache/maven/surefire/surefire-api/2.17/surefire-api-2.17.jar [ERROR] urls[3] = file:/home/ramindu/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api-2.0.9.jar [ERROR] urls[4] = file:/home/ramindu/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar [ERROR] urls[5] = file:/home/ramindu/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.2/maven-plugin-annotations-3.2.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[projectorg.wso2.carbon:org.wso2.carbon.student.mgt:4.2.0, parent: ClassRealm[maven.api, parent: null]]] [ERROR] [ERROR] -: org.apache.maven.plugin.surefire.SurefireReportParameters [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException Regards. -- *Ramindu De Silva* Software Engineering Intern WSO2 Inc.; http://wso2.com lean.enterprise.middleware email: ramin...@wso2.com sanj...@wso2.com mob: +94772339350 mob: +94782731766 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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] WSO2 Committers += Sewwandhi Perera
Hi Sewwandi Congradzzz. On Wed, Sep 17, 2014 at 1:03 PM, Thilini Shanika thili...@wso2.com wrote: Congratulations :) On Wed, Sep 17, 2014 at 12:28 PM, Danesh Kuruppu dan...@wso2.com wrote: Congrats Sewwandi !!! On Wed, Sep 17, 2014 at 12:23 PM, Dhanuka Ranasinghe dhan...@wso2.com wrote: Congrattzzz !!! *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 On Wed, Sep 17, 2014 at 12:22 PM, Chalitha Waldeniyage chali...@wso2.com wrote: Congratulations Sewwandi !!! :) On Wed, Sep 17, 2014 at 12:20 PM, Gayashan Amarasinghe gayas...@wso2.com wrote: Congratulations Sewwandi!!! On Wed, Sep 17, 2014 at 12:19 PM, Aruna Karunarathna ar...@wso2.com wrote: Congratulations Sewwandi...!!! On Wed, Sep 17, 2014 at 12:17 PM, Rajith Vitharana raji...@wso2.com wrote: Congrags ... :) On Wed, Sep 17, 2014 at 12:16 PM, Nipuni Perera nip...@wso2.com wrote: Congradulations Sewwandi On Wed, Sep 17, 2014 at 12:13 PM, Manula Chathurika Thantriwatte manu...@wso2.com wrote: Congratulations !!! On Wed, Sep 17, 2014 at 12:09 PM, Sinthuja Ragendran sinth...@wso2.com wrote: Congratz sewwandi! On Wed, Sep 17, 2014 at 11:56 AM, Ramith Jayasinghe ram...@wso2.com wrote: Hi Sewwandhi, Congratulations! It is with great pleasure that we welcome you as a WSO2 committer. Keep up the good work! thanks and best regards, -- Ramith Jayasinghe Technical Lead WSO2 Inc., http://wso2.com lean.enterprise.middleware E: ram...@wso2.com P: +94 777542851 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Sinthuja Rajendran* Senior Software Engineer http://wso2.com/ WSO2, Inc.:http://wso2.com Blog: http://sinthu-rajan.blogspot.com/ Mobile: +94774273955 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Manula Chathurika Thantriwatte Software Engineer WSO2 Inc. : http://wso2.com lean . enterprise . middleware email : manu...@wso2.com / man...@apache.org phone : +94 772492511 blog : http://manulachathurika.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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 -- Rajith Vitharana Software Engineer, WSO2 Inc. : wso2.com Mobile : +94715883223 Blog : http://lankavitharana.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *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 -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Chalitha Maheshwari* Software Engineer-QA, WSO2 Inc. *E-mail:* chali...@wso2.com *Mobile: *+94710 411 112 ___ 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 -- Danesh Kuruppu Software Engineer WSO2 Inc, Mobile: +94 (77) 1690552 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thilini Shanika Software Engineer WSO2, Inc.; http://wso2.com 20, Palmgrove Avenue, Colombo 3 E-mail: tgtshan...@gmail.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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] WSO2 Committers += Harshan Liyanage
Hi Harshan, Congratulations On Thu, Sep 18, 2014 at 10:36 AM, Manula Chathurika Thantriwatte manu...@wso2.com wrote: Congratulations !!! On Thu, Sep 18, 2014 at 10:13 AM, Jayanga Dissanayake jaya...@wso2.com wrote: Congratulations Harshan... *Jayanga Dissanayake* Senior Software Engineer WSO2 Inc. - http://wso2.com/ lean . enterprise . middleware email: jaya...@wso2.com mobile: +94772207259 On Thu, Sep 18, 2014 at 9:54 AM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Harshan ! On Thu, Sep 18, 2014 at 9:49 AM, Chan duli...@wso2.com wrote: Congratz Harshan! On Thu, Sep 18, 2014 at 9:36 AM, Chathurika De Silva chathuri...@wso2.com wrote: Congratulations Harshan On Thu, Sep 18, 2014 at 9:35 AM, Sewwandi Perera sewwa...@wso2.com wrote: Congratulations Harshan...!!! :) On Thu, Sep 18, 2014 at 9:34 AM, Inosh Perera ino...@wso2.com wrote: Congrats Harshan!!! :) On Thu, Sep 18, 2014 at 9:33 AM, Niranjan Karunanandham niran...@wso2.com wrote: Congrats Harshan!! On Thu, Sep 18, 2014 at 9:27 AM, Shanmugarajah Sinnathamby s...@wso2.com wrote: Hi, Its my pleasure to welcome Harshan Liyanage as a WSO2 Committer. Harshan has made great contributions to EMM product and other related products during the last few months and in recognition of his commitment and contributions, he has been voted as a committer. Harshan, welcome aboard and keep up the good work. Best Regards, Shan -- *Shanmugarajah (Shan)* Director, Mobile Architecture, WSO2, Inc.; http://wso2.com Email: s...@wso2.com Mobile : +9448260 Blog: http://shanfour.blogspot.com -- *Shanmugarajah (Shan)* Director, Mobile Architecture, WSO2, Inc.; http://wso2.com Email: s...@wso2.com Mobile : +9448260 Blog: http://shanfour.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Niranjan Karunanandham* Senior Software Engineer - WSO2 Inc. WSO2 Inc.: http://www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sewwandi Perera Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94-713765098 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Chathurika Erandi* Software Engineer, WSO2 Inc. *E-mail:* chathuri...@wso2.com *Mobile: *+94714 328 612 *Blog*: chathurikaerandi.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Chan (Dulitha Wijewantha) Software Engineer - Mobile Development WSO2 Inc Lean.Enterprise.Mobileware * ~Email duli...@wso2.com duli...@wso2mobile.com* * ~Mobile +94712112165 %2B94712112165* * ~Website dulitha.me http://dulitha.me* * ~Twitter @dulitharw https://twitter.com/dulitharw* *~Github @dulichan https://github.com/dulichan* *~SO @chan http://stackoverflow.com/users/813471/chan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ 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 -- Regards, Manula Chathurika Thantriwatte Software Engineer WSO2 Inc. : http://wso2.com lean . enterprise . middleware email : manu...@wso2.com / man...@apache.org phone : +94 772492511 blog : http://manulachathurika.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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] [DEV][Jaggery] Calling a Java method asynchronously from Jaggery
Hi Inosh, AFAIY there is no way to do that. But you can easily use AJAX methods. Just follow these demos [1]. [1] http://jaggeryjs.org/samples.jag Cheers On Wed, Sep 17, 2014 at 9:43 AM, Inosh Perera ino...@wso2.com wrote: Hi all, I need to call java method inside Jaggery. But this has to be done in an asynchronous way. Is there a way to do this in Jaggery? Is there a way to deal with threads in Jaggery? Regards, Inosh -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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
[Dev] Invitation: Code Review - UI Testcases WSO2 EAM @ Mon Sep 15, 2014 4:30pm - 5:30pm (kas...@wso2.com)
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20140915T11Z DTEND:20140915T12Z DTSTAMP:20140914T130101Z ORGANIZER;CN=Kasun Dissanayake:mailto:kas...@wso2.com UID:i44f5earfodks2o9ege3l0k...@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=Thilini Shanika;X-NUM-GUESTS=0:mailto:thili...@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=kas...@wso2.com;X-NUM-GUESTS=0:mailto:kas...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Nuwan Wimalasekara;X-NUM-GUESTS=0:mailto:nuw...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Krishantha Samaraweera;X-NUM-GUESTS=0:mailto:krishan...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Dinusha Senanayaka;X-NUM-GUESTS=0:mailto:dinu...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Sumedha Rubasinghe;X-NUM-GUESTS=0:mailto:sume...@wso2.com CREATED:20140914T125810Z DESCRIPTION:View your event at https://www.google.com/calendar/event?action =VIEWeid=aTQ0ZjVlYXJmb2RrczJvOWVnZTNsMGtjNTAgZGV2QHdzbzIub3Jntok=MTUja2Fz dW51QHdzbzIuY29tMWZkOTNiMjg3ZWQ4ODg4ZGY1Nzg4MWJiNDg5MWI1NDVjMDRjZTgyOQctz= Asia/Colombohl=en. LAST-MODIFIED:20140914T130101Z LOCATION:WSO2 Inc.\, LK 3rd Floor Meeting Room SEQUENCE:0 STATUS:CONFIRMED SUMMARY:Code Review - UI Testcases WSO2 EAM TRANSP:OPAQUE 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] Select tag using Selenium web driver
Hi Krishantha/All As we discussed (offline) I used the plugin you suggested and used suggested 'xpath' selectors. Now it works perfectly. Thanks and Cheers On Wed, Sep 10, 2014 at 11:18 AM, Krishantha Samaraweera krishan...@wso2.com wrote: 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. -- 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
[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
[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] Error while building the SAML testcase in WSO2 EAM
Hi Waruna, @Test(groups = { wso2.appmanager }, description = test SAML tokens send to the backend) public void samlToBackendTestCase() throws Exception { String appId = ; // publisher creates an app String username = userInfo.getUserName(); String password = userInfo.getPassword(); appmPublisher.login(username, password); AppCreateRequest appRequest = new AppCreateRequest(); int port = 9988; // used to create a wiremonitor server and get the // requst String webappUrl = http://localhost:; + port; String appName = samltestapp; String version = 1.0.0; appRequest.setOverview_webAppUrl(webappUrl); appRequest.setOverview_transports(https); appRequest.setOverview_name(appName); appRequest.setOverview_version(version); appRequest.setOverview_context(/ + appName); appRequest.setEntitlementPolicies([]); // for IS autoconfig to get SSO feature appRequest.setAutoConfig(on); appRequest.setProviders(wso2is-5.0.0); appRequest.setSso_ssoProvider(wso2is-5.0.0); appRequest.setSso_singleSignOn(Enabled); appRequest.setClaims(http://wso2.org/claims/role;); appRequest.setClaimPropertyCounter(1); appRequest.setSso_idpProviderUrl(https://localhost:9443/samlsso/;); log.info(Waiting for the test application to be created..); HttpResponse response = appmPublisher.createApp(appRequest); JSONObject jsonObject = new JSONObject(response.getData()); appId = (String) jsonObject.get(id); try { Thread.sleep(4000); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } log.info(Publishing the test application..); appmPublisher.publishApp(appId); try { Thread.sleep(1); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } // client subscribe to that app log.info(Subscribe to the test application..); appmStore.login(username, password); // try { // Thread.sleep(5000); // } catch (InterruptedException e) { // // TODO Auto-generated catch block // e.printStackTrace(); // } SubscriptionRequest subscriptionRequest = new SubscriptionRequest( appName, username, version); HttpResponse subscriptionResponse = appmStore .subscribeForApplication(subscriptionRequest); Thread.sleep(2); // Assert.assertTrue((Boolean) subscriptionJsonObject.get(status), // Application is already subscribed); // do the selenium login and app selection //FirefoxDriver driver = new FirefoxDriver(); log.info(sso profiver-- ++appRequest.getSso_ssoProvider()); // wire monitor server to get the request from the appmanager WireMonitorServer server = new WireMonitorServer(port); server.start(); driver = BrowserManager.getWebDriver(); APPMStoreUIClient.login(driver, storeURLHttp, username, password); //String baseWindow = driver.getWindowHandle(); //driver.manage().timeouts().pageLoadTimeout(30, TimeUnit.SECONDS); //driver.manage().timeouts().implicitlyWait(4000, TimeUnit.MILLISECONDS); try { Thread.sleep(5000); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } APPMStoreUIClient.selectApplication(driver, storeURLHttp, appId, username, password); try { Thread.sleep(3000); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } System.out.println(the backend sent saml message : +server.getCapturedMessage()); boolean hasSAML = false; if (server.getCapturedMessage().contains(AppMgtSAML2Response)) { hasSAML = true; } Assert.assertEquals(hasSAML, true, SAML token cannot be found in the request sent to the backend); server = null; driver.close(); } Cheers On Fri, Sep 5, 2014 at 1:41 PM, Waruna Perera waru...@wso2.com wrote: Hi, Can you please share your test case code? Thanks On Fri, Sep 5, 2014 at 1:37 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi all, I'm working on [1] and getting following error [1] https://wso2.org/jira/browse/APPM-161 samlToBackendTestCase(org.wso2.carbon.appmanager.tests.sample.SAMLtoBackendTest) Time elapsed: 51.699 sec FAILURE! org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died. Build info: version: '2.37.0', revision
[Dev] Error while building the SAML testcase in WSO2 EAM
Hi all, I'm working on [1] and getting following error [1] https://wso2.org/jira/browse/APPM-161 samlToBackendTestCase(org.wso2.carbon.appmanager.tests.sample.SAMLtoBackendTest) Time elapsed: 51.699 sec FAILURE! org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died. Build info: version: '2.37.0', revision: 'a7c61cbd68657e133ae96672cf995890bad2ee42', time: '2013-10-18 09:51:02' System info: host: 'puppet.kasun.org', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-35-generic', java.version: '1.6.0_45' Driver info: driver.version: RemoteWebDriver at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548) at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:268) at org.openqa.selenium.remote.RemoteWebElement.sendKeys(RemoteWebElement.java:89) at org.wso2.carbon.appmanager.tests.util.APPMStoreUIClient.selectApplication(APPMStoreUIClient.java:93) at org.wso2.carbon.appmanager.tests.sample.SAMLtoBackendTest.samlToBackendTestCase(SAMLtoBackendTest.java:141) Caused by: org.apache.http.conn.HttpHostConnectException: Connection to http://127.0.0.1:7056 refused at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820) at org.openqa.selenium.remote.HttpCommandExecutor.fallBackExecute(HttpCommandExecutor.java:337) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:298) at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.execute(NewProfileExtensionConnection.java:145) at org.openqa.selenium.firefox.FirefoxDriver$LazyCommandExecutor.execute(FirefoxDriver.java:366) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:527) ... 38 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:123) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148) ... 48 more 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] Error while building the SAML testcase in WSO2 EAM
Hi waruna, You have submitted your WSO2 IS certificate in a different pack right? But our pack contains the IS too. How can I manage this file path ? On Fri, Sep 5, 2014 at 1:47 PM, Waruna Perera waru...@wso2.com wrote: Hi, This sets the trust store in client. Set it to your paths System.setProperty(javax.net.ssl.trustStore, /home/waruna/Products/wso2is-4.7.0/repository/resources/security/wso2carbon.jks); System.setProperty(javax.net.ssl.trustStorePassword, wso2carbon); System.setProperty(javax.net.ssl.trustStoreType, JKS); On Fri, Sep 5, 2014 at 1:45 PM, Waruna Perera waru...@wso2.com wrote: HI, Can you try adding following code segment and try. On Fri, Sep 5, 2014 at 1:43 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi Waruna, @Test(groups = { wso2.appmanager }, description = test SAML tokens send to the backend) public void samlToBackendTestCase() throws Exception { String appId = ; // publisher creates an app String username = userInfo.getUserName(); String password = userInfo.getPassword(); appmPublisher.login(username, password); AppCreateRequest appRequest = new AppCreateRequest(); int port = 9988; // used to create a wiremonitor server and get the // requst String webappUrl = http://localhost:; + port; String appName = samltestapp; String version = 1.0.0; appRequest.setOverview_webAppUrl(webappUrl); appRequest.setOverview_transports(https); appRequest.setOverview_name(appName); appRequest.setOverview_version(version); appRequest.setOverview_context(/ + appName); appRequest.setEntitlementPolicies([]); // for IS autoconfig to get SSO feature appRequest.setAutoConfig(on); appRequest.setProviders(wso2is-5.0.0); appRequest.setSso_ssoProvider(wso2is-5.0.0); appRequest.setSso_singleSignOn(Enabled); appRequest.setClaims(http://wso2.org/claims/role;); appRequest.setClaimPropertyCounter(1); appRequest.setSso_idpProviderUrl( https://localhost:9443/samlsso/;); log.info(Waiting for the test application to be created..); HttpResponse response = appmPublisher.createApp(appRequest); JSONObject jsonObject = new JSONObject(response.getData()); appId = (String) jsonObject.get(id); try { Thread.sleep(4000); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } log.info(Publishing the test application..); appmPublisher.publishApp(appId); try { Thread.sleep(1); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } // client subscribe to that app log.info(Subscribe to the test application..); appmStore.login(username, password); // try { // Thread.sleep(5000); // } catch (InterruptedException e) { // // TODO Auto-generated catch block // e.printStackTrace(); // } SubscriptionRequest subscriptionRequest = new SubscriptionRequest( appName, username, version); HttpResponse subscriptionResponse = appmStore .subscribeForApplication(subscriptionRequest); Thread.sleep(2); // Assert.assertTrue((Boolean) subscriptionJsonObject.get(status), // Application is already subscribed); // do the selenium login and app selection //FirefoxDriver driver = new FirefoxDriver(); log.info(sso profiver-- ++appRequest.getSso_ssoProvider()); // wire monitor server to get the request from the appmanager WireMonitorServer server = new WireMonitorServer(port); server.start(); driver = BrowserManager.getWebDriver(); APPMStoreUIClient.login(driver, storeURLHttp, username, password); //String baseWindow = driver.getWindowHandle(); //driver.manage().timeouts().pageLoadTimeout(30, TimeUnit.SECONDS); //driver.manage().timeouts().implicitlyWait(4000, TimeUnit.MILLISECONDS); try { Thread.sleep(5000); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } APPMStoreUIClient.selectApplication(driver, storeURLHttp, appId, username, password); try { Thread.sleep(3000); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } System.out.println(the backend sent saml message : +server.getCapturedMessage()); boolean hasSAML = false
[Dev] API Changes in WSO2 EAM
Hi All, I'm working with test automation in newest WSO2 EAM pack and getting errors in test cases. So I did change the framework according to that. And followings are the errors generated APIs I've changed 1) App create API. 2) APP Publish API. 3) IS configurations. 4) Selenium configurations according to new EAM pack. So because of this I was taking much time for completing the test cases. But I'm now stuck with Subscription API. It is mentioned as follow. backEndUrl+/store/resources/webapp/v1/subscription/app Is this the latest backend API or is it changed ? Cheers -- 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] API Changes in WSO2 EAM
Hi Jenananthan, Yep I've done that. Now API seems to be correct. But still getting that error On Fri, Sep 5, 2014 at 7:02 PM, Jenananthan Yogendran jenanant...@wso2.com wrote: you can find the actual api by subscribing to an app manually and monitor through wireshark or firebug where the http post goes. On Fri, Sep 5, 2014 at 5:44 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi All, I'm working with test automation in newest WSO2 EAM pack and getting errors in test cases. So I did change the framework according to that. And followings are the errors generated APIs I've changed 1) App create API. 2) APP Publish API. 3) IS configurations. 4) Selenium configurations according to new EAM pack. So because of this I was taking much time for completing the test cases. But I'm now stuck with Subscription API. It is mentioned as follow. backEndUrl+/store/resources/webapp/v1/subscription/app Is this the latest backend API or is it changed ? Cheers -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ -- Jenananthan Yogendran *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* -- 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] WSO2 Committers += Akila Ravihansa Perera
Congratulations Akila and keep up the good work ! Cheers On Thu, Sep 4, 2014 at 1:19 PM, Lakmal Warusawithana lak...@wso2.com wrote: Hi all, It's my pleasure to announce Akila as a WSO2 Committer. Akila has done great contributions to Apache Stratos and WSO2 Private PaaS products. And in recognition of his contribution he has been voted as a WSO2 commiter. Akila, welcome aboard and keep up the good work!. -- Lakmal Warusawithana Vice President, Apache Stratos Director - Cloud Architecture; WSO2 Inc. Mobile : +94714289692 Blog : http://lakmalsview.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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
[Dev] LifeCycle TEST automation for WSO2 EAM
Hi All, I was working on [1] and tested it. The way I've done it, is, hit the gateway URL and check the response code is 302. But I realize that was wrong when the gateway url is once hit it will redirect to IS and it will always give me 302. Since the gateway URL is handled by SAML and cookies for the following flow, the test case will be very lengthy. *Create app = publish app = login to store = Subscribe the app = test weather the gateway url is hit* or *= unpublish the app = test weather the app is hit*. My suggestion is to do as follow. 1)* Create app = login store = test the app is visible in the store (App is visible only the app is published)* 2) *= publish app = login to store = test the app can be subscribed.* 3) *Change the state to unpublish (this will cover other states as well) = login to store = test the app is visible in the store* Over all three test cases will be covered as for LifyCycleTest class. WDYT ? [1] https://wso2.org/jira/browse/APPM-125 Cheers -- 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
[Dev] Test case for JWT Generation in WSO2 EAM
Hi All I'm working on test automation for JWT generation. In here i need to create several claims and I will check weather it will contain in the Token. Basically it will be generated when we hit the gateway url and pass it to the corresponding web app. But I was unable to identify what is the api to call in my testcase. Any ideas? Cheers -- 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] Deny to add same app context for Web Apps in EAM
[Excluding architecture] Hi all, Changes of plan. When I'm doing this I will follow following work flow 1) Check the context from EAM cache for the first time when the save/edit triggered. 2) If not found the context will be cached. Is this okay ? Cheers On Thu, Aug 21, 2014 at 11:17 AM, Kasun Dissanayake kas...@wso2.com wrote: Hi All, I'm working on jira issue [1] and try to resolve that using following manner. 1) Go through other application's' context using GReg 2) If found send true to front end. 3) Trigger the method on 'focus out' of Contect field and save button click event when in the add web app page 4) Trigger the same in edit web app. to carry on this I just need to get information from GReg about the web app. Any Idea how to get all application details from rxt using jaggery? [1] https://wso2.org/jira/browse/APPM-96 -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis -- 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] Sample Carbon Component Error
Hi shiva. seems ID is not expecting by receiver. Unexpected subelement means that your client does not expecting ID http://mgt.student.carbon.wso2.org/xsd%7DID. Just looking to your WSDL and find for this ID. if you can't please share your wsdl. Cheers On Thu, Aug 21, 2014 at 3:06 PM, Shiva Balachandran sh...@wso2.com wrote: Hi All, I was working through this tutorial ( http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/ ) on developing a carbon component. The maven build was successful and the jars were deployed on the carbon server. I keep getting this error *Cannot get the list of students . Backend service may be unavailable* so i performed a remote debug to identify the error and i get this error org.apache.axis2.databinding.ADBException: Unexpected subelement {http://mgt.student.carbon.wso2.org/xsd}ID;, can someone help me out here? Thank you. Regards Shiva Balachandran Software Engineer Phone - +94 774445788 -- 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
[Dev] Deny to add same app context for Web Apps in EAM
Hi All, I'm working on jira issue [1] and try to resolve that using following manner. 1) Go through other application's' context using GReg 2) If found send true to front end. 3) Trigger the method on 'focus out' of Contect field and save button click event when in the add web app page 4) Trigger the same in edit web app. to carry on this I just need to get information from GReg about the web app. Any Idea how to get all application details from rxt using jaggery? [1] https://wso2.org/jira/browse/APPM-96 -- 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
[Dev] URL Pattern macher for Any URL string
Hi All, This is to inform that I have developed an Algorithm for URL matching for given url pattern. This will do following URL PATTERN String Status /* x/y/a.png Matched but not returns true; /x/y/*x/y/a.png Matched then returns true; Like wise it will return for specific url string according to the FIFO method. any feed back will be grateful. -- 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
[Dev] Secure JAX-RS Web Service using OAuth 2.0
Hi All, I've created a JAX-RS web service and it produces a JSON as response. It's running on Tomcat 8.08 and working fine. I just want to secure my service using OAuth 2.0 and will Apache Otlu be a help or any other mechanism we can use? Thanks and Regards. -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Secure JAX-RS Web Service using OAuth 2.0
Hi Kasun I think it would be a good idea. But I just needed to know the concept behind it. Thanks for the help :) On Mon, Jul 21, 2014 at 2:45 PM, Kasun Gajasinghe kas...@wso2.com wrote: Why not use WSO2 Identity Server instead? :-) On Mon, Jul 21, 2014 at 1:16 AM, Kasun Dissanayake kas...@wso2.com wrote: Hi All, I've created a JAX-RS web service and it produces a JSON as response. It's running on Tomcat 8.08 and working fine. I just want to secure my service using OAuth 2.0 and will Apache Otlu be a help or any other mechanism we can use? Thanks and Regards. -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *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 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] Invitation: Code Review : APPMGR Enterprise Subscription @ Thu Jul 17, 2014 2pm - 2:30pm (Kasun Dissanayake)
review notes: - Remove the class.forname() s for idp versions - Will be having a caching method to cache subscriptions so that we can clean the cache when the admin revoke them. Thanks and Regards On Wed, Jul 16, 2014 at 2:01 PM, Rushmin Fernando rush...@wso2.com wrote: more details » https://www.google.com/calendar/event?action=VIEWeid=MTg3NXNyY2JjNXR0ZGFnNHBvN24zcjVvNmsga2FzdW51QHdzbzIuY29ttok=MTYjcnVzaG1pbkB3c28yLmNvbWY1OTU1MDZkNGZhZmM4MjgxOWUxNWMyNzk2MGU3ZjhmZTNkYTRmYmIctz=Asia/Colombohl=en Code Review : APPMGR Enterprise Subscription *When* Thu Jul 17, 2014 2pm – 2:30pm Colombo *Where* LK 3rd Floor Meeting Room - Kernel (map http://maps.google.lk/maps?q=LK+3rd+Floor+Meeting+Room+-+Kernelhl=en) *Video call* https://plus.google.com/hangouts/_/wso2.com/code-review https://plus.google.com/hangouts/_/wso2.com/code-review?hceid=cnVzaG1pbkB3c28yLmNvbQ.1875srcbc5ttdag4po7n3r5o6k *Calendar* Kasun Dissanayake *Who* • Rushmin Fernando - organizer • Jenananthan Yogendran • Thilini Shanika • Roshan Wijesena • Nuwan Dias • dev@wso2.org • Rajeeva Uthayasangar • Dinusha Senanayaka • Kasun Dissanayake • Sumedha Rubasinghe • Chamila Adhikarinayake • Ruwan Yatawara Going? *Yes https://www.google.com/calendar/event?action=RESPONDeid=MTg3NXNyY2JjNXR0ZGFnNHBvN24zcjVvNmsga2FzdW51QHdzbzIuY29trst=1tok=MTYjcnVzaG1pbkB3c28yLmNvbWY1OTU1MDZkNGZhZmM4MjgxOWUxNWMyNzk2MGU3ZjhmZTNkYTRmYmIctz=Asia/Colombohl=en - Maybe https://www.google.com/calendar/event?action=RESPONDeid=MTg3NXNyY2JjNXR0ZGFnNHBvN24zcjVvNmsga2FzdW51QHdzbzIuY29trst=3tok=MTYjcnVzaG1pbkB3c28yLmNvbWY1OTU1MDZkNGZhZmM4MjgxOWUxNWMyNzk2MGU3ZjhmZTNkYTRmYmIctz=Asia/Colombohl=en - No https://www.google.com/calendar/event?action=RESPONDeid=MTg3NXNyY2JjNXR0ZGFnNHBvN24zcjVvNmsga2FzdW51QHdzbzIuY29trst=2tok=MTYjcnVzaG1pbkB3c28yLmNvbWY1OTU1MDZkNGZhZmM4MjgxOWUxNWMyNzk2MGU3ZjhmZTNkYTRmYmIctz=Asia/Colombohl=en* more options » https://www.google.com/calendar/event?action=VIEWeid=MTg3NXNyY2JjNXR0ZGFnNHBvN24zcjVvNmsga2FzdW51QHdzbzIuY29ttok=MTYjcnVzaG1pbkB3c28yLmNvbWY1OTU1MDZkNGZhZmM4MjgxOWUxNWMyNzk2MGU3ZjhmZTNkYTRmYmIctz=Asia/Colombohl=en Invitation from Google Calendar https://www.google.com/calendar/ You are receiving this email at the account kas...@wso2.com because you are subscribed for invitations on calendar Kasun Dissanayake. To stop receiving these notifications, please log in to https://www.google.com/calendar/ and change your notification settings for this calendar. -- 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] [DEV] Retrieving an environment variable from Java
Hi Inosh, It works for me when you add it on root .bashrc like the following SYNAPSE_HOME=/home/user/Team/synapse-2.1.0 export SYNAPSE_HOME PATH=$PATH:$SYNAPSE_HOME/bin export PATH And you shouldn't restart it. It's working fine Cheers On Mon, Jul 14, 2014 at 1:51 PM, Harsha Kumara hars...@wso2.com wrote: Hi Inosh. Did you export that variable in bashrc? Thanks, Harsha On Mon, Jul 14, 2014 at 1:50 PM, Rajith Vitharana raji...@wso2.com wrote: Hi Inosh, Try putting it ~/.bashrc. I have done a similar thing. It worked when the variable is defined in ~/.bashrc and restarting the machine. Thanks, On Mon, Jul 14, 2014 at 1:43 PM, Inosh Perera ino...@wso2.com wrote: Hi Rajitha, Yes, I also tried couple of other ways. Thanks, On Mon, Jul 14, 2014 at 1:40 PM, Rajith Vitharana raji...@wso2.com wrote: Hi Inosh, Have you tried restarting the machine? Thanks, On Mon, Jul 14, 2014 at 1:35 PM, Inosh Perera ino...@wso2.com wrote: Hi all, Using java code, I'm trying to retrieve an environment variable defined in the OS(Ubuntu). When I define a variable in bashrc / bash_profile and **echo $SOME_VARIABLE** in the terminal, it shows it properly. But when I'm accessing it with Java, using System.getenv() , this variable doesn't appear. What could be the reason? MapString, String variables = System.getenv(); for (Map.EntryString, String entry : variables.entrySet()) { String name = entry.getKey(); String value = entry.getValue(); System.out.println(name + = + value); } Regards, Inosh -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Rajith Vitharana Software Engineer, WSO2 Inc. : wso2.com Mobile : +94715883223 Blog : http://lankavitharana.blogspot.com/ -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 -- Rajith Vitharana Software Engineer, WSO2 Inc. : wso2.com Mobile : +94715883223 Blog : http://lankavitharana.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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] Out of Memory Error When Setting up DepSync
Hi Dumidu Are you using the default size of JVM heap memory size or are you getting this error when you building this using maven ? On Thu, Jul 10, 2014 at 2:07 PM, Dumidu Handakumbura dum...@wso2.com wrote: Hi guys, I'm getting the following exception when setting up dep sync for a DSS cluster. Im using SVN 1.7.9. Would downgrading my svn version fix the issue or is there a work around? java.lang.OutOfMemoryError: Java heap space Dumping heap to /home/dumidu/QAWork/DSS3.2.2Rel/master/wso2dss-3.2.2/repository/logs/heap-dump.hprof ... Unable to create /home/dumidu/QAWork/DSS3.2.2Rel/master/wso2dss-3.2.2/repository/logs/heap-dump.hprof: File exists [2014-07-10 13:55:31,068] ERROR {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} - Error while running deployment scheduler.. java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2367) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130) at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415) at java.lang.StringBuffer.append(StringBuffer.java:237) at org.tmatesoft.svn.core.SVNErrorMessage.getFullMessage(SVNErrorMessage.java:257) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:58) at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.open(SVNAdminAreaFactory.java:163) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:364) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:272) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:265) at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:261) at org.tmatesoft.svn.core.wc.SVNStatusClient.doStatus(SVNStatusClient.java:316) at org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:296) at org.tmatesoft.svn.core.javahl.SVNClientImpl.status(SVNClientImpl.java:278) at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(AbstractJhlClientAdapter.java:542) at org.tigris.subversion.svnclientadapter.svnkit.SvnKitClientAdapter.getStatus(SvnKitClientAdapter.java:144) at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(AbstractJhlClientAdapter.java:528) at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(AbstractJhlClientAdapter.java:521) at org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.cleanupDeletedFiles(SVNBasedArtifactRepository.java:533) Please find the full stack trace attached. Regards, -- *Dumidu Handakumbura* Software Engineer - QA WSO2 Inc; http://www.wso2.com/. Mobile; *+9406740 %2B9406740 * ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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
[Dev] SAMLResponce giving 'null' for the RelayState Parameter
Hi All, I'm working with an issue. In here I passed the RelayState parameter to Saml Request but after the saml response I get 'null' for the RelayState Parameter. Basically I send the SAMLRequest to Idp. Any help ? Thanks and Regards -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] SAMLResponce giving 'null' for the RelayState Parameter
Hi Dulanja I think I found the the issue. I passed this parameter to message context which is a Synpase config. This config file is not visible to IS I think. So he doesn't know any RelayState Para. @Dulanja Can you give me any sample code or any sample number which is in IS Docs how to set HTTP parameters to Saml Request? Thanks and Regards On Thu, Jul 10, 2014 at 6:26 PM, Dulanja Liyanage dula...@wso2.com wrote: Hi Kasun, Could you please attach the HTTP requests and responses getting exchanged in this scenario? Thanks, Dulanja On Thu, Jul 10, 2014 at 6:20 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi All, I'm working with an issue. In here I passed the RelayState parameter to Saml Request but after the saml response I get 'null' for the RelayState Parameter. Basically I send the SAMLRequest to Idp. Any help ? Thanks and Regards -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Dulanja Liyanage WSO2 Inc. M: +94776764717 -- 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] WSO2 App Factory start-up error
Hi Sabashan, When did you get this error? After you login to the carbon console or before that ? Thanks and Regards. On Tue, Jul 8, 2014 at 2:31 PM, Sabashan Baladevan sabashan...@gmail.com wrote: Hi all, We try to start the *wso2appfactory-2.0.0* but, while the server start we got error like that [2014-07-08 14:19:13,583] ERROR {org.wso2.carbon.user.core.common.DefaultRealm} - Cannot create org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.wso2.carbon.user.core.common.DefaultRealm.createObjectWithOptions(DefaultRealm.java:329) at org.wso2.carbon.user.core.common.DefaultRealm.initializeObjects(DefaultRealm.java:195) at org.wso2.carbon.user.core.common.DefaultRealm.init(DefaultRealm.java:104) at org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:223) at org.wso2.carbon.user.core.common.DefaultRealmService.init(DefaultRealmService.java:101) at org.wso2.carbon.user.core.common.DefaultRealmService.init(DefaultRealmService.java:114) at org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:69) at org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Caused by: org.wso2.carbon.user.core.UserStoreException: Admin user has not been created. Error occurs while creating Admin user in primary user store. at org.wso2.carbon.user.core.common.AbstractUserStoreManager.addInitialAdminData(AbstractUserStoreManager.java:3180) at org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager.init(ReadOnlyLDAPUserStoreManager.java:166) at org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager.init(ReadWriteLDAPUserStoreManager.java:102) ... 27 more Caused by: org.wso2.carbon.user.core.UserStoreException: User name not valid. User name must be a non null string with following format, [a-zA-Z0-9._-|//]{3,30}$ at org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager.doAddUserValidityChecks(ReadWriteLDAPUserStoreManager.java:295) at org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager.doAddUser(ReadWriteLDAPUserStoreManager.java:236) at org.wso2.carbon.user.core.common.AbstractUserStoreManager.addInitialAdminData(AbstractUserStoreManager.java:3174) ... 29 more Thanks Regards Sabashan ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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
[Dev] BAM doesn't show the stats
Hi All, I have configured the APP Manager with BAM according to the instructions given in docs. But when I check the H2 the database is created successfully but there are no any data in the tables. I checked the Synapse configuration and it hits the UsageHandler without any problem. Any help on $subject ? Thanks and Regards -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] BAM doesn't show the stats
Hi All, Found the solution. Thanks and Regards On Mon, Jul 7, 2014 at 2:25 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi All, I have configured the APP Manager with BAM according to the instructions given in docs. But when I check the H2 the database is created successfully but there are no any data in the tables. I checked the Synapse configuration and it hits the UsageHandler without any problem. Any help on $subject ? Thanks and Regards -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ -- 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] wss4j build fails in jdk 1.7
Hi Vanjikumaran Yep It is recommended to build it in JDK 1.6. But you getting this error in Kernel. If you build platform it doesn't matter. If you are working with products just build kernel patches. since these build things are in nexus you can proceed. All thing you have to do is build kernel patches and add them to your local repo. Regards On Thu, Jul 3, 2014 at 11:42 AM, Vanjikumaran Sivajothy va...@wso2.com wrote: It is recommended to build wso2 products in JDK 1.6. Isn't it? On Thu, Jul 3, 2014 at 11:35 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote: hi ; getting; [ERROR] \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[114,13] Encryption Key is internal proprietary API and may be removed in a future release [INFO] 28 errors [INFO] - [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 29.800s [INFO] Finished at: Thu Jul 03 11:34:30 IST 2014 [INFO] Final Memory: 26M/365M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1:compile (default-compile) on project wss4j: Compilation failure: Com pilation failure: [ERROR] \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[10,24] EncryptionK ey is internal proprietary API and may be removed in a future release [ERROR] [ERROR] \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[11,33] EncTicketPa rt is internal proprietary API and may be removed in a future release [ERROR] [ERROR] \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[12,33] Ticket is i nternal proprietary API and may be removed in a future release [ERROR] [ERROR] \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[13,40] KeyUsage is internal proprietary API and may be removed in a future release [ERROR] [ERROR] \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[14,24] DerInputStr eam is internal proprietary API and may be removed in a future release [ERROR] [ERROR] \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[15,24] DerValue is internal proprietary API and may be removed in a future release [ERROR] [ERROR] \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[50,2] EncryptionKe y is internal proprietary API and may be removed in a future release [ERROR] [ERROR] \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[57,9] EncryptionKe y is internal proprietary API and may be removed in a future release [ERROR] [ERROR] \Projects\kernel\branches\4.2.0\dependencies\wss4j\1.5.11-wso2v6\src\org\apache\ws\security\kerberos\KrbTicketDecoder.java:[58,2] DerInputStre am is internal proprietary API and may be removed in a future release -- -Ratha mobile: (+94)755906608 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sivajothy Vanjikumaran *Senior Software Engineer* *Integration Technologies Team* *WSO2 Inc. http://wso2.com http://wso2.com/* *Mobile:(+94)777219209* [image: Facebook] https://www.facebook.com/vanjikumaran [image: Twitter] https://twitter.com/vanjikumaran [image: LinkedIn] http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293 [image: Blogger] http://vanjikumaran.blogspot.com/ [image: SlideShare] http://www.slideshare.net/vanjikumaran This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware
Re: [Dev] Callout component in HTML
Hi Rushmin, As far as I know the Bootstrap is the best one as you mentioned. But there are some good callout Components are there like feathers and Flex. And Flex, Feathers both use JS. Thanks and Regards On Thu, Jul 3, 2014 at 9:44 AM, Rushmin Fernando rush...@wso2.com wrote: Does anyone know about a good callout component? Bootstrap extensions are preferred. Please see the image below. -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware email : rush...@wso2.com mobile : +94772310855 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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] Callout component in HTML
Hi Rushmin. Yep I mentioned these are call out components (yes popovers). I guess you are looking for this. Thanks and Regards On Thu, Jul 3, 2014 at 9:56 AM, Rushmin Fernando rush...@wso2.com wrote: Are you referring to the Bootstrap popover component ? On Thu, Jul 3, 2014 at 9:52 AM, Kasun Dissanayake kas...@wso2.com wrote: Hi Rushmin, As far as I know the Bootstrap is the best one as you mentioned. But there are some good callout Components are there like feathers and Flex. And Flex, Feathers both use JS. Thanks and Regards On Thu, Jul 3, 2014 at 9:44 AM, Rushmin Fernando rush...@wso2.com wrote: Does anyone know about a good callout component? Bootstrap extensions are preferred. Please see the image below. -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware email : rush...@wso2.com mobile : +94772310855 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware email : rush...@wso2.com mobile : +94772310855 -- 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
[Dev] How to configure Apache H2 in Ubuntu 14.04
Hi All, I'm working with App manager and for some testings I need to configure Apache H2 DBMS in my machine. Any Help ? Thanks and Regards -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Invalid JWT in App manager
Hi All, I'm working with App Manager statistics motioning with BAM now. I created the web app (The emirates example) and published. In IS Management Console I added a new claim called ffid and added samples for user roles (telephone, mobile, address and ffid) and also updated the web app with these claims. 1) http://wso2.org/ffid *2) *http://wso2.org/claims/streetaddress *3) *http://wso2.org/claims/telephone But When I access the Emirates app in the store I get the login screen of Emirates giving the error Invalid JWT. Any solution? Thanks and Regards. -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Invalid JWT in App manager
Hi All Got it. Thanks and Regards On Tue, Jul 1, 2014 at 3:42 PM, Dinusha Senanayaka dinu...@wso2.com wrote: Can you check whether following property has been set in api-manager.xml. EnableTokenGenerationtrue/EnableTokenGeneration On Tue, Jul 1, 2014 at 3:36 PM, Kasun Dissanayake kas...@wso2.com wrote: Hi All, I'm working with App Manager statistics motioning with BAM now. I created the web app (The emirates example) and published. In IS Management Console I added a new claim called ffid and added samples for user roles (telephone, mobile, address and ffid) and also updated the web app with these claims. 1) http://wso2.org/ffid *2) *http://wso2.org/claims/streetaddress *3) *http://wso2.org/claims/telephone But When I access the Emirates app in the store I get the login screen of Emirates giving the error Invalid JWT. Any solution? Thanks and Regards. -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ -- 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
[Dev] App Manager Can't Publish the Events
Hi All I configured the App Manager with BAM setting the offset with 2 and CASSANDRA Port with 9162 other xmls are modified accordingly. But when I Start BAM it works and APP Manager giving me errors [1,2] [1] [2014-07-01 18:03:15,758] ERROR - ReceiverGroup No receiver is reachable at reconnection, can't publish the events [2] [2014-07-01 18:03:15,761] ERROR - AsyncDataPublisher Reconnection failed for for tcp://localhost:7612/ Any ideas ? -- 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
[Dev] Apache Stratos - OpenStack running on Ubuntu Server
Hi. I tried Open Stack to run on Ubuntu 14.04 TLS Server but when running the stack.sh from /devStack it gives me error that since it is not tested with trusty the operation cannot be continued. But it is working with Ubuntu 12.04.4 like a charm. Is it not tested with the current OS yet ?? Tanks and Regards -- Kasun Dissanayake Software Engineer WSO2 Inc. Lean | Enterprise | Middleware Tel - +94 77 086 2860 Skype - kasun.dissanayake4 LinkedIn - lk.linkedin.com/in/kasundis/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev