Re: [Carbon-dev] Removing Cassandra dependency in Carbon Kernel

2012-02-22 Thread Amani Soysa
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

Re: [Carbon-dev] Using input parameters with RDF data services

2012-02-21 Thread Amani Soysa
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

Re: [Carbon-dev] Cleaning up Carbon-Core

2012-02-20 Thread Amani Soysa
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

Re: [Carbon-dev] Cleaning up Carbon-Core

2012-02-20 Thread Amani Soysa
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

[Carbon-dev] Mapping custom Context to Stratos applications

2012-02-14 Thread Amani Soysa
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

Re: [Carbon-dev] Build failure at Greg?

2012-02-01 Thread Amani Soysa
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

Re: [Carbon-dev] Build failure at Greg?

2012-02-01 Thread Amani Soysa
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

Re: [Carbon-dev] Error building trunk - logging component.

2012-01-26 Thread Amani Soysa
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

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.

2012-01-11 Thread Amani Soysa
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

Re: [Carbon-dev] Errors at Mashup Server start up

2011-11-28 Thread Amani Soysa
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

Re: [Carbon-dev] Errors at Mashup Server start up

2011-11-28 Thread Amani Soysa
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

Re: [Carbon-dev] Syslog configuration for Carbon products

2011-11-22 Thread Amani Soysa
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,

Re: [Carbon-dev] Syslog configuration for Carbon products

2011-11-22 Thread Amani Soysa
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

Re: [Carbon-dev] [Code review] Logging - Notes

2011-07-08 Thread Amani Soysa
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

[Carbon-dev] 2011-07-04 night build is not up to date with the latest jars

2011-07-05 Thread Amani Soysa
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

Re: [Carbon-dev] Design/Code reviews this week

2011-07-04 Thread Amani Soysa
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 -

Re: [Carbon-dev] Compilation errors while building 3.2.1

2011-06-24 Thread Amani Soysa
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:

Re: [Carbon-dev] Compilation errors while building 3.2.1

2011-06-24 Thread Amani Soysa
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

Re: [Carbon-dev] 3.2.1 build failure - log viewer

2011-06-22 Thread Amani Soysa
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

Re: [Carbon-dev] [Stratos-dev] Progress on Stratos pending Stratos issues

2011-06-08 Thread Amani Soysa
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

[Carbon-dev] Loader constraint violation error when calling DataHandler objects in jsp

2011-06-08 Thread Amani Soysa
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

Re: [Carbon-dev] ESB 4.0.0 RC3 warns during startup

2011-05-30 Thread Amani Soysa
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

Re: [Carbon-dev] Patches for L1 issues in 3.2.0 branch

2011-05-29 Thread Amani Soysa
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

Re: [Carbon-dev] [IMPORTANT] Carbon 3.2.0 - RC3 - Code Frozen

2011-05-28 Thread Amani Soysa
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

Re: [Carbon-dev] Location of syslogConfig.xml

2011-05-19 Thread Amani Soysa
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

Re: [Carbon-dev] Location of syslogConfig.xml

2011-05-19 Thread Amani Soysa
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

Re: [Carbon-dev] Location of syslogConfig.xml

2011-05-19 Thread Amani Soysa
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

Re: [Carbon-dev] Using Sun proprietary APIs in carbon

2011-05-19 Thread Amani Soysa
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

Re: [Carbon-dev] Error While Starting Sample Axis2 Server of ESB

2011-05-17 Thread Amani Soysa
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

Re: [Carbon-dev] Where the syslogConfig.xml comes from?

2011-05-08 Thread Amani Soysa
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

Re: [Carbon-dev] Where the syslogConfig.xml comes from?

2011-05-06 Thread Amani Soysa
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

Re: [Carbon-dev] Scraping Assistant Tool in DSS and AS

2011-04-25 Thread Amani Soysa
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

Re: [Carbon-dev] ESB test failures

2011-04-22 Thread Amani Soysa
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,

Re: [Carbon-dev] What is Syslog configuration in Logging management UI?

2011-04-16 Thread Amani Soysa
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,

Re: [Carbon-dev] What is Syslog configuration in Logging management UI?

2011-04-15 Thread Amani Soysa
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

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]

2011-03-16 Thread Amani Soysa
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.;

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]

2011-03-16 Thread Amani Soysa
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

Re: [Carbon-dev] Session on DS wizard usability

2011-02-05 Thread Amani Soysa
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

Re: [Carbon-dev] Data Services not getting deployed in trunk

2011-02-05 Thread Amani Soysa
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

Re: [Carbon-dev] Data Services not getting deployed in trunk

2011-02-02 Thread Amani Soysa
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?

Re: [Carbon-dev] Data services server - dashboard is not relevant to the management console

2011-01-24 Thread Amani Soysa
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

Re: [Carbon-dev] DSS not storing past data sources

2011-01-17 Thread Amani Soysa
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

Re: [Carbon-dev] DS broken - Fwd: [Stratos-dev] WSO2 Stratos Nightly Build has FAILED

2010-11-29 Thread Amani Soysa
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

[Carbon-dev] DS gadgets fail when web context change

2010-09-24 Thread Amani Soysa
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.

[Carbon-dev] [Code review] Data services - Notes

2010-09-23 Thread Amani Soysa
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

Re: [Carbon-dev] dataservices fault handling - i.e. jdbc primary-key violation...

2010-08-18 Thread Amani Soysa
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

Re: [Carbon-dev] dataservices fault handling - i.e. jdbc primary-key violation...

2010-08-18 Thread Amani Soysa
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

Re: [Carbon-dev] dataservices fault handling - i.e. jdbc primary-key violation...

2010-08-17 Thread Amani Soysa
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

Re: [Carbon-dev] data services component build failed

2010-07-28 Thread Amani Soysa
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