Re: [Dev] {chunk-13 packs}
We see some blocking L1s, will be able to fix by EoD. Hopefully you can get pack tomorrow.. On 12 September 2014 11:10, Pavithra Madurangi pavit...@wso2.com wrote: Hi Ratha, When will we get the new 1.8.0 pack? Regards, Pavithra On Tue, Sep 9, 2014 at 12:48 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi Pavithra.. I'll chk this in new build Thanks On 9 September 2014 12:29, Pavithra Madurangi pavit...@wso2.com wrote: Hi Ratha, With the p2 repo found at [1], I observed the exact issue reported at [2] when IS is configured as key manager. I know that we observed that issue in 3rd September packs [3] and it's fixed in latest build (found at [1]) . But can see it when IS is acting as key manager. So can you please check whether p2 repo is updated and correct. [1] https://svn.wso2.org/repos/wso2/scratch/chunk13-release/04-09-2014/p2-repo/ [2] https://wso2.org/jira/browse/APIMANAGER-2803 [3] https://svn.wso2.org/repos/wso2/scratch/chunk13-release/03-09-2014/ Regards, Pavithra On Fri, Sep 5, 2014 at 10:33 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi Evanthika, Use this packs fro testing; https://svn.wso2.org/repos/wso2/scratch/chunk13-release/04-09-2014/ Thanks. -- -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Pavithra Madurangi* Associate Technical Lead - QA. WSO2 Inc.: http://wso2.com/ Mobile: +94777207357 / +94773814110 -- -Ratha -- *Pavithra Madurangi* Associate Technical Lead - QA. WSO2 Inc.: http://wso2.com/ Mobile: +94777207357 / +94773814110 -- -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] synapse code fixing
Hi Aruna, Please find the pull request from here. https://github.com/wso2-dev/carbon4-kernel/pull/98 Cheers, Dhanuka *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 On Thu, Sep 11, 2014 at 6:04 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi Dhanuka, Please send a Pull Request to the 4.3.0 in github also. Regards, Aruna On Thu, Apr 3, 2014 at 5:11 PM, Afkham Azeez az...@wso2.com wrote: YEah, go ahead with the fix On Thu, Apr 3, 2014 at 2:42 PM, Dhanuka Ranasinghe dhan...@wso2.com wrote: HI, I have been working on this issue [1]. Although this is fixed it's not merged to ELB 2.1.0 . While doing that found SessionInformation.java has been change by adding new method. public void setMember(Member member) { this.member = member; } Will this be OK, shall I continue with this merge. Apart from this I was working with below issues [2] and [3] parallel to issue [1]. It would be great if this can be verified. Thanks. [1] https://wso2.org/jira/browse/LB-95 [2] https://wso2.org/jira/browse/LB-142 [3] https://wso2.org/jira/browse/CARBON-14748 Cheers, Dhanuka *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/* *email: **az...@wso2.com* az...@wso2.com * cell: +94 77 3320919 %2B94%2077%203320919 blog: * *http://blog.afkham.org* http://blog.afkham.org *twitter: **http://twitter.com/afkham_azeez* http://twitter.com/afkham_azeez * linked-in: **http://lk.linkedin.com/in/afkhamazeez http://lk.linkedin.com/in/afkhamazeez* *Lean . Enterprise . Middleware* ___ 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
[Dev] Issue when verifying Content-Length passing to the backend in APIM
Hi, Currently I'm trying to fix the test failures in [1] class. As I understood, the test case trying to verify whether the Content-Length passed from APIM to backend in tenant mode. I tried the following steps manually in APIM 1.7 and APIM 1.5 with the patch provided in jira [3]. but I can't see Content-Length passing to the back end. Is this configuration correct [2]? 1. create a tenant abc.com 2. login to the publisher and create a API 3. login to the carbon console and add the following properties to the insequence of the api config property name=FORCE_HTTP_CONTENT_LENGTH value=true scope=axis2/ property name=COPY_CONTENT_LENGTH_FROM_INCOMING value=true scope=axis2/ 4. login to the store and subscribe to the API 5. invoke the API using REST client [with the tcpmon in between APIM and the backend] [1] https://github.com/wso2-dev/product-apim/blob/master/modules/integration/tests/src/test/java/org/wso2/carbon/am/tests/header/ContentLengthHeaderTestCase.java [2] https://github.com/wso2-dev/product-apim/blob/master/modules/integration/tests/src/test/resources/artifacts/AM/synapseconfigs/property/FORCE_HTTP_CONTENT_LENGTH.xml [3] https://wso2.org/jira/browse/ESBJAVA-2686 Thanks Amalka ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Test case error on esb connectors
Hi, Can you share the test case code? On Fri, Sep 12, 2014 at 11:54 AM, Elilmatha Sivanesan elilma...@wso2.com wrote: When we run our test case we get this error What can be the reasons [2014-09-12 11:44:23,552] ERROR {org.wso2.carbon.automation.core.PlatformTestManager} - On Test failure.. [2014-09-12 11:44:23,552] ERROR {org.wso2.carbon.automation.core.PlatformTestManager} - java.net.SocketException: Unexpected end of file from server [2014-09-12 11:44:23,552] INFO {org.wso2.carbon.automation.core.PlatformTestManager} - --Tests Failed org.wso2.carbon.connector.integration.test.event_brite.eventbriteConnectorIntegrationTest.testgetuserdetails FAILED: testgetuserdetails event_brite{getuserdetails} integration test with negative case. java.net.SocketException: Unexpected end of file from server at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:718) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:579) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:715) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:579) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1322) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468) at java.net.HttpURLConnection.getResponseMessage(HttpURLConnection.java:534) at org.wso2.carbon.connector.integration.test.common.ConnectorIntegrationUtil.sendRequest(ConnectorIntegrationUtil.java:140) at org.wso2.carbon.connector.integration.test.event_brite.eventbriteConnectorIntegrationTest.testgetuserdetails(eventbriteConnectorIntegrationTest.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeMethod(Invoker.java:673) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) at org.testng.TestRunner.runWorkers(TestRunner.java:1178) at org.testng.TestRunner.privateRun(TestRunner.java:757) at org.testng.TestRunner.run(TestRunner.java:608) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) at org.testng.TestNG.run(TestNG.java:999) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178) at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -- *S.Elilmatha* Associative Software Engineer, WSO2 Inc.; http://wso2.com lean.enterprise.middleware Mobile 0779842221. -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] {chunk-13 packs}
Hi Ratha, When will we get the new 1.8.0 pack? Regards, Pavithra On Tue, Sep 9, 2014 at 12:48 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi Pavithra.. I'll chk this in new build Thanks On 9 September 2014 12:29, Pavithra Madurangi pavit...@wso2.com wrote: Hi Ratha, With the p2 repo found at [1], I observed the exact issue reported at [2] when IS is configured as key manager. I know that we observed that issue in 3rd September packs [3] and it's fixed in latest build (found at [1]) . But can see it when IS is acting as key manager. So can you please check whether p2 repo is updated and correct. [1] https://svn.wso2.org/repos/wso2/scratch/chunk13-release/04-09-2014/p2-repo/ [2] https://wso2.org/jira/browse/APIMANAGER-2803 [3] https://svn.wso2.org/repos/wso2/scratch/chunk13-release/03-09-2014/ Regards, Pavithra On Fri, Sep 5, 2014 at 10:33 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi Evanthika, Use this packs fro testing; https://svn.wso2.org/repos/wso2/scratch/chunk13-release/04-09-2014/ Thanks. -- -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Pavithra Madurangi* Associate Technical Lead - QA. WSO2 Inc.: http://wso2.com/ Mobile: +94777207357 / +94773814110 -- -Ratha -- *Pavithra Madurangi* Associate Technical Lead - QA. WSO2 Inc.: http://wso2.com/ Mobile: +94777207357 / +94773814110 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Test case error on esb connectors
When we run our test case we get this error What can be the reasons [2014-09-12 11:44:23,552] ERROR {org.wso2.carbon.automation.core.PlatformTestManager} - On Test failure.. [2014-09-12 11:44:23,552] ERROR {org.wso2.carbon.automation.core.PlatformTestManager} - java.net.SocketException: Unexpected end of file from server [2014-09-12 11:44:23,552] INFO {org.wso2.carbon.automation.core.PlatformTestManager} - --Tests Failed org.wso2.carbon.connector.integration.test.event_brite.eventbriteConnectorIntegrationTest.testgetuserdetails FAILED: testgetuserdetails event_brite{getuserdetails} integration test with negative case. java.net.SocketException: Unexpected end of file from server at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:718) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:579) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:715) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:579) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1322) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468) at java.net.HttpURLConnection.getResponseMessage(HttpURLConnection.java:534) at org.wso2.carbon.connector.integration.test.common.ConnectorIntegrationUtil.sendRequest(ConnectorIntegrationUtil.java:140) at org.wso2.carbon.connector.integration.test.event_brite.eventbriteConnectorIntegrationTest.testgetuserdetails(eventbriteConnectorIntegrationTest.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeMethod(Invoker.java:673) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) at org.testng.TestRunner.runWorkers(TestRunner.java:1178) at org.testng.TestRunner.privateRun(TestRunner.java:757) at org.testng.TestRunner.run(TestRunner.java:608) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) at org.testng.TestNG.run(TestNG.java:999) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178) at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) -- *S.Elilmatha* Associative Software Engineer, WSO2 Inc.; http://wso2.com lean.enterprise.middleware Mobile 0779842221. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [TS] Git-repo wso2-dev/product-ts server start-up error
Hi, Done. Cheers, Anjana. On Fri, Sep 12, 2014 at 10:54 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi Anjana, Can you review and merge [1] as well to fix https://wso2.org/jira/browse/TS-7 ? [1] https://github.com/wso2-dev/product-ts/pull/1 Thanks. /Gayashan On Thu, Sep 11, 2014 at 4:30 PM, Dimuthu De Lanerolle dimut...@wso2.com wrote: Thnx Gayashan. On Thu, Sep 11, 2014 at 3:57 PM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi Dimuthu, I also encountered this error sometime back and created the JIRA below and sent the PR with the fix. https://wso2.org/jira/browse/TS-7 Hope this helps. Thanks. /Gayashan On Thu, Sep 11, 2014 at 3:45 PM, Dimuthu De Lanerolle dimut...@wso2.com wrote: Hi, I am experiencing the below error message once tried to start the TS-server instance of Git-repo wso2-dev/product-ts build. Please fix. dimuthu@dimuthu-ThinkPad-T530:~/Desktop/Products/TS/product-ts/modules/distribution/target/wso2ts-1.2.0-SNAPSHOT/bin$ sh wso2server.sh JAVA_HOME environment variable is set to /home/dimuthu/software/jdk1.6.0_24 CARBON_HOME environment variable is set to /home/dimuthu/Desktop/Products/TS-ORIGINAL/product-ts/modules/distribution/target/wso2ts-1.2.0-SNAPSHOT java.lang.ClassNotFoundException: org.wso2.carbon.server.Main at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:59) at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:45) Regards -- Dimuthu De Lanerolle Software Engineer WSO2 Inc. lean . enterprise . middlewear. http://wso2.com/ Tel. : +94 11 2145345 Fax : +94 11 2145300 email : dimut...@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 -- Dimuthu De Lanerolle Software Engineer WSO2 Inc. lean . enterprise . middlewear. http://wso2.com/ Tel. : +94 11 2145345 Fax : +94 11 2145300 email : dimut...@wso2.com -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com -- *Anjana Fernando* Senior Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Please merge UES Integration test commit#4
HI UES Team, Please merge the pull request https://github.com/wso2-dev/product-ues/pull/4 This will integrate the integration test modules to UES build. Thanks, Nuwanw -- Nuwan Wimalasekara Senior Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Issue regarding APIM logout error from the api store
Hi all, I'm working on a logout issue in the API Store mentioned in this jira[1]. This issue happens only when login out from the store after selecting an api first. Normally when an api is selected following request is done by adding api information as parameters. https://localhost:9443/store/apis/info?name=app1version=1provider=admin following is the request send when logout is clicked after selecting an api. https://localhost:9443/store/apis/info? The reason for the error page is that the page is unable to load the api information without the parameters. The solution I was planning to do is like following In pages/item-info.jag (where the request comes to), I store the last viewed api info into the session. So when a logout request comes without the parameters, I get them from the session and display the previously viewed api. It would be something like this //existing code assign name, version, provider from the request parameters if(name != null version != null provider != null) { session.put(LastSelectedAppName ,name); session.put(LastSelectedAppVersion ,version); session.put(LastSelectedAppProvider ,provider); } else { //assign values when they are not in the request name = session.get(LastSelectedAppName); version = session.get(LastSelectedAppVersion); provider = session.get(LastSelectedAppProvider); } Any Comments on this approach? [1] https://wso2.org/jira/browse/APIMANAGER-2828 Thanks, Chamila. -- Regards, Chamila Adhikarinayake Software Engineer WSO2, Inc. Mobile - +94712346437 Email - chami...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Test case error on esb connectors
public class eventbriteConnectorIntegrationTest extends ESBIntegrationTest { private MediationLibraryUploaderStub mediationLibUploadStub = null; private MediationLibraryAdminServiceStub adminServiceStub = null; private MapString, String esbRequestHeadersMap = new HashMapString, String(); private MapString, String apiRequestHeadersMap = new HashMapString, String(); private MapString, String headersMap = new HashMapString, String(); // Properties eventbriteConnectorProperties=null; private static final String CONNECTOR_NAME = event_brite; private ProxyServiceAdminClient proxyAdmin; private String pathToProxiesDirectory = null; private String pathToRequestsDirectory = null; private String eventbriteConnectorFileName=null; @BeforeClass(alwaysRun = true) public void setEnvironment() throws Exception { super.init(); ConfigurationContextProvider configurationContextProvider = ConfigurationContextProvider.getInstance(); ConfigurationContext cc = configurationContextProvider.getConfigurationContext(); mediationLibUploadStub = new MediationLibraryUploaderStub(cc, esbServer.getBackEndUrl() + MediationLibraryUploader); AuthenticateStub.authenticateStub(admin, admin, mediationLibUploadStub); adminServiceStub = new MediationLibraryAdminServiceStub(cc, esbServer.getBackEndUrl() + MediationLibraryAdminService); AuthenticateStub.authenticateStub(admin, admin, adminServiceStub); String repoLocation = null; if (System.getProperty(os.name).toLowerCase().contains(windows)) { repoLocation = System.getProperty(connector_repo).replace(/, \\); } else { repoLocation = System.getProperty(connector_repo).replace(/, /); } proxyAdmin = new ProxyServiceAdminClient(esbServer.getBackEndUrl(), esbServer.getSessionCookie()); String eventbriteConnectorFileName = CONNECTOR_NAME + .zip; ConnectorIntegrationUtil.uploadConnector(repoLocation, mediationLibUploadStub, eventbriteConnectorFileName); log.info(Sleeping for + 1 / 1000 + seconds while waiting for synapse import); Thread.sleep(1); adminServiceStub.updateStatus({org.wso2.carbon.connector} + CONNECTOR_NAME, CONNECTOR_NAME, org.wso2.carbon.connector, enabled); Properties eventbriteConnectorProperties = ConnectorIntegrationUtil.getConnectorConfigProperties(CONNECTOR_NAME); pathToProxiesDirectory = repoLocation + eventbriteConnectorProperties.getProperty(proxyDirectoryRelativePath); pathToRequestsDirectory = repoLocation + eventbriteConnectorProperties.getProperty(requestDirectoryRelativePath); } @Override protected void cleanup() { axis2Client.destroy(); } /** * Negative test case for getAnAlbumMetadata method. */ @Test(groups = { wso2.esb }, description = event_brite{getuserdetails} integration test with negative case.) public void testgetuserdetails() throws Exception { String jsonRequestFilePath = pathToRequestsDirectory + getuserdetails.txt; String methodName = getuserdetails; final String jsonString = ConnectorIntegrationUtil.getFileContent(jsonRequestFilePath); final String proxyFilePath = file:/// + pathToProxiesDirectory + methodName + .xml; proxyAdmin.addProxyService(new DataHandler(new URL(proxyFilePath))); System.out.println(jsonString); //JSONObject jsonResponse; //String modifiedJsonString = String.format(jsonString, //eventbriteConnectorProperties.getProperty(userId)); JSONObject jsonResponse; try { jsonResponse = ConnectorIntegrationUtil.sendRequest(getProxyServiceURL(methodName), jsonString); System.out.println(*@@@*---); //System.out.println(jsonResponse); Assert.assertTrue(jsonResponse.has(emails)); } finally { proxyAdmin.deleteProxy(methodName); } } On Fri, Sep 12, 2014 at 12:03 PM, Waruna Perera waru...@wso2.com wrote: Hi, Can you share the test case code? On Fri, Sep 12, 2014 at 11:54 AM, Elilmatha Sivanesan elilma...@wso2.com wrote: When we run our test case we get this error What can be the reasons [2014-09-12 11:44:23,552] ERROR {org.wso2.carbon.automation.core.PlatformTestManager} - On Test failure.. [2014-09-12 11:44:23,552] ERROR {org.wso2.carbon.automation.core.PlatformTestManager} - java.net.SocketException: Unexpected end of file from server [2014-09-12 11:44:23,552] INFO {org.wso2.carbon.automation.core.PlatformTestManager} - --Tests Failed
Re: [Dev] Test case error on esb connectors
Hi, AFAIK you're supposed to use the Integration Base at [1] to extend and design your test cases for ESB Connectors. Thanks. [1] https://github.com/wso2-dev/esb-connectors/tree/master/integration-base On Fri, Sep 12, 2014 at 12:52 PM, Elilmatha Sivanesan [via WSO2 Oxygen Tank] ml-node+s10903n102858...@n7.nabble.com wrote: public class eventbriteConnectorIntegrationTest extends ESBIntegrationTest { private MediationLibraryUploaderStub mediationLibUploadStub = null; private MediationLibraryAdminServiceStub adminServiceStub = null; private MapString, String esbRequestHeadersMap = new HashMapString, String(); private MapString, String apiRequestHeadersMap = new HashMapString, String(); private MapString, String headersMap = new HashMapString, String(); // Properties eventbriteConnectorProperties=null; private static final String CONNECTOR_NAME = event_brite; private ProxyServiceAdminClient proxyAdmin; private String pathToProxiesDirectory = null; private String pathToRequestsDirectory = null; private String eventbriteConnectorFileName=null; @BeforeClass(alwaysRun = true) public void setEnvironment() throws Exception { super.init(); ConfigurationContextProvider configurationContextProvider = ConfigurationContextProvider.getInstance(); ConfigurationContext cc = configurationContextProvider.getConfigurationContext(); mediationLibUploadStub = new MediationLibraryUploaderStub(cc, esbServer.getBackEndUrl() + MediationLibraryUploader); AuthenticateStub.authenticateStub(admin, admin, mediationLibUploadStub); adminServiceStub = new MediationLibraryAdminServiceStub(cc, esbServer.getBackEndUrl() + MediationLibraryAdminService); AuthenticateStub.authenticateStub(admin, admin, adminServiceStub); String repoLocation = null; if (System.getProperty(os.name).toLowerCase().contains(windows)) { repoLocation = System.getProperty(connector_repo).replace(/, \\); } else { repoLocation = System.getProperty(connector_repo).replace(/, /); } proxyAdmin = new ProxyServiceAdminClient(esbServer.getBackEndUrl(), esbServer.getSessionCookie()); String eventbriteConnectorFileName = CONNECTOR_NAME + .zip; ConnectorIntegrationUtil.uploadConnector(repoLocation, mediationLibUploadStub, eventbriteConnectorFileName); log.info(Sleeping for + 1 / 1000 + seconds while waiting for synapse import); Thread.sleep(1); adminServiceStub.updateStatus({org.wso2.carbon.connector} + CONNECTOR_NAME, CONNECTOR_NAME, org.wso2.carbon.connector, enabled); Properties eventbriteConnectorProperties = ConnectorIntegrationUtil.getConnectorConfigProperties(CONNECTOR_NAME); pathToProxiesDirectory = repoLocation + eventbriteConnectorProperties.getProperty(proxyDirectoryRelativePath); pathToRequestsDirectory = repoLocation + eventbriteConnectorProperties.getProperty(requestDirectoryRelativePath); } @Override protected void cleanup() { axis2Client.destroy(); } /** * Negative test case for getAnAlbumMetadata method. */ @Test(groups = { wso2.esb }, description = event_brite{getuserdetails} integration test with negative case.) public void testgetuserdetails() throws Exception { String jsonRequestFilePath = pathToRequestsDirectory + getuserdetails.txt; String methodName = getuserdetails; final String jsonString = ConnectorIntegrationUtil.getFileContent(jsonRequestFilePath); final String proxyFilePath = file:/// + pathToProxiesDirectory + methodName + .xml; proxyAdmin.addProxyService(new DataHandler(new URL(proxyFilePath))); System.out.println(jsonString); //JSONObject jsonResponse; //String modifiedJsonString = String.format(jsonString, //eventbriteConnectorProperties.getProperty(userId)); JSONObject jsonResponse; try { jsonResponse = ConnectorIntegrationUtil.sendRequest(getProxyServiceURL(methodName), jsonString); System.out.println(*@@@*---); //System.out.println(jsonResponse); Assert.assertTrue(jsonResponse.has(emails)); } finally { proxyAdmin.deleteProxy(methodName); } } On Fri, Sep 12, 2014 at 12:03 PM, Waruna Perera [hidden email] http://user/SendEmail.jtp?type=nodenode=102858i=0 wrote: Hi, Can you share the test case code? On Fri, Sep 12, 2014 at 11:54 AM, Elilmatha Sivanesan [hidden email] http://user/SendEmail.jtp?type=nodenode=102858i=1 wrote: When we run our
[Dev] Code Review notes - Email Monitor - Jaggery App
Hi all, A code review was organized to review the jaggery app written as front end of the email monitoring system that was created as the fast track training project. Following are the notes taken in the Code Review - Email Monitor - Jaggery App. Date - 2014-09-12 Participants- Subash,Eranda,Pulasthi,Danesh,Denuwanthi,Heshani,Suho,SameeraM,Ruchira Notes - - Move the logic in landing page, for retrieving the queries to a js file - The utility.jag should be renamed to a utility.js - You can use a single method which checks for the presence of parameters in a json object - The error message is found in the jxHR object - Use the request.getAllParameters() instead of getting parameters individually -There is no need to stringify the json object before printing it - The file reading should happen inside a try,catch and finally - The location must be tracked when performing the login - Put license headers for each page - Put copyright details for each page - Code needs to be formatted Please add any thing I've missed. Thank you, SameeraK. -- *Sameera Kannangara* Software Engineer Platform TG; WSO2 Inc. http://wso2.com Contact: phone: +94719541577 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Please merge pull request for BAM tests-ui-integration module for running UI tests
Hi BAM Team, Please merge the pull request [1] which contains a new tests-ui-integration module together with a few additional modules necessary for running UI tests. [1] https://github.com/wso2-dev/product-bam/pull/3 Regards -- Dimuthu De Lanerolle Software Engineer WSO2 Inc. lean . enterprise . middlewear. http://wso2.com/ Tel. : +94 11 2145345 Fax : +94 11 2145300 email : dimut...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] {chunk-13 packs}
Hi Ratha, Even with new Hazelcast upgrade (hazelcast_3.0.1.wso2v1.jar ), still observe following error when nodes join to cluster. TID: [0] [ELB] [2014-09-12 04:26:40,456] ERROR {com.hazelcast.spi.OperationService} - [10.0.3.25]:4600 [apim.gw.171] [unknown] java.io.UTFDataFormatException: malformed input around byte 9 {com.hazelcast.spi.OperationService} com.hazelcast.nio.serialization.HazelcastSerializationException: java.io.UTFDataFormatException: malformed input around byte 9 at com.hazelcast.nio.serialization.SerializationServiceImpl.handleException(SerializationServiceImpl.java:298) at com.hazelcast.nio.serialization.SerializationServiceImpl.toObject(SerializationServiceImpl.java:227) at com.hazelcast.spi.impl.NodeEngineImpl.toObject(NodeEngineImpl.java:156) at com.hazelcast.spi.impl.BasicOperationService.processPacket(BasicOperationService.java:295) at com.hazelcast.spi.impl.BasicOperationService.access$400(BasicOperationService.java:102) at com.hazelcast.spi.impl.BasicOperationService$BasicOperationProcessorImpl.process(BasicOperationService.java:756) at com.hazelcast.spi.impl.BasicOperationScheduler$ProcessTask.run(BasicOperationScheduler.java:186) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) at com.hazelcast.util.executor.PoolExecutorThreadFactory$ManagedThread.run(PoolExecutorThreadFactory.java:59) Caused by: java.io.UTFDataFormatException: malformed input around byte 9 at com.hazelcast.nio.UTFEncoderDecoder.readShortUTF(UTFEncoderDecoder.java:202) at com.hazelcast.nio.UTFEncoderDecoder.readUTF0(UTFEncoderDecoder.java:138) at com.hazelcast.nio.UTFEncoderDecoder.readUTF(UTFEncoderDecoder.java:59) at com.hazelcast.nio.serialization.ByteArrayObjectDataInput.readUTF(ByteArrayObjectDataInput.java:429) at com.hazelcast.spi.Operation.readData(Operation.java:296) at com.hazelcast.nio.serialization.DataSerializer.read(DataSerializer.java:105) at com.hazelcast.nio.serialization.DataSerializer.read(DataSerializer.java:36) at com.hazelcast.nio.serialization.StreamSerializerAdapter.read(StreamSerializerAdapter.java:59) at com.hazelcast.nio.serialization.SerializationServiceImpl.toObject(SerializationServiceImpl.java:221) ... 9 more Regards, Pavithra On Fri, Sep 12, 2014 at 11:34 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote: We see some blocking L1s, will be able to fix by EoD. Hopefully you can get pack tomorrow.. On 12 September 2014 11:10, Pavithra Madurangi pavit...@wso2.com wrote: Hi Ratha, When will we get the new 1.8.0 pack? Regards, Pavithra On Tue, Sep 9, 2014 at 12:48 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi Pavithra.. I'll chk this in new build Thanks On 9 September 2014 12:29, Pavithra Madurangi pavit...@wso2.com wrote: Hi Ratha, With the p2 repo found at [1], I observed the exact issue reported at [2] when IS is configured as key manager. I know that we observed that issue in 3rd September packs [3] and it's fixed in latest build (found at [1]) . But can see it when IS is acting as key manager. So can you please check whether p2 repo is updated and correct. [1] https://svn.wso2.org/repos/wso2/scratch/chunk13-release/04-09-2014/p2-repo/ [2] https://wso2.org/jira/browse/APIMANAGER-2803 [3] https://svn.wso2.org/repos/wso2/scratch/chunk13-release/03-09-2014/ Regards, Pavithra On Fri, Sep 5, 2014 at 10:33 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi Evanthika, Use this packs fro testing; https://svn.wso2.org/repos/wso2/scratch/chunk13-release/04-09-2014/ Thanks. -- -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Pavithra Madurangi* Associate Technical Lead - QA. WSO2 Inc.: http://wso2.com/ Mobile: +94777207357 / +94773814110 -- -Ratha -- *Pavithra Madurangi* Associate Technical Lead - QA. WSO2 Inc.: http://wso2.com/ Mobile: +94777207357 / +94773814110 -- -Ratha -- *Pavithra Madurangi* Associate Technical Lead - QA. WSO2 Inc.: http://wso2.com/ Mobile: +94777207357 / +94773814110 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please merge pull request for BAM tests-ui-integration module for running UI tests
Done. Cheers, Anjana. On Fri, Sep 12, 2014 at 2:17 PM, Dimuthu De Lanerolle dimut...@wso2.com wrote: Hi BAM Team, Please merge the pull request [1] which contains a new tests-ui-integration module together with a few additional modules necessary for running UI tests. [1] https://github.com/wso2-dev/product-bam/pull/3 Regards -- Dimuthu De Lanerolle Software Engineer WSO2 Inc. lean . enterprise . middlewear. http://wso2.com/ Tel. : +94 11 2145345 Fax : +94 11 2145300 email : dimut...@wso2.com -- *Anjana Fernando* Senior Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Server startup issues due to resent changes in org.wso2.carbon.webapp.mgt
Hi There resent CEP packs are failing to start due to some changes in org.wso2.carbon.webapp.mgt.* Following is the error log at startup. java.lang.NullPointerException at org.wso2.carbon.webapp.mgt.loader.ClassloadingContextBuilder.populateDelegatedEnvironments(ClassloadingContextBuilder.java:211) at org.wso2.carbon.webapp.mgt.loader.ClassloadingContextBuilder.populateEnvironments(ClassloadingContextBuilder.java:194) at org.wso2.carbon.webapp.mgt.loader.ClassloadingContextBuilder.buildSystemConfig(ClassloadingContextBuilder.java:64) at org.wso2.carbon.webapp.mgt.loader.WebappClassloadingContext.clinit(WebappClassloadingContext.java:56) at org.wso2.carbon.webapp.mgt.loader.ClassloadingContextBuilder.buildClassloadingContext(ClassloadingContextBuilder.java:77) at org.wso2.carbon.webapp.mgt.loader.CarbonWebappLoader.startInternal(CarbonWebappLoader.java:45) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5332) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:326) at org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:189) at org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleWebappDeployment(TomcatGenericWebappsDeployer.java:251) at org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleExplodedWebappDeployment(TomcatGenericWebappsDeployer.java:240) at org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleHotDeployment(TomcatGenericWebappsDeployer.java:166) at org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.deploy(TomcatGenericWebappsDeployer.java:133) at org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.deployThisWebApp(AbstractWebappDeployer.java:140) at org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.deploy(AbstractWebappDeployer.java:90) at org.wso2.carbon.webapp.deployer.WebappDeployer.deploy(WebappDeployer.java:42) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:135) at org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:464) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398) at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219) at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at
[Dev] Invitation: BPMN Explorer UI review @ Mon Sep 15, 2014 11am - 12pm (am...@wso2.com)
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20140915T053000Z DTEND:20140915T063000Z DTSTAMP:20140912T091121Z ORGANIZER;CN=Amal Gunatilake:mailto:am...@wso2.com UID:u2gblkjqb3jor9e6hrr712e...@google.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Chathura Ekanayake;X-NUM-GUESTS=0:mailto:chath...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE ;CN=am...@wso2.com;X-NUM-GUESTS=0:mailto:am...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Chanaka Jayasena;X-NUM-GUESTS=0:mailto:chan...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Thilini Ishaka;X-NUM-GUESTS=0:mailto:thil...@wso2.com ATTENDEE;CUTYPE=RESOURCE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TR UE;CN=LK 1st Floor Meeting Room;X-NUM-GUESTS=0:mailto:wso2.com_2d3833373537 363432333...@resource.calendar.google.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=Firzhan Naqash;X-NUM-GUESTS=0:mailto:firz...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Milinda Perera;X-NUM-GUESTS=0:mailto:milin...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Waruna Jayaweera;X-NUM-GUESTS=0:mailto:waru...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Nandika Jayawardana;X-NUM-GUESTS=0:mailto:nand...@wso2.com CREATED:20140912T064942Z DESCRIPTION:BPMN Explorer UI review.\nView your event at https://www.google .com/calendar/event?action=VIEWeid=dTJnYmxranFiM2pvcjllNmhycjcxMmU1N2MgZGV 2QHdzbzIub3Jntok=MTQjYW1hbGdAd3NvMi5jb21iMzZhN2UyNGU1Njk1ZjU2MzVhMTFkNTM1M jIwMDhmY2Y3OWY2ZGQ5ctz=Asia/Colombohl=en. LAST-MODIFIED:20140912T091121Z LOCATION:LK 1st Floor Meeting Room SEQUENCE:0 STATUS:CONFIRMED SUMMARY:BPMN Explorer UI review 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] [TS] Git-repo wso2-dev/product-ts server start-up error
Thanks Anjana. On Fri, Sep 12, 2014 at 12:22 PM, Anjana Fernando anj...@wso2.com wrote: Hi, Done. Cheers, Anjana. On Fri, Sep 12, 2014 at 10:54 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi Anjana, Can you review and merge [1] as well to fix https://wso2.org/jira/browse/TS-7 ? [1] https://github.com/wso2-dev/product-ts/pull/1 Thanks. /Gayashan On Thu, Sep 11, 2014 at 4:30 PM, Dimuthu De Lanerolle dimut...@wso2.com wrote: Thnx Gayashan. On Thu, Sep 11, 2014 at 3:57 PM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi Dimuthu, I also encountered this error sometime back and created the JIRA below and sent the PR with the fix. https://wso2.org/jira/browse/TS-7 Hope this helps. Thanks. /Gayashan On Thu, Sep 11, 2014 at 3:45 PM, Dimuthu De Lanerolle dimut...@wso2.com wrote: Hi, I am experiencing the below error message once tried to start the TS-server instance of Git-repo wso2-dev/product-ts build. Please fix. dimuthu@dimuthu-ThinkPad-T530:~/Desktop/Products/TS/product-ts/modules/distribution/target/wso2ts-1.2.0-SNAPSHOT/bin$ sh wso2server.sh JAVA_HOME environment variable is set to /home/dimuthu/software/jdk1.6.0_24 CARBON_HOME environment variable is set to /home/dimuthu/Desktop/Products/TS-ORIGINAL/product-ts/modules/distribution/target/wso2ts-1.2.0-SNAPSHOT java.lang.ClassNotFoundException: org.wso2.carbon.server.Main at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:59) at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:45) Regards -- Dimuthu De Lanerolle Software Engineer WSO2 Inc. lean . enterprise . middlewear. http://wso2.com/ Tel. : +94 11 2145345 Fax : +94 11 2145300 email : dimut...@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 -- Dimuthu De Lanerolle Software Engineer WSO2 Inc. lean . enterprise . middlewear. http://wso2.com/ Tel. : +94 11 2145345 Fax : +94 11 2145300 email : dimut...@wso2.com -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com -- *Anjana Fernando* Senior Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware -- *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
Re: [Dev] [DSS] Datasource deployer
Thanks Manoj. Anjana, Can you please review this pull request? Thanks, Sameera. On Thu, Sep 11, 2014 at 9:22 PM, Manoj Kumara ma...@wso2.com wrote: Hi Team, Hence this is a new feature this has some API additions. Please review this and commit. Thanks Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Thu, Sep 11, 2014 at 3:17 AM, Rajith Vitharana raji...@wso2.com wrote: Hi, please find the pull request for the carbon4-kernal git repository for above changes in [1] [1] - https://github.com/wso2-dev/carbon4-kernel/pull/95 Thanks, On Tue, Jul 29, 2014 at 6:12 PM, Rajith Vitharana raji...@wso2.com wrote: Hi, I have attached the new diff file for the data source deployer feature. I have added the password encryption support so the datasource xml files can have encrypted passwords. Sample car file is also attached here with. Please review and commit. Thanks, On Mon, Jul 28, 2014 at 11:48 AM, Rajith Vitharana raji...@wso2.com wrote: Hi Jasintha,Sohani, Thanks for the quick response. The type defined in artifact.xml should be datasource/datasource for it to be picked up by the datasource deployment handler and get deployed. Below is a sample ?xml version=1.0 encoding=UTF-8? artifact name=DataSourceA version=1.0.0 type=datasource/datasource serverRole=ApplicationServer fileDataSource.xml/file /artifact Thanks, On Mon, Jul 28, 2014 at 11:37 AM, Sohani Weerasinghe soh...@wso2.com wrote: Hi, I am working on implementing the Datasource editor in DevS. Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Mon, Jul 28, 2014 at 11:04 AM, Jasintha Dasanayake jasin...@wso2.com wrote: Hi We can provide a single page form editor in DevS to edit this config Thanks and regards /Jasintha On Mon, Jul 28, 2014 at 10:36 AM, Rajith Vitharana raji...@wso2.com wrote: Hi Kasun, Yes these datasources only provides a read-only view. and they won't be saved in the registry. other than that they are same as the datasources which we can create using UI. Hi Nirmal, noted. I'll try out encryption of passwords and to get DevS support Thanks, On Mon, Jul 28, 2014 at 10:28 AM, Nirmal Fernando nir...@wso2.com wrote: Thanks Rajith. Seems like for this feature, we need DevS support (data source resource type) before deployed in a production environment. Also, this feature should ideally support encryption of passwords. On Mon, Jul 28, 2014 at 10:21 AM, Rajith Vitharana raji...@wso2.com wrote: Hi Nirmal, This is a Appdeployment handler which will pickup datasources deployed as carbon application and register them as datasources. since datasource xml file is already in car app this feature wont save it to the registry to avoid duplication. datasources deployed as car apps can't be edited using UI. Editing them should be done by redeploying the car app. Thanks, On Mon, Jul 28, 2014 at 9:49 AM, Nirmal Fernando nir...@wso2.com wrote: Hi Rajith, Can you please also mention what new improvements this patch brings? On Mon, Jul 28, 2014 at 9:39 AM, Rajith Vitharana raji...@wso2.com wrote: Hi, Attached here with the diff for datasource deployer feature for org.wso2.carbon.ndatasource.core and a sample car file. please review and commit Thanks, -- 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 -- Thanks regards, Nirmal Senior Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Rajith Vitharana Software Engineer, WSO2 Inc. : wso2.com Mobile : +94715883223 Blog : http://lankavitharana.blogspot.com/ -- Thanks regards, Nirmal Senior Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Rajith Vitharana Software Engineer, WSO2 Inc. : wso2.com Mobile : +94715883223 Blog : http://lankavitharana.blogspot.com/ -- *Jasintha Dasanayake * *Senior Software EngineerWSO2 Inc. | http://wso2.com http://wso2.com/ lean . enterprise . middleware* *mobile :- 0711368118 0711368118 * ___ 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/ -- Rajith Vitharana Software Engineer, WSO2 Inc. : wso2.com Mobile : +94715883223 Blog : http://lankavitharana.blogspot.com/ -- Rajith Vitharana
Re: [Dev] [DSS] Datasource deployer
Hi Sameera, Sure. I reviewed an earlier version of the code, then I told to do some changes. Will check the latest changes. Cheers, Anjana. On Fri, Sep 12, 2014 at 2:58 PM, Sameera Jayasoma same...@wso2.com wrote: Thanks Manoj. Anjana, Can you please review this pull request? Thanks, Sameera. On Thu, Sep 11, 2014 at 9:22 PM, Manoj Kumara ma...@wso2.com wrote: Hi Team, Hence this is a new feature this has some API additions. Please review this and commit. Thanks Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Thu, Sep 11, 2014 at 3:17 AM, Rajith Vitharana raji...@wso2.com wrote: Hi, please find the pull request for the carbon4-kernal git repository for above changes in [1] [1] - https://github.com/wso2-dev/carbon4-kernel/pull/95 Thanks, On Tue, Jul 29, 2014 at 6:12 PM, Rajith Vitharana raji...@wso2.com wrote: Hi, I have attached the new diff file for the data source deployer feature. I have added the password encryption support so the datasource xml files can have encrypted passwords. Sample car file is also attached here with. Please review and commit. Thanks, On Mon, Jul 28, 2014 at 11:48 AM, Rajith Vitharana raji...@wso2.com wrote: Hi Jasintha,Sohani, Thanks for the quick response. The type defined in artifact.xml should be datasource/datasource for it to be picked up by the datasource deployment handler and get deployed. Below is a sample ?xml version=1.0 encoding=UTF-8? artifact name=DataSourceA version=1.0.0 type=datasource/datasource serverRole=ApplicationServer fileDataSource.xml/file /artifact Thanks, On Mon, Jul 28, 2014 at 11:37 AM, Sohani Weerasinghe soh...@wso2.com wrote: Hi, I am working on implementing the Datasource editor in DevS. Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Mon, Jul 28, 2014 at 11:04 AM, Jasintha Dasanayake jasin...@wso2.com wrote: Hi We can provide a single page form editor in DevS to edit this config Thanks and regards /Jasintha On Mon, Jul 28, 2014 at 10:36 AM, Rajith Vitharana raji...@wso2.com wrote: Hi Kasun, Yes these datasources only provides a read-only view. and they won't be saved in the registry. other than that they are same as the datasources which we can create using UI. Hi Nirmal, noted. I'll try out encryption of passwords and to get DevS support Thanks, On Mon, Jul 28, 2014 at 10:28 AM, Nirmal Fernando nir...@wso2.com wrote: Thanks Rajith. Seems like for this feature, we need DevS support (data source resource type) before deployed in a production environment. Also, this feature should ideally support encryption of passwords. On Mon, Jul 28, 2014 at 10:21 AM, Rajith Vitharana raji...@wso2.com wrote: Hi Nirmal, This is a Appdeployment handler which will pickup datasources deployed as carbon application and register them as datasources. since datasource xml file is already in car app this feature wont save it to the registry to avoid duplication. datasources deployed as car apps can't be edited using UI. Editing them should be done by redeploying the car app. Thanks, On Mon, Jul 28, 2014 at 9:49 AM, Nirmal Fernando nir...@wso2.com wrote: Hi Rajith, Can you please also mention what new improvements this patch brings? On Mon, Jul 28, 2014 at 9:39 AM, Rajith Vitharana raji...@wso2.com wrote: Hi, Attached here with the diff for datasource deployer feature for org.wso2.carbon.ndatasource.core and a sample car file. please review and commit Thanks, -- 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 -- Thanks regards, Nirmal Senior Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Rajith Vitharana Software Engineer, WSO2 Inc. : wso2.com Mobile : +94715883223 Blog : http://lankavitharana.blogspot.com/ -- Thanks regards, Nirmal Senior Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Rajith Vitharana Software Engineer, WSO2 Inc. : wso2.com Mobile : +94715883223 Blog : http://lankavitharana.blogspot.com/ -- *Jasintha Dasanayake * *Senior Software EngineerWSO2 Inc. | http://wso2.com http://wso2.com/ lean . enterprise . middleware* *mobile :- 0711368118 0711368118 * ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Rajith Vitharana Software Engineer, WSO2 Inc. : wso2.com Mobile :
Re: [Dev] Issue regarding APIM logout error from the api store
Had a chat with the team and removed the above solution. I modified the existing logout JavaScript function in site/themes/fancy/templates/user/login/js/login.js to take the current url as the redirect url. following is the modified one loginbox.logout = function () { jagg.post(/site/blocks/user/login/ajax/login.jag, {action:logout}, function (result) { if (result.error == false) { //window.location.href=?+urlPrefix; window.location.href=document.URL; } else { jagg.message({content:result.message,type:error}); } }, json); }; On Fri, Sep 12, 2014 at 12:41 PM, Chamila Adhikarinayake chami...@wso2.com wrote: Hi all, I'm working on a logout issue in the API Store mentioned in this jira[1]. This issue happens only when login out from the store after selecting an api first. Normally when an api is selected following request is done by adding api information as parameters. https://localhost:9443/store/apis/info?name=app1version=1provider=admin following is the request send when logout is clicked after selecting an api. https://localhost:9443/store/apis/info? The reason for the error page is that the page is unable to load the api information without the parameters. The solution I was planning to do is like following In pages/item-info.jag (where the request comes to), I store the last viewed api info into the session. So when a logout request comes without the parameters, I get them from the session and display the previously viewed api. It would be something like this //existing code assign name, version, provider from the request parameters if(name != null version != null provider != null) { session.put(LastSelectedAppName ,name); session.put(LastSelectedAppVersion ,version); session.put(LastSelectedAppProvider ,provider); } else { //assign values when they are not in the request name = session.get(LastSelectedAppName); version = session.get(LastSelectedAppVersion); provider = session.get(LastSelectedAppProvider); } Any Comments on this approach? [1] https://wso2.org/jira/browse/APIMANAGER-2828 Thanks, Chamila. -- Regards, Chamila Adhikarinayake Software Engineer WSO2, Inc. Mobile - +94712346437 Email - chami...@wso2.com -- Regards, Chamila Adhikarinayake Software Engineer WSO2, Inc. Mobile - +94712346437 Email - chami...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Commit to Kernal
Hi Johana, Can you review this patch? Do we need to need commit this patch to Carbon 4.2.0 branch also? Thanks, Sameera. On Thu, Sep 11, 2014 at 7:47 PM, Tharindu Edirisinghe tharin...@wso2.com wrote: Hi Kernal Team, Please apply the patch to resolve issue [1]. Pull request for the same is [2]. [1] https://wso2.org/jira/browse/IDENTITY-2711 [2]https://github.com/wso2-dev/carbon4-kernel/pull/96 -- Thanks Best Regards, Tharindu Edirisinghe Software Engineer *WSO2 Inc* *email : tharin...@wso2.com tharin...@wso2.com * *mobile : +94 775 181586* *www: :http://wso2.com http://wso2.com/ *lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Server startup issues due to resent changes in org.wso2.carbon.webapp.mgt
Hi Suho, You don't seem to have the latest webapp mgt bundle because the line numbers mentioned in the stack trace vs the latest code doesn't match. That being said, we do not need STRATOS_ROOT webapp anymore. Regards, KasunG On Fri, Sep 12, 2014 at 11:09 AM, Sriskandarajah Suhothayan s...@wso2.com wrote: Hi There resent CEP packs are failing to start due to some changes in org.wso2.carbon.webapp.mgt.* Following is the error log at startup. java.lang.NullPointerException at org.wso2.carbon.webapp.mgt.loader.ClassloadingContextBuilder.populateDelegatedEnvironments(ClassloadingContextBuilder.java:211) at org.wso2.carbon.webapp.mgt.loader.ClassloadingContextBuilder.populateEnvironments(ClassloadingContextBuilder.java:194) at org.wso2.carbon.webapp.mgt.loader.ClassloadingContextBuilder.buildSystemConfig(ClassloadingContextBuilder.java:64) at org.wso2.carbon.webapp.mgt.loader.WebappClassloadingContext.clinit(WebappClassloadingContext.java:56) at org.wso2.carbon.webapp.mgt.loader.ClassloadingContextBuilder.buildClassloadingContext(ClassloadingContextBuilder.java:77) at org.wso2.carbon.webapp.mgt.loader.CarbonWebappLoader.startInternal(CarbonWebappLoader.java:45) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5332) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:326) at org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:189) at org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleWebappDeployment(TomcatGenericWebappsDeployer.java:251) at org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleExplodedWebappDeployment(TomcatGenericWebappsDeployer.java:240) at org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleHotDeployment(TomcatGenericWebappsDeployer.java:166) at org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.deploy(TomcatGenericWebappsDeployer.java:133) at org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.deployThisWebApp(AbstractWebappDeployer.java:140) at org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.deploy(AbstractWebappDeployer.java:90) at org.wso2.carbon.webapp.deployer.WebappDeployer.deploy(WebappDeployer.java:42) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:135) at org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:464) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398) at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219) at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at
Re: [Dev] Graceful Restart is not working
On Fri, Sep 12, 2014 at 7:55 AM, Nipuni Perera nip...@wso2.com wrote: Hi, Please review and merge pull request[1] for the above null check. [1] https://github.com/wso2-dev/carbon-registry/pull/22 +1. That is summary of mail thread ;) -Ajith. Thanks, Nipuni On Wed, Sep 10, 2014 at 5:18 PM, Lasantha Fernando lasan...@wso2.com wrote: On 10 September 2014 16:55, Nipuni Perera nip...@wso2.com wrote: Hi Lasantha, I have compared AS 5.2.1 and AS 5.3.0-SNAPSHOT versions with osgi console enabled. I could see that the following 2 bundles are in unsatisfied state in 5.2.1 server while they are in active state in 5.3.0-SNAPSHOT. (AS does not use indexing feature hence does not has indexingConfiguration entry in registry.xml. ) Unsatisfiedorg.wso2.carbon.registry.indexing org.wso2.carbon.registry.indexing(bid=340) Unsatisfiedregistry.search.dscomponent org.wso2.carbon.registry.search(bid=347) When server is shutting down, services list in waitForServerTaskCompletion() in ServerManagement.java [1] (line 110) contains 2 services in 5.3.0-SNAPSHOT (RegistryCoreServiceComponent and IndexingServiceComponent) and in 5.2.1 pack list only one (RegistryCoreServiceComponent). The NPE occurs when shutting down the service IndexingServiceComponent in 5.3.0-SNAPSHOT. It seems that the unsatisfied bundles in earlier version is fixed in later version. Oh OK... I thought the swallowed NPE was somehow getting logged during a graceful restart, which is why I referenced the earlier thread. Seems the JIRA raised by you is for a different issue. As I debug I could see that in the normal startup this NPE is thrown but swallowed in 5.2.1. Will debug further and update the thread with the findings. Thanks for looking into this! [1] https://github.com/wso2-dev/carbon4-kernel/blob/master/core/org.wso2.carbon.core/src/main/java/org/wso2/carbon/core/ServerManagement.java Thanks, Nipuni On Wed, Sep 10, 2014 at 2:43 PM, Lasantha Fernando lasan...@wso2.com wrote: Hi Nipuni, Can you also verify if this code segment affects a normal startup as well (other than a graceful restart)? i.e. if u start with OSGi console, you can verify if registry.search.dscomponent service is satisfied or not. Then if you drill down the unsatisfied component, you will probably be able to find the NPE in the reasons listed for OSGi service being unsatisfied. I think that this NPE is thrown at normal startup as well, but somehow swallowed up when the bundle loading happens. I mean that was the case in the issue mentioned in the earlier thread. Thanks, Lasantha On 10 September 2014 14:26, Ajith Vitharana aji...@wso2.com wrote: Hi Nipuni, You need to do two things here, 1. If you are not using the registry search feature , then need to find the place that bundle going to include to the product. 2. You can do a null check and proceed in code.[ @Subash this is bug in registry code please fix.] -Ajith. On Wed, Sep 10, 2014 at 12:47 PM, Nipuni Perera nip...@wso2.com wrote: Hi, Adding null check can avoid the NPE exception but may not solve the issue properly. @Lasantha, I will check with GREG team and see if this can be solved with touchpoints. @Firzhan. I have gone through the discussion [AS] Error in shutting down the server : Cannot put transports into maintenance mode : NPE from RegistryConfigLoader. earlier and your findings, will check with GREG team. Thanks, Nipuni On Wed, Sep 10, 2014 at 11:44 AM, Firzhan Naqash firz...@wso2.com wrote: Hi All, We have already discussed this issue in the mail thread [Dev] [AS] Error in shutting down the server : Cannot put transports into maintenance mode : NPE from RegistryConfigLoader. Rather than checking the null point, I feel like we have to investigate why the registry's search feature bundle getting included to the products which are not using registry search feature ( BPS ). @Ajith:- You thoughts on this Regards, Firzhan On Wed, Sep 10, 2014 at 11:41 AM, Lasantha Fernando lasan...@wso2.com wrote: Hi, On 10 September 2014 10:19, Nipuni Perera nip...@wso2.com wrote: Hi, Yes. I can add a null check to indexingConfig element and continue only if the value is available (But it will add the whole method execution inside constructor RegistryConfigLoader() to an if block - line 75 to 150 of [1]). Is this preferable? public RegistryConfigLoader() { try { FileInputStream fileInputStream = new FileInputStream(getConfigFile()); StAXOMBuilder builder = new StAXOMBuilder( CarbonUtils.replaceSystemVariablesInXml(fileInputStream)); OMElement configElement = builder.getDocumentElement(); OMElement indexingConfig = configElement.getFirstChildWithName( new QName(indexingConfiguration)); if (indexingConfig != null) {
Re: [Dev] {chunk-13 packs}
Looks like, hazlecast is not bundled in kernel patch0009. Sameera checks that..So, what we have currently in the pack is older hazlecast library. Not the updated one. On 12 September 2014 14:19, Pavithra Madurangi pavit...@wso2.com wrote: Hi Ratha, Even with new Hazelcast upgrade (hazelcast_3.0.1.wso2v1.jar ), still observe following error when nodes join to cluster. TID: [0] [ELB] [2014-09-12 04:26:40,456] ERROR {com.hazelcast.spi.OperationService} - [10.0.3.25]:4600 [apim.gw.171] [unknown] java.io.UTFDataFormatException: malformed input around byte 9 {com.hazelcast.spi.OperationService} com.hazelcast.nio.serialization.HazelcastSerializationException: java.io.UTFDataFormatException: malformed input around byte 9 at com.hazelcast.nio.serialization.SerializationServiceImpl.handleException(SerializationServiceImpl.java:298) at com.hazelcast.nio.serialization.SerializationServiceImpl.toObject(SerializationServiceImpl.java:227) at com.hazelcast.spi.impl.NodeEngineImpl.toObject(NodeEngineImpl.java:156) at com.hazelcast.spi.impl.BasicOperationService.processPacket(BasicOperationService.java:295) at com.hazelcast.spi.impl.BasicOperationService.access$400(BasicOperationService.java:102) at com.hazelcast.spi.impl.BasicOperationService$BasicOperationProcessorImpl.process(BasicOperationService.java:756) at com.hazelcast.spi.impl.BasicOperationScheduler$ProcessTask.run(BasicOperationScheduler.java:186) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) at com.hazelcast.util.executor.PoolExecutorThreadFactory$ManagedThread.run(PoolExecutorThreadFactory.java:59) Caused by: java.io.UTFDataFormatException: malformed input around byte 9 at com.hazelcast.nio.UTFEncoderDecoder.readShortUTF(UTFEncoderDecoder.java:202) at com.hazelcast.nio.UTFEncoderDecoder.readUTF0(UTFEncoderDecoder.java:138) at com.hazelcast.nio.UTFEncoderDecoder.readUTF(UTFEncoderDecoder.java:59) at com.hazelcast.nio.serialization.ByteArrayObjectDataInput.readUTF(ByteArrayObjectDataInput.java:429) at com.hazelcast.spi.Operation.readData(Operation.java:296) at com.hazelcast.nio.serialization.DataSerializer.read(DataSerializer.java:105) at com.hazelcast.nio.serialization.DataSerializer.read(DataSerializer.java:36) at com.hazelcast.nio.serialization.StreamSerializerAdapter.read(StreamSerializerAdapter.java:59) at com.hazelcast.nio.serialization.SerializationServiceImpl.toObject(SerializationServiceImpl.java:221) ... 9 more Regards, Pavithra On Fri, Sep 12, 2014 at 11:34 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote: We see some blocking L1s, will be able to fix by EoD. Hopefully you can get pack tomorrow.. On 12 September 2014 11:10, Pavithra Madurangi pavit...@wso2.com wrote: Hi Ratha, When will we get the new 1.8.0 pack? Regards, Pavithra On Tue, Sep 9, 2014 at 12:48 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi Pavithra.. I'll chk this in new build Thanks On 9 September 2014 12:29, Pavithra Madurangi pavit...@wso2.com wrote: Hi Ratha, With the p2 repo found at [1], I observed the exact issue reported at [2] when IS is configured as key manager. I know that we observed that issue in 3rd September packs [3] and it's fixed in latest build (found at [1]) . But can see it when IS is acting as key manager. So can you please check whether p2 repo is updated and correct. [1] https://svn.wso2.org/repos/wso2/scratch/chunk13-release/04-09-2014/p2-repo/ [2] https://wso2.org/jira/browse/APIMANAGER-2803 [3] https://svn.wso2.org/repos/wso2/scratch/chunk13-release/03-09-2014/ Regards, Pavithra On Fri, Sep 5, 2014 at 10:33 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi Evanthika, Use this packs fro testing; https://svn.wso2.org/repos/wso2/scratch/chunk13-release/04-09-2014/ Thanks. -- -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Pavithra Madurangi* Associate Technical Lead - QA. WSO2 Inc.: http://wso2.com/ Mobile: +94777207357 / +94773814110 -- -Ratha -- *Pavithra Madurangi* Associate Technical Lead - QA. WSO2 Inc.: http://wso2.com/ Mobile: +94777207357 / +94773814110 -- -Ratha -- *Pavithra Madurangi* Associate Technical Lead - QA. WSO2 Inc.: http://wso2.com/ Mobile: +94777207357 / +94773814110 -- -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Server startup issues due to resent changes in org.wso2.carbon.webapp.mgt
Hi, Fixed the issue, This issue is due to an outdated webapp-classloading-environments.xml file Thanks Suho On Fri, Sep 12, 2014 at 2:54 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Suho, You don't seem to have the latest webapp mgt bundle because the line numbers mentioned in the stack trace vs the latest code doesn't match. That being said, we do not need STRATOS_ROOT webapp anymore. Regards, KasunG On Fri, Sep 12, 2014 at 11:09 AM, Sriskandarajah Suhothayan s...@wso2.com wrote: Hi There resent CEP packs are failing to start due to some changes in org.wso2.carbon.webapp.mgt.* Following is the error log at startup. java.lang.NullPointerException at org.wso2.carbon.webapp.mgt.loader.ClassloadingContextBuilder.populateDelegatedEnvironments(ClassloadingContextBuilder.java:211) at org.wso2.carbon.webapp.mgt.loader.ClassloadingContextBuilder.populateEnvironments(ClassloadingContextBuilder.java:194) at org.wso2.carbon.webapp.mgt.loader.ClassloadingContextBuilder.buildSystemConfig(ClassloadingContextBuilder.java:64) at org.wso2.carbon.webapp.mgt.loader.WebappClassloadingContext.clinit(WebappClassloadingContext.java:56) at org.wso2.carbon.webapp.mgt.loader.ClassloadingContextBuilder.buildClassloadingContext(ClassloadingContextBuilder.java:77) at org.wso2.carbon.webapp.mgt.loader.CarbonWebappLoader.startInternal(CarbonWebappLoader.java:45) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5332) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:326) at org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:189) at org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleWebappDeployment(TomcatGenericWebappsDeployer.java:251) at org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleExplodedWebappDeployment(TomcatGenericWebappsDeployer.java:240) at org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleHotDeployment(TomcatGenericWebappsDeployer.java:166) at org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.deploy(TomcatGenericWebappsDeployer.java:133) at org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.deployThisWebApp(AbstractWebappDeployer.java:140) at org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.deploy(AbstractWebappDeployer.java:90) at org.wso2.carbon.webapp.deployer.WebappDeployer.deploy(WebappDeployer.java:42) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:135) at org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:464) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398) at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219) at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at
Re: [Dev] Pull request for https://wso2.org/jira/browse/CARBON-14931
Hi Sameera, This fix needs to be applied to the patch 0009 of the kernel too. Thank you, SameeraK. On Wed, Sep 10, 2014 at 6:21 PM, Aruna Karunarathna ar...@wso2.com wrote: Thanks SameeraK. Regards, Aruna On Wed, Sep 10, 2014 at 5:59 PM, Sameera Kannangara samee...@wso2.com wrote: Hi Aruna, Please find pull request at [1]. Thank you, SameeraK. [1] https://github.com/wso2-dev/carbon4-kernel/pull/94 On Wed, Sep 10, 2014 at 3:43 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi SameeraK, Can you send a pull request for the above mentioned ticket?. Regards, Aruna -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- *Sameera Kannangara* Software Engineer Platform TG; WSO2 Inc. http://wso2.com Contact: phone: +94719541577 Lean . Enterprise . Middleware -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- *Sameera Kannangara* Software Engineer Platform TG; WSO2 Inc. http://wso2.com Contact: phone: +94719541577 Lean . Enterprise . Middleware Index: src/main/java/org/wso2/carbon/registry/core/jdbc/Repository.java === --- src/main/java/org/wso2/carbon/registry/core/jdbc/Repository.java (revision 206446) +++ src/main/java/org/wso2/carbon/registry/core/jdbc/Repository.java (working copy) @@ -1256,7 +1256,12 @@ } } } -DumpReader dumpReader = new DumpReader(reader); +DumpReader dumpReader = new DumpReader(reader){ +@Override +public void close() throws IOException { +// close the inner stream on finally block +} +}; XMLStreamReader xmlReader; try { xmlReader = XMLInputFactory.newInstance().createXMLStreamReader(dumpReader); @@ -1271,6 +1276,14 @@ String msg = Failed to serialize the dumped element at + path + .; log.error(msg, e); throw new RegistryException(msg, e); +} finally{ +if(reader!=null){ +try { +reader.close(); +} catch (IOException e) { +//ignored +} +} } } ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Commit to Kernal
Hi Sameera, Patch looks OK. We need to commit this to 4.2.0 as well. Thanks, Johann. On Fri, Sep 12, 2014 at 3:04 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Johana, Can you review this patch? Do we need to need commit this patch to Carbon 4.2.0 branch also? Thanks, Sameera. On Thu, Sep 11, 2014 at 7:47 PM, Tharindu Edirisinghe tharin...@wso2.com wrote: Hi Kernal Team, Please apply the patch to resolve issue [1]. Pull request for the same is [2]. [1] https://wso2.org/jira/browse/IDENTITY-2711 [2]https://github.com/wso2-dev/carbon4-kernel/pull/96 -- Thanks Best Regards, Tharindu Edirisinghe Software Engineer *WSO2 Inc* *email : tharin...@wso2.com tharin...@wso2.com * *mobile : +94 775 181586* *www: :http://wso2.com http://wso2.com/ *lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- Thanks Regards, *Johann Dilantha Nallathamby* Associate Technical Lead Product Lead of WSO2 Identity Server Integration Technologies Team WSO2, Inc. lean.enterprise.middleware Mobile - *+9476950* Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [AF] Usage of cloud auth
Hi all Currently I am working on a WSO2 cloud based authenticator and I am changing the AF references to mutual authenticator to this new authenticator. While working on this I found out that there is a util method (setMutualAuthHeader) in the class AppFactoryUtil to set mutual auth headers. But still there are places in the code that instead of using the util, have done the same thing in the code it self. I have written a new util method in same place to set cloud auth headers (setCloudAuthHeader), I will change the current places where we have set the mutual auth headers to use util methods. Please use this util method to set headers when you want to add cloud authentication to some place in AF. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] way for develop CRUD Form with JSP and data services server
Hi all, As we know we can easily call soap services using few lines of jaggery code. also jaggery is very much friendly for developers(and get addicted to it :)). But if we use jsp as one of our application interface, now AFAIK we have to generate stubs for each call. And it is a difficult work. My question is , Is there a way(or best practice or a framework) to call soap services with jsp(like jaggery). ??? Regards, Akila This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] missing jars/files in nexus
hi Darshana; Can you commit these files o nexus? - org.wso2.carbon:tools-saml-feature:pom:4.2.0 - org.wso2.carbon:forum-feature:pom:4.2.0 Thanks. -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Please merge pull request for AM tests-ui-integration module for running UI tests
Hi AM Team, Please merge the pull request [1] which contains a new tests-ui-integration module together with a few additional modules necessary for running UI tests. [1] https://github.com/wso2-dev/product-apim/pull/3 Regards -- Dimuthu De Lanerolle Software Engineer WSO2 Inc. lean . enterprise . middlewear. http://wso2.com/ Tel. : +94 11 2145345 Fax : +94 11 2145300 email : dimut...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] way for develop CRUD Form with JSP and data services server
Hi Akila, Generating Stub and using is not a difficult task as there are many stub generators available. To call soap services, what you need is a soap client which may use stubs to call required services and display required data in jsp forms. You can find [1] and [2] as useful resources. [1]- https://axis.apache.org/axis2/java/core/docs/userguide-creatingclients.html [2]- http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/ Thanks, Harsha On Fri, Sep 12, 2014 at 5:34 PM, Akila Nimantha [IT/EKO/LOITS] aki...@lolctech.com wrote: Hi all, As we know we can easily call soap services using few lines of jaggery code. also jaggery is very much friendly for developers(and get addicted to it J). But if we use jsp as one of our application interface, now AFAIK we have to generate stubs for each call. And it is a difficult work. My question is , Is there a way(or best practice or a framework) to call soap services with jsp(like jaggery). ??? Regards, Akila This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you. ___ 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
Re: [Dev] missing jars/files in nexus
We need these changes ASAP as we need to release our BAM 2.5.0 Alpha with a clean repo. :) *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Fri, Sep 12, 2014 at 6:35 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: hi Darshana; Can you commit these files o nexus? - org.wso2.carbon:tools-saml-feature:pom:4.2.0 - org.wso2.carbon:forum-feature:pom:4.2.0 Thanks. -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Kernel patch
Hi Carbon team, Please apply the attached patch to Carbon Kernel patch0009 which will pack the new Hazelcast dependency version 3.2.3 with the patch. Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda Index: distribution/bin.xml === --- distribution/bin.xml(revision 207103) +++ distribution/bin.xml(working copy) @@ -120,6 +120,12 @@ destNameaxis2-transport-jms_1.1.0.wso2v9.jar/destName fileMode644/fileMode /file + file + source../orbit/hazelcast/3.0.1.wso2v1/target/hazelcast-3.0.1.wso2v1.jar/source + outputDirectoryWSO2-CARBON-PATCH-4.2.0-0009/patch0009/outputDirectory +destNamehazelcast_3.0.1.wso2v1.jar/destName +fileMode644/fileMode +/file !--config files-- file ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Please merge pull request to BPS which introduce UI test module
Please merge pull request to BPS which introduce UI test module https://github.com/wso2-dev/product-bps/pull/4 Thanks, Krishantha. -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 ESB 4.8.1 HTTP Patch support
Hi all, The above problem HTTP Patch support can be resolved in WSO2 ESB 4.8.1 by applying patches synapse-core_2.1.2.wso2v4.jar [1] and synapse-nhttp-transport_2.1.2.wso2v4.jar [2] [1] https://www.dropbox.com/sh/ma5faphwjv4f5zm/AABdj4MMwAU-9FvSEmmrP0Ita/synapse-pathces/synapse-core_2.1.2.wso2v4.jar [2] https://www.dropbox.com/sh/ma5faphwjv4f5zm/AACO_tVmFHNX0F2yQGXVEX7Aa/synapse-pathces/synapse-nhttp-transport_2.1.2.wso2v4.jar On Thu, Sep 11, 2014 at 11:36 AM, Tharik Kanaka tha...@wso2.com wrote: Hi all, I got request POST on wire situation when i am trying call a PATCH operation to codeplex API from my esb connector. Then I came to know that 4.8.1 does not support for http patch and there is a patch for that from following mail thread [1]. [1] http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-HTTP-Patch-support-by-ESB-4-8-1-td95288.html So i applied following mentioned patches to current ESB 4.8.1 but still it sends POST instead of PATCH. Is there any more work around for that i should follow? synapse-core_2.1.2.wso2v4 synapse-nhttp-transport_2.1.2.wso2v4 synapse-extensions_2.1.2.wso2v4 org.wso2.carbon.mediation.library_4.2.0 -- *Tharik Kanaka* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 77 1616060 | Work: +94 112145345 Email: tha...@wso2.com | Web: www.wso2.com -- *Tharik Kanaka* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 77 1616060 | Work: +94 112145345 Email: tha...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] missing jars/files in nexus
According to [1] which came in a clean m2 repo, it seems artifact org.wso2.carbon:application-mgt-feature:pom:4.2.0 should also added to the nexus repo. [1] [ERROR] Failed to execute goal on project org.wso2.carbon.identity.application.mgt.feature: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.identity.application.mgt.feature:pom:4.2.1: Failed to collect dependencies for [org.wso2.carbon:org.wso2.carbon.identity.application.mgt.server.feature:zip:4.2.1 (compile), org.wso2.carbon:org.wso2.carbon.identity.application.mgt.ui.feature:zip:4.2.0 (compile)]: Failed to read artifact descriptor for org.wso2.carbon:org.wso2.carbon.identity.application.mgt.ui.feature:zip:4.2.0: Could not find artifact org.wso2.carbon:application-mgt-feature:pom:4.2.0 in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) - [Help 1] *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Fri, Sep 12, 2014 at 6:43 PM, Maninda Edirisooriya mani...@wso2.com wrote: We need these changes ASAP as we need to release our BAM 2.5.0 Alpha with a clean repo. :) *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Fri, Sep 12, 2014 at 6:35 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: hi Darshana; Can you commit these files o nexus? - org.wso2.carbon:tools-saml-feature:pom:4.2.0 - org.wso2.carbon:forum-feature:pom:4.2.0 Thanks. -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Problem using a cassandra datasource
Hi, I'm using the org.wso2.carbon.cassandra.datareader (4.3.0-SNAPSHOT) to expose a cassandra datasource through jndi. However the following exception occurs while loading: [2014-09-12 17:47:13,720] ERROR - {DataSourceRepository} A data source reader cannot be found for the type 'CASSANDRA' org.wso2.carbon.ndatasource.common.DataSourceException: A data source reader cannot be found for the type 'CASSANDRA' at org.wso2.carbon.ndatasource.core.DataSourceRepository.createDataSourceObject(DataSourceRepository.java:196) at org.wso2.carbon.ndatasource.core.DataSourceRepository.registerDataSource(DataSourceRepository.java:359) at org.wso2.carbon.ndatasource.core.DataSourceRepository.addDataSource(DataSourceRepository.java:473) at org.wso2.carbon.ndatasource.core.DataSourceManager.initSystemDataSource(DataSourceManager.java:185) at org.wso2.carbon.ndatasource.core.DataSourceManager.initSystemDataSources(DataSourceManager.java:157) at org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.initSystemDataSources(DataSourceServiceComponent.java:191) at org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.setSecretCallbackHandlerService(DataSourceServiceComponent.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) My datasource configuration is attached below. Any changes to be done to get this working? Is there a way to specify the data reader class in the config for the definition type 'CASSANDRA'? Thanks Rajeev -- Rajeev Sampath Senior Software Engineer WSO2, Inc.; http://www.wso2.com. Mobile: * +94716265766* ?xml version=1.0 encoding=UTF-8 standalone=yes? ?mso-application progid=Word.Document? w:wordDocument xmlns:w=http://schemas.microsoft.com/office/word/2003/wordml; xmlns:v=urn:schemas-microsoft-com:vml xmlns:w10=urn:schemas-microsoft-com:office:word xmlns:sl=http://schemas.microsoft.com/schemaLibrary/2003/core; xmlns:aml=http://schemas.microsoft.com/aml/2001/core; xmlns:wx=http://schemas.microsoft.com/office/word/2003/auxHint; xmlns:o=urn:schemas-microsoft-com:office:office xmlns:dt=uuid:C2F41010-65B3-11d1-A29F-00AA00C14882 w:macrosPresent=no w:embeddedObjPresent=no w:ocxPresent=no xml:space=preserveo:DocumentProperties/o:DocumentPropertiesw:fontsw:defaultFonts w:ascii=Times New Roman w:fareast=Times New Roman w:h-ansi=Times New Roman w:cs=Times New Roman//w:fontsw:docPr/w:docPrw:bodywx:sectw:pw:pPr/w:pPrw:rw:rPrw:rFonts w:ascii=Helvetica w:h-ansi=Helvetica w:cs=Helvetica/wx:font wx:val=Helvetica/w:sz w:val=24/w:sz-cs w:val=24//w:rPrw:tlt;datasourcegt;/w:t/w:r/w:pw:pw:pPr/w:pPrw:rw:rPrw:rFonts w:ascii=Helvetica w:h-ansi=Helvetica w:cs=Helvetica/wx:font wx:val=Helvetica/w:sz w:val=24/w:sz-cs w:val=24//w:rPrw:t/w:tw:tab/w:t/w:tw:tab/w:t/w:tw:tab/w:tlt;namegt;WSO2_CASSANDRA_DBlt;/namegt;/w:t/w:r/w:pw:pw:pPr/w:pPrw:rw:rPrw:rFonts w:ascii=Helvetica w:h-ansi=Helvetica w:cs=Helvetica/wx:font wx:val=Helvetica/w:sz w:val=24/w:sz-cs w:val=24//w:rPrw:t/w:tw:tab/w:t/w:tw:tab/w:t/w:tw:tab/w:tlt;descriptiongt;The datasource used for cassandralt;/descriptiongt;/w:t/w:r/w:pw:pw:pPr/w:pPrw:rw:rPrw:rFonts w:ascii=Helvetica w:h-ansi=Helvetica w:cs=Helvetica/wx:font wx:val=Helvetica/w:sz w:val=24/w:sz-cs w:val=24//w:rPrw:t/w:tw:tab/w:t/w:tw:tab/w:t/w:tw:tab/w:tlt;jndiConfiggt;/w:t/w:r/w:pw:pw:pPr/w:pPrw:rw:rPrw:rFonts w:ascii=Helvetica w:h-ansi=Helvetica w:cs=Helvetica/wx:font wx:val=Helvetica/w:sz w:val=24/w:sz-cs w:val=24//w:rPrw:t/w:tw:tab/w:t/w:tw:tab/w:t/w:tw:tab/w:t/w:tw:tab/w:tlt;namegt;CassandraRepolt;/namegt;/w:t/w:r/w:pw:pw:pPr/w:pPrw:rw:rPrw:rFonts w:ascii=Helvetica w:h-ansi=Helvetica w:cs=Helvetica/wx:font wx:val=Helvetica/w:sz w:val=24/w:sz-cs w:val=24//w:rPrw:t/w:tw:tab/w:t/w:tw:tab/w:t/w:tw:tab/w:tlt;/jndiConfiggt;/w:t/w:r/w:pw:pw:pPr/w:pPrw:rw:rPrw:rFonts w:ascii=Helvetica w:h-ansi=Helvetica w:cs=Helvetica/wx:font wx:val=Helvetica/w:sz w:val=24/w:sz-cs w:val=24//w:rPrw:t/w:tw:tab/w:t/w:tw:tab/w:t/w:tw:tab/w:tlt;definition type=CASSANDRAgt;/w:t/w:r/w:pw:pw:pPr/w:pPrw:rw:rPrw:rFonts w:ascii=Helvetica w:h-ansi=Helvetica w:cs=Helvetica/wx:font wx:val=Helvetica/w:sz w:val=24/w:sz-cs w:val=24//w:rPrw:t/w:tw:tab/w:t/w:tw:tab/w:t/w:tw:tab/w:t/w:tw:tab/w:tlt;configurationgt;/w:t/w:r/w:pw:pw:pPr/w:pPrw:rw:rPrw:rFonts w:ascii=Helvetica w:h-ansi=Helvetica w:cs=Helvetica/wx:font wx:val=Helvetica/w:sz w:val=24/w:sz-cs w:val=24//w:rPrw:t/w:tw:tab/w:t/w:tw:tab/w:t/w:tw:tab/w:t/w:tw:tab/w:t/w:tw:tab/w:tlt;asyncgt;falselt;/asyncgt;/w:t/w:r/w:pw:pw:pPr/w:pPrw:rw:rPrw:rFonts w:ascii=Helvetica w:h-ansi=Helvetica w:cs=Helvetica/wx:font wx:val=Helvetica/w:sz w:val=24/w:sz-cs w:val=24//w:rPrw:t/w:tw:tab/w:t/w:tw:tab/w:t/w:tw:tab/w:t/w:tw:tab/w:t/w:tw:tab/w:tlt;clusterNamegt;TestClusterlt;/clusterNamegt;/w:t/w:r/w:pw:pw:pPr/w:pPrw:rw:rPrw:rFonts w:ascii=Helvetica w:h-ansi=Helvetica w:cs=Helvetica/wx:font wx:val=Helvetica/w:sz w:val=24/w:sz-cs
[Dev] Updated Invitation: BPMN Explorer UI review @ Mon Sep 15, 2014 3pm - 4pm (Amal Gunatilake)
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20140915T093000Z DTEND:20140915T103000Z DTSTAMP:20140912T162023Z ORGANIZER;CN=Amal Gunatilake:mailto:am...@wso2.com UID:u2gblkjqb3jor9e6hrr712e...@google.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Chathura Ekanayake;X-NUM-GUESTS=0:mailto:chath...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE ;CN=Amal Gunatilake;X-NUM-GUESTS=0:mailto:am...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Chanaka Jayasena;X-NUM-GUESTS=0:mailto:chan...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Thilini Ishaka;X-NUM-GUESTS=0:mailto:thil...@wso2.com ATTENDEE;CUTYPE=RESOURCE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TR UE;CN=LK 1st Floor Meeting Room;X-NUM-GUESTS=0:mailto:wso2.com_2d3833373537 363432333...@resource.calendar.google.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=Firzhan Naqash;X-NUM-GUESTS=0:mailto:firz...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Milinda Perera;X-NUM-GUESTS=0:mailto:milin...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Waruna Jayaweera;X-NUM-GUESTS=0:mailto:waru...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Nandika Jayawardana;X-NUM-GUESTS=0:mailto:nand...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Hasitha Aravinda;X-NUM-GUESTS=0:mailto:hasi...@wso2.com CREATED:20140912T064942Z DESCRIPTION:BPMN Explorer UI review.\nView your event at https://www.google .com/calendar/event?action=VIEWeid=dTJnYmxranFiM2pvcjllNmhycjcxMmU1N2MgZGV 2QHdzbzIub3Jntok=MTQjYW1hbGdAd3NvMi5jb21iMzZhN2UyNGU1Njk1ZjU2MzVhMTFkNTM1M jIwMDhmY2Y3OWY2ZGQ5ctz=Asia/Colombohl=en. LAST-MODIFIED:20140912T162023Z LOCATION:LK 1st Floor Meeting Room SEQUENCE:1 STATUS:CONFIRMED SUMMARY:BPMN Explorer UI review 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] Kernel patch
No need. :) this is a small change On Fri, Sep 12, 2014 at 7:23 PM, Sameera Jayasoma same...@wso2.com wrote: Please create a Carbon Jira and attached the patch please. On Fri, Sep 12, 2014 at 7:08 PM, Maninda Edirisooriya mani...@wso2.com wrote: Hi Carbon team, Please apply the attached patch to Carbon Kernel patch0009 which will pack the new Hazelcast dependency version 3.2.3 with the patch. Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Updated Invitation: BPMN Explorer UI review @ Mon Sep 15, 2014 3pm - 4pm (Amal Gunatilake)
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20140915T093000Z DTEND:20140915T103000Z DTSTAMP:20140912T162757Z ORGANIZER;CN=Amal Gunatilake:mailto:am...@wso2.com UID:u2gblkjqb3jor9e6hrr712e...@google.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Chathura Ekanayake;X-NUM-GUESTS=0:mailto:chath...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE ;CN=Amal Gunatilake;X-NUM-GUESTS=0:mailto:am...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Chanaka Jayasena;X-NUM-GUESTS=0:mailto:chan...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Thilini Ishaka;X-NUM-GUESTS=0:mailto:thil...@wso2.com ATTENDEE;CUTYPE=RESOURCE;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE;C N=LK 1st Floor Meeting Room;X-NUM-GUESTS=0:mailto:wso2.com_2d38333735373634 32333...@resource.calendar.google.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=Firzhan Naqash;X-NUM-GUESTS=0:mailto:firz...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Milinda Perera;X-NUM-GUESTS=0:mailto:milin...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Waruna Jayaweera;X-NUM-GUESTS=0:mailto:waru...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Nandika Jayawardana;X-NUM-GUESTS=0:mailto:nand...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Hasitha Aravinda;X-NUM-GUESTS=0:mailto:hasi...@wso2.com ATTENDEE;CUTYPE=RESOURCE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TR UE;CN=LK 6th Floor Meeting Room - Dijkstra;X-NUM-GUESTS=0:mailto:wso2.com_3 7373634303139362d333...@resource.calendar.google.com CREATED:20140912T064942Z DESCRIPTION:BPMN Explorer UI review.\nView your event at https://www.google .com/calendar/event?action=VIEWeid=dTJnYmxranFiM2pvcjllNmhycjcxMmU1N2MgZGV 2QHdzbzIub3Jntok=MTQjYW1hbGdAd3NvMi5jb21iMzZhN2UyNGU1Njk1ZjU2MzVhMTFkNTM1M jIwMDhmY2Y3OWY2ZGQ5ctz=Asia/Colombohl=en. LAST-MODIFIED:20140912T162757Z LOCATION:LK 6th Floor Meeting Room - Dijkstra SEQUENCE:1 STATUS:CONFIRMED SUMMARY:BPMN Explorer UI review 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
[Dev] Please merge the pull request #4 for carbon-business-process
Hi, Please review and merge the pull request[1] which covers the issues [2] and [3] [1] https://github.com/wso2-dev/carbon-business-process/pull/4 [2] https://wso2.org/jira/browse/BPS-562 [3] https://wso2.org/jira/browse/BPS-467 Regards, Firzhan ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] {chunk-13 packs}
I have created a Kernel patch and sent in dev mailing list titled, Kernel patch. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Fri, Sep 12, 2014 at 3:39 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Looks like, hazlecast is not bundled in kernel patch0009. Sameera checks that..So, what we have currently in the pack is older hazlecast library. Not the updated one. On 12 September 2014 14:19, Pavithra Madurangi pavit...@wso2.com wrote: Hi Ratha, Even with new Hazelcast upgrade (hazelcast_3.0.1.wso2v1.jar ), still observe following error when nodes join to cluster. TID: [0] [ELB] [2014-09-12 04:26:40,456] ERROR {com.hazelcast.spi.OperationService} - [10.0.3.25]:4600 [apim.gw.171] [unknown] java.io.UTFDataFormatException: malformed input around byte 9 {com.hazelcast.spi.OperationService} com.hazelcast.nio.serialization.HazelcastSerializationException: java.io.UTFDataFormatException: malformed input around byte 9 at com.hazelcast.nio.serialization.SerializationServiceImpl.handleException(SerializationServiceImpl.java:298) at com.hazelcast.nio.serialization.SerializationServiceImpl.toObject(SerializationServiceImpl.java:227) at com.hazelcast.spi.impl.NodeEngineImpl.toObject(NodeEngineImpl.java:156) at com.hazelcast.spi.impl.BasicOperationService.processPacket(BasicOperationService.java:295) at com.hazelcast.spi.impl.BasicOperationService.access$400(BasicOperationService.java:102) at com.hazelcast.spi.impl.BasicOperationService$BasicOperationProcessorImpl.process(BasicOperationService.java:756) at com.hazelcast.spi.impl.BasicOperationScheduler$ProcessTask.run(BasicOperationScheduler.java:186) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) at com.hazelcast.util.executor.PoolExecutorThreadFactory$ManagedThread.run(PoolExecutorThreadFactory.java:59) Caused by: java.io.UTFDataFormatException: malformed input around byte 9 at com.hazelcast.nio.UTFEncoderDecoder.readShortUTF(UTFEncoderDecoder.java:202) at com.hazelcast.nio.UTFEncoderDecoder.readUTF0(UTFEncoderDecoder.java:138) at com.hazelcast.nio.UTFEncoderDecoder.readUTF(UTFEncoderDecoder.java:59) at com.hazelcast.nio.serialization.ByteArrayObjectDataInput.readUTF(ByteArrayObjectDataInput.java:429) at com.hazelcast.spi.Operation.readData(Operation.java:296) at com.hazelcast.nio.serialization.DataSerializer.read(DataSerializer.java:105) at com.hazelcast.nio.serialization.DataSerializer.read(DataSerializer.java:36) at com.hazelcast.nio.serialization.StreamSerializerAdapter.read(StreamSerializerAdapter.java:59) at com.hazelcast.nio.serialization.SerializationServiceImpl.toObject(SerializationServiceImpl.java:221) ... 9 more Regards, Pavithra On Fri, Sep 12, 2014 at 11:34 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote: We see some blocking L1s, will be able to fix by EoD. Hopefully you can get pack tomorrow.. On 12 September 2014 11:10, Pavithra Madurangi pavit...@wso2.com wrote: Hi Ratha, When will we get the new 1.8.0 pack? Regards, Pavithra On Tue, Sep 9, 2014 at 12:48 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi Pavithra.. I'll chk this in new build Thanks On 9 September 2014 12:29, Pavithra Madurangi pavit...@wso2.com wrote: Hi Ratha, With the p2 repo found at [1], I observed the exact issue reported at [2] when IS is configured as key manager. I know that we observed that issue in 3rd September packs [3] and it's fixed in latest build (found at [1]) . But can see it when IS is acting as key manager. So can you please check whether p2 repo is updated and correct. [1] https://svn.wso2.org/repos/wso2/scratch/chunk13-release/04-09-2014/p2-repo/ [2] https://wso2.org/jira/browse/APIMANAGER-2803 [3] https://svn.wso2.org/repos/wso2/scratch/chunk13-release/03-09-2014/ Regards, Pavithra On Fri, Sep 5, 2014 at 10:33 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Hi Evanthika, Use this packs fro testing; https://svn.wso2.org/repos/wso2/scratch/chunk13-release/04-09-2014/ Thanks. -- -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Pavithra Madurangi* Associate Technical Lead - QA. WSO2 Inc.: http://wso2.com/ Mobile: +94777207357 / +94773814110 -- -Ratha -- *Pavithra Madurangi* Associate Technical Lead - QA. WSO2 Inc.: http://wso2.com/ Mobile: +94777207357 / +94773814110 -- -Ratha -- *Pavithra Madurangi* Associate Technical Lead - QA. WSO2 Inc.: http://wso2.com/ Mobile: +94777207357 / +94773814110 -- -Ratha ___ Dev mailing list
Re: [Dev] Kernel patch
Please create a Carbon Jira and attached the patch please. On Fri, Sep 12, 2014 at 7:08 PM, Maninda Edirisooriya mani...@wso2.com wrote: Hi Carbon team, Please apply the attached patch to Carbon Kernel patch0009 which will pack the new Hazelcast dependency version 3.2.3 with the patch. Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Code Review notes - Email Monitor - Jaggery App
Hi all, Project with raised concerns fixed is available at [1]. Thank you, SameeraK. [1] https://github.com/sameerak/emailMonitor-UI On Fri, Sep 12, 2014 at 2:03 PM, Sameera Kannangara samee...@wso2.com wrote: Hi all, A code review was organized to review the jaggery app written as front end of the email monitoring system that was created as the fast track training project. Following are the notes taken in the Code Review - Email Monitor - Jaggery App. Date - 2014-09-12 Participants- Subash,Eranda,Pulasthi,Danesh,Denuwanthi,Heshani,Suho,SameeraM,Ruchira Notes - - Move the logic in landing page, for retrieving the queries to a js file - The utility.jag should be renamed to a utility.js - You can use a single method which checks for the presence of parameters in a json object - The error message is found in the jxHR object - Use the request.getAllParameters() instead of getting parameters individually -There is no need to stringify the json object before printing it - The file reading should happen inside a try,catch and finally - The location must be tracked when performing the login - Put license headers for each page - Put copyright details for each page - Code needs to be formatted Please add any thing I've missed. Thank you, SameeraK. -- *Sameera Kannangara* Software Engineer Platform TG; WSO2 Inc. http://wso2.com Contact: phone: +94719541577 Lean . Enterprise . Middleware -- *Sameera Kannangara* Software Engineer Platform TG; WSO2 Inc. http://wso2.com Contact: phone: +94719541577 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] missing jars/files in nexus
Hi all, Currently it's unable to deploy artifacts to nexus since builder machines are not configured properly. Informed infra on that will deploy those as soon as get that fixed. Following up the issue with infra in a separate thread. Thanks, On Fri, Sep 12, 2014 at 7:11 PM, Maninda Edirisooriya mani...@wso2.com wrote: According to [1] which came in a clean m2 repo, it seems artifact org.wso2.carbon:application-mgt-feature:pom:4.2.0 should also added to the nexus repo. [1] [ERROR] Failed to execute goal on project org.wso2.carbon.identity.application.mgt.feature: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.identity.application.mgt.feature:pom:4.2.1: Failed to collect dependencies for [org.wso2.carbon:org.wso2.carbon.identity.application.mgt.server.feature:zip:4.2.1 (compile), org.wso2.carbon:org.wso2.carbon.identity.application.mgt.ui.feature:zip:4.2.0 (compile)]: Failed to read artifact descriptor for org.wso2.carbon:org.wso2.carbon.identity.application.mgt.ui.feature:zip:4.2.0: Could not find artifact org.wso2.carbon:application-mgt-feature:pom:4.2.0 in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) - [Help 1] *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Fri, Sep 12, 2014 at 6:43 PM, Maninda Edirisooriya mani...@wso2.com wrote: We need these changes ASAP as we need to release our BAM 2.5.0 Alpha with a clean repo. :) *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Fri, Sep 12, 2014 at 6:35 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: hi Darshana; Can you commit these files o nexus? - org.wso2.carbon:tools-saml-feature:pom:4.2.0 - org.wso2.carbon:forum-feature:pom:4.2.0 Thanks. -Ratha -- Regards, *Darshana Gunawardana*Software Engineer WSO2 Inc.; http://wso2.com *E-mail: darsh...@wso2.com darsh...@wso2.com* *Mobile: +94718566859*Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [WSO2-AS] product-as pack built from master branch gives server startup error
Hi, I have built the AS from master branch. When I start AS, it gives the following error and stops there. JAVA_HOME environment variable is set to /usr/lib/jvm/java-7-oracle CARBON_HOME environment variable is set to /home/rajkumar/workspace/temp/product-as/modules/distribution/target/wso2as-5.3.0-SNAPSHOT log4j:WARN No appenders could be found for logger (org.apache.axiom.util.stax.dialect.StAXDialectDetector). log4j:WARN Please initialize the log4j system properly. [2014-09-13 01:43:31,903] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2 Carbon... [2014-09-13 01:43:31,905] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : Linux 3.13.0-24-generic, amd64 [2014-09-13 01:43:31,905] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home: /usr/lib/jvm/java-7-oracle/jre [2014-09-13 01:43:31,905] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version : 1.7.0_65 [2014-09-13 01:43:31,905] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : Java HotSpot(TM) 64-Bit Server VM 24.65-b04,Oracle Corporation [2014-09-13 01:43:31,905] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home : /home/rajkumar/workspace/temp/product-as/modules/distribution/target/wso2as-5.3.0-SNAPSHOT [2014-09-13 01:43:31,905] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir: /home/rajkumar/workspace/temp/product-as/modules/distribution/target/wso2as-5.3.0-SNAPSHOT/tmp [2014-09-13 01:43:31,905] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - User : rajkumar, en-US, Asia/Colombo [2014-09-13 01:43:31,950] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - Carbon is configured to use the default keystore (wso2carbon.jks). To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile. [2014-09-13 01:43:31,994] INFO {org.wso2.carbon.databridge.agent.thrift.AgentHolder} - Agent created ! [2014-09-13 01:43:32,005] INFO {org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} - Successfully deployed Agent Client [2014-09-13 01:43:32,817] INFO {org.apache.openejb.util.OptionsLog} - Using 'tomee.webapp.classloader.enrichment.skip=true' [2014-09-13 01:43:32,824] INFO {org.apache.openejb.OpenEJB$Instance} - [2014-09-13 01:43:32,824] INFO {org.apache.openejb.OpenEJB$Instance} - OpenEJB http://openejb.apache.org/ [2014-09-13 01:43:32,824] INFO {org.apache.openejb.OpenEJB$Instance} - Startup: Sat Sep 13 01:43:32 IST 2014 [2014-09-13 01:43:32,824] INFO {org.apache.openejb.OpenEJB$Instance} - Copyright 1999-2013 (C) Apache OpenEJB Project, All Rights Reserved. [2014-09-13 01:43:32,824] INFO {org.apache.openejb.OpenEJB$Instance} - Version: 4.6.0.1 [2014-09-13 01:43:32,824] INFO {org.apache.openejb.OpenEJB$Instance} - Build date: 20140416 [2014-09-13 01:43:32,825] INFO {org.apache.openejb.OpenEJB$Instance} - Build time: 08:56 [2014-09-13 01:43:32,825] INFO {org.apache.openejb.OpenEJB$Instance} - [2014-09-13 01:43:32,825] INFO {org.apache.openejb.OpenEJB$Instance} - openejb.home = /home/rajkumar/workspace/temp/product-as/modules/distribution/target/wso2as-5.3.0-SNAPSHOT/lib/tomcat [2014-09-13 01:43:32,825] INFO {org.apache.openejb.OpenEJB$Instance} - openejb.base = /home/rajkumar/workspace/temp/product-as/modules/distribution/target/wso2as-5.3.0-SNAPSHOT/lib/tomcat [2014-09-13 01:43:32,826] INFO {org.apache.openejb.cdi.CdiBuilder} - Created new singletonService org.apache.openejb.cdi.ThreadSingletonServiceImpl@6ad6e3d9 [2014-09-13 01:43:32,826] INFO {org.apache.openejb.cdi.CdiBuilder} - Succeeded in installing singleton service [2014-09-13 01:43:32,837] INFO {org.apache.openejb.config.ConfigUtils} - Cannot find the configuration file [conf/openejb.xml]. Creating one at /home/rajkumar/workspace/temp/product-as/modules/distribution/target/wso2as-5.3.0-SNAPSHOT/lib/tomcat/conf/openejb.xml [2014-09-13 01:43:32,838] INFO {org.apache.openejb.config.ConfigurationFactory} - openejb configuration file is '/home/rajkumar/workspace/temp/product-as/modules/distribution/target/wso2as-5.3.0-SNAPSHOT/lib/tomcat/conf/openejb.xml' [2014-09-13 01:43:32,869] INFO {org.apache.openejb.config.ConfigurationFactory} - Configuring Service(id=Tomcat Security Service, type=SecurityService, provider-id=Tomcat Security Service) [2014-09-13 01:43:32,870] INFO {org.apache.openejb.config.ConfigurationFactory} - Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager) [2014-09-13 01:43:32,871] INFO {org.apache.openejb.config.ConfigurationFactory} - Configuring Service(id=My DataSource, type=Resource,
Re: [Dev] [WSO2-AS] product-as pack built from master branch gives server startup error
Hi, I built with JDK 6 too. But same error when starting the AS. I built carbon-deployment and then product-as. Am I missing something here? Thanks. On Sat, Sep 13, 2014 at 1:50 AM, Rajkumar Rajaratnam rajkum...@wso2.com wrote: Hi, I have built the AS from master branch. When I start AS, it gives the following error and stops there. JAVA_HOME environment variable is set to /usr/lib/jvm/java-7-oracle CARBON_HOME environment variable is set to /home/rajkumar/workspace/temp/product-as/modules/distribution/target/wso2as-5.3.0-SNAPSHOT log4j:WARN No appenders could be found for logger (org.apache.axiom.util.stax.dialect.StAXDialectDetector). log4j:WARN Please initialize the log4j system properly. [2014-09-13 01:43:31,903] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2 Carbon... [2014-09-13 01:43:31,905] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : Linux 3.13.0-24-generic, amd64 [2014-09-13 01:43:31,905] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home: /usr/lib/jvm/java-7-oracle/jre [2014-09-13 01:43:31,905] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version : 1.7.0_65 [2014-09-13 01:43:31,905] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : Java HotSpot(TM) 64-Bit Server VM 24.65-b04,Oracle Corporation [2014-09-13 01:43:31,905] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home : /home/rajkumar/workspace/temp/product-as/modules/distribution/target/wso2as-5.3.0-SNAPSHOT [2014-09-13 01:43:31,905] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir: /home/rajkumar/workspace/temp/product-as/modules/distribution/target/wso2as-5.3.0-SNAPSHOT/tmp [2014-09-13 01:43:31,905] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - User : rajkumar, en-US, Asia/Colombo [2014-09-13 01:43:31,950] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - Carbon is configured to use the default keystore (wso2carbon.jks). To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile. [2014-09-13 01:43:31,994] INFO {org.wso2.carbon.databridge.agent.thrift.AgentHolder} - Agent created ! [2014-09-13 01:43:32,005] INFO {org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} - Successfully deployed Agent Client [2014-09-13 01:43:32,817] INFO {org.apache.openejb.util.OptionsLog} - Using 'tomee.webapp.classloader.enrichment.skip=true' [2014-09-13 01:43:32,824] INFO {org.apache.openejb.OpenEJB$Instance} - [2014-09-13 01:43:32,824] INFO {org.apache.openejb.OpenEJB$Instance} - OpenEJB http://openejb.apache.org/ [2014-09-13 01:43:32,824] INFO {org.apache.openejb.OpenEJB$Instance} - Startup: Sat Sep 13 01:43:32 IST 2014 [2014-09-13 01:43:32,824] INFO {org.apache.openejb.OpenEJB$Instance} - Copyright 1999-2013 (C) Apache OpenEJB Project, All Rights Reserved. [2014-09-13 01:43:32,824] INFO {org.apache.openejb.OpenEJB$Instance} - Version: 4.6.0.1 [2014-09-13 01:43:32,824] INFO {org.apache.openejb.OpenEJB$Instance} - Build date: 20140416 [2014-09-13 01:43:32,825] INFO {org.apache.openejb.OpenEJB$Instance} - Build time: 08:56 [2014-09-13 01:43:32,825] INFO {org.apache.openejb.OpenEJB$Instance} - [2014-09-13 01:43:32,825] INFO {org.apache.openejb.OpenEJB$Instance} - openejb.home = /home/rajkumar/workspace/temp/product-as/modules/distribution/target/wso2as-5.3.0-SNAPSHOT/lib/tomcat [2014-09-13 01:43:32,825] INFO {org.apache.openejb.OpenEJB$Instance} - openejb.base = /home/rajkumar/workspace/temp/product-as/modules/distribution/target/wso2as-5.3.0-SNAPSHOT/lib/tomcat [2014-09-13 01:43:32,826] INFO {org.apache.openejb.cdi.CdiBuilder} - Created new singletonService org.apache.openejb.cdi.ThreadSingletonServiceImpl@6ad6e3d9 [2014-09-13 01:43:32,826] INFO {org.apache.openejb.cdi.CdiBuilder} - Succeeded in installing singleton service [2014-09-13 01:43:32,837] INFO {org.apache.openejb.config.ConfigUtils} - Cannot find the configuration file [conf/openejb.xml]. Creating one at /home/rajkumar/workspace/temp/product-as/modules/distribution/target/wso2as-5.3.0-SNAPSHOT/lib/tomcat/conf/openejb.xml [2014-09-13 01:43:32,838] INFO {org.apache.openejb.config.ConfigurationFactory} - openejb configuration file is '/home/rajkumar/workspace/temp/product-as/modules/distribution/target/wso2as-5.3.0-SNAPSHOT/lib/tomcat/conf/openejb.xml' [2014-09-13 01:43:32,869] INFO {org.apache.openejb.config.ConfigurationFactory} - Configuring Service(id=Tomcat Security Service, type=SecurityService, provider-id=Tomcat Security Service) [2014-09-13 01:43:32,870] INFO
[Dev] subcribe
-- Nipuna Shanthidewa Software Engineering Intern WSO2 Inc. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Uniquely Identify Current server node in MB
we want to uniquely identify current server node in MB among other nodes we are going to use IP address and port number for that.Is there any better option than this ? Thanks -- Nipuna Shanthidewa Software Engineering Intern WSO2 Inc. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Uniquely Identify Current server node in MB
Hi, You can use HazelcastAgent method getUniqueIdForTheNode() for this. It's in the latest code in git [1]. @Sewwandi correct me if I'm wrong. [1] https://github.com/wso2-dev/andes/blob/master/modules/andes-core/broker/src/main/java/org/wso2/andes/server/cluster/coordination/hazelcast/HazelcastAgent.java On Sat, Sep 13, 2014 at 9:23 AM, Nipuna Shanthidewa nip...@wso2.com wrote: we want to uniquely identify current server node in MB among other nodes we are going to use IP address and port number for that.Is there any better option than this ? Thanks -- Nipuna Shanthidewa Software Engineering Intern WSO2 Inc. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Asitha Nanayakkara* Software Engineer WSO2, Inc. http://wso2.com/ Mob: + 94 77 85 30 682 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev