[Carbon-dev] ESB configuration
Hi, I have problems about the ESB configuration. I use this link for configuration; http://yumani.blogspot.com/2010/12/activity-monitoring-using-wso2-bam.html but somethinhgs wrong. Do you have a current one? And I tried the install the org.wso2.carbon.bam.data.publisher.activity.mediation-3.2.1.jar and org.wso2.carbon.bam.data.publisher.activity.mediation.ui-3.2.1.jar but I took a error message ; Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - BAM Activity Mediation Data Publisher Feature 3.2.1 (org.wso2.carbon.bam.data.publisher.activity.mediation.feature.group 3.2.1) Missing requirement: BAM Data Publisher Acttivity Mediation Server Feature 3.2.1 (org.wso2.carbon.bam.data.publisher.activity.mediation.server.feature.group 3.2.1) requires 'org.wso2.carbon.bam.lwevent.feature.feature.group [3.2.1,3.3.0)' but it could not be found Cannot satisfy dependency: From: WSO2 Carbon - BAM Activity Mediation Data Publisher Feature 3.2.1 (org.wso2.carbon.bam.data.publisher.activity.mediation.feature.group 3.2.1) To: org.wso2.carbon.bam.data.publisher.activity.mediation.server.feature.group [3.2.1] What can I do for this error?Thanks. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] Main Dashboard freezing
Hi, I tried to access BAM Admin Console Main Dashboard Activity Tab but when I click the Activity Tab ,page is freezing. What can I do for this problem? Thanks. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Main Dashboard freezing
Hi Kara, Can you see whether there are any errors in the BAM log? Regards Buddhika 2012/1/18 ezgi kara ezgika...@hotmail.com Hi, I tried to access BAM Admin Console Main Dashboard Activity Tab but when I click the Activity Tab ,page is freezing. What can I do for this problem? Thanks. ___ 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] Data Services Mediator for ESB
Hi All, We are going to develop a ESB mediator which can be shipped as a feature and once this feature is installed within ESB, the DS mediator can be used to make data services calls in-line, without making actual SOAP requests, but it will use in-memory calls to invoke data service operations. So this will add the capability to have .dbs file in registry or some other file location and invoke the data-service operations without deploying the .dbs as a data-service and process the response within the ESB. Possible mediator configuration will look as follows: !-- normal request -- dsCall serviceName/servicePath=... !-- serviceName is used when calling to a actually deployed data-service within current service configuration servicePath is used to invoke a operation from .dbs file which has not deployed -- operation/resource name/path=.. / !-- operation name or resource path to be invoke -- params expression=xpath !-- xpath expression is optional, which can be defined to take all input parameters. -- param name=name1 value=value1 /!-- if the xpath expression in params is not provided then provide the parameters in line -- param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / !-- inline parameter value can be provided through xpath -- params /operation target expression=xpath / !-- If the xpath is not provided, response message after invoking the operation will added as fist child element of the SOAP body. If an xpath expression is provided then it will set in the given location. /dsCall !-- batch request -- dsCall serviceName/servicePath=... operation/resource name/path=../ params expression=xpath batch expression=xpath !-- xpath expression can be used to define parameter set for a one batch -- param name=name1 value=value1 / param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / batch batch ./batch params /dsCall !-- boxcarring -- dsCall serviceName/servicePath=... boxcarring request operation/resource name/path=.. / params expression=xpath param name=name1 value=value1 / param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / params /operation /request request .../request /boxcarring target expression=xpath / /dsCall Appreciate any feedback and ideas. Regards, Dinusha. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Main Dashboard freezing
BAM log is; TID: [] [WSO2 Stratos Business Activity Monitor] [2012-01-18 13:47:13,466] ERROR {org.apache.catalina.core.ContainerBase.[Tomcat].[defaulthost].[/].[bridgeservlet]} - Servlet.service() for servlet [bridgeservlet] in context with path [/] threw exception [Exception in JSP: /gauges/gadgets/flash/flashdata-ajaxprocessor.jsp:460 457: boolean demoFlag = (demo != null);458: 459: ServiceInfo serviceInfo = new ServiceInfo(config, session, request);460: String data = serviceInfo.getServerInfo(serverID, demoFlag);461: out.print(data);462: } else if (funcName.indexOf(getServiceReqResFaultCountsOfServer) -1) {463: int serverID = Integer.parseInt(request.getParameter(serverID)); Stacktrace:] with root cause {org.apache.catalina.core.ContainerBase.[Tomcat].[defaulthost].[/].[bridgeservlet]}org.apache.axis2.AxisFault: System failed to authorize. at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)at org.wso2.carbon.bam.stub.statquery.BAMStatQueryDSStub.getLatestDataForServer(BAMStatQueryDSStub.java:22893) at org.wso2.carbon.bam.gauges.ui.BAMStatQueryDSClient.getLatestDataForServer(BAMStatQueryDSClient.java:210) at org.wso2.carbon.bam.gauges.ui.ServiceInfo.getServerInfo(ServiceInfo.java:120) at org.apache.jsp.gauges.gadgets.flash.flashdata_002dajaxprocessor_jsp._jspService(flashdata_002dajaxprocessor_jsp.java:506) 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:161) 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:164) 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.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:154) at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:254) 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) Date: Wed, 18 Jan 2012 17:24:58 +0600 From: buddhi...@wso2.com To: carbon-dev@wso2.org Subject: Re: [Carbon-dev] Main Dashboard freezing Hi Kara, Can you see whether there are any errors in the BAM log? Regards Buddhika 2012/1/18 ezgi kara ezgika...@hotmail.com Hi, I
Re: [Carbon-dev] system test framework and product integration tests
+1. System test framework will also include some integration tests because we need to do regression testing on patches, multiple platforms using that. /Charitha On Wed, Jan 18, 2012 at 1:05 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Your are correct. We came across the same issue when designing the framework. Since system tests runs with different configurations (e.g with registry mounts and different DBs) we need to run all most all product integration tests on top of product platform as well. We can not directly have dependencies to product integration tests because of the way we have written those tests. And, The tests architecture is also differ. We have written the system-test-framework to address the distributed nature of a platform deployment. Currently as what we can do is to duplicate integration tests inside system tests. May be in future we can find a better way to do it. Thanks, Krishantha. On Wed, Jan 18, 2012 at 10:57 AM, KasunG Gajasinghe kas...@wso2.comwrote: I have a little question about System-Test-Framework. Does the objective of it is to complement the integration tests of products, or will it be integrated in to the product integration tests in future? What current integration test does is test the individual components combined and grouped into a so called product. It doesn't have platform wide tests cases. For an example, It doesn't test a scenario run on ESB, BPS and G-Reg with registry mounts and clustering. What we does in system-test-framework is test the platform as a whole. Nope system-test-framework will not be integrated in to integration tests. Understood. But, talking from viewpoint of AS, it seems that the boundary of this framework's tests and product intg tests is somewhat blur. For example, AS needs to test the security scenarios of Axis2 services something which also done by the system-test-framework. May be we need to come to a common ground on this. We are going off the topic here. Lets discuss this on carbon-dev. Please ask all the question you have in there. +1. forwarded to carbon-dev. Thanks, --KasunG Thanks, Krishantha. I'm asking this because I feel like things may get duplicated between product integration tests, and STF! Thanks, --KasunG Thanks, Krishantha. -- *Kasun Gajasinghe* Software Engineer; WSO2 Inc.; http://wso2.com , *email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813* *blog: **http://blog.kasunbg.org* http://blog.kasunbg.org * twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg * * -- *Kasun Gajasinghe* Software Engineer; WSO2 Inc.; http://wso2.com , *email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813* *blog: **http://blog.kasunbg.org* http://blog.kasunbg.org * twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg * * -- *Kasun Gajasinghe* Software Engineer; WSO2 Inc.; http://wso2.com , *email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813* *blog: **http://blog.kasunbg.org* http://blog.kasunbg.org * twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg * * ___ 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
[Carbon-dev] Requirement Analysis of Report generation for BAM2.0
Hi, I'm currently involved with report generation for BAM2.0. First of all I would like to finalize the requirements for the report generation. After the discussion with BAM team, we have come up with following requirements, that might be useful in the user point of view. - Facility to select the type of report (Chart type, Table type, etc) - Facility to select the format of the report (pdf, excel sheet, etc) - Customizing the data which is supposed to be in the report (Eg: In the case of chart type report, he need to give what are the data in the x-axis, y-axis. In the case tabular format which data(request count, response count, etc) should be reported, etc) - Facility to customize the time line of the report (ie, whether one summarized report for whole year or separate reports for all 12 months) - Custom formating of report - Changing Logo - Changing font style/colour, background color - Automatic periodic report generation (ie, setting the date and time, so that the report generation occurs automatically) - Facility to send the automatically generated reports to the given e-mail addresses. - Interaction between the dashboard and the reports. For example a user would want to create a report out of what he sees in his dashboard. (Not sure how far this is feasible) Our plan is to make use of our WSO2 reporting component which uses JasperReports[1]. To use this we should first create a generic report template (.jrxml file) and save as default templates for defined report types ( for creating report templates we can use iReport [2]), and then according to the user preference changing the xml tags and attributes of the .jrxml on the fly. Then the reporting component which uses jasperreport library, will create the needful final report. Furthermore the data from the cassendra database which is used by BAM2.0, can be sent by beans format, java collection maps, or xml for the data filling of report. Please share your thoughts on above. [1] http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/tutorial.html [2] http://jasperforge.org/website/ireportwebsite/IR%20Website/ir_getting_started.html?header=projecttarget=ireport http://jasperforge.org/website/ireportwebsite/IR%20Website/ir_getting_started.html?header=projecttarget=ireport Thanks. Regards, Sinthuja. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] IOException on the MTOM web service client side
In order to inspect the problem i wrote a simple multi thread java application for test. public class StorageSample{ public static void main(String[] args) { HashMapInteger,StorageThread threads = new HashMapInteger, StorageThread(); for (int i = 0 ; i 20 ; i++){ threads.put(i, new StorageThread(i)); } } static class StorageThread extends Thread { private WSStorageServiceClient client; private int delay = 2; /** * Initializes the client and in case of SSL connection set the system * properties * * @throws AxisFault */ public StorageThread(int key) { super(Storage Thread-+String.valueOf(key)); start(); } private void init() throws AxisFault { System.setProperty(javax.net.ssl.trustStore, WSStorageClientConstants.SERVER_PATH + /repository/resources/security/wso2carbon.jks); System.setProperty(javax.net.ssl.trustStorePassword, wso2carbon); System.setProperty(javax.net.ssl.trustStoreType, JKS); try { System.out.println(Setting up client); client = new WSStorageServiceClient( WSStorageClientConstants.ARCSP_ESB_EPR, WSStorageClientConstants.USERNAME, WSStorageClientConstants.PASSWORD); } catch (Exception e) { e.printStackTrace(); } } /** * Sample method using the clients put method * * @param parentPath *Directory resource to be inserted * @param resourceName * @return Id of the resource * @throws IOException */ public String uploadResource(String parentPath, String resourceName) throws IOException { // ResourceImpl resource = new ResourceImpl(); String sourcePath = /home/guclu.akkaya/tmpfiles; String absolutePath = sourcePath + File.separator + resourceName; String destinationPath = parentPath + File.separator + resourceName; FileDataSource dataSource = new FileDataSource(new File(absolutePath)); String id = null; DataHandler dataHandler = new DataHandler(dataSource); System.out.println(Upload resource begins); id = client.put(destinationPath, dataHandler); System.out.println(Upload resource ends successfuly); System.out.println(Resource id is: + id); return id; } public void downloadResourceContent(String resourceId) throws Exception { System.out.println(Beginning download); WSResource wsResource = client.getResourceById(resourceId); DataHandler dataHandler = wsResource.getContentFile(); String saveDir = /home/guclu.akkaya/DEVELOPMENT/TMP; String savePath = saveDir + File.separator + this.getName() + - + wsResource.getName(); FileOutputStream outputStream = null; try { File file = new File(savePath); outputStream = new FileOutputStream(file); dataHandler.writeTo(outputStream); System.out.println(Download ends successfuly); } finally { if (outputStream != null) { outputStream.close(); } } } @Override public void run() { try { init(); downloadResourceContent(278);// A 110 mb file its metadata with id 278 sleep(delay); } catch (AxisFault e) { e.printStackTrace(); } catch (Exception e) { e.printStackTrace(); } } } } If the thread count is under 15 there is no problem. However with increasing the thread count i see the exceptions mentioned in the previous mail. I begin to think that i am missing some axis2 client configuration which can increase the performance. Can you give me hints about this? Thank you On Mon, 2012-01-09 at 09:31 +0200, Güçlü Akkaya wrote: Hi again, Again for the MTOM web service load test i am
Re: [Carbon-dev] Event broker is registered after the message WSO2 Carbon started in .... when starting DSS in trunk build
Hi, This is specific to DSS, I don't see the same behavior with other products. Some DSS automation test fail because of this inconsistent start-up order. We can add a delay to automation tests and over come the failures. But it is better to check why we see this only with DSS trunk build. Can someone from DSS team please help.. Thanks, Krishantha. On Tue, Jan 17, 2012 at 6:44 PM, Nuwan Wimalasekara nuw...@wso2.com wrote: Hi There is a issue in server start up sequence. even if message is log WSO2 Carbon started in 38 sec. HTTPS port is not listening until event broker is registered. that scenario found with carbon trunk build. it takes 3 to 6 seconds to up HTTPS port after message WSO2 Carbon started in 38 sec. Environment : wso2dataservices-2.6.0-SNAPSHOT Refer : https://wso2.org/jira/browse/CARBON-12227 Server log: [2012-01-17 11:09:36,423] INFO {org.quartz.impl.StdSchedulerFactory} - Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' [2012-01-17 11:09:36,423] INFO {org.quartz.impl.StdSchedulerFactory} - Quartz scheduler version: 2.1.1 [2012-01-17 11:09:36,423] INFO {org.quartz.core.QuartzScheduler} - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. [2012-01-17 11:09:36,641] INFO {org.wso2.carbon.ntask.core.internal.TasksDSComponent} - Task service started [2012-01-17 11:09:36,892] INFO {org.wso2.carbon.core.init.CarbonServerManager} - ConfigurationContextService registered in 591ms [2012-01-17 11:09:36,905] INFO {org.wso2.carbon.core.transports.http.HttpsTransportListener} - HTTPS port : 9446 [2012-01-17 11:09:36,905] INFO {org.wso2.carbon.core.transports.http.HttpTransportListener} - HTTP port : 9766 [2012-01-17 11:09:37,124] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Started Transport Listener Manager [2012-01-17 11:09:37,124] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Server : WSO2 Data Services Server-2.6.0-SNAPSHOT [2012-01-17 11:09:37,125] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 Carbon started in 34 sec [Broker] BRK-1006 : Using configuration : /home/nuwanw/svn/deployment-framework/SNAPSHOT/wso2dataservices-2.6.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml [2012-01-17 11:09:39,555] INFO {qpid.message.broker.listening} - [Broker] BRK-1002 : Starting : Listening on TCP port 5675 [2012-01-17 11:09:39,558] INFO {qpid.message.broker.listening} - [Broker] BRK-1002 : Starting : Listening on TCP/SSL port 8675 [2012-01-17 11:09:39,559] INFO {org.wso2.carbon.qpid.internal.QpidServiceComponent} - Successfully connected to the server on port 5675 [2012-01-17 11:09:39,784] INFO {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent} - Successfully Initialized Eventing on Registry [2012-01-17 11:09:39,801] INFO {org.wso2.carbon.event.core.internal.builder.EventBrokerHandler} - Successfully registered the event broker [2012-01-17 11:09:40,056] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL : https://10.100.3.39:9446/carbon/ Thanks NuwanW -- Nuwan Wimalasekara Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620 ___ 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] Event broker is registered after the message WSO2 Carbon started in .... when starting DSS in trunk build
Hi Krishantha, On Wed, Jan 18, 2012 at 10:24 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi, This is specific to DSS, I don't see the same behavior with other products. Some DSS automation test fail because of this inconsistent start-up order. We can add a delay to automation tests and over come the failures. But it is better to check why we see this only with DSS trunk build. Can someone from DSS team please help.. Yeah sure. We'll check on that. Thanks, Krishantha. On Tue, Jan 17, 2012 at 6:44 PM, Nuwan Wimalasekara nuw...@wso2.comwrote: Hi There is a issue in server start up sequence. even if message is log WSO2 Carbon started in 38 sec. HTTPS port is not listening until event broker is registered. that scenario found with carbon trunk build. it takes 3 to 6 seconds to up HTTPS port after message WSO2 Carbon started in 38 sec. Environment : wso2dataservices-2.6.0-SNAPSHOT Refer : https://wso2.org/jira/browse/CARBON-12227 Server log: [2012-01-17 11:09:36,423] INFO {org.quartz.impl.StdSchedulerFactory} - Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' [2012-01-17 11:09:36,423] INFO {org.quartz.impl.StdSchedulerFactory} - Quartz scheduler version: 2.1.1 [2012-01-17 11:09:36,423] INFO {org.quartz.core.QuartzScheduler} - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. [2012-01-17 11:09:36,641] INFO {org.wso2.carbon.ntask.core.internal.TasksDSComponent} - Task service started [2012-01-17 11:09:36,892] INFO {org.wso2.carbon.core.init.CarbonServerManager} - ConfigurationContextService registered in 591ms [2012-01-17 11:09:36,905] INFO {org.wso2.carbon.core.transports.http.HttpsTransportListener} - HTTPS port : 9446 [2012-01-17 11:09:36,905] INFO {org.wso2.carbon.core.transports.http.HttpTransportListener} - HTTP port : 9766 [2012-01-17 11:09:37,124] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Started Transport Listener Manager [2012-01-17 11:09:37,124] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Server : WSO2 Data Services Server-2.6.0-SNAPSHOT [2012-01-17 11:09:37,125] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 Carbon started in 34 sec [Broker] BRK-1006 : Using configuration : /home/nuwanw/svn/deployment-framework/SNAPSHOT/wso2dataservices-2.6.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml [2012-01-17 11:09:39,555] INFO {qpid.message.broker.listening} - [Broker] BRK-1002 : Starting : Listening on TCP port 5675 [2012-01-17 11:09:39,558] INFO {qpid.message.broker.listening} - [Broker] BRK-1002 : Starting : Listening on TCP/SSL port 8675 [2012-01-17 11:09:39,559] INFO {org.wso2.carbon.qpid.internal.QpidServiceComponent} - Successfully connected to the server on port 5675 [2012-01-17 11:09:39,784] INFO {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent} - Successfully Initialized Eventing on Registry [2012-01-17 11:09:39,801] INFO {org.wso2.carbon.event.core.internal.builder.EventBrokerHandler} - Successfully registered the event broker [2012-01-17 11:09:40,056] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL : https://10.100.3.39:9446/carbon/ Thanks NuwanW -- Nuwan Wimalasekara Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Prabath Abeysekara Software Engineer WSO2 Inc. Email: praba...@wso2.com harsha...@wso2.com Mobile: +94774171471 http://harshana05.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] Dependencies Synapse build error
Hi, [ERROR] Failed to execute goal on project Apache-Synapse: Could not resolve dependencies for project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v5: Failure to find org.wso2.uri.template:wso2-uri-templates:jar:1.0.0 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-m2 has elapsed or updates are forced - [Help 1] any idea ? -- *Thanks Regards, Nuwan Bandara Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://nuwan.bandara.co * http://www.nuwanbando.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] Bamboo Not building
Last Bamboo build was 18 hours ago? Any idea what happend? I assume it builds once every 12 hours. --Srinath -- 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
Re: [Carbon-dev] Requirement Analysis of Report generation for BAM2.0
Are we going to let user define some query? since it is on BAM data how will it work? Other than that requirements look good to me --Srinath On Wed, Jan 18, 2012 at 6:00 PM, Sinthuja Ragendran sinth...@wso2.com wrote: Hi, I'm currently involved with report generation for BAM2.0. First of all I would like to finalize the requirements for the report generation. After the discussion with BAM team, we have come up with following requirements, that might be useful in the user point of view. Facility to select the type of report (Chart type, Table type, etc) Facility to select the format of the report (pdf, excel sheet, etc) Customizing the data which is supposed to be in the report (Eg: In the case of chart type report, he need to give what are the data in the x-axis, y-axis. In the case tabular format which data(request count, response count, etc) should be reported, etc) Facility to customize the time line of the report (ie, whether one summarized report for whole year or separate reports for all 12 months) Custom formating of report - Changing Logo - Changing font style/colour, background color Automatic periodic report generation (ie, setting the date and time, so that the report generation occurs automatically) Facility to send the automatically generated reports to the given e-mail addresses. Interaction between the dashboard and the reports. For example a user would want to create a report out of what he sees in his dashboard. (Not sure how far this is feasible) Our plan is to make use of our WSO2 reporting component which uses JasperReports[1]. To use this we should first create a generic report template (.jrxml file) and save as default templates for defined report types ( for creating report templates we can use iReport [2]), and then according to the user preference changing the xml tags and attributes of the .jrxml on the fly. Then the reporting component which uses jasperreport library, will create the needful final report. Furthermore the data from the cassendra database which is used by BAM2.0, can be sent by beans format, java collection maps, or xml for the data filling of report. Please share your thoughts on above. [1] http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/tutorial.html [2] http://jasperforge.org/website/ireportwebsite/IR%20Website/ir_getting_started.html?header=projecttarget=ireport Thanks. Regards, Sinthuja. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Srinath Perera, Ph.D. http://www.cs.indiana.edu/~hperera/ http://srinathsview.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Data Services Mediator for ESB
Couple of Qs if ESB and DS are two nodes, I assume this will do a SOAP call and still work? if the parameter is a complex type in the ESB message, and if I refer to it though a XPath, will that be copied completely? for example, if the ESB message is Envelope Body foo bar bar1 ... /bar1 . /bar /foo /Body Envelope Now if I refer to this as param xpath=//foo/bar / .. will that copy all its subelements as well? --Srinath On Wed, Jan 18, 2012 at 5:03 PM, Dinusha Senanayaka dinu...@wso2.com wrote: Hi All, We are going to develop a ESB mediator which can be shipped as a feature and once this feature is installed within ESB, the DS mediator can be used to make data services calls in-line, without making actual SOAP requests, but it will use in-memory calls to invoke data service operations. So this will add the capability to have .dbs file in registry or some other file location and invoke the data-service operations without deploying the .dbs as a data-service and process the response within the ESB. Possible mediator configuration will look as follows: !-- normal request -- dsCall serviceName/servicePath=... !-- serviceName is used when calling to a actually deployed data-service within current service configuration servicePath is used to invoke a operation from .dbs file which has not deployed -- operation/resource name/path=.. / !-- operation name or resource path to be invoke -- params expression=xpath !-- xpath expression is optional, which can be defined to take all input parameters. -- param name=name1 value=value1 / !-- if the xpath expression in params is not provided then provide the parameters in line -- param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / !-- inline parameter value can be provided through xpath -- params /operation target expression=xpath / !-- If the xpath is not provided, response message after invoking the operation will added as fist child element of the SOAP body. If an xpath expression is provided then it will set in the given location. /dsCall !-- batch request -- dsCall serviceName/servicePath=... operation/resource name/path=../ params expression=xpath batch expression=xpath !-- xpath expression can be used to define parameter set for a one batch -- param name=name1 value=value1 / param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / batch batch ./batch params /dsCall !-- boxcarring -- dsCall serviceName/servicePath=... boxcarring request operation/resource name/path=.. / params expression=xpath param name=name1 value=value1 / param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / params /operation /request request .../request /boxcarring target expression=xpath / /dsCall Appreciate any feedback and ideas. Regards, Dinusha. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Srinath Perera, Ph.D. http://www.cs.indiana.edu/~hperera/ http://srinathsview.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Data Services Mediator for ESB
Also if I am giving the value inline, how can I express the complex types? --Srinath On Thu, Jan 19, 2012 at 6:02 AM, Srinath Perera srin...@wso2.com wrote: Couple of Qs if ESB and DS are two nodes, I assume this will do a SOAP call and still work? if the parameter is a complex type in the ESB message, and if I refer to it though a XPath, will that be copied completely? for example, if the ESB message is Envelope Body foo bar bar1 ... /bar1 . /bar /foo /Body Envelope Now if I refer to this as param xpath=//foo/bar / .. will that copy all its subelements as well? --Srinath On Wed, Jan 18, 2012 at 5:03 PM, Dinusha Senanayaka dinu...@wso2.com wrote: Hi All, We are going to develop a ESB mediator which can be shipped as a feature and once this feature is installed within ESB, the DS mediator can be used to make data services calls in-line, without making actual SOAP requests, but it will use in-memory calls to invoke data service operations. So this will add the capability to have .dbs file in registry or some other file location and invoke the data-service operations without deploying the .dbs as a data-service and process the response within the ESB. Possible mediator configuration will look as follows: !-- normal request -- dsCall serviceName/servicePath=... !-- serviceName is used when calling to a actually deployed data-service within current service configuration servicePath is used to invoke a operation from .dbs file which has not deployed -- operation/resource name/path=.. / !-- operation name or resource path to be invoke -- params expression=xpath !-- xpath expression is optional, which can be defined to take all input parameters. -- param name=name1 value=value1 / !-- if the xpath expression in params is not provided then provide the parameters in line -- param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / !-- inline parameter value can be provided through xpath -- params /operation target expression=xpath / !-- If the xpath is not provided, response message after invoking the operation will added as fist child element of the SOAP body. If an xpath expression is provided then it will set in the given location. /dsCall !-- batch request -- dsCall serviceName/servicePath=... operation/resource name/path=../ params expression=xpath batch expression=xpath !-- xpath expression can be used to define parameter set for a one batch -- param name=name1 value=value1 / param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / batch batch ./batch params /dsCall !-- boxcarring -- dsCall serviceName/servicePath=... boxcarring request operation/resource name/path=.. / params expression=xpath param name=name1 value=value1 / param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / params /operation /request request .../request /boxcarring target expression=xpath / /dsCall Appreciate any feedback and ideas. Regards, Dinusha. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Srinath Perera, Ph.D. http://www.cs.indiana.edu/~hperera/ http://srinathsview.blogspot.com/ -- Srinath Perera, Ph.D. http://www.cs.indiana.edu/~hperera/ http://srinathsview.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Bamboo Not building
On Thu, Jan 19, 2012 at 5:49 AM, Srinath Perera srin...@wso2.com wrote: Last Bamboo build was 18 hours ago? Any idea what happend? I think they've disabled it temporarily! See Charith's email, subjected as '[Carbon-dev] Bamboo scheduled build for trunk will be not available today.'. I assume it builds once every 12 hours. --Srinath -- 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 -- regards, Nirmal Software Engineer, WSO2 Inc. mobile: +94715779733 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Broker 2 in trunk
sending to carbon dev It builds OK to me Can we avoid checking in the dependancies to SVN? I know we have to rewrite the build to do that but it is cleaner On Wed, Jan 18, 2012 at 10:59 PM, Charith Wickramarachchi char...@wso2.com wrote: Please find the Broker 2 code at [1] Please try to build it and report if you find any issues. Since i got commit failures few times i m not sure about the state in the svn.It works fine for me. So still i did not add that to the pom. Will do it tomorrow. [1]https://svn.wso2.org/repos/wso2/trunk/carbon/dependencies/broker2 --Charith -- Charith Dhanushka Wickramarachchi Software Engineer WSO2 Inc http://wso2.com/ http://wso2.org/ blog http://charithwiki.blogspot.com/ twitter http://twitter.com/charithwiki Mobile : 0776706568 -- 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
Re: [Carbon-dev] Data Services Mediator for ESB
Now we have two methods to consume data services. What is the best practice? Won't this affect the non-blocking manner of Synspse, given that the thread get blocked until response received from dataservice? thanks, waruna sent from my mobile. On Jan 18, 2012 5:04 PM, Dinusha Senanayaka dinu...@wso2.com wrote: Hi All, We are going to develop a ESB mediator which can be shipped as a feature and once this feature is installed within ESB, the DS mediator can be used to make data services calls in-line, without making actual SOAP requests, but it will use in-memory calls to invoke data service operations. So this will add the capability to have .dbs file in registry or some other file location and invoke the data-service operations without deploying the .dbs as a data-service and process the response within the ESB. Possible mediator configuration will look as follows: !-- normal request -- dsCall serviceName/servicePath=... !-- serviceName is used when calling to a actually deployed data-service within current service configuration servicePath is used to invoke a operation from .dbs file which has not deployed -- operation/resource name/path=.. / !-- operation name or resource path to be invoke -- params expression=xpath !-- xpath expression is optional, which can be defined to take all input parameters. -- param name=name1 value=value1 /!-- if the xpath expression in params is not provided then provide the parameters in line -- param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / !-- inline parameter value can be provided through xpath -- params /operation target expression=xpath / !-- If the xpath is not provided, response message after invoking the operation will added as fist child element of the SOAP body. If an xpath expression is provided then it will set in the given location. /dsCall !-- batch request -- dsCall serviceName/servicePath=... operation/resource name/path=../ params expression=xpath batch expression=xpath !-- xpath expression can be used to define parameter set for a one batch -- param name=name1 value=value1 / param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / batch batch ./batch params /dsCall !-- boxcarring -- dsCall serviceName/servicePath=... boxcarring request operation/resource name/path=.. / params expression=xpath param name=name1 value=value1 / param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / params /operation /request request .../request /boxcarring target expression=xpath / /dsCall Appreciate any feedback and ideas. Regards, Dinusha. ___ 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 Mediator for ESB
Hi Srinath, Basically, for data services input parameters, what we support are scalar variables and arrays. In the future, we are going to support providing complex types as input (shown in the WSDL), but that will also be converted to a set of scalar variables to be mapped into data services parameters using xpath. So at the end, for the actual service call, we won't have complex values as such. So as you mentioned, actually array values can be given in the way as you suggested, where all the child elements from the xpath expression can be treated as array elements. Cheers, Anjana. On Thu, Jan 19, 2012 at 6:03 AM, Srinath Perera srin...@wso2.com wrote: Also if I am giving the value inline, how can I express the complex types? --Srinath On Thu, Jan 19, 2012 at 6:02 AM, Srinath Perera srin...@wso2.com wrote: Couple of Qs if ESB and DS are two nodes, I assume this will do a SOAP call and still work? if the parameter is a complex type in the ESB message, and if I refer to it though a XPath, will that be copied completely? for example, if the ESB message is Envelope Body foo bar bar1 ... /bar1 . /bar /foo /Body Envelope Now if I refer to this as param xpath=//foo/bar / .. will that copy all its subelements as well? --Srinath On Wed, Jan 18, 2012 at 5:03 PM, Dinusha Senanayaka dinu...@wso2.com wrote: Hi All, We are going to develop a ESB mediator which can be shipped as a feature and once this feature is installed within ESB, the DS mediator can be used to make data services calls in-line, without making actual SOAP requests, but it will use in-memory calls to invoke data service operations. So this will add the capability to have .dbs file in registry or some other file location and invoke the data-service operations without deploying the .dbs as a data-service and process the response within the ESB. Possible mediator configuration will look as follows: !-- normal request -- dsCall serviceName/servicePath=... !-- serviceName is used when calling to a actually deployed data-service within current service configuration servicePath is used to invoke a operation from .dbs file which has not deployed -- operation/resource name/path=.. / !-- operation name or resource path to be invoke -- params expression=xpath !-- xpath expression is optional, which can be defined to take all input parameters. -- param name=name1 value=value1 /!-- if the xpath expression in params is not provided then provide the parameters in line -- param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / !-- inline parameter value can be provided through xpath -- params /operation target expression=xpath / !-- If the xpath is not provided, response message after invoking the operation will added as fist child element of the SOAP body. If an xpath expression is provided then it will set in the given location. /dsCall !-- batch request -- dsCall serviceName/servicePath=... operation/resource name/path=../ params expression=xpath batch expression=xpath !-- xpath expression can be used to define parameter set for a one batch -- param name=name1 value=value1 / param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / batch batch ./batch params /dsCall !-- boxcarring -- dsCall serviceName/servicePath=... boxcarring request operation/resource name/path=.. / params expression=xpath param name=name1 value=value1 / param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / params /operation /request request .../request /boxcarring target expression=xpath / /dsCall Appreciate any feedback and ideas. Regards, Dinusha. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Srinath Perera, Ph.D. http://www.cs.indiana.edu/~hperera/ http://srinathsview.blogspot.com/ -- Srinath Perera, Ph.D. http://www.cs.indiana.edu/~hperera/ http://srinathsview.blogspot.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- *Anjana Fernando* Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise .
Re: [Carbon-dev] Data Services Mediator for ESB
Hi Waruna, On Thu, Jan 19, 2012 at 8:47 AM, Waruna Ranasinghe war...@wso2.com wrote: Now we have two methods to consume data services. What is the best practice? This is still not yet implemented/finalized btw :) .. Won't this affect the non-blocking manner of Synspse, given that the thread get blocked until response received from dataservice? This is suppose to be a possible replacement for DB-* mediators. Those mediators also basically worked in the same way. The proposed data services mediator is only suppose to work in in-memory calls. It won't make any remote calls, basically it will not do any SOAP calls. What we do is, internally create the data service representation and call it directly, same in the case if the data service is already deployed as an Axis2 service, we can get the required data service object from that service and invoke our operations directly. Also as for the question made by Srinath, whether if till do a SOAP call if the data service is in another node, no it won't. It won't make sense to use this, then you can simply make an usual SOAP call, using send or callout mediators. Cheers, Anjana. thanks, waruna sent from my mobile. On Jan 18, 2012 5:04 PM, Dinusha Senanayaka dinu...@wso2.com wrote: Hi All, We are going to develop a ESB mediator which can be shipped as a feature and once this feature is installed within ESB, the DS mediator can be used to make data services calls in-line, without making actual SOAP requests, but it will use in-memory calls to invoke data service operations. So this will add the capability to have .dbs file in registry or some other file location and invoke the data-service operations without deploying the .dbs as a data-service and process the response within the ESB. Possible mediator configuration will look as follows: !-- normal request -- dsCall serviceName/servicePath=... !-- serviceName is used when calling to a actually deployed data-service within current service configuration servicePath is used to invoke a operation from .dbs file which has not deployed -- operation/resource name/path=.. / !-- operation name or resource path to be invoke -- params expression=xpath !-- xpath expression is optional, which can be defined to take all input parameters. -- param name=name1 value=value1 /!-- if the xpath expression in params is not provided then provide the parameters in line -- param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / !-- inline parameter value can be provided through xpath -- params /operation target expression=xpath / !-- If the xpath is not provided, response message after invoking the operation will added as fist child element of the SOAP body. If an xpath expression is provided then it will set in the given location. /dsCall !-- batch request -- dsCall serviceName/servicePath=... operation/resource name/path=../ params expression=xpath batch expression=xpath !-- xpath expression can be used to define parameter set for a one batch -- param name=name1 value=value1 / param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / batch batch ./batch params /dsCall !-- boxcarring -- dsCall serviceName/servicePath=... boxcarring request operation/resource name/path=.. / params expression=xpath param name=name1 value=value1 / param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / params /operation /request request .../request /boxcarring target expression=xpath / /dsCall Appreciate any feedback and ideas. Regards, Dinusha. ___ 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 -- *Anjana Fernando* Senior Software Engineer WSO2 Inc. | http://wso2.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] Data Services Mediator for ESB
Hi Anjana, This is suppose to be a possible replacement for DB-* mediators. Those mediators also basically worked in the same way. The proposed data services mediator is only suppose to work in in-memory calls. It won't make any remote calls, basically it will not do any SOAP calls. What we do is, internally create the data service representation and call it directly, same in the case if the data service is already deployed as an Axis2 service, we can get the required data service object from that service and invoke our operations directly. Also as for the question made by Srinath, whether if till do a SOAP call if the data service is in another node, no it won't. It won't make sense to use this, then you can simply make an usual SOAP call, using send or callout mediators. I disagree as that forces the user to write two sets of codes when DS and ESB are in two nodes. In generally, we try most of our constructs work such a way that moving parts to a different node is a configuration change rather than code change (e.g. Registry, IS etc). IMO we should handle this case in the same manner. --Srinath Cheers, Anjana. thanks, waruna sent from my mobile. On Jan 18, 2012 5:04 PM, Dinusha Senanayaka dinu...@wso2.com wrote: Hi All, We are going to develop a ESB mediator which can be shipped as a feature and once this feature is installed within ESB, the DS mediator can be used to make data services calls in-line, without making actual SOAP requests, but it will use in-memory calls to invoke data service operations. So this will add the capability to have .dbs file in registry or some other file location and invoke the data-service operations without deploying the .dbs as a data-service and process the response within the ESB. Possible mediator configuration will look as follows: !-- normal request -- dsCall serviceName/servicePath=... !-- serviceName is used when calling to a actually deployed data-service within current service configuration servicePath is used to invoke a operation from .dbs file which has not deployed -- operation/resource name/path=.. / !-- operation name or resource path to be invoke -- params expression=xpath !-- xpath expression is optional, which can be defined to take all input parameters. -- param name=name1 value=value1 / !-- if the xpath expression in params is not provided then provide the parameters in line -- param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / !-- inline parameter value can be provided through xpath -- params /operation target expression=xpath / !-- If the xpath is not provided, response message after invoking the operation will added as fist child element of the SOAP body. If an xpath expression is provided then it will set in the given location. /dsCall !-- batch request -- dsCall serviceName/servicePath=... operation/resource name/path=../ params expression=xpath batch expression=xpath !-- xpath expression can be used to define parameter set for a one batch -- param name=name1 value=value1 / param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / batch batch ./batch params /dsCall !-- boxcarring -- dsCall serviceName/servicePath=... boxcarring request operation/resource name/path=.. / params expression=xpath param name=name1 value=value1 / param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / params /operation /request request .../request /boxcarring target expression=xpath / /dsCall Appreciate any feedback and ideas. Regards, Dinusha. ___ 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 -- Anjana Fernando Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- 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
Re: [Carbon-dev] Broker 2 in trunk
Hi Srinath, While I was taking an update I saw there are multiple .jar files checked in [1]. Is that correct ? Regards, /Nuwan [1] https://svn.wso2.org/repos/wso2/trunk/carbon/dependencies/broker2/java/lib/ On Thu, Jan 19, 2012 at 6:20 AM, Srinath Perera srin...@wso2.com wrote: sending to carbon dev It builds OK to me Can we avoid checking in the dependancies to SVN? I know we have to rewrite the build to do that but it is cleaner On Wed, Jan 18, 2012 at 10:59 PM, Charith Wickramarachchi char...@wso2.com wrote: Please find the Broker 2 code at [1] Please try to build it and report if you find any issues. Since i got commit failures few times i m not sure about the state in the svn.It works fine for me. So still i did not add that to the pom. Will do it tomorrow. [1]https://svn.wso2.org/repos/wso2/trunk/carbon/dependencies/broker2 --Charith -- Charith Dhanushka Wickramarachchi Software Engineer WSO2 Inc http://wso2.com/ http://wso2.org/ blog http://charithwiki.blogspot.com/ twitter http://twitter.com/charithwiki Mobile : 0776706568 -- 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 -- *Thanks Regards, Nuwan Bandara Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://nuwan.bandara.co * http://www.nuwanbando.com/ ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Broker 2 in trunk
On Thu, Jan 19, 2012 at 6:20 AM, Srinath Perera srin...@wso2.com wrote: sending to carbon dev It builds OK to me Can we avoid checking in the dependancies to SVN? I know we have to rewrite the build to do that but it is cleaner +1., Actually initially I wanted to make it a pure maven project,rename packaging. But i thought we decided to keep the qpid structure till we finalize on how to merge this changes to apache qpid. Getting to a proper maven structure will reduce lot of pain we are going through as developers too. --Charith On Wed, Jan 18, 2012 at 10:59 PM, Charith Wickramarachchi char...@wso2.com wrote: Please find the Broker 2 code at [1] Please try to build it and report if you find any issues. Since i got commit failures few times i m not sure about the state in the svn.It works fine for me. So still i did not add that to the pom. Will do it tomorrow. [1]https://svn.wso2.org/repos/wso2/trunk/carbon/dependencies/broker2 --Charith -- Charith Dhanushka Wickramarachchi Software Engineer WSO2 Inc http://wso2.com/ http://wso2.org/ blog http://charithwiki.blogspot.com/ twitter http://twitter.com/charithwiki Mobile : 0776706568 -- 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 -- Charith Dhanushka Wickramarachchi Software Engineer WSO2 Inc http://wso2.com/ http://wso2.org/ blog http://charithwiki.blogspot.com/ twitter http://twitter.com/charithwiki Mobile : 0776706568 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Data Services Mediator for ESB
Hi Srinath, On Thu, Jan 19, 2012 at 9:01 AM, Srinath Perera srin...@wso2.com wrote: I disagree as that forces the user to write two sets of codes when DS and ESB are in two nodes. In generally, we try most of our constructs work such a way that moving parts to a different node is a configuration change rather than code change (e.g. Registry, IS etc). IMO we should handle this case in the same manner. Well .. the idea was to strictly not to use it in a manner to do remote calls, and do in-memory calls to data service operations. Anyways, if for some reason, a person would switch between the two, yeah, we can certainly just add that feature too. Cheers, Anjana. --Srinath Cheers, Anjana. thanks, waruna sent from my mobile. On Jan 18, 2012 5:04 PM, Dinusha Senanayaka dinu...@wso2.com wrote: Hi All, We are going to develop a ESB mediator which can be shipped as a feature and once this feature is installed within ESB, the DS mediator can be used to make data services calls in-line, without making actual SOAP requests, but it will use in-memory calls to invoke data service operations. So this will add the capability to have .dbs file in registry or some other file location and invoke the data-service operations without deploying the .dbs as a data-service and process the response within the ESB. Possible mediator configuration will look as follows: !-- normal request -- dsCall serviceName/servicePath=... !-- serviceName is used when calling to a actually deployed data-service within current service configuration servicePath is used to invoke a operation from .dbs file which has not deployed -- operation/resource name/path=.. / !-- operation name or resource path to be invoke -- params expression=xpath !-- xpath expression is optional, which can be defined to take all input parameters. -- param name=name1 value=value1 /!-- if the xpath expression in params is not provided then provide the parameters in line -- param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / !-- inline parameter value can be provided through xpath -- params /operation target expression=xpath / !-- If the xpath is not provided, response message after invoking the operation will added as fist child element of the SOAP body. If an xpath expression is provided then it will set in the given location. /dsCall !-- batch request -- dsCall serviceName/servicePath=... operation/resource name/path=../ params expression=xpath batch expression=xpath !-- xpath expression can be used to define parameter set for a one batch -- param name=name1 value=value1 / param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / batch batch ./batch params /dsCall !-- boxcarring -- dsCall serviceName/servicePath=... boxcarring request operation/resource name/path=.. / params expression=xpath param name=name1 value=value1 / param name=arrayName1 value=arrayVal1 / param name=arrayName1 value=arrayVal2 / param name=.. expression=xpath / params /operation /request request .../request /boxcarring target expression=xpath / /dsCall Appreciate any feedback and ideas. Regards, Dinusha. ___ 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 -- Anjana Fernando Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- 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 -- *Anjana Fernando* Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware ___ Carbon-dev
Re: [Carbon-dev] Broker 2 in trunk
On Thu, Jan 19, 2012 at 9:08 AM, Nuwan Bandara nu...@wso2.com wrote: Hi Srinath, While I was taking an update I saw there are multiple .jar files checked in [1]. Is that correct ? That is because we used the qpid project structure. (see [1] ) [1] https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/dependencies/qpid/0.11-wso2v2 thanks, Charith Regards, /Nuwan [1] https://svn.wso2.org/repos/wso2/trunk/carbon/dependencies/broker2/java/lib/ On Thu, Jan 19, 2012 at 6:20 AM, Srinath Perera srin...@wso2.com wrote: sending to carbon dev It builds OK to me Can we avoid checking in the dependancies to SVN? I know we have to rewrite the build to do that but it is cleaner On Wed, Jan 18, 2012 at 10:59 PM, Charith Wickramarachchi char...@wso2.com wrote: Please find the Broker 2 code at [1] Please try to build it and report if you find any issues. Since i got commit failures few times i m not sure about the state in the svn.It works fine for me. So still i did not add that to the pom. Will do it tomorrow. [1]https://svn.wso2.org/repos/wso2/trunk/carbon/dependencies/broker2 --Charith -- Charith Dhanushka Wickramarachchi Software Engineer WSO2 Inc http://wso2.com/ http://wso2.org/ blog http://charithwiki.blogspot.com/ twitter http://twitter.com/charithwiki Mobile : 0776706568 -- 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 -- *Thanks Regards, Nuwan Bandara Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://nuwan.bandara.co * http://www.nuwanbando.com/ -- Charith Dhanushka Wickramarachchi Software Engineer WSO2 Inc http://wso2.com/ http://wso2.org/ blog http://charithwiki.blogspot.com/ twitter http://twitter.com/charithwiki Mobile : 0776706568 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Requirement Analysis of Report generation for BAM2.0
Hi, User need not to write the query. The query for BAM data will be done via GUI tool such that the user could select what are the data he wants to have in the report. Further more according to the inputs given by the user, the jrxml file will be edited on the fly and the BAM reporting backend component will gather the data from cassendra database and send it to the reporting component to fill the data in the report. Thanks. Regards, Sinthuja. On Thu, Jan 19, 2012 at 5:54 AM, Srinath Perera srin...@wso2.com wrote: Are we going to let user define some query? since it is on BAM data how will it work? Other than that requirements look good to me --Srinath On Wed, Jan 18, 2012 at 6:00 PM, Sinthuja Ragendran sinth...@wso2.com wrote: Hi, I'm currently involved with report generation for BAM2.0. First of all I would like to finalize the requirements for the report generation. After the discussion with BAM team, we have come up with following requirements, that might be useful in the user point of view. Facility to select the type of report (Chart type, Table type, etc) Facility to select the format of the report (pdf, excel sheet, etc) Customizing the data which is supposed to be in the report (Eg: In the case of chart type report, he need to give what are the data in the x-axis, y-axis. In the case tabular format which data(request count, response count, etc) should be reported, etc) Facility to customize the time line of the report (ie, whether one summarized report for whole year or separate reports for all 12 months) Custom formating of report - Changing Logo - Changing font style/colour, background color Automatic periodic report generation (ie, setting the date and time, so that the report generation occurs automatically) Facility to send the automatically generated reports to the given e-mail addresses. Interaction between the dashboard and the reports. For example a user would want to create a report out of what he sees in his dashboard. (Not sure how far this is feasible) Our plan is to make use of our WSO2 reporting component which uses JasperReports[1]. To use this we should first create a generic report template (.jrxml file) and save as default templates for defined report types ( for creating report templates we can use iReport [2]), and then according to the user preference changing the xml tags and attributes of the .jrxml on the fly. Then the reporting component which uses jasperreport library, will create the needful final report. Furthermore the data from the cassendra database which is used by BAM2.0, can be sent by beans format, java collection maps, or xml for the data filling of report. Please share your thoughts on above. [1] http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/tutorial.html [2] http://jasperforge.org/website/ireportwebsite/IR%20Website/ir_getting_started.html?header=projecttarget=ireport Thanks. Regards, Sinthuja. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Srinath Perera, Ph.D. http://www.cs.indiana.edu/~hperera/ http://srinathsview.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] IOException on the MTOM web service client side
Please note that by design, Axis2 clients stubs are not thread safe. You will have to handle the synchronization in your code. 2012/1/9 Güçlü Akkaya guclu.akk...@ardictech.com ** Hi again, Again for the MTOM web service load test i am facing this exception on the client side: Failed to perform get operation. {com.ardic.arcsp.update.wsclient.WSStorageServiceClient} org.apache.axis2.AxisFault: org.apache.axiom.ext.io.StreamCopyException: Error reading from source at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at com.ardic.arcsp.carbon.registry.ws.stub.WSStorageServiceStub.fromOM(WSStorageServiceStub.java:16706) at com.ardic.arcsp.carbon.registry.ws.stub.WSStorageServiceStub.wSgetById(WSStorageServiceStub.java:6659) at com.ardic.arcsp.update.wsclient.WSStorageServiceClient.getResourceById(WSStorageServiceClient.java:171) at com.ardic.arcsp.update.wsclient.OTAUpdateTestServlet.downloadResource(OTAUpdateTestServlet.java:139) at com.ardic.arcsp.update.wsclient.OTAUpdateTestServlet.doGet(OTAUpdateTestServlet.java:91) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) 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) Caused by: org.apache.axiom.om.OMException: org.apache.axiom.ext.io.StreamCopyException: Error reading from source at org.apache.axiom.attachments.impl.PartFactory.createPart(PartFactory.java:172) at org.apache.axiom.attachments.Attachments.getPart(Attachments.java:705) at org.apache.axiom.attachments.Attachments.getNextPartDataHandler(Attachments.java:623) at org.apache.axiom.attachments.Attachments.getDataHandler(Attachments.java:350) at org.apache.axiom.om.impl.builder.OMAttachmentAccessorMimePartProvider.getDataHandler(OMAttachmentAccessorMimePartProvider.java:45) at org.apache.axiom.util.stax.xop.XOPDecodingStreamReader$DataHandlerProviderImpl.getDataHandler(XOPDecodingStreamReader.java:81) at org.apache.axiom.util.stax.xop.XOPDecodingStreamReader.getDataHandler(XOPDecodingStreamReader.java:472) at org.apache.axiom.om.impl.SwitchingWrapper.getDataHandler(SwitchingWrapper.java:1360) at org.apache.axiom.util.stax.XMLStreamReaderUtils.getDataHandlerFromElement(XMLStreamReaderUtils.java:230) at com.ardic.arcsp.carbon.registry.ws.stub.xsd.WSResource$Factory.parse(WSResource.java:2087) at com.ardic.arcsp.carbon.registry.ws.stub.WSgetByIdResponse$Factory.parse(WSgetByIdResponse.java:417) at com.ardic.arcsp.carbon.registry.ws.stub.WSStorageServiceStub.fromOM(WSStorageServiceStub.java:16273) ... 23 more Caused by: org.apache.axiom.ext.io.StreamCopyException: Error reading from source at org.apache.axiom.attachments.utils.BAAOutputStream.readFrom(BAAOutputStream.java:114) at org.apache.axiom.attachments.impl.BufferUtils.inputStream2OutputStream(BufferUtils.java:76) at org.apache.axiom.attachments.impl.PartFactory.createPart(PartFactory.java:136) ... 34 more Caused by: java.io.IOException: CRLF expected at end of chunk: 2/63 at org.apache.commons.httpclient.ChunkedInputStream.readCRLF(ChunkedInputStream.java:207) at org.apache.commons.httpclient.ChunkedInputStream.nextChunk(ChunkedInputStream.java:219) at
Re: [Carbon-dev] Requirement Analysis of Report generation for BAM2.0
The requirements look good.. I believe we should pick some use cases (like the samples) and implement this... then we can start identifying and filling in the gaps in the current impl... On Thu, Jan 19, 2012 at 10:12 AM, Sinthuja Ragendran sinth...@wso2.comwrote: Hi, User need not to write the query. The query for BAM data will be done via GUI tool such that the user could select what are the data he wants to have in the report. Further more according to the inputs given by the user, the jrxml file will be edited on the fly and the BAM reporting backend component will gather the data from cassendra database and send it to the reporting component to fill the data in the report. Thanks. Regards, Sinthuja. On Thu, Jan 19, 2012 at 5:54 AM, Srinath Perera srin...@wso2.com wrote: Are we going to let user define some query? since it is on BAM data how will it work? Other than that requirements look good to me --Srinath On Wed, Jan 18, 2012 at 6:00 PM, Sinthuja Ragendran sinth...@wso2.com wrote: Hi, I'm currently involved with report generation for BAM2.0. First of all I would like to finalize the requirements for the report generation. After the discussion with BAM team, we have come up with following requirements, that might be useful in the user point of view. Facility to select the type of report (Chart type, Table type, etc) Facility to select the format of the report (pdf, excel sheet, etc) Customizing the data which is supposed to be in the report (Eg: In the case of chart type report, he need to give what are the data in the x-axis, y-axis. In the case tabular format which data(request count, response count, etc) should be reported, etc) Facility to customize the time line of the report (ie, whether one summarized report for whole year or separate reports for all 12 months) Custom formating of report - Changing Logo - Changing font style/colour, background color Automatic periodic report generation (ie, setting the date and time, so that the report generation occurs automatically) Facility to send the automatically generated reports to the given e-mail addresses. Interaction between the dashboard and the reports. For example a user would want to create a report out of what he sees in his dashboard. (Not sure how far this is feasible) Our plan is to make use of our WSO2 reporting component which uses JasperReports[1]. To use this we should first create a generic report template (.jrxml file) and save as default templates for defined report types ( for creating report templates we can use iReport [2]), and then according to the user preference changing the xml tags and attributes of the .jrxml on the fly. Then the reporting component which uses jasperreport library, will create the needful final report. Furthermore the data from the cassendra database which is used by BAM2.0, can be sent by beans format, java collection maps, or xml for the data filling of report. Please share your thoughts on above. [1] http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/tutorial.html [2] http://jasperforge.org/website/ireportwebsite/IR%20Website/ir_getting_started.html?header=projecttarget=ireport Thanks. Regards, Sinthuja. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Srinath Perera, Ph.D. http://www.cs.indiana.edu/~hperera/ http://srinathsview.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 -- 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
Re: [Carbon-dev] Broker 2 in trunk
I think it is matter of write a pom file .. keep the current qpid folder structures and configure maven to use the same structure. --Srinath On Thu, Jan 19, 2012 at 9:16 AM, Charith Wickramarachchi char...@wso2.com wrote: On Thu, Jan 19, 2012 at 9:08 AM, Nuwan Bandara nu...@wso2.com wrote: Hi Srinath, While I was taking an update I saw there are multiple .jar files checked in [1]. Is that correct ? That is because we used the qpid project structure. (see [1] ) [1]https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/dependencies/qpid/0.11-wso2v2 thanks, Charith Regards, /Nuwan [1] https://svn.wso2.org/repos/wso2/trunk/carbon/dependencies/broker2/java/lib/ On Thu, Jan 19, 2012 at 6:20 AM, Srinath Perera srin...@wso2.com wrote: sending to carbon dev It builds OK to me Can we avoid checking in the dependancies to SVN? I know we have to rewrite the build to do that but it is cleaner On Wed, Jan 18, 2012 at 10:59 PM, Charith Wickramarachchi char...@wso2.com wrote: Please find the Broker 2 code at [1] Please try to build it and report if you find any issues. Since i got commit failures few times i m not sure about the state in the svn.It works fine for me. So still i did not add that to the pom. Will do it tomorrow. [1]https://svn.wso2.org/repos/wso2/trunk/carbon/dependencies/broker2 --Charith -- Charith Dhanushka Wickramarachchi Software Engineer WSO2 Inc http://wso2.com/ http://wso2.org/ blog http://charithwiki.blogspot.com/ twitter http://twitter.com/charithwiki Mobile : 0776706568 -- 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 -- Thanks Regards, Nuwan Bandara Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware http://nuwan.bandara.co -- Charith Dhanushka Wickramarachchi Software Engineer WSO2 Inc http://wso2.com/ http://wso2.org/ blog http://charithwiki.blogspot.com/ twitter http://twitter.com/charithwiki Mobile : 0776706568 -- 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
Re: [Carbon-dev] Requirement Analysis of Report generation for BAM2.0
Hi Sinthuja, Looks good. We may also need to think how to a get data from Cassandra in an generic way in the longer term. (To get things started I think we can use the service present in BAM). I guess this would be largely solved when Cassandra data source impl (this is already there as I got to know from Dinusha) and Cassandra CQL support(Cassandra 1.0) is out. Regards Buddhika On Thu, Jan 19, 2012 at 11:56 AM, Tharindu Mathew thari...@wso2.com wrote: The requirements look good.. I believe we should pick some use cases (like the samples) and implement this... then we can start identifying and filling in the gaps in the current impl... On Thu, Jan 19, 2012 at 10:12 AM, Sinthuja Ragendran sinth...@wso2.comwrote: Hi, User need not to write the query. The query for BAM data will be done via GUI tool such that the user could select what are the data he wants to have in the report. Further more according to the inputs given by the user, the jrxml file will be edited on the fly and the BAM reporting backend component will gather the data from cassendra database and send it to the reporting component to fill the data in the report. Thanks. Regards, Sinthuja. On Thu, Jan 19, 2012 at 5:54 AM, Srinath Perera srin...@wso2.com wrote: Are we going to let user define some query? since it is on BAM data how will it work? Other than that requirements look good to me --Srinath On Wed, Jan 18, 2012 at 6:00 PM, Sinthuja Ragendran sinth...@wso2.com wrote: Hi, I'm currently involved with report generation for BAM2.0. First of all I would like to finalize the requirements for the report generation. After the discussion with BAM team, we have come up with following requirements, that might be useful in the user point of view. Facility to select the type of report (Chart type, Table type, etc) Facility to select the format of the report (pdf, excel sheet, etc) Customizing the data which is supposed to be in the report (Eg: In the case of chart type report, he need to give what are the data in the x-axis, y-axis. In the case tabular format which data(request count, response count, etc) should be reported, etc) Facility to customize the time line of the report (ie, whether one summarized report for whole year or separate reports for all 12 months) Custom formating of report - Changing Logo - Changing font style/colour, background color Automatic periodic report generation (ie, setting the date and time, so that the report generation occurs automatically) Facility to send the automatically generated reports to the given e-mail addresses. Interaction between the dashboard and the reports. For example a user would want to create a report out of what he sees in his dashboard. (Not sure how far this is feasible) Our plan is to make use of our WSO2 reporting component which uses JasperReports[1]. To use this we should first create a generic report template (.jrxml file) and save as default templates for defined report types ( for creating report templates we can use iReport [2]), and then according to the user preference changing the xml tags and attributes of the .jrxml on the fly. Then the reporting component which uses jasperreport library, will create the needful final report. Furthermore the data from the cassendra database which is used by BAM2.0, can be sent by beans format, java collection maps, or xml for the data filling of report. Please share your thoughts on above. [1] http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/tutorial.html [2] http://jasperforge.org/website/ireportwebsite/IR%20Website/ir_getting_started.html?header=projecttarget=ireport Thanks. Regards, Sinthuja. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Srinath Perera, Ph.D. http://www.cs.indiana.edu/~hperera/ http://srinathsview.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 -- 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 mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] ESB configuration
I have also experienced same problem. Do you have any updated Activity monitoring using WSO2 BAM Server document? I think that the blog post mentioned in the e-mail is kind of outdated. From: ezgi kara ezgika...@hotmail.com To: carbon-dev@wso2.org Sent: Wednesday, January 18, 2012 11:35 AM Subject: [Carbon-dev] ESB configuration Hi, I have problems about the ESB configuration. I use this link for configuration; http://yumani.blogspot.com/2010/12/activity-monitoring-using-wso2-bam.html but somethinhgs wrong. Do you have a current one? And I tried the install the org.wso2.carbon.bam.data.publisher.activity.mediation-3.2.1.jar and org.wso2.carbon.bam.data.publisher.activity.mediation.ui-3.2.1.jar but I took a error message ; Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - BAM Activity Mediation Data Publisher Feature 3.2.1 (org.wso2.carbon.bam.data.publisher.activity.mediation.feature.group 3.2.1) Missing requirement: BAM Data Publisher Acttivity Mediation Server Feature 3.2.1 (org.wso2.carbon.bam.data.publisher.activity.mediation.server.feature.group 3.2.1) requires 'org.wso2.carbon.bam.lwevent.feature.feature.group [3.2.1,3.3.0)' but it could not be found Cannot satisfy dependency: From: WSO2 Carbon - BAM Activity Mediation Data Publisher Feature 3.2.1 (org.wso2.carbon.bam.data.publisher.activity.mediation.feature.group 3.2.1) To: org.wso2.carbon.bam.data.publisher.activity.mediation.server.feature.group [3.2.1] What can I do for this error? Thanks. ___ 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] ESB configuration
Hi, There is an issue with the p2 feature. Can you try with the p2 repo at this url? [1]. 1. Go to management console of the ESB , and select Configure Features from the side panel. Click Add Repository link. 2. Enter a suitable name (eg: wso2 local repo) and select local. Enter the path for the extracted p2-repo (eg: /home/user/p2-repo) (p2-repo is available at above ftp location) Click add. Now continue with the feature installation. Regards Buddhika [1] http://people.wso2.com/~buddhikac/p2-repo.zip On Thu, Jan 19, 2012 at 12:26 PM, metin d met...@yahoo.com wrote: I have also experienced same problem. Do you have any updated Activity monitoring using WSO2 BAM Server document? I think that the blog post mentioned in the e-mail is kind of outdated. -- *From:* ezgi kara ezgika...@hotmail.com *To:* carbon-dev@wso2.org *Sent:* Wednesday, January 18, 2012 11:35 AM *Subject:* [Carbon-dev] ESB configuration Hi, I have problems about the ESB configuration. I use this link for configuration; http://yumani.blogspot.com/2010/12/activity-monitoring-using-wso2-bam.html but somethinhgs wrong. Do you have a current one? And I tried the install the org.wso2.carbon.bam.data.publisher.activity.mediation-3.2.1.jar and org.wso2.carbon.bam.data.publisher.activity.mediation.ui-3.2.1.jar but I took a error message ; Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - BAM Activity Mediation Data Publisher Feature 3.2.1 (org.wso2.carbon.bam.data.publisher.activity.mediation.feature.group 3.2.1) Missing requirement: BAM Data Publisher Acttivity Mediation Server Feature 3.2.1 (org.wso2.carbon.bam.data.publisher.activity.mediation.server.feature.group 3.2.1) requires 'org.wso2.carbon.bam.lwevent.feature.feature.group [3.2.1,3.3.0)' but it could not be found Cannot satisfy dependency: From: WSO2 Carbon - BAM Activity Mediation Data Publisher Feature 3.2.1 (org.wso2.carbon.bam.data.publisher.activity.mediation.feature.group 3.2.1) To: org.wso2.carbon.bam.data.publisher.activity.mediation.server.feature.group [3.2.1] What can I do for this error? Thanks. ___ 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] First Request Fails Between Carbon Servers
Although I changed the data source configuration, I'm still getting timeout error. What can else it cause to this problem? From: Anjana Fernando anj...@wso2.com To: metin d met...@yahoo.com Cc: carbon-dev@wso2.org carbon-dev@wso2.org Sent: Thursday, January 5, 2012 11:57 AM Subject: Re: [Carbon-dev] First Request Fails Between Carbon Servers On Thu, Jan 5, 2012 at 3:19 PM, metin d met...@yahoo.com wrote: I couldn't find data source configuration in data services. Where is it? Check the data services wizard's, data source configuration page. Cheers, Anjana. From: Anjana Fernando anj...@wso2.com To: metin d met...@yahoo.com Cc: carbon-dev@wso2.org carbon-dev@wso2.org Sent: Thursday, January 5, 2012 9:04 AM Subject: Re: [Carbon-dev] First Request Fails Between Carbon Servers Hi, Did you add it to the data source configuration in data services? .. Cheers, Anjana. On Thu, Jan 5, 2012 at 12:26 PM, metin d met...@yahoo.com wrote: I added validationQuery to places you mentioned, but still experience same problem. egistry.xml Database configuration. E.g., /dbConfig dbConfig name=WSO2Registry urljdbc:mysql://db.example.com:3306/registry_db?autoReconnect=true/url userNameuser/userName passwordpassword/password driverNamecom.mysql.jdbc.Driver/driverName maxActive50/maxActive maxWait6/maxWait minIdle5/minIdle validationQuerySELECT 1/validationQuery /dbConfig user-mgt.xml Configure user store. E.g., Property name=urljdbc:mysql://db.example.com:3306/userstore_db?autoReconnect=true/Property Property name=userNameuser/Property Property name=passwordpassword/Property Property name=driverNamecom.mysql.jdbc.Driver/Property Property name=maxActive50/Property Property name=maxWait6/Property Property name=minIdle5/Property Property name=MultiTenantRealmConfigBuilderorg.wso2.carbon.user.core.config.multitenancy.SimpleRealmConfigBuilder/Property Property name=validationQuerySELECT 1/Property From: Anjana Fernando anj...@wso2.com To: carbon-dev@wso2.org Sent: Wednesday, January 4, 2012 11:35 AM Subject: Re: [Carbon-dev] First Request Fails Between Carbon Servers Hi, Yeah, as Hiranya mentioned, since we pool database connections, the connections that are kept will become stale after a long time of inactivity, so the solution would be to test the connection before actually using it, and re-create the connections if required. So for this, you simply have to provide the validation query in the data service in the data source configuration. The same have to be done in user-mgt.xml and also possibly in registry.xml for registry database configuration. The property name in user mgt would be validationQuery, and also there have to be an element named validationQuery in registry.xml. Cheers, Anjana. On Wed, Jan 4, 2012 at 2:34 PM, Hiranya Jayathilaka hira...@wso2.com wrote: I think DB connections are becoming stale due to lack of activity. This can be avoided by specifying a validation query for the data sources. Anjana should know more details. Thanks, Hiranya On Wed, Jan 4, 2012 at 2:32 PM, Afkham Azeez az...@wso2.com wrote: Did you host the webapp into the super-tenant? Please post the error. On Wed, Jan 4, 2012 at 2:25 PM, metin d met...@yahoo.com wrote: We deployed a web application on AS, in some parts of web application there are calls to .dbs on DSS. If we don't use web application a while, then try to use it, first request to .dbs on DSS fails, but second and consecutive attempts work without any problem. We observe same situation during our requests to AuthenticationAdmin service . Do you have any idea about the source of this problem? ___ 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/ email: azeez@wso2.comcell: +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 -- Hiranya Jayathilaka Associate Technical Lead; 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 -- Anjana Fernando Senior Software Engineer WSO2 Inc. | http://wso2.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] First Request Fails Between Carbon Servers
Hi, On Thu, Jan 19, 2012 at 12:59 PM, metin d met...@yahoo.com wrote: Although I changed the data source configuration, I'm still getting timeout error. What can else it cause to this problem? That should have fixed it. You may want to do a bit of debugging by, using the log4jdbc driver and logging the JDBC operations. From that, you can check whether the initial validationQuery is executed initially before the other actual query is executed. Cheers, Anjana. -- *From:* Anjana Fernando anj...@wso2.com *To:* metin d met...@yahoo.com *Cc:* carbon-dev@wso2.org carbon-dev@wso2.org *Sent:* Thursday, January 5, 2012 11:57 AM *Subject:* Re: [Carbon-dev] First Request Fails Between Carbon Servers On Thu, Jan 5, 2012 at 3:19 PM, metin d met...@yahoo.com wrote: I couldn't find data source configuration in data services. Where is it? Check the data services wizard's, data source configuration page. Cheers, Anjana. -- *From:* Anjana Fernando anj...@wso2.com *To:* metin d met...@yahoo.com *Cc:* carbon-dev@wso2.org carbon-dev@wso2.org *Sent:* Thursday, January 5, 2012 9:04 AM *Subject:* Re: [Carbon-dev] First Request Fails Between Carbon Servers Hi, Did you add it to the data source configuration in data services? .. Cheers, Anjana. On Thu, Jan 5, 2012 at 12:26 PM, metin d met...@yahoo.com wrote: I added validationQuery to places you mentioned, but still experience same problem. egistry.xml Database configuration. E.g., /dbConfig dbConfig name=WSO2Registry urljdbc:mysql://db.example.com:3306/registry_db?autoReconnect=true/url userNameuser/userName passwordpassword/password driverNamecom.mysql.jdbc.Driver/driverName maxActive50/maxActive maxWait6/maxWait minIdle5/minIdle validationQuerySELECT 1/validationQuery /dbConfig user-mgt.xml Configure user store. E.g., Property name=urljdbc:mysql://db.example.com:3306/userstore_db?autoReconnect=true/Property Property name=userNameuser/Property Property name=passwordpassword/Property Property name=driverNamecom.mysql.jdbc.Driver/Property Property name=maxActive50/Property Property name=maxWait6/Property Property name=minIdle5/Property Property name=MultiTenantRealmConfigBuilderorg.wso2.carbon.user.core.config.multitenancy.SimpleRealmConfigBuilder/Property Property name=validationQuerySELECT 1/Property -- *From:* Anjana Fernando anj...@wso2.com *To:* carbon-dev@wso2.org *Sent:* Wednesday, January 4, 2012 11:35 AM *Subject:* Re: [Carbon-dev] First Request Fails Between Carbon Servers Hi, Yeah, as Hiranya mentioned, since we pool database connections, the connections that are kept will become stale after a long time of inactivity, so the solution would be to test the connection before actually using it, and re-create the connections if required. So for this, you simply have to provide the validation query in the data service in the data source configuration. The same have to be done in user-mgt.xml and also possibly in registry.xml for registry database configuration. The property name in user mgt would be validationQuery, and also there have to be an element named validationQuery in registry.xml. Cheers, Anjana. On Wed, Jan 4, 2012 at 2:34 PM, Hiranya Jayathilaka hira...@wso2.comwrote: I think DB connections are becoming stale due to lack of activity. This can be avoided by specifying a validation query for the data sources. Anjana should know more details. Thanks, Hiranya On Wed, Jan 4, 2012 at 2:32 PM, Afkham Azeez az...@wso2.com wrote: Did you host the webapp into the super-tenant? Please post the error. On Wed, Jan 4, 2012 at 2:25 PM, metin d met...@yahoo.com wrote: We deployed a web application on AS, in some parts of web application there are calls to .dbs on DSS. If we don't use web application a while, then try to use it, first request to .dbs on DSS fails, but second and consecutive attempts work without any problem. We observe same situation during our requests to AuthenticationAdmin service . Do you have any idea about the source of this problem? ___ 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
[Carbon-dev] Exception While Monitoring Activity Publishing
Hi, When I clicked the Configure - Activity Publishing , I took this error; TID: [] [WSO2 Stratos Enterprise Service Bus] [2012-01-19 09:38:16,831] ERROR {org.wso2.carbon.bam.data.publisher.activity.mediation.ui.ActivityPublisherAdminClient} - Cannot get eventing configuration. Backend server may be unavailable. {org.wso2.carbon.bam.data.publisher.activity.mediation.ui.ActivityPublisherAdminClient}org.apache.axis2.AxisFault: The input stream for an incoming message is null. at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:92) at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)at org.wso2.carbon.bam.data.publisher.activity.mediation.stub.ActivityPublisherAdminStub.getEventingConfigData(ActivityPublisherAdminStub.java:339) at org.wso2.carbon.bam.data.publisher.activity.mediation.ui.ActivityPublisherAdminClient.getEventingConfigData(ActivityPublisherAdminClient.java:59) at org.apache.jsp.bampubactivity.configure_005feventing_jsp._jspService(configure_005feventing_jsp.java:196) 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:161) 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:164) 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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530) at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37) at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:265) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966) at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:614) at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:98) at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88) at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82) at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465) at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140) at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117) at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171) at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75) at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80) at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(template_jsp.java:524) at org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:275) 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
[Carbon-dev] Compilation error trunk/bam component
Hi, Getting; [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 9:10.290s [INFO] Finished at: Thu Jan 19 12:33:34 IST 2012 [INFO] Final Memory: 300M/494M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project org.wso2.carbon.bam.core: Com pilation failure: Compilation failure: [ERROR] \Projects\trunk\components\bam\org.wso2.carbon.bam.core\src\main\java\org\wso2\carbon\bam\core\clients\ServiceGroupAdminClient.java:[8,39] can not find symbol [ERROR] symbol : class ServiceGroupAdminStub [ERROR] location: package org.wso2.carbon.service.mgt.stub [ERROR] [ERROR] \Projects\trunk\components\bam\org.wso2.carbon.bam.core\src\main\java\org\wso2\carbon\bam\core\clients\ServiceGroupAdminClient.java:[13,65] ca nnot find symbol [ERROR] symbol: class ServiceGroupAdminStub [ERROR] public class ServiceGroupAdminClient extends AbstractAdminClientServiceGroupAdminStub{ [ERROR] [ERROR] \Projects\trunk\components\bam\org.wso2.carbon.bam.core\src\main\java\org\wso2\carbon\bam\core\clients\ServiceGroupAdminClient.java:[20,19] ca nnot find symbol [ERROR] symbol : class ServiceGroupAdminStub [ERROR] location: class org.wso2.carbon.bam.core.clients.ServiceGroupAdminClient [ERROR] - [Help 1] [ERROR] I built service-stubs.. -Ratha ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Compilation error trunk/bam component
Hi, Could you please go check whether the service mgt stub is built/ changed? On Thu, Jan 19, 2012 at 1:18 PM, Vijayaratha Vijayasingam rat...@wso2.comwrote: Hi, Getting; [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 9:10.290s [INFO] Finished at: Thu Jan 19 12:33:34 IST 2012 [INFO] Final Memory: 300M/494M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project org.wso2.carbon.bam.core: Com pilation failure: Compilation failure: [ERROR] \Projects\trunk\components\bam\org.wso2.carbon.bam.core\src\main\java\org\wso2\carbon\bam\core\clients\ServiceGroupAdminClient.java:[8,39] can not find symbol [ERROR] symbol : class ServiceGroupAdminStub [ERROR] location: package org.wso2.carbon.service.mgt.stub [ERROR] [ERROR] \Projects\trunk\components\bam\org.wso2.carbon.bam.core\src\main\java\org\wso2\carbon\bam\core\clients\ServiceGroupAdminClient.java:[13,65] ca nnot find symbol [ERROR] symbol: class ServiceGroupAdminStub [ERROR] public class ServiceGroupAdminClient extends AbstractAdminClientServiceGroupAdminStub{ [ERROR] [ERROR] \Projects\trunk\components\bam\org.wso2.carbon.bam.core\src\main\java\org\wso2\carbon\bam\core\clients\ServiceGroupAdminClient.java:[20,19] ca nnot find symbol [ERROR] symbol : class ServiceGroupAdminStub [ERROR] location: class org.wso2.carbon.bam.core.clients.ServiceGroupAdminClient [ERROR] - [Help 1] [ERROR] I built service-stubs.. -Ratha ___ 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