Re: [Carbon-dev] Removing Cassandra dependency in Carbon Kernel
Cassandra log4j appender is removed from the Carbon.Utils bundle. On Tue, Feb 21, 2012 at 10:38 AM, Sameera Jayasoma same...@wso2.com wrote: Hi Devs, There is a Cassandra log4j appender in Carbon.Utils bundle[1]. Due to this logger, following dependencies has been added to the Carbon kernel. Cassandra Hectore-core libthrift. IMHO, these are unnecessary dependencies to Carbon kernel. We need to move this Cassandra appender to the components level. There are some other cases where we can get rid of unnecessary dependencies from Carbon kernel, These are initial steps towards minimizing Carbon kenel. Thanks, Sameera. [1] https://svn.wso2.org/repos/wso2/trunk/carbon/core/org.wso2.carbon.utils/pom.xml -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Using input parameters with RDF data services
Hi Isuru, In SPARQL you dont actually specify input parameters separately in a separate SPARQL notation. You include your parameter in the SPARQL select and where clause and then inside data services you map it as an input parameter. For more details please refer [1http://sparkletechthoughts.blogspot.com/2011/09/extracting-rdf-data-using-wso2-data.html] . Here it takes agency as the input parameter. [1http://sparkletechthoughts.blogspot.com/2011/09/extracting-rdf-data-using-wso2-data.html] http://sparkletechthoughts.blogspot.com/2011/09/extracting-rdf-data-using-wso2-data.html Regards, Amani On Wed, Feb 22, 2012 at 9:34 AM, Isuru Suriarachchi is...@wso2.com wrote: Hi Amani, I just tried out the RDF data service at [1]. Sample works fine, but it looks like the query doesn't use the input parameter. With SQL queries we can pass input parameters into the query using :input notation. How can I pass input parameters into the following Sparcl query which is used in the sample? PREFIX space: http://purl.org/net/schemas/space/ PREFIX relevance: http://a9.com/-/opensearch/extensions/relevance/1.0/ PREFIX foaf: http://xmlns.com/foaf/0.1/ PREFIX dc: http://purl.org/dc/elements/1.1/ SELECT ?homepage ?name ?alternateName ?internationalDesignator ?mass ?score ?launch ?agency ?description WHERE { ?craft foaf:homepage ?homepage. ?craft foaf:name ?name. ?craft space:alternateName ?alternateName. ?craft space:internationalDesignator ?internationalDesignator. ?craft space:mass ?mass. ?craft relevance:score ?score. ?craft space:launch ?launch. ?craft space:agency ?agency. ?craft dc:description ?description. } Thanks, ~Isuru [1] http://wso2.org/project/data-services/2.6.3/docs/rdf.html -- Isuru Suriarachchi Technical Lead WSO2 Inc. http://wso2.com email : is...@wso2.com blog : http://isurues.wordpress.com/ lean . enterprise . middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Cleaning up Carbon-Core
On Tue, Feb 21, 2012 at 11:24 AM, Sameera Jayasoma same...@wso2.com wrote: On Tue, Feb 21, 2012 at 11:16 AM, Thilina Buddhika thili...@wso2.comwrote: [Sorry, the subject was accidentally removed when sending out the email.] On a side note, I think we have some classes inside Carbon core which are not really a part of Carbon core functionality, for example the cache entry implementations like IdentityCacheEntry. With Tomcat OSGification, I guess we can move these classes to corresponding components and allow them to evolve independent of the core. +1. Deep/Amani, Can we remove this appender from the Carbon kernel? Btw, who will work on removing cache entry functionality from kernel. Will do, but where should we keep CassandraAppender?. Since its extending log4jAppender and isn't carbon kernel the best place to put it? Thanks, Sameera. Thanks, Thilina On Tue, Feb 21, 2012 at 10:38 AM, Sameera Jayasoma same...@wso2.comwrote: Hi Devs, There is a Cassandra log4j appender in Carbon.Utils bundle[1]. Due to this logger, following dependencies has been added to the Carbon kernel. Cassandra Hectore-core libthrift. IMHO, these are unnecessary dependencies to Carbon kernel. We need to move this Cassandra appender to the components level. There are some other cases where we can get rid of unnecessary dependencies from Carbon kernel, These are initial steps towards minimizing Carbon kenel. Thanks, Sameera. [1] https://svn.wso2.org/repos/wso2/trunk/carbon/core/org.wso2.carbon.utils/pom.xml -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thilina Buddhika Associate Technical Lead WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com -- Thilina Buddhika Associate Technical Lead WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Cleaning up Carbon-Core
On Tue, Feb 21, 2012 at 11:51 AM, Tharindu Mathew thari...@wso2.com wrote: On Tue, Feb 21, 2012 at 11:47 AM, Sameera Jayasoma same...@wso2.comwrote: On Tue, Feb 21, 2012 at 11:32 AM, Amani Soysa am...@wso2.com wrote: On Tue, Feb 21, 2012 at 11:24 AM, Sameera Jayasoma same...@wso2.comwrote: On Tue, Feb 21, 2012 at 11:16 AM, Thilina Buddhika thili...@wso2.comwrote: [Sorry, the subject was accidentally removed when sending out the email.] On a side note, I think we have some classes inside Carbon core which are not really a part of Carbon core functionality, for example the cache entry implementations like IdentityCacheEntry. With Tomcat OSGification, I guess we can move these classes to corresponding components and allow them to evolve independent of the core. +1. Deep/Amani, Can we remove this appender from the Carbon kernel? Btw, who will work on removing cache entry functionality from kernel. Will do, but where should we keep CassandraAppender?. Move it to a component named carbon-logging or any other suitable name. I don't think this belongs to the kernel. Ah ok I will remove it from the kernel. Since its extending log4jAppender and isn't carbon kernel the best place to put it? Log4jAppender is an interface which allows to people to extends log4j functionality. And this appender is one such implementation which push logs to the Cassandra database. This appender has nothing to do with Carbon kenel, IMHO. Can you please explain why you think, it should be in Carbon kernel? Thanks, Sameera. Thanks, Sameera. Thanks, Thilina On Tue, Feb 21, 2012 at 10:38 AM, Sameera Jayasoma same...@wso2.comwrote: Hi Devs, There is a Cassandra log4j appender in Carbon.Utils bundle[1]. Due to this logger, following dependencies has been added to the Carbon kernel. Cassandra Hectore-core libthrift. IMHO, these are unnecessary dependencies to Carbon kernel. We need to move this Cassandra appender to the components level. There are some other cases where we can get rid of unnecessary dependencies from Carbon kernel, These are initial steps towards minimizing Carbon kenel. Thanks, Sameera. [1] https://svn.wso2.org/repos/wso2/trunk/carbon/core/org.wso2.carbon.utils/pom.xml -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thilina Buddhika Associate Technical Lead WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com -- Thilina Buddhika Associate Technical Lead WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] Mapping custom Context to Stratos applications
Hi We have a requirement to map custom context to stratos web application/ Services. And currently we are looking how this can be done in the load balancer side. Our main requirement is to map a service hosted in a tenant to be map to a given domain. For example https://appserver.stratoslive.wso2.com/services/t/amani123.com/FooService/to https://FooService.com/ and the wsdl/try it urls should change accordingly. In order to do this loadbalancer should identify https://FooService.com/ is a request which should be sent for https://appserver.stratoslive.wso2.com/services/t/amani123.com/FooService/and request should get forward to https://FooService.com/ without changing the browser URL. (Or else we need to have a tomcat valve to foward the URL in the tomcat side itself) Can this be done using URLRewrite mediator? (if we store the two URLs in a data store and let the load balancer knows the mapping)? Regards, Amani ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Build failure at Greg?
I am looking into this On Wed, Feb 1, 2012 at 1:53 PM, Srinath Perera srin...@wso2.com wrote: INFO] BUILD FAILURE [INFO] [INFO] Total time: 3:10:47.980s [INFO] Finished at: Wed Feb 01 13:16:42 IST 2012 [INFO] Final Memory: 1082M/2110M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:attached (dist) on project wso2stratos-governance: Failed to create assembly: Error adding file to archive: /Users/srinath/code/wso2-projects/carbon-trunk/products/greg/modules/distribution/service/../../p2-profile-gen/service/target/wso2carbon-core-4.0.0-SNAPSHOT/repository/conf/advanced/syslog-config.xml isn't a file. - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :wso2stratos-governance -- Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Faculty, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Build failure at Greg?
This has been fixed Please take a svn up from the logging-mgt feature. On Wed, Feb 1, 2012 at 2:48 PM, Amani Soysa am...@wso2.com wrote: I am looking into this On Wed, Feb 1, 2012 at 1:53 PM, Srinath Perera srin...@wso2.com wrote: INFO] BUILD FAILURE [INFO] [INFO] Total time: 3:10:47.980s [INFO] Finished at: Wed Feb 01 13:16:42 IST 2012 [INFO] Final Memory: 1082M/2110M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:attached (dist) on project wso2stratos-governance: Failed to create assembly: Error adding file to archive: /Users/srinath/code/wso2-projects/carbon-trunk/products/greg/modules/distribution/service/../../p2-profile-gen/service/target/wso2carbon-core-4.0.0-SNAPSHOT/repository/conf/advanced/syslog-config.xml isn't a file. - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :wso2stratos-governance -- Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Faculty, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Error building trunk - logging component.
This is because we have moved logging to latest spring framework... please build orbit from the root pom On Thu, Jan 26, 2012 at 4:57 PM, Amila Maha Arachchi ami...@wso2.comwrote: On Thu, Jan 26, 2012 at 3:04 PM, Muhammed Shariq sha...@wso2.com wrote: Hi, I am getting the following error while building trunk. Looks like something to do with the new spring framework added to orbit, I have build this orbit bundle already. [ERROR] Failed to execute goal on project org.wso2.carbon.logging.service: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.logging.service:bundle:4.0.0-SNAPSHOT: The following artifacts could not be resolved: org.springframework:spring-core:jar:${version.spring}, org.springframework:spring-beans:jar:${version.spring}, org.springframework:spring-context:jar:${version.spring}, org.springframework:spring-web:jar:${version.spring}: The repository system is offline but the artifact org.springframework:spring-core:jar:${version.spring} is not available in the local repository. - [Help 1] Above mentioned jars are not direct dependencies in the logging.service component. Its dependency is to spring.framework orbit bundle. I tried excluding above mentioned dependencies and then the build was successful. But, why this failure popped up suddenly? BTW, I didnt commit the excluding part. Thanks, AmilaM. -- Thanks, Shariq. Phone: +94 777 202 225 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Amila Maharachchi* Senior Software Engineer; WSO2, Inc.; http://wso2.com Blog: http://maharachchi.blogspot.com Mobile: +94719371446 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Bamboo-Build] WSO2 Carbon Trunk WSO2 Carbon - Platform Trunk #92 has FAILED (2 tests failed, 1 failures were new). Change made by amani and dimuthul.
I am looking into this On Wed, Jan 11, 2012 at 3:23 PM, Bamboo cbuil...@wso2.org wrote: [image: Failed] WSO2 Carbon Trunkhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK/› WSO2 Carbon - Platform Trunkhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK/› #92http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-92/ failed Code has been updated by amanihttp://builder4.us1.wso2.org:/bamboo/browse/author/amani, dimuthul http://builder4.us1.wso2.org:/bamboo/browse/author/dimuthul . *2/7769* tests failed. Failing Jobshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-92/ Job Duration Tests[image: Failed] WSO2 Carbon Trunk Build Processhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-92/ (Default Stage) 303 minutes 2 of 7769 failed Logshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-92/log| Artifactshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-92/artifact Code Changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-92/commit/ View full change detailshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-92/commit/ amani http://builder4.us1.wso2.org:/bamboo/browse/author/amani Applying a patch for the fix STRATOS-1478http://builder4.us1.wso2.org:/bamboo/project/jiraRedirect.action?jiraIssueKey=STRATOS-1478bambooProjectKey=WSO2CARBONTUNK(Fix provided by ajanthan balachandiran). 118798amanihttp://builder4.us1.wso2.org:/bamboo/browse/author/amani Applying a patch for the fix STRATOS-1981http://builder4.us1.wso2.org:/bamboo/project/jiraRedirect.action?jiraIssueKey=STRATOS-1981bambooProjectKey=WSO2CARBONTUNK(Fix provided by ajanthan balachandiran). 118797 dimuthulhttp://builder4.us1.wso2.org:/bamboo/browse/author/dimuthul Applyaing Ashansa's patch to fix Stratos-1705 118796 Testshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-92/test View full test detailshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-92/test 1 New Test Failures Test Job ServerAdminTestCase testRetrieveServerInfohttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-92/test/case/1619400 WSO2 Carbon Trunk Build Processhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-92/test 1 Existing Test Failures Test Job SchemaTest testAddSchemahttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-92/test/case/1619374 WSO2 Carbon Trunk Build Processhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-JOB1-92/test View Onlinehttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-92 | Add Commentshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBONTUNK-WSO2CARBONPLATFORMTRUNK-92?commentMode=true This message was sent by Atlassian Bamboohttp://builder4.us1.wso2.org:/bamboo . If you wish to stop receiving these emails edit your user profilehttp://builder4.us1.wso2.org:/bamboo/profile/userNotifications.actionor notify your administratorhttp://builder4.us1.wso2.org:/bamboo/viewAdministrators.action . ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Errors at Mashup Server start up
I checked this issue in MS and found out that log4j.jar is copied to $Carbon_HOME/lib folder instead of $Carbon_HOME/bin. We are still investigating on this issue. Regards Amani On Mon, Nov 28, 2011 at 3:21 PM, Afkham Azeez az...@wso2.com wrote: Check whether log4j.jar is present in two directories. On Mon, Nov 28, 2011 at 2:52 PM, Sandapa Handakumbura sand...@wso2.comwrote: Hi, I get a similar issue during ESB (4.0.3) start up. JAVA_HOME environment variable is set to /home/sandapa/software/jdk1.6.0_22 CARBON_HOME environment variable is set to /home/sandapa/software/esb/wso2esb-4.0.3 [2011-11-28 14:32:09,888] INFO - Main Initializing system... [2011-11-28 14:32:10,058] INFO - HttpTransport Created Connector [HTTP_11_NIO://*:9763] [2011-11-28 14:32:10,060] INFO - HttpTransport Created Connector [HTTPS_11_NIO://*:9443] [2011-11-28 14:32:10,123] INFO - TomcatCarbonWebappDeployer Deployed Carbon webapp: StandardEngine[Tomcat].StandardHost[defaulthost].StandardContext[/] [2011-11-28 14:32:10,407] INFO - TransactionFactory Starting Atomikos Transaction Manager 3.7.0 [2011-11-28 14:32:17,254] INFO - CarbonCoreActivator Starting WSO2 Carbon... [2011-11-28 14:32:17,255] INFO - CarbonCoreActivator Operating System : Linux 2.6.38-8-generic, amd64 [2011-11-28 14:32:17,255] INFO - CarbonCoreActivator Java Home: /home/sandapa/software/jdk1.6.0_22/jre [2011-11-28 14:32:17,255] INFO - CarbonCoreActivator Java Version : 1.6.0_22 [2011-11-28 14:32:17,255] INFO - CarbonCoreActivator Java VM : Java HotSpot(TM) 64-Bit Server VM 17.1-b03,Sun Microsystems Inc. [2011-11-28 14:32:17,255] INFO - CarbonCoreActivator Carbon Home : /home/sandapa/software/esb/wso2esb-4.0.3 [2011-11-28 14:32:17,255] INFO - CarbonCoreActivator Java Temp Dir: /home/sandapa/software/esb/wso2esb-4.0.3/tmp [2011-11-28 14:32:17,255] INFO - CarbonCoreActivator User : sandapa, en-US, Asia/Colombo log4j:ERROR A org.wso2.carbon.logging.appenders.MemoryAppender object is not assignable to a org.apache.log4j.Appender variable. log4j:ERROR The class org.apache.log4j.Appender was loaded by log4j:ERROR [WebappClassLoader context: / delegate: false repositories: /WEB-INF/classes/ -- Parent Classloader: java.net.URLClassLoader@46b8c8e6 ] whereas object of type log4j:ERROR org.wso2.carbon.logging.appenders.MemoryAppender was loaded by [java.net.URLClassLoader@46b8c8e6]. log4j:ERROR Could not instantiate appender named CARBON_MEMORY. log4j:ERROR A org.wso2.carbon.logging.appenders.MemoryAppender object is not assignable to a org.apache.log4j.Appender variable. log4j:ERROR The class org.apache.log4j.Appender was loaded by log4j:ERROR [WebappClassLoader context: / delegate: false repositories: /WEB-INF/classes/ -- Parent Classloader: java.net.URLClassLoader@46b8c8e6 ] whereas object of type log4j:ERROR org.wso2.carbon.logging.appenders.MemoryAppender was loaded by [java.net.URLClassLoader@46b8c8e6]. log4j:ERROR Could not instantiate appender named TRACE_MEMORYAPPENDER. [2011-11-28 14:32:17,590] INFO - LDAPConfigurationBuilder KDC server is disabled. [2011-11-28 14:32:17,687] INFO - DirectoryActivator Initializing Directory Server with working directory /home/sandapa/software/esb/wso2esb-4.0.3/repository/data/org.wso2.carbon.directory and port 10389 [2011-11-28 14:32:20,188] INFO - ApacheLDAPServer LDAP server started. [2011-11-28 14:32:20,701] INFO - InputOutputAdaptersComponent There is no adapters-component.conf.. Using the default configuration [2011-11-28 14:32:22,647] INFO - PermissionTree updated permission tree from database for tenant 0 [2011-11-28 14:32:23,105] INFO - RegistryCoreServiceComponent Registry Mode: READ-WRITE Regards, Sandapa On Mon, Nov 28, 2011 at 12:12 PM, Lalaji Sureshika lal...@wso2.comwrote: Hi Yumani, We are looking into this. Thanks; On Mon, Nov 28, 2011 at 10:55 AM, Yumani Ranaweera yum...@wso2.comwrote: Hi, I get following errors at the startup of the mashup server. However the server starts after the logs. build was downloaded from [1] [1] - http://builder1.us1.wso2.org/~carbon320/releases/carbon/3.2.3/2011-11-26_23-32-23/ JAVA_HOME environment variable is set to /home/yumani/software/java/jdk1.6.0_21 CARBON_HOME environment variable is set to /home/yumani/Documents/projects/ms/323/wso2ms-2.3.3 log4j:ERROR Unexpected char [T] at position 8 in conversion patterrn. log4j:ERROR Unexpected char [S] at position 13 in conversion patterrn. log4j:ERROR Unexpected char [P] at position 22 in conversion patterrn. log4j:WARN No such property [tenantPattern] in org.apache.log4j.PatternLayout. [2011-11-28 11:49:35,323] INFO - Initializing system... [2011-11-28 11:49:35,479] INFO - Created Connector [HTTP_11_NIO://*:9763] [2011-11-28 11:49:35,482] INFO - Created Connector [HTTPS_11_NIO://*:9443] [2011-11-28 11:49:35,556]
Re: [Carbon-dev] Errors at Mashup Server start up
Root cause of this issue is we are having a log4j dependency inside qpid-client which is inside $CARBON_HOME/lib/core/WEB-INF/lib folder. Once we remove log4j dependency from qpid-client it works fine. Regards, Amani On Mon, Nov 28, 2011 at 3:29 PM, Afkham Azeez az...@wso2.com wrote: Yes, we did that to fix another Mars L1 issue. Tenants were able to mess the log4j global config when the log4j.jar was in bin. How come we didn't see this issue on StratosLive? On Mon, Nov 28, 2011 at 3:27 PM, Amani Soysa am...@wso2.com wrote: I checked this issue in MS and found out that log4j.jar is copied to $Carbon_HOME/lib folder instead of $Carbon_HOME/bin. We are still investigating on this issue. Regards Amani On Mon, Nov 28, 2011 at 3:21 PM, Afkham Azeez az...@wso2.com wrote: Check whether log4j.jar is present in two directories. On Mon, Nov 28, 2011 at 2:52 PM, Sandapa Handakumbura sand...@wso2.comwrote: Hi, I get a similar issue during ESB (4.0.3) start up. JAVA_HOME environment variable is set to /home/sandapa/software/jdk1.6.0_22 CARBON_HOME environment variable is set to /home/sandapa/software/esb/wso2esb-4.0.3 [2011-11-28 14:32:09,888] INFO - Main Initializing system... [2011-11-28 14:32:10,058] INFO - HttpTransport Created Connector [HTTP_11_NIO://*:9763] [2011-11-28 14:32:10,060] INFO - HttpTransport Created Connector [HTTPS_11_NIO://*:9443] [2011-11-28 14:32:10,123] INFO - TomcatCarbonWebappDeployer Deployed Carbon webapp: StandardEngine[Tomcat].StandardHost[defaulthost].StandardContext[/] [2011-11-28 14:32:10,407] INFO - TransactionFactory Starting Atomikos Transaction Manager 3.7.0 [2011-11-28 14:32:17,254] INFO - CarbonCoreActivator Starting WSO2 Carbon... [2011-11-28 14:32:17,255] INFO - CarbonCoreActivator Operating System : Linux 2.6.38-8-generic, amd64 [2011-11-28 14:32:17,255] INFO - CarbonCoreActivator Java Home : /home/sandapa/software/jdk1.6.0_22/jre [2011-11-28 14:32:17,255] INFO - CarbonCoreActivator Java Version : 1.6.0_22 [2011-11-28 14:32:17,255] INFO - CarbonCoreActivator Java VM : Java HotSpot(TM) 64-Bit Server VM 17.1-b03,Sun Microsystems Inc. [2011-11-28 14:32:17,255] INFO - CarbonCoreActivator Carbon Home : /home/sandapa/software/esb/wso2esb-4.0.3 [2011-11-28 14:32:17,255] INFO - CarbonCoreActivator Java Temp Dir : /home/sandapa/software/esb/wso2esb-4.0.3/tmp [2011-11-28 14:32:17,255] INFO - CarbonCoreActivator User : sandapa, en-US, Asia/Colombo log4j:ERROR A org.wso2.carbon.logging.appenders.MemoryAppender object is not assignable to a org.apache.log4j.Appender variable. log4j:ERROR The class org.apache.log4j.Appender was loaded by log4j:ERROR [WebappClassLoader context: / delegate: false repositories: /WEB-INF/classes/ -- Parent Classloader: java.net.URLClassLoader@46b8c8e6 ] whereas object of type log4j:ERROR org.wso2.carbon.logging.appenders.MemoryAppender was loaded by [java.net.URLClassLoader@46b8c8e6]. log4j:ERROR Could not instantiate appender named CARBON_MEMORY. log4j:ERROR A org.wso2.carbon.logging.appenders.MemoryAppender object is not assignable to a org.apache.log4j.Appender variable. log4j:ERROR The class org.apache.log4j.Appender was loaded by log4j:ERROR [WebappClassLoader context: / delegate: false repositories: /WEB-INF/classes/ -- Parent Classloader: java.net.URLClassLoader@46b8c8e6 ] whereas object of type log4j:ERROR org.wso2.carbon.logging.appenders.MemoryAppender was loaded by [java.net.URLClassLoader@46b8c8e6]. log4j:ERROR Could not instantiate appender named TRACE_MEMORYAPPENDER. [2011-11-28 14:32:17,590] INFO - LDAPConfigurationBuilder KDC server is disabled. [2011-11-28 14:32:17,687] INFO - DirectoryActivator Initializing Directory Server with working directory /home/sandapa/software/esb/wso2esb-4.0.3/repository/data/org.wso2.carbon.directory and port 10389 [2011-11-28 14:32:20,188] INFO - ApacheLDAPServer LDAP server started. [2011-11-28 14:32:20,701] INFO - InputOutputAdaptersComponent There is no adapters-component.conf.. Using the default configuration [2011-11-28 14:32:22,647] INFO - PermissionTree updated permission tree from database for tenant 0 [2011-11-28 14:32:23,105] INFO - RegistryCoreServiceComponent Registry Mode: READ-WRITE Regards, Sandapa On Mon, Nov 28, 2011 at 12:12 PM, Lalaji Sureshika lal...@wso2.comwrote: Hi Yumani, We are looking into this. Thanks; On Mon, Nov 28, 2011 at 10:55 AM, Yumani Ranaweera yum...@wso2.comwrote: Hi, I get following errors at the startup of the mashup server. However the server starts after the logs. build was downloaded from [1] [1] - http://builder1.us1.wso2.org/~carbon320/releases/carbon/3.2.3/2011-11-26_23-32-23/ JAVA_HOME environment variable is set to /home/yumani/software/java/jdk1.6.0_21 CARBON_HOME environment variable is set to /home/yumani/Documents/projects/ms/323/wso2ms-2.3.3 log4j:ERROR Unexpected char
Re: [Carbon-dev] Syslog configuration for Carbon products
Hi In our current log-viewer implementation we read logs from the file system (wso2carbon.log). We do not support data base level log-viewer. log viewer can support logs expose via http but it is not design to get log files from a database. Regards, Amani On Tue, Nov 22, 2011 at 2:29 PM, metin d met...@yahoo.com wrote: I setup a syslog-ng server and it logs to a mysql server. I send logs of carbon products to syslog-ng server by configuring a Log4J Appender, and syslog-ng server logs them into mysql server. But how will I monitor logs, there is syslog-config.xml, but how should I use it ? ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Syslog configuration for Carbon products
Yes .. we send our logs to a log collector using syslog server in our stratos environment. Those log collector server information and syslog configuration information are stored in the syslog-config.xml On Tue, Nov 22, 2011 at 3:12 PM, metin d met...@yahoo.com wrote: Then, what is the purpose of syslog-config.xml. Is it only useful if syslog server exposes logs via http ? Thanks, Metin -- *From:* Amani Soysa am...@wso2.com *To:* metin d met...@yahoo.com; carbon-dev@wso2.org *Sent:* Tuesday, November 22, 2011 11:33 AM *Subject:* Re: [Carbon-dev] Syslog configuration for Carbon products Hi In our current log-viewer implementation we read logs from the file system (wso2carbon.log). We do not support data base level log-viewer. log viewer can support logs expose via http but it is not design to get log files from a database. Regards, Amani On Tue, Nov 22, 2011 at 2:29 PM, metin d met...@yahoo.com wrote: I setup a syslog-ng server and it logs to a mysql server. I send logs of carbon products to syslog-ng server by configuring a Log4J Appender, and syslog-ng server logs them into mysql server. But how will I monitor logs, there is syslog-config.xml, but how should I use it ? ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Code review] Logging - Notes
On Fri, Jul 8, 2011 at 11:18 AM, Kathiravelu Pradeeban pradee...@wso2.comwrote: Hi, $Subject can be found in https://wso2.org/crucible/cru/COMPONENT-51. Moreover, given below is the steps to set the tenantId for your threads, such that the logging component will get the tenant id for the respective component/thread. If you are starting a new thread, you have to add this below code segment, for the specific thread, to start the tenant flow, and finally end it. Forwarded message from Amani attached below. Basically what we need to do is to set the tenant id in that component specific thread... So you need to create a class extending AbstractAxis2ConfigurationContextObserver (check admin console o event component) and get the tenant id int tenantId=SuperTenantCarbonContext.getCurrentContext(configurationContext).getTenantId(); and set the tenant id try { SuperTenantCarbonContext.startTenantFlow() SuperTenantCarbonContext.getCurrentContext().setTenantId(tenantID); SuperTenantCarbonContext.getCurrentContext().getTenantDomain(true); if (!loadedTenants.contains(tenantDomain.trim())) { eventBroker.initializeTenant(); loadedTenants.add(tenantDomain.trim()); } } catch (Exception e) { log.error(Error in setting tenant information, e); } finally { SuperTenantCarbonContext.endTenantFlow(); } Please go through the attached files to get a clear idea on how exactly u should do it. This is not the only way to set the tenantId inside the thread.It depends on the place where you set it ... basically when you create new threads you need to set the tenantId. (you only need following few lines of coding) try { SuperTenantCarbonContext.startTenantFlow() SuperTenantCarbonContext.getCurrentContext().setTenantId(tenantID); SuperTenantCarbonContext.getCurrentContext().getTenantDomain(true); //your code } catch (Exception e) { log.error(Error in setting tenant information, e); } finally { SuperTenantCarbonContext.endTenantFlow(); } Thank you. Regards, Pradeeban. -- Kathiravelu Pradeeban. Software Engineer. WSO2 Inc. Blog: [Llovizna] http://kkpradeeban.blogspot.com/ Regards, Amani ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] 2011-07-04 night build is not up to date with the latest jars
Hi, Following newly branched components are not added to the service packs{2011-07-04 night build} !-- event component and feature -- module../../../components/event/org.wso2.carbon.event.core/3.2.1/module module../../../components/event/org.wso2.carbon.event.ws/3.2.1 /module *Following packs are not updated : esb,bps,cep,manager,as,ms,governance,brs,bam,mb* !-- Light weight event feature -- module../../../components/light-weight-eventing/org.wso2.carbon.lwevent.core/3.2.1/module *Following packs are not updated : esb* !-- OAuth components and features-- module../../../components/identity/org.wso2.carbon.identity.oauth.mediator/3.2.1/module *Following packs are not updated : esb* !-- Stratos components -- module../../../components/stratos/payment/org.wso2.carbon.payment.paypal/3.2.1/module *Following packs are not updated : manager* module../../../components/stratos/sample-installer/org.wso2.carbon.sample.installer/3.2.1/module module../../../components/stratos/throttling/org.wso2.carbon.throttling.agent/3.2.1/module module../../../components/stratos/throttling/org.wso2.carbon.usage.agent/3.2.1/module *Following packs are not updated: is,esb,bps,cep,manager,dss,ms,governance,brs,bam,mb* !-- DataServices Component -- module../../../components/data-services/org.wso2.carbon.dataservices.common/3.2.1/module module../../../components/data-services/org.wso2.carbon.dataservices.core/3.2.1/module *Following packs are not updated: manager,bam* !-- Cassandra Component -- module../../../components/cassandra/org.wso2.carbon.cassandra.dataaccess/3.2.1/module module../../../components/cassandra/org.wso2.carbon.cassandra.server/3.2.1/module module../../../components/cassandra/org.wso2.carbon.cassandra.mgt.ui/3.2.1/module *Following packs are not updated:dss * !-- qpid compoents -- module../../../components/qpid/org.wso2.carbon.qpid.commons/3.2.1/module module../../../components/qpid/org.wso2.carbon.qpid.authorization/3.2.1/module *Following packs are not updated:esb,bps,cep,manager,as,ms,governance,brs,bam* !-- message box compoents -- module../../../components/messagebox/org.wso2.carbon.messagebox.core/3.2.1/module module../../../components/messagebox/org.wso2.carbon.messagebox.ui/3.2.1/module *Following packs are not updated:cep* Regards, Amani ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Design/Code reviews this week
Hi, Pls find the Crucible link [1 https://wso2.org/crucible/cru/COMPONENT-51] for the logging component code review. Regards, Amani [1] -https://wso2.org/crucible/cru/COMPONENT-51 On Mon, Jul 4, 2011 at 11:06 AM, Afkham Azeez az...@wso2.com wrote: Also adding; Google Auth Integration - DimuthuL - Thursday 2PM I have added these to the architecture calendar. Owners, please create Crucible projects send the links today. Thanks Azeez On Sun, Jul 3, 2011 at 9:44 PM, Afkham Azeez az...@wso2.com wrote: Folks, I'd like to review some of the new stuff we developed for Stratos before we do the release. I'd like to take up the following items for review this week. 1. Data server - PrabathA Anjana - Monday 2 PM 2. Tomcat request based usage metering, throttling statistics - Milinda - Tuesday 11 AM 3. Service-aware dynamic load balancer - Azeez Pradeeban - Wednesday 11 AM 4. Cassandra integration -Deep - Wednesday 2PM 5. Logging - Amani - Thursday 11AM 6. EC2 autoscaler - Azeez Pradeeban - Friday 11AM While reviewing these items, we have to look for potential security holes performance/scalability issues as well. Please make sure that the Crucible project is created, and the code is run through FindBugs. Also make sure that you have followed all recommended coding guidelines so that we can concentrate all on the functionality logic. We could expect the review sessions to take up to 2 hrs. Thanks Azeez -- *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 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* * * *Lean . Enterprise . Middleware* -- *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 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* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Compilation errors while building 3.2.1
Hi, This is because we change package structure in org.wso2.carbon.logging component some time back. Can you please build the org.wso2.carbon.logging component in carbon core. It should fix this issue. Regards, Amani On Fri, Jun 24, 2011 at 6:39 PM, Supun Kamburugamuva su...@wso2.com wrote: [INFO] Building WSO2 Carbon - Logging Services [INFO]task-segment: [install] [INFO] [INFO] [incremental-build:incremental-build {execution: default}] [INFO] Verifying module descriptor ... [INFO] Pom descriptor modification detected. [INFO] Deleting /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/target [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 20 source files to /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/target/classes [INFO] - [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/registry/RegistryManager.java:[28,40] package org.wso2.carbon.logging.appenders does not exist [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/registry/RegistryManager.java:[29,40] package org.wso2.carbon.logging.appenders does not exist [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/util/LoggingUtil.java:[32,40] package org.wso2.carbon.logging.appenders does not exist [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/util/LoggingUtil.java:[33,40] package org.wso2.carbon.logging.appenders does not exist [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/service/LogViewer.java:[38,40] package org.wso2.carbon.logging.appenders does not exist [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/registry/RegistryManager.java:[226,36] cannot find symbol symbol : class MemoryAppender location: class org.wso2.carbon.logging.registry.RegistryManager [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/registry/RegistryManager.java:[227,16] cannot find symbol symbol : class MemoryAppender location: class org.wso2.carbon.logging.registry.RegistryManager [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/registry/RegistryManager.java:[227,49] cannot find symbol symbol : class MemoryAppender location: class org.wso2.carbon.logging.registry.RegistryManager [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/registry/RegistryManager.java:[228,53] cannot find symbol symbol : class CircularBuffer location: class org.wso2.carbon.logging.registry.RegistryManager [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/util/LoggingUtil.java:[212,29] cannot find symbol symbol : class MemoryAppender location: class org.wso2.carbon.logging.util.LoggingUtil [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/util/LoggingUtil.java:[213,6] cannot find symbol symbol : class MemoryAppender location: class org.wso2.carbon.logging.util.LoggingUtil [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/util/LoggingUtil.java:[213,39] cannot find symbol symbol : class MemoryAppender location: class org.wso2.carbon.logging.util.LoggingUtil [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/util/LoggingUtil.java:[214,43] cannot find symbol symbol : class CircularBuffer location: class org.wso2.carbon.logging.util.LoggingUtil [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/service/LogViewer.java:[149,26] cannot find symbol symbol : class MemoryAppender
Re: [Carbon-dev] Compilation errors while building 3.2.1
On Fri, Jun 24, 2011 at 6:59 PM, Afkham Azeez az...@wso2.com wrote: This was fixed in Carbon 3.2.0 right? We cannot do such changes for 3.2.1 Yes this was done before the release to 3.2.0. On Fri, Jun 24, 2011 at 6:53 PM, Amani Soysa am...@wso2.com wrote: Hi, This is because we change package structure in org.wso2.carbon.logging component some time back. Can you please build the org.wso2.carbon.logging component in carbon core. It should fix this issue. Regards, Amani On Fri, Jun 24, 2011 at 6:39 PM, Supun Kamburugamuva su...@wso2.comwrote: [INFO] Building WSO2 Carbon - Logging Services [INFO]task-segment: [install] [INFO] [INFO] [incremental-build:incremental-build {execution: default}] [INFO] Verifying module descriptor ... [INFO] Pom descriptor modification detected. [INFO] Deleting /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/target [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 20 source files to /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/target/classes [INFO] - [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/registry/RegistryManager.java:[28,40] package org.wso2.carbon.logging.appenders does not exist [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/registry/RegistryManager.java:[29,40] package org.wso2.carbon.logging.appenders does not exist [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/util/LoggingUtil.java:[32,40] package org.wso2.carbon.logging.appenders does not exist [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/util/LoggingUtil.java:[33,40] package org.wso2.carbon.logging.appenders does not exist [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/service/LogViewer.java:[38,40] package org.wso2.carbon.logging.appenders does not exist [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/registry/RegistryManager.java:[226,36] cannot find symbol symbol : class MemoryAppender location: class org.wso2.carbon.logging.registry.RegistryManager [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/registry/RegistryManager.java:[227,16] cannot find symbol symbol : class MemoryAppender location: class org.wso2.carbon.logging.registry.RegistryManager [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/registry/RegistryManager.java:[227,49] cannot find symbol symbol : class MemoryAppender location: class org.wso2.carbon.logging.registry.RegistryManager [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/registry/RegistryManager.java:[228,53] cannot find symbol symbol : class CircularBuffer location: class org.wso2.carbon.logging.registry.RegistryManager [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/util/LoggingUtil.java:[212,29] cannot find symbol symbol : class MemoryAppender location: class org.wso2.carbon.logging.util.LoggingUtil [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/util/LoggingUtil.java:[213,6] cannot find symbol symbol : class MemoryAppender location: class org.wso2.carbon.logging.util.LoggingUtil [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/util/LoggingUtil.java:[213,39] cannot find symbol symbol : class MemoryAppender location: class org.wso2.carbon.logging.util.LoggingUtil [ERROR] /users/supun/dev/wso2/branches/3.2.0/components/logging/org.wso2.carbon.logging.service/3.2.1/src/main/java/org/wso2/carbon/logging/util/LoggingUtil.java:[214,43] cannot find symbol symbol : class CircularBuffer location: class
Re: [Carbon-dev] 3.2.1 build failure - log viewer
Please take an up on org.wso2.carbon.logging.view.ui component. Regards Amani On Wed, Jun 22, 2011 at 8:31 PM, Afkham Azeez az...@wso2.com wrote: INFO] Compiling 1 source file to /Users/azeez/projects/wso2/org/branches/carbon/3.2.0/components/logging/org.wso2.carbon.logging.view.ui/3.2.1/target/classes [INFO] - [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /Users/azeez/projects/wso2/org/branches/carbon/3.2.0/components/logging/org.wso2.carbon.logging.view.ui/3.2.1/src/main/java/org/wso2/carbon/logging/view/ui/LogViewerClient.java:[94,26] cannot find symbol symbol : method downloadLogFiles(java.lang.String,java.lang.String,java.lang.String) location: class org.wso2.carbon.logging.view.stub.LogViewerStub [INFO] 1error [INFO] - [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /Users/azeez/projects/wso2/org/branches/carbon/3.2.0/components/logging/org.wso2.carbon.logging.view.ui/3.2.1/src/main/java/org/wso2/carbon/logging/view/ui/LogViewerClient.java:[94,26] cannot find symbol symbol : method downloadLogFiles(java.lang.String,java.lang.String,java.lang.String) location: class org.wso2.carbon.logging.view.stub.LogViewerStub -- *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 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* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [Stratos-dev] Progress on Stratos pending Stratos issues
On Wed, Jun 8, 2011 at 11:19 AM, Afkham Azeez az...@wso2.com wrote: What are the pending issues in Stratos how are the stuff progressing? The following are the new major attractions in this release. 1. Usage Metering 2. Logging Ready to demo in RC7. However we decided to rotate logs files from the log size and archive log files to increase the performance. Now we are archiving logs by 1M .. and users have the option to download archived log files and view the current log file. 3. Data story, Cassandra 4. Google Auth integration What are the pending issues in those areas (did I miss anything)? Sanjaya has setup private cloud with RC7 packs, is it possible to demonstrate those features on the private cloud? We are having weird issues on EC2 related to LB autoscaling, and most of those issues seem to be AWS specific ones. Sanjaya, Pradeeban, Chamith I will be working on those to sort those out within the next few days. Thanks Azeezg -- *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 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* * * *Lean . Enterprise . Middleware* ___ Stratos-dev mailing list stratos-...@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] Loader constraint violation error when calling DataHandler objects in jsp
Hi, Following exception occurs when trying to call DataHandler objects in jsp [2011-06-08 15:32:16,777] ERROR {org.apache.catalina.core.ContainerBase.[Tomcat].[defaulthost].[/].[bridgeservlet]} - Servlet.service() for servlet [bridgeservlet] in context with path [/] threw exception [Exception in JSP: /log-view/downloadgz-ajaxprocessor.jsp:71 68: serviceName = (serviceName == null) ? WSO2 Stratos Manager : serviceName; 69: *70: DataHandler logs = logViewerClient.downloadLogsFromZip(downloadFile,tenantDomain,serviceName); 71: InputStream fileToDownload = logs.getInputStream();* 72: int c; 73: while((c=fileToDownload.read()) != -1){ 74: zipOutputStream.write(c); Stacktrace:] with root cause java.lang.LinkageError: loader constraint violation: loader (instance of org/apache/jasper/servlet/JasperLoader) previously initiated loading for a different type with name javax/activation/DataHandler at org.apache.jsp.log_002dview.downloadgz_002dajaxprocessor_jsp._jspService(downloadgz_002dajaxprocessor_jsp.java:137) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:119) at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:155) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:241) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:396) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:356) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1534) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Note :- axiom-1.2.11.wso2v1.jar bundle is coppied in both /lib/api/ and repository/components/plugins/ locations Regards Amani ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] ESB 4.0.0 RC3 warns during startup
On Mon, May 30, 2011 at 3:18 PM, Miyuru Wanninayaka miy...@wso2.com wrote: miyuru@miyuru-laptop:~/Downloads/wso2esb-4.0.0/bin$ ./wso2server.sh JAVA_HOME environment variable is set to /home/miyuru/apps/jdk1.6.0_22 CARBON_HOME environment variable is set to /home/miyuru/Downloads/wso2esb-4.0.0 *log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender. log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.* [2011-05-30 15:16:42,649] INFO - Main Initializing system... This is fixed in CARBON-10544 https://wso2.org/jira/browse/CARBON-10544. -- Thanks, Miyuru ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Patches for L1 issues in 3.2.0 branch
Hi I created a L1 issue for logging component (CARBON-10506https://wso2.org/jira/browse/CARBON-10506) because MS and BPS are having separate log4j.properties files and these two products don't have the standard logging pattern. I have attached the patch for this jira as the fix. Regards, Amani On Mon, May 30, 2011 at 10:43 AM, Rajika Kumarasiri raj...@wso2.com wrote: I have a patch for https://wso2.org/jira/browse/CARBON-9699. I am still testing the patch. Rajika On Mon, May 30, 2011 at 9:55 AM, Denis Weerasiri de...@wso2.com wrote: Hi, If you have patches for L1 issues which should be shipped with 3.2.0 branch, please reply to this thread. -- Thanks, Denis -- *Denis Weerasiri* Software Engineer; WSO2 Inc.; http://wso2.com, *email: denis http://goog_277208233/** [AT] wso2.com*http://wso2.com/ * blog: **http://ddweerasiri.blogspot.com*http://ddweerasiri.blogspot.com/ * twitter: **http://twitter.com/ddweerasiri*http://twitter.com/ddweerasiri * linked-in: **http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [IMPORTANT] Carbon 3.2.0 - RC3 - Code Frozen
Hi Denis, I have an L1 issue CARBON-10458 https://wso2.org/jira/browse/CARBON-10458, the fix is a small property change in the log4j.properties file in product level. Since branch is already broken in component level is it ok if i commit my change?. Regards Amani On Sun, May 29, 2011 at 10:24 AM, Denis Weerasiri de...@wso2.com wrote: Hi, FYI, [INFO] Compiling 6 source files to /home/release1/carbon-3.2.0/components/endpoint/org.wso2.carbon.endpoint/3.2.0/target/classes [INFO] [scr:scr {execution: generate-scr-scrdescriptor}] [ERROR] @scr.reference: Invalid Cardinality specification 1..0 (file:/home/release1/carbon-3.2.0/components/endpoint/org.wso2.carbon.endpoint/3.2.0/src/main/java/org/wso2/carbon/endpoint/EndpointServiceComponent.java, line 63) On Sun, May 29, 2011 at 10:22 AM, Denis Weerasiri de...@wso2.com wrote: On Sun, May 29, 2011 at 2:07 AM, Denis Weerasiri de...@wso2.com wrote: On Sun, May 29, 2011 at 1:27 AM, Denis Weerasiri de...@wso2.com wrote: On Sun, May 29, 2011 at 12:55 AM, Prabath Siriwardena prab...@wso2.com wrote: Code frozen for all commits.. svn up in progress for the RC3 build.. Hi, build was triggered based on r106313. Hi, Build had to trigger again with r106315. So RC3 is based on r106315 Hi, RC3 build is in progress at component level. We used a ec2 machine with a clean repo. Thanks regards, -Prabath On Sat, May 28, 2011 at 11:13 PM, Prabath Siriwardena prab...@wso2.com wrote: Please note the $subject. Code is frozen to everyone else other than Supun and Thilina who are working on two L1s. As soon as we get those fixes will trigger the RC3 build. Please refrain from committing... -- Thanks Regards, Prabath http://blog.facilelogin.com http://RampartFAQ.com -- Thanks Regards, Prabath http://blog.facilelogin.com http://RampartFAQ.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks, Denis -- *Denis Weerasiri* Software Engineer; WSO2 Inc.; http://wso2.com, *email: denis http://goog_277208233/** [AT] wso2.com*http://wso2.com/ * blog: **http://ddweerasiri.blogspot.com*http://ddweerasiri.blogspot.com/ * twitter: **http://twitter.com/ddweerasiri*http://twitter.com/ddweerasiri * linked-in: **http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri -- Thanks, Denis -- *Denis Weerasiri* Software Engineer; WSO2 Inc.; http://wso2.com, *email: denis http://goog_277208233/** [AT] wso2.com*http://wso2.com/ * blog: **http://ddweerasiri.blogspot.com*http://ddweerasiri.blogspot.com/ * twitter: **http://twitter.com/ddweerasiri*http://twitter.com/ddweerasiri * linked-in: **http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri -- Thanks, Denis -- *Denis Weerasiri* Software Engineer; WSO2 Inc.; http://wso2.com, *email: denis http://goog_277208233/** [AT] wso2.com*http://wso2.com/ * blog: **http://ddweerasiri.blogspot.com*http://ddweerasiri.blogspot.com/ * twitter: **http://twitter.com/ddweerasiri*http://twitter.com/ddweerasiri * linked-in: **http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri -- Thanks, Denis -- *Denis Weerasiri* Software Engineer; WSO2 Inc.; http://wso2.com, *email: denis http://goog_277208233/** [AT] wso2.com* http://wso2.com/ * blog: **http://ddweerasiri.blogspot.com*http://ddweerasiri.blogspot.com/ * twitter: **http://twitter.com/ddweerasiri*http://twitter.com/ddweerasiri * linked-in: **http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Location of syslogConfig.xml
Hi Now we have removed syslog-config.xml from stand alone apps .. and for services i have put syslog-config.xml in repository/conf/advanced. Regards, Amani On Thu, May 19, 2011 at 11:25 AM, Hiranya Jayathilaka hira...@wso2.comwrote: Hi, I can see a syslogConfig.xml file in repository/components directory. Is this the right place for this? Thanks -- Hiranya Jayathilaka Senior Software Engineer; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Location of syslogConfig.xml
On Thu, May 19, 2011 at 11:40 AM, Hiranya Jayathilaka hira...@wso2.comwrote: There's also a syslog-config.xml file in repository/conf/advanced. I think the former is some obsolete file. May be some feature is copying them into the product (ESB) build? Currently this cannot be reproduced in my build.. I will trigger a build in the builder machine and check. Thanks, Hiranya On Thu, May 19, 2011 at 11:25 AM, Hiranya Jayathilaka hira...@wso2.comwrote: Hi, I can see a syslogConfig.xml file in repository/components directory. Is this the right place for this? Thanks -- Hiranya Jayathilaka Senior Software Engineer; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com -- Hiranya Jayathilaka Senior Software Engineer; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Location of syslogConfig.xml
Hi This is because the my svn delete SyslogConfig.xml is not properly effected in the builder machine. Its fixed now. Regards, Amani On Thu, May 19, 2011 at 12:16 PM, Amani Soysa am...@wso2.com wrote: On Thu, May 19, 2011 at 11:40 AM, Hiranya Jayathilaka hira...@wso2.comwrote: There's also a syslog-config.xml file in repository/conf/advanced. I think the former is some obsolete file. May be some feature is copying them into the product (ESB) build? Currently this cannot be reproduced in my build.. I will trigger a build in the builder machine and check. Thanks, Hiranya On Thu, May 19, 2011 at 11:25 AM, Hiranya Jayathilaka hira...@wso2.comwrote: Hi, I can see a syslogConfig.xml file in repository/components directory. Is this the right place for this? Thanks -- Hiranya Jayathilaka Senior Software Engineer; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com -- Hiranya Jayathilaka Senior Software Engineer; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Using Sun proprietary APIs in carbon
Hi On Fri, May 20, 2011 at 9:31 AM, Denis Weerasiri de...@wso2.com wrote: Hi, In some modules like (Logging Services, Issue Tracker, Secure Vault, Cipher Tool etc) warnings pop up like I will fix this in logging component. [WARNING] ... sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future release When using some application servers (i.e WebSphere, WebLogic), won't this be an issue? -- Thanks, Denis -- *Denis Weerasiri* Software Engineer; WSO2 Inc.; http://wso2.com, *email: denis http://goog_277208233/** [AT] wso2.com* http://wso2.com/ * blog: **http://ddweerasiri.blogspot.com*http://ddweerasiri.blogspot.com/ * twitter: **http://twitter.com/ddweerasiri*http://twitter.com/ddweerasiri * linked-in: **http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Error While Starting Sample Axis2 Server of ESB
On Tue, May 17, 2011 at 1:03 PM, Afkham Azeez az...@wso2.com wrote: A carbon.home system prop has to be set. This was an enhancement required by another Jira related to log file locations. Amani could provide more background info. Yes carbon.home system prop has to be set. Its a fix for CARBON-9425 https://wso2.org/jira/browse/CARBON-9425. This is because when we deploy our products in other application servers (tomcact / weblogic ect) the log files do not get created in the correct path. Therefore, we changed log4j.appender.CARBON_LOGFILE.File=repository/logs/${instance.log}/wso2carbon${instance.log}.log to log4j.appender.CARBON_LOGFILE.File=${carbon.home}/repository/logs/${instance.log}/wso2carbon${instance.log}.log On Tue, May 17, 2011 at 1:00 PM, Hiranya Jayathilaka hira...@wso2.comwrote: It's something to do with how file paths are specified in log4j.properties. Earlier file paths were defined as follows: log4j.appender.CARBON_LOGFILE.File=repository/logs/${instance.log}/wso2-esb${instance.log}.log Now they are defined as follows: log4j.appender.CARBON_LOGFILE.File=*${carbon.home}* /repository/logs/${instance.log}/wso2carbon${instance.log}.log Note the ${carbon.home} place holder in the new file path. How does it resolve the ${carbon.home} place holder? Thanks, Hiranya On Tue, May 17, 2011 at 12:48 PM, Hiranya Jayathilaka hira...@wso2.comwrote: On Tue, May 17, 2011 at 12:42 PM, Hiranya Jayathilaka hira...@wso2.comwrote: On Tue, May 17, 2011 at 11:20 AM, Amila Maha Arachchi ami...@wso2.comwrote: Hi, I remember a thread going on to make esb log file names consistent with other carbon products' log file names (due to introduction of syslog). Something to do with that? Actually you are right. When I put the old log4j.properties the error doesn't occur. So this is a regression caused by the above change. Thanks, Hiranya I don't think so. It's looking for some log files in repository/logs directory according to the stack trace. But the log files actually exist in CARBON_HOME/repository/logs. It's picking up the correct log file names from the main log4j.properties file. But apparently it cannot resolve the CARBON_HOME. Thanks, Hiranya Thanks, AmilaM. On Tue, May 17, 2011 at 11:14 AM, Hiranya Jayathilaka hira...@wso2.com wrote: Any idea why this happens? Using JAVA_HOME: /opt/jdk1.6.0_16 Using AXIS2 Repository : /home/hiranya/Projects/Test/stats/wso2esb-4.0.0-SNAPSHOT/samples/axis2Server/repository Using AXIS2 Configuration : /home/hiranya/Projects/Test/stats/wso2esb-4.0.0-SNAPSHOT/samples/axis2Server/repository/conf/axis2.xml log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /repository/logs/wso2carbon.log (No such file or directory) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:177) at java.io.FileOutputStream.init(FileOutputStream.java:102) at org.apache.log4j.FileAppender.setFile(FileAppender.java:289) at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:165) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:132) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:96) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:654) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612) at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468) at org.apache.log4j.LogManager.clinit(LogManager.java:122) at org.apache.log4j.Logger.getLogger(Logger.java:104) at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:289) at org.apache.commons.logging.impl.Log4JLogger.init(Log4JLogger.java:109) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1116) at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:914) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336) at
Re: [Carbon-dev] Where the syslogConfig.xml comes from?
On Sun, May 8, 2011 at 11:15 AM, Afkham Azeez az...@wso2.com wrote: Amani, when you name files, XML tags etc. you have to look at the conventions followed by the existing files, and should not deviate from it. AFAIK, we don't have camel cased config XML file names. I will change it accordingly On Fri, May 6, 2011 at 2:42 PM, Danushka Menikkumbura danus...@wso2.comwrote: I can not build the ESB because of missing syslogConfig.xml file. Most probably I have not built a required feature, I can not locate it inside any feature, though. Any idea? Thanks, Danushka ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *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 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* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Where the syslogConfig.xml comes from?
Hi Its comming from the logging-mgt feature . please take an svn up in logging-mgt feature and build. Regards, Amani On Fri, May 6, 2011 at 2:42 PM, Danushka Menikkumbura danus...@wso2.comwrote: I can not build the ESB because of missing syslogConfig.xml file. Most probably I have not built a required feature, I can not locate it inside any feature, though. Any idea? Thanks, Danushka ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Scraping Assistant Tool in DSS and AS
Hi, On Mon, Apr 25, 2011 at 1:32 PM, Isuru Suriarachchi is...@wso2.com wrote: Hi all, After adding DS features into AS, I found that the Scrapping Assistant tool is installed with the DS features. According to Sumesha, this tool is used by DS features. So this tool should be providing some generic functionality. But when I have a look at the user guide of this tool, it specifically talks about Mashups. So the user guide should be updated to provide the generic idea behind the tool. Yes this should be a generic document. And also, have we documented how this tool is used in DS? If not, I think we have to add a doc on that. We have already updated the DSS user guide along with samples Thanks, ~Isuru -- Isuru Suriarachchi Technical Lead Product Manager, WSO2 Application Server WSO2 Inc. http://wso2.com email : is...@wso2.com blog : http://isurues.wordpress.com/ lean . enterprise . middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev Regards Amani ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] ESB test failures
HI, Its my bad very sorry for the inconvenience I will fix it now. On Sat, Apr 23, 2011 at 9:51 AM, Kasun Indrasiri ka...@wso2.com wrote: Looks like LogViewer is rewritten and I couldn't find a method to get a set of INFO logs. i.e.LogMessage[] logs = logViewerStub.getLogs(INFO, LogMediator); BTW, before committing such changes, author must check for the usage of that component and fix the dependents. On Sat, Apr 23, 2011 at 9:37 AM, Kasun Indrasiri ka...@wso2.com wrote: This is because LogViewerStub interface was changed and getLogs method is removed. We are in the process of fixing this. On Sat, Apr 23, 2011 at 6:52 AM, Afkham Azeez az...@wso2.com wrote: [INFO] Copying 4 resources [INFO] [antrun:run {execution: create-temp-dir}] [INFO] Executing tasks [mkdir] Created dir: /Users/azeez/projects/wso2/org/trunk/carbon/products/esb/modules/integration/mediators/log-mediator/target/carbontmp/wso2esb-4.0.0-SNAPSHOT [INFO] Executed tasks [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Compiling 5 source files to /Users/azeez/projects/wso2/org/trunk/carbon/products/esb/modules/integration/mediators/log-mediator/target/test-classes [INFO] - [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /Users/azeez/projects/wso2/org/trunk/carbon/products/esb/modules/integration/mediators/log-mediator/src/test/java/org/wso2/carbon/mediator/log/test/LogMediatorSimpleLevelTest.java:[51,41] cannot find symbol symbol : method getLogs(java.lang.String,java.lang.String) location: class org.wso2.carbon.logging.view.stub.LogViewerStub [ERROR] /Users/azeez/projects/wso2/org/trunk/carbon/products/esb/modules/integration/mediators/log-mediator/src/test/java/org/wso2/carbon/mediator/log/test/LogMediatorHeaderLevelTest.java:[52,41] cannot find symbol symbol : method getLogs(java.lang.String,java.lang.String) location: class org.wso2.carbon.logging.view.stub.LogViewerStub [ERROR] /Users/azeez/projects/wso2/org/trunk/carbon/products/esb/modules/integration/mediators/log-mediator/src/test/java/org/wso2/carbon/mediator/log/test/LogMediatorFullLevelTest.java:[51,41] cannot find symbol symbol : method getLogs(java.lang.String,java.lang.String) location: class org.wso2.carbon.logging.view.stub.LogViewerStub [ERROR] /Users/azeez/projects/wso2/org/trunk/carbon/products/esb/modules/integration/mediators/log-mediator/src/test/java/org/wso2/carbon/mediator/log/test/LogMediatorCustomLevelTest.java:[51,41] cannot find symbol symbol : method getLogs(java.lang.String,java.lang.String) location: class org.wso2.carbon.logging.view.stub.LogViewerStub [INFO] 4 errors [INFO] - [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /Users/azeez/projects/wso2/org/trunk/carbon/products/esb/modules/integration/mediators/log-mediator/src/test/java/org/wso2/carbon/mediator/log/test/LogMediatorSimpleLevelTest.java:[51,41] cannot find symbol symbol : method getLogs(java.lang.String,java.lang.String) location: class org.wso2.carbon.logging.view.stub.LogViewerStub /Users/azeez/projects/wso2/org/trunk/carbon/products/esb/modules/integration/mediators/log-mediator/src/test/java/org/wso2/carbon/mediator/log/test/LogMediatorHeaderLevelTest.java:[52,41] cannot find symbol symbol : method getLogs(java.lang.String,java.lang.String) location: class org.wso2.carbon.logging.view.stub.LogViewerStub /Users/azeez/projects/wso2/org/trunk/carbon/products/esb/modules/integration/mediators/log-mediator/src/test/java/org/wso2/carbon/mediator/log/test/LogMediatorFullLevelTest.java:[51,41] cannot find symbol symbol : method getLogs(java.lang.String,java.lang.String) location: class org.wso2.carbon.logging.view.stub.LogViewerStub /Users/azeez/projects/wso2/org/trunk/carbon/products/esb/modules/integration/mediators/log-mediator/src/test/java/org/wso2/carbon/mediator/log/test/LogMediatorCustomLevelTest.java:[51,41] cannot find symbol symbol : method getLogs(java.lang.String,java.lang.String) location: class org.wso2.carbon.logging.view.stub.LogViewerStub -- *Afkham Azeez* Senior Software Architect Senior Manager; 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 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* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org
Re: [Carbon-dev] What is Syslog configuration in Logging management UI?
Sure.. will do On Sat, Apr 16, 2011 at 10:06 AM, Afkham Azeez az...@wso2.com wrote: It will be better to put all the stuff discussed on this thread into a doc. Azeez On Sat, Apr 16, 2011 at 8:02 AM, Charitha Kankanamge chari...@wso2.comwrote: Thanks for the nice explanation Sumedha, Amani and Deep. On Fri, Apr 15, 2011 at 10:43 PM, Sumedha Rubasinghe sume...@wso2.comwrote: On Fri, Apr 15, 2011 at 7:45 PM, Charitha Kankanamge chari...@wso2.comwrote: Hi all, I see the following Syslog property config element in Logging management UI of the latest AS pack. What is this supposed to do? Can someone please explain or point me to the relevant discussion (or document/article)? Charitha, How this fits into an enterprise deployment is as follows. Syslog is a standard well known protocol where there is a syslog server clients (syslog event publishers). Most of the server software(OS, app servers, email, database engines,web servers) support acting as syslog clients. From a system administration PoV, it's very convenient to see all the log events coming to a single server ability to monitor everything from a single console. Log4j by default provides the capability of publishing to syslog servers. So we had this capability b4. This UI is part of enhancement related to Stratos logging. Check [1] for additional info. /sumedha [1] http://www.monitorware.com/common/en/articles/syslog-described.php [image: Screenshot-WSO2 Management Console - Mozilla Firefox.png] Regards Charitha ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Afkham Azeez* Senior Software Architect Senior Manager; 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 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* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev Screenshot-WSO2 Management Console - Mozilla Firefox.png___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] What is Syslog configuration in Logging management UI?
Hi On Fri, Apr 15, 2011 at 11:11 PM, Senaka Fernando sen...@wso2.com wrote: On Fri, Apr 15, 2011 at 10:58 PM, Sumedha Rubasinghe sume...@wso2.comwrote: On Fri, Apr 15, 2011 at 10:48 PM, Senaka Fernando sen...@wso2.comwrote: Hi all, Small question. Based on Amani's explanation, why do we have URL + Port? Isn't Port redundant? I believe correct terminology should be server port. That goes well with Log4j Syslog-ng terminology[2] as well. Yes syslog-ng log url is where the log cluster is hosted .. (i will change the names to server and port ). /sumedha [2] http://wiki.apache.org/logging-log4j/syslog I felt the same, initially. But Amani's explanation confused me a bit, since the value for URL was, http://127.0.0.1/logs. That endpoint clearly has more than the host name in it. So, I'm still in doubt. Anyway in general, I'm +1 for using Host + Port instead of URL, since syslog is something that's not directly bound to HTTP or something, AFAIK (correct me if I'm wrong). Thanks, Senaka. Thanks, Senaka. On Fri, Apr 15, 2011 at 10:43 PM, Sumedha Rubasinghe sume...@wso2.comwrote: On Fri, Apr 15, 2011 at 7:45 PM, Charitha Kankanamge chari...@wso2.com wrote: Hi all, I see the following Syslog property config element in Logging management UI of the latest AS pack. What is this supposed to do? Can someone please explain or point me to the relevant discussion (or document/article)? Charitha, How this fits into an enterprise deployment is as follows. Syslog is a standard well known protocol where there is a syslog server clients (syslog event publishers). Most of the server software(OS, app servers, email, database engines,web servers) support acting as syslog clients. From a system administration PoV, it's very convenient to see all the log events coming to a single server ability to monitor everything from a single console. Log4j by default provides the capability of publishing to syslog servers. So we had this capability b4. This UI is part of enhancement related to Stratos logging. Check [1] for additional info. /sumedha [1] http://www.monitorware.com/common/en/articles/syslog-described.php [image: Screenshot-WSO2 Management Console - Mozilla Firefox.png] Regards Charitha ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2, Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://www.linkedin.com/in/senakafernando *Lean . Enterprise . Middleware -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2, Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://www.linkedin.com/in/senakafernando *Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [2011-03-16 15:02:29, 393] WARN {org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator} - We don't support method overloading. Ignoring [getLogs]
Yes i will have look on this issue Regards, Amani On Wed, Mar 16, 2011 at 3:03 PM, Afkham Azeez az...@wso2.com wrote: Amani, Please fix the log viewer admin service. We are seeing $subject when the server starts up. -- *Afkham Azeez* Senior Software Architect Senior Manager; 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 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* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] [2011-03-16 15:02:29, 393] WARN {org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator} - We don't support method overloading. Ignoring [getLogs]
Fixed. Please take a svn update of logging component. Regards Amani On Wed, Mar 16, 2011 at 3:03 PM, Afkham Azeez az...@wso2.com wrote: Amani, Please fix the log viewer admin service. We are seeing $subject when the server starts up. -- *Afkham Azeez* Senior Software Architect Senior Manager; 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 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* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Session on DS wizard usability
hi azees, Anjana went through a surgery and guess he is not in a state to reply.So most probably he will not come to work next week. Regards, Amani On Sun, Feb 6, 2011 at 9:05 AM, Afkham Azeez az...@wso2.com wrote: Anjana, No ACK? :) On Fri, Feb 4, 2011 at 8:39 PM, Afkham Azeez az...@wso2.com wrote: I'd like to have this session early next week with Anjana et. al, and it will also be good for the tooling folks to be there. I want to do this while it is fresh on my mind. -- Afkham Azeez Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware -- Afkham Azeez Senior Software Architect Senior Manager; WSO2, Inc.; http://wso2.com, Member; Apache Software Foundation; http://www.apache.org/ email: az...@wso2.com cell: +94 77 3320919 blog: http://blog.afkham.org twitter: http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Data Services not getting deployed in trunk
Yeah Ive also seen this before and even in other products.. I am also not sure what is the cause of it .. maybe its a carbon-core issue? On Sat, Feb 5, 2011 at 7:37 PM, Tharindu Mathew thari...@wso2.com wrote: Thanks Amani for the fix on this. I don't see the exceptions at start up, but I do see a peculiar occurrence. Some of the data services now get deployed after the server start up. Shouldn't this happen before? The log is given below: [2011-02-05 19:36:37,600] INFO {org.wso2.carbon.core.transports.http.HttpsTransportListener} - HTTPS port : 9443 [2011-02-05 19:36:37,601] INFO {org.wso2.carbon.core.transports.http.HttpTransportListener} - HTTP port : 9763 [2011-02-05 19:36:39,407] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: BAMArchiverDS {super-tenant} [2011-02-05 19:36:40,124] INFO {org.apache.axis2.deployment.DeploymentEngine} - Deploying Web service: BAMArchiverDS.dbs - file:/home/mackie/source-checkouts/carbon/products/bam/modules/distribution/target/wso2bam-1.3.0-SNAPSHOT/repository/deployment/server/dataservices/BAMArchiverDS.dbs [2011-02-05 19:36:40,252] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: BAMDataCollectionDS {super-tenant} [2011-02-05 19:36:42,337] INFO {org.apache.axis2.deployment.DeploymentEngine} - Deploying Web service: BAMDataCollectionDS.dbs - file:/home/mackie/source-checkouts/carbon/products/bam/modules/distribution/target/wso2bam-1.3.0-SNAPSHOT/repository/deployment/server/dataservices/BAMDataCollectionDS.dbs [2011-02-05 19:36:42,597] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: BAMSummaryQueryDS {super-tenant} [2011-02-05 19:36:44,724] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL : https://192.168.1.108:9443/carbon/ [2011-02-05 19:36:44,786] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Started Transport Listener Manager [2011-02-05 19:36:44,797] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Server : WSO2 Business Activity Monitor-1.3.0-SNAPSHOT *[2011-02-05 19:36:44,797] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 Carbon started in 31 sec* [2011-02-05 19:36:45,271] INFO {org.apache.axis2.deployment.DeploymentEngine} - Deploying Web service: BAMSummaryQueryDS.dbs - file:/home/mackie/source-checkouts/carbon/products/bam/modules/distribution/target/wso2bam-1.3.0-SNAPSHOT/repository/deployment/server/dataservices/BAMSummaryQueryDS.dbs [2011-02-05 19:36:45,469] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: BAMConfigurationDS {super-tenant} [2011-02-05 19:36:49,189] INFO {org.apache.axis2.deployment.DeploymentEngine} - Deploying Web service: BAMConfigurationDS.dbs - file:/home/mackie/source-checkouts/carbon/products/bam/modules/distribution/target/wso2bam-1.3.0-SNAPSHOT/repository/deployment/server/dataservices/BAMConfigurationDS.dbs [2011-02-05 19:36:49,513] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: BAMStatQueryDS {super-tenant} [2011-02-05 19:36:56,305] INFO {org.apache.axis2.deployment.DeploymentEngine} - Deploying Web service: BAMStatQueryDS.dbs - file:/home/mackie/source-checkouts/carbon/products/bam/modules/distribution/target/wso2bam-1.3.0-SNAPSHOT/repository/deployment/server/dataservices/BAMStatQueryDS.dbs On Thu, Feb 3, 2011 at 11:50 AM, Tharindu Mathew thari...@wso2.comwrote: Hi Amani, What is the fix for this? I have the data source feature in BAM. On Thu, Feb 3, 2011 at 11:00 AM, Amani Soysa am...@wso2.com wrote: Hi, This is because data source (bam_datasource) is nonexistent the data source which is referred by the dbs. Regards, Amani On Wed, Feb 2, 2011 at 9:24 PM, Tharindu Mathew thari...@wso2.comwrote: I see the following exception when starting up BAM: Have I missed an update somewhere? [2011-02-02 21:23:09,129] INFO {org.apache.axis2.deployment.DeploymentEngine} - org.apache.axis2.deployment.DeploymentException: The BAMSummaryGenerationDS.dbs service, which is not valid, caused {1} [2011-02-02 21:23:09,381] ERROR {org.wso2.carbon.dataservices.core.DBDeployer} - The BAMStatQueryDS.dbs service, which is not valid, caused {1} DS Code: unknown_error Source Data Service:- Name: BAMStatQueryDS Location: /home/mackie/source-checkouts/carbon/products/bam/modules/distribution/target/wso2bam-1.3.0-SNAPSHOT/repository/deployment/server/dataservices/BAMStatQueryDS.dbs Description: N/A Default Namespace: http://ws.wso2.org/dataservice Nested Exception:- java.lang.NullPointerException at org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataServiceFactory.java:241) at org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java:588) at org.wso2
Re: [Carbon-dev] Data Services not getting deployed in trunk
Hi, This is because data source (bam_datasource) is nonexistent the data source which is referred by the dbs. Regards, Amani On Wed, Feb 2, 2011 at 9:24 PM, Tharindu Mathew thari...@wso2.com wrote: I see the following exception when starting up BAM: Have I missed an update somewhere? [2011-02-02 21:23:09,129] INFO {org.apache.axis2.deployment.DeploymentEngine} - org.apache.axis2.deployment.DeploymentException: The BAMSummaryGenerationDS.dbs service, which is not valid, caused {1} [2011-02-02 21:23:09,381] ERROR {org.wso2.carbon.dataservices.core.DBDeployer} - The BAMStatQueryDS.dbs service, which is not valid, caused {1} DS Code: unknown_error Source Data Service:- Name: BAMStatQueryDS Location: /home/mackie/source-checkouts/carbon/products/bam/modules/distribution/target/wso2bam-1.3.0-SNAPSHOT/repository/deployment/server/dataservices/BAMStatQueryDS.dbs Description: N/A Default Namespace: http://ws.wso2.org/dataservice Nested Exception:- java.lang.NullPointerException at org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataServiceFactory.java:241) at org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java:588) at org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:938) at org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:179) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:370) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:364) at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73) at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94) at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:93) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: java.lang.NullPointerException at org.wso2.carbon.dataservices.core.description.query.SQLQueryDialectCarbonDSListener.setCarbonDataSourceService(SQLQueryDialectCarbonDSListener.java:46) at org.wso2.carbon.dataservices.core.internal.DataServicesDSComponent.registerCarbonDataSourceServiceListener(DataServicesDSComponent.java:206) at org.wso2.carbon.dataservices.core.description.query.QueryFactory.createSQLQuery(QueryFactory.java:319) at org.wso2.carbon.dataservices.core.description.query.QueryFactory.createQuery(QueryFactory.java:72) at org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataServiceFactory.java:176) ... 14 more -- Regards, Tharindu ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Data services server - dashboard is not relevant to the management console
In the upcoming release we will be removing all the gadgets because we are not deploying any samples by default. On Tue, Jan 25, 2011 at 11:57 AM, Afkham Azeez az...@wso2.com wrote: See the attachment. It looks as if the dashboard was stuck into the console, just for the sake of having some gadgets. Samples related stuff should not be on the main menu. -- *Afkham Azeez* Senior Software Architect Senior Manager; 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 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* * * *Lean . Enterprise . Middleware* ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] DSS not storing past data sources
HI, Also, after selecting RDBMS, the driver class and jdbc url is auto-filled only after a change has occurred. The default selection, which is mysql, does not have this auto filled. If these do not have JIRAs, I will create them. Please ack. This issue has raised when testing stratos (Issue STRATOS-501) and fixed. Regards, Amani On Tue, Jan 18, 2011 at 10:14 AM, Tharindu Mathew thari...@wso2.com wrote: Hi folks, Why does $subject occur? I have to define the same data source over and over, without being able to re-use data sources I have defined before in other services. Also, after selecting RDBMS, the driver class and jdbc url is auto-filled only after a change has occurred. The default selection, which is mysql, does not have this auto filled. If these do not have JIRAs, I will create them. Please ack. -- Regards, Tharindu ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] DS broken - Fwd: [Stratos-dev] WSO2 Stratos Nightly Build has FAILED
Fixed :) On Mon, Nov 29, 2010 at 1:44 PM, Sumedha Rubasinghe sume...@wso2.comwrote: PrabathA looking into this. /sumedha On Mon, Nov 29, 2010 at 1:39 PM, Samisa Abeysinghe sam...@wso2.com wrote: [INFO] Compiling 363 source files to /home/carbon/stratos/carbon/components/data-services/org.wso2.carbon.dataservices.core/3.1.0/target/classes [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /home/carbon/stratos/carbon/components/data-services/org.wso2.carbon.dataservices.core/3.1.0/src/main/java/org/wso2/carbon/dataservices/core/admin/DataServiceAdmin.java:[510,16] cannot find symbol symbol : method getColumnNames(java.lang.String) location: class org.wso2.carbon.dataservices.core.DBUtils Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] DS gadgets fail when web context change
Hi When I change the web context of DS, gadgets don't import the javascript code. There is a / at the beginning of the src value of the highlighted text(Red) which then calls the url https://10.100.0.170:9443/ gadgets/concat?rewriteMime=text/javascript... in order to load needed javascript code. But the actual url should be https://10.100.0.170:9443/ds/ gadgets/concat?rewriteMime=text/javascript i.e. we need to remove the / at the beginning for the proper operation. So the correct src value shoud be something like scr=gadgets/concat?rewriteMime=text/javascript iframe .. src=https://10.100.0.170:9443/ds/ifr?container=defaul...; html head.../head body dir=ltr script type=text/javascript src= /gadgets/concat?rewriteMime=text/javascript.../script . . /body /html /iframe If this a common issue in other products if not any idea how to fix this? :) Regards, Amani ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] [Code review] Data services - Notes
Code Review Notes - Consider generating a single operation for batch request operations other than getting two operations when needed. - isBatchRequest -DBUtils.setBatchProcessing(true) --- should not set flags like this. (it should be like start begin transaction, commit and abort) should refactor - doFinalize method name should change (better terminology) - Better documentation on prefetchdataInfo - Document prefectDataInfor - excute method parameters - Refactor overall batch request / boxcarring code. - isHasResult method should be renamed (auto generated code) - Validate call querry group sections. Regards, Amani ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] dataservices fault handling - i.e. jdbc primary-key violation...
Regarding your issue :- sqlupdate Products set productName=?, productLine=?,quantityInStock= ?,buyPrice=? WHERE productCode=?/sql result element=Products rowName=Product defaultNamespace= http://www.oes20.org/wso2dss/sampleP1; element name=productCode column=productCode requiredRoles=everyone xsdType=xs:string / /result Your output mapping is wrong because you cannot map a result if your SQL querry is not returning anything. Only the fields which are returned from the SQL querry can be mapped into output mapping fields therefore, you cannot map an output mappings for Update/Delete/Insert Queries. Is the patch release planned/scheduled, or would it better to build the trunk or patch a single class-file? The Patch release will release end of this month. the question is how to specify datasource-fault-handling, or is it hardcoded? If hardcoded ... is there a table of errorshttp-status-codes or in which source-file can i find it? It is not hardcoded we do not specifically handle faulty handling if an error occurs we send back a generic soap fault.(http-status-code :500) The wsdl2 is not valid and even not well-formed. Is this a known issue or should I file a jira-ticket? Yes raise a JIRA issue regarding this. On Wed, Aug 18, 2010 at 4:11 PM, Manfred Herrmann herrmann.manf...@googlemail.com wrote: 4. Is it possible to change the default MEP in-only for POST/PUT/DELETE methods? MEP is in-only in DS for queries that don't return any results (if you don't provide a result section in the query). If you provide a result section in the query, MEP is in-out. The ResourcesSample contains only queries with result-section. The wsdl2 for the operations shows MEP=in-only (pattern= http://www.w3.org/ns/wsdl/in-only ). Sorry Amani, it was too late. There are NO result-sections in insert/update/delete queries. I tried to define some results(output-mappings) with the edit-wizzard. query id=updateProductQuery useConfig=default sqlupdate Products set productName=?, productLine=?,quantityInStock=?,buyPrice=? WHERE productCode=?/sql result element=Products rowName=Product defaultNamespace= http://www.oes20.org/wso2dss/sampleP1; element name=productCode column=productCode requiredRoles=everyone xsdType=xs:string / /result param name=productCode paramType=SCALAR sqlType=STRING type=IN ordinal=5 / param name=productName paramType=SCALAR sqlType=STRING type=IN ordinal=1 / param name=productLine paramType=SCALAR sqlType=STRING type=IN ordinal=2 / param name=quantityInStock paramType=SCALAR sqlType=INTEGER type=IN ordinal=3 / param name=buyPrice paramType=SCALAR sqlType=DOUBLE type=IN ordinal=4 / /query The output-mapping is saved to the *.dbs file and the service is not in fault-state. If I try to execute the PUT / update resource-URL the DSS throws this exception: [2010-08-18 11:49:26,772] ERROR - DS Fault Message: Error in 'SQLQuery.processNormalQuery' Source Data Service:- Name: ResourcesSample1 Location: /opt/WSO2/dist-3.0.0/wso2dataservices-2.5.0/repository/deployment/server/dataservices/ResourcesSample1.dbs Description: N/A Default Namespace: http://ws.wso2.org/dataserviceCurrent Request Name: _putproduct_productcode_productname_productline_quantityinstock_buyprice Current Params: {quantityInStock=353, productCode=mhePC3, productLine=pl3, buyPrice=353.353, productName=pc3} Nested Exception:- org.h2.jdbc.JdbcSQLException: Methode nur zulässig for eine Abfrage. Erlaubt sind execute oder executeUpdate, nicht jedoch executeQuery Method is only allowed for a query. Use execute or executeUpdate instead of executeQuery; SQL statement: update Products set productName=?, productLine=?,quantityInStock=?,buyPrice=? WHERE productCode=? [90002-112] Is it my mistake or is it a issue? Do you know how to debug and/or workaround this issues? The wsdl2 is not valid and even not well-formed. Is this a known issue or should I file a jira-ticket? thanks Manfred ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] dataservices fault handling - i.e. jdbc primary-key violation...
Is this a missing feature or is it based on a product-design/-decision? The ResourcesSample-Gadgets are not very reliable and there is no user-feedback et all. How should we implement a application with assurance about DB-operations? I think for read-/select-only usecases its o.k.. For the insert/update/delete usecases I have no good idea how to give good user-feedback. At the moment there's a DSS bug which i mentioned in my previous mail ( data services back end and gadgets did not receive the faults). which will be fixed in the next patch release.. In DSS when an error occurs you will get the SOAP fault along with the error message and from the gadgets you can handle that error. On Wed, Aug 18, 2010 at 9:02 PM, Manfred Herrmann herrmann.manf...@googlemail.com wrote: the SQL querry can be mapped into output mapping fields therefore, you cannot map an output mappings for Update/Delete/Insert Queries. o.k. :-) the question is how to specify datasource-fault-handling, or is it hardcoded? If hardcoded ... is there a table of errorshttp-status-codes or in which source-file can i find it? It is not hardcoded we do not specifically handle faulty handling if an error occurs we send back a generic soap fault.(http-status-code :500) Is this a missing feature or is it based on a product-design/-decision? The ResourcesSample-Gadgets are not very reliable and there is no user-feedback et all. How should we implement a application with assurance about DB-operations? I think for read-/select-only usecases its o.k.. For the insert/update/delete usecases I have no good idea how to give good user-feedback. The wsdl2 is not valid and even not well-formed. Is this a known issue or should I file a jira-ticket? Yes raise a JIRA issue regarding this. o.k. ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] dataservices fault handling - i.e. jdbc primary-key violation...
Sorry for the late response ... In data-oriented business-apps a datasource throws errors/infos to the user like at create - row allready exists and at update/delete - row not exists. The WSO2-DSS samples are very silent. This is due to an error in the data services back end and gadgets did not receive the faults. We have fixed this issue in trunk at the moment and you will be able to get this in our upcoming patch release. 1. This wiki-entry https://wso2.org/wiki/display/wsf/Data+Services+and+Resources contains an empty table of mapping datasourceErrors-http-error-codes in section Defining Resources - fault codes - is this implemented? 2. The WSDL2 spec contains handling of interface fault - http-status-code http://www.w3.org/TR/2007/REC-wsdl20-adjuncts-20070626/#http-fault-decl - is this implemented? Above features are not yet implemented in data services. 3. Is it possible to specify datasource-fault-handling? This is also due to the same error handling issue, which i have mentioned above. 4. Is it possible to change the default MEP in-only for POST/PUT/DELETE methods? MEP is in-only in DS for queries that don't return any results (if you don't provide a result section in the query). If you provide a result section in the query, MEP is in-out. Thanks. Amani On Tue, Aug 10, 2010 at 7:37 PM, Manfred Herrmann herrmann.manf...@googlemail.com wrote: Even after a long time of following and researching the WSO2-DataServicesServer product, I can not 100% understand the usecases of the REST / ResourcesSample. My understanding: 1. In data-oriented business-apps a datasource throws errors/infos to the user like at create - row allready exists and at update/delete - row not exists. The WSO2-DSS samples are very silent. 2. The DSS 2.5.0 gadget/dashboard-sample consumes dataservice-ResourceSample RESTful ... by CRUD-requests (http-post/get/put/delete methods). 3. The editor-gadget is a sample of a database-crud-editor - i. e. usecase: db-table-editor. Open items/questions: 1. This wiki-entry https://wso2.org/wiki/display/wsf/Data+Services+and+Resources contains an empty table of mapping datasourceErrors-http-error-codes in section Defining Resources - fault codes - is this implemented? 2. The WSDL2 spec contains handling of interface fault - http-status-code http://www.w3.org/TR/2007/REC-wsdl20-adjuncts-20070626/#http-fault-decl - is this implemented? 3. Is it possible to specify datasource-fault-handling? 4. Is it possible to change the default MEP in-only for POST/PUT/DELETE methods? My background/UseCase: I would like to implement business-apps like gadget-resoucesSample. ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] data services component build failed
Hi, Sorry I forgot to commit a file it's fixed now. Regards, Amani On Thu, Jul 29, 2010 at 5:03 AM, Samisa Abeysinghe sam...@wso2.com wrote: [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /home/stratos/build/carbon/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/DataServiceDocLitWrappedSchemaGenerator.java:[262,40] cannot find symbol symbol : variable RDF_ABOUT location: class org.wso2.carbon.dataservices.common.DBConstants Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev