From Chris.Matthies3 at hdsupply.com Thu Feb 9 07:34:35 2012 From: Chris.Matthies3 at hdsupply.com (Matthies, Chris C [HDS]) Date: Thu, 9 Feb 2012 07:34:35 -0500 Subject: [Bam-user] BAM evaluation issue Message-ID: <7B57240C9E1FC243A3BF3D9383CC893408DD538B@GHDMBX01.hsi.hughessupply.com> I am evaluating BAM 1.3.2. I want to integrate a third party product so I am trying to add a Generic server. The Add Server tries to validate the server URL entered into the UI. This fails since there is NO connection to the third party product. Is there a work around or am I doing something wrong? Once I have the server added I can post events using that URL in my XML? To see the data I must create a custom dashboard? Environment: WSO2 Business Activity Monitor Home Welcome to the WSO2 Business Activity Monitor Management Console Server Host 11.128.8.177 Server URL https://11.128.8.177:9443/services/ Server Start Time 2012-02-08 11:20:28 System Up Time 0 day(s) 19 hr(s) 52 min(s) 36 sec(s) Version 1.3.2 Repository Location file:/C:/ccm/BAM/WSO2BA~1.2/bin/../repository/deployment/server/ Operating System OS Name Windows 7 OS Version 6.1 Operating System User Country US Home C:\Users\cm000059 Name cm000059 Timezone America/New_York Java VM Java Home C:\Program Files\Java\jdk1.6.0_30\jre Java Runtime Name Java(TM) SE Runtime Environment Java Version 1.6.0_30 Java Vendor Sun Microsystems Inc. Java VM Version 20.5-b03 Registry Type embedded DBMS H2 DBMS Version 1.2.140 (2010-07-25) DBMS Driver H2 JDBC Driver DBMS Driver Version 1.2.140 (2010-07-25) DBMS URL jdbc:h2:repository/database/WSO2CARBON_DB Chris Matthies Sr. Enterprise Architect, IT-Platform Application and Development HD Supply phone: 407-254-1704 Email: Chris.Matthies3 at hdsupply.com One Team, Driving Customer Success and Value Creation This message is for intended addressee(s) only and may contain confidential, proprietary or privileged information, exempt from disclosure, and subject to terms at: http://www.hdsupply.com/email/. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tharindu at wso2.com Thu Feb 9 07:41:21 2012 From: tharindu at wso2.com (Tharindu Mathew) Date: Thu, 9 Feb 2012 18:11:21 +0530 Subject: [Bam-user] BAM evaluation issue In-Reply-To: <7B57240C9E1FC243A3BF3D9383CC893408DD538B@GHDMBX01.hsi.hughessupply.com> References: <7B57240C9E1FC243A3BF3D9383CC893408DD538B@GHDMBX01.hsi.hughessupply.com> Message-ID: Hi Chris, It is difficult to integrate BAM 1.3.2 with third party products, which is why we came up with BAM 2.0. http://dist.wso2.org/downloads/bam/wso2bam-2.0.0-ALPHA.zip Try out the samples and give it a spin. Although, documentation is not readily available is as of yet, we would love to hear your feedback. There's also a webinar today at 9 am PDT. Do join in. On Thu, Feb 9, 2012 at 6:04 PM, Matthies, Chris C [HDS] < Chris.Matthies3 at hdsupply.com> wrote: > I am evaluating BAM 1.3.2. I want to integrate a third party product so I > am trying to add a Generic server. The Add Server tries to validate the > server URL entered into the UI. This fails since there is NO connection to > the third party product. Is there a work around or am I doing something > wrong? Once I have the server added I can post events using that URL in my > XML? To see the data I must create a custom dashboard?**** > > ** ** > > Environment:**** > > ** ** > > *WSO2 Business Activity Monitor Home * > > Welcome to the WSO2 Business Activity Monitor Management Console **** > > **** > > *Server* > > Host**** > > 11.128.8.177 **** > > Server URL **** > > https://11.128.8.177:9443/services/ **** > > Server Start Time**** > > 2012-02-08 11:20:28 **** > > System Up Time**** > > 0 day(s) 19 hr(s) 52 min(s) 36 sec(s) **** > > Version**** > > 1.3.2 **** > > Repository Location **** > > file:/C:/ccm/BAM/WSO2BA~1.2/bin/../repository/deployment/server/ **** > > **** > > *Operating System* > > OS Name **** > > Windows 7 **** > > OS Version **** > > 6.1 **** > > **** > > *Operating System User* > > Country **** > > US **** > > Home **** > > C:\Users\cm000059 **** > > Name**** > > cm000059 **** > > Timezone**** > > America/New_York **** > > **** > > *Java VM* > > Java Home **** > > C:\Program Files\Java\jdk1.6.0_30\jre **** > > Java Runtime Name **** > > Java(TM) SE Runtime Environment **** > > Java Version **** > > 1.6.0_30 **** > > Java Vendor **** > > Sun Microsystems Inc. **** > > Java VM Version **** > > 20.5-b03 **** > > **** > > *Registry* > > Type **** > > embedded **** > > DBMS **** > > H2 **** > > DBMS Version **** > > 1.2.140 (2010-07-25) **** > > DBMS Driver **** > > H2 JDBC Driver **** > > DBMS Driver Version **** > > 1.2.140 (2010-07-25) **** > > DBMS URL **** > > jdbc:h2:repository/database/WSO2CARBON_DB **** > > ** ** > > ** ** > > ** ** > > *Chris Matthies* > > Sr. Enterprise Architect, IT-Platform Application and Development**** > > HD Supply**** > > phone: 407-254-1704**** > > Email: Chris.Matthies3 at hdsupply.com**** > > *One Team, Driving Customer Success and Value Creation ***** > > This message is for intended addressee(s) only and may contain > confidential, proprietary or privileged information, exempt from > disclosure, and subject to terms at: http://www.hdsupply.com/email/.**** > > ** ** > > ** ** > > _______________________________________________ > Bam-user mailing list > Bam-user at wso2.org > https://wso2.org/cgi-bin/mailman/listinfo/bam-user > > -- Regards, Tharindu blog: http://mackiemathew.com/ M: +94777759908 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Chris.Matthies3 at hdsupply.com Thu Feb 9 08:55:06 2012 From: Chris.Matthies3 at hdsupply.com (Matthies, Chris C [HDS]) Date: Thu, 9 Feb 2012 08:55:06 -0500 Subject: [Bam-user] BAM 2.0 can not add Generic Server Message-ID: <7B57240C9E1FC243A3BF3D9383CC893408DD540C@GHDMBX01.hsi.hughessupply.com> I am evaluating third party integration with BAM. I try to add Generic sever, but the server URL is being evaluated. The third party SW does not host this URL. I get the following exception: 012-02-09 08:51:08,257] INFO {org.apache.axis2.transport.http.HTTPSender} - Unable to sendViaPost to url[http://11 g.apache.commons.httpclient.NoHttpResponseException: The server 11.128.8.177 failed to respond at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1976) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:621) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSend at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:276) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406) 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.services.stub.authenticationadminservice203.AuthenticationAdminServiceStub.login(Authen at org.wso2.carbon.bam.core.clients.AuthenticationAdminClient_2_0_3.authenticate(AuthenticationAdminClient_2_0 at org.wso2.carbon.bam.core.util.ClientAuthHandler.authenticateWithServer_Carbon_2_0_3(ClientAuthHandler.java: at org.wso2.carbon.bam.core.util.ClientAuthHandler.isAuthenticateWithServer(ClientAuthHandler.java:188) at org.wso2.carbon.bam.core.services.BAMConfigAdminService.addServer(BAMConfigAdminService.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212) at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.ja at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:199) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 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) Chris Matthies Sr. Enterprise Architect, IT-Platform Application and Development HD Supply phone: 407-254-1704 Email: Chris.Matthies3 at hdsupply.com One Team, Driving Customer Success and Value Creation This message is for intended addressee(s) only and may contain confidential, proprietary or privileged information, exempt from disclosure, and subject to terms at: http://www.hdsupply.com/email/. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Chris.Matthies3 at hdsupply.com Thu Feb 9 10:38:25 2012 From: Chris.Matthies3 at hdsupply.com (Matthies, Chris C [HDS]) Date: Thu, 9 Feb 2012 10:38:25 -0500 Subject: [Bam-user] BAM 2.0 Issue Message-ID: <7B57240C9E1FC243A3BF3D9383CC893408E17D0C@GHDMBX01.hsi.hughessupply.com> Adding a monitored sever (Generic) is not supposed to validate the URL. I get the following error: [2012-02-09 09:29:48,550] INFO {org.wso2.carbon.bam.core.util.ClientAuthHandler} - Could not authenticate with server : http://11.128.8.177:9443 The server cannot be added. Chris Matthies Sr. Enterprise Architect, IT-Platform Application and Development HD Supply phone: 407-254-1704 Email: Chris.Matthies3 at hdsupply.com One Team, Driving Customer Success and Value Creation This message is for intended addressee(s) only and may contain confidential, proprietary or privileged information, exempt from disclosure, and subject to terms at: http://www.hdsupply.com/email/. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Chris.Matthies3 at hdsupply.com Thu Feb 9 13:23:32 2012 From: Chris.Matthies3 at hdsupply.com (Matthies, Chris C [HDS]) Date: Thu, 9 Feb 2012 13:23:32 -0500 Subject: [Bam-user] User Defined Data Message-ID: <7B57240C9E1FC243A3BF3D9383CC893408E17FED@GHDMBX01.hsi.hughessupply.com> I have posted data to : https://localhost:9444/bam/services/BAMServerUserDefinedDataSubscriberService using the appropriate XSD. What is the simplest way to view the received data? Once I have viewed the raw data do I need to create a gadget to view in realtime? Chris Matthies Sr. Enterprise Architect, IT-Platform Application and Development HD Supply phone: 407-254-1704 Email: Chris.Matthies3 at hdsupply.com One Team, Driving Customer Success and Value Creation This message is for intended addressee(s) only and may contain confidential, proprietary or privileged information, exempt from disclosure, and subject to terms at: http://www.hdsupply.com/email/. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Chris.Matthies3 at hdsupply.com Thu Feb 9 13:46:23 2012 From: Chris.Matthies3 at hdsupply.com (Matthies, Chris C [HDS]) Date: Thu, 9 Feb 2012 13:46:23 -0500 Subject: [Bam-user] BAM Message-ID: <7B57240C9E1FC243A3BF3D9383CC893408E1805A@GHDMBX01.hsi.hughessupply.com> How can I dump the BAM DB to see my data Chris Matthies Sr. Enterprise Architect, IT-Platform Application and Development HD Supply phone: 407-254-1704 Email: Chris.Matthies3 at hdsupply.com One Team, Driving Customer Success and Value Creation This message is for intended addressee(s) only and may contain confidential, proprietary or privileged information, exempt from disclosure, and subject to terms at: http://www.hdsupply.com/email/. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tharindu at wso2.com Thu Feb 9 14:17:23 2012 From: tharindu at wso2.com (Tharindu Mathew) Date: Fri, 10 Feb 2012 00:47:23 +0530 Subject: [Bam-user] BAM In-Reply-To: <7B57240C9E1FC243A3BF3D9383CC893408E1805A@GHDMBX01.hsi.hughessupply.com> References: <7B57240C9E1FC243A3BF3D9383CC893408E1805A@GHDMBX01.hsi.hughessupply.com> Message-ID: Which version... if it's 2.0.0, you need to use Cassandra cli (Command line interface) to take a look at the data... If it's 1.3.2, you can just download the h2 database connect through the client and check the tables in the DB... the db is at repository/database/ On Fri, Feb 10, 2012 at 12:16 AM, Matthies, Chris C [HDS] < Chris.Matthies3 at hdsupply.com> wrote: > How can I dump the BAM DB to see my data**** > > ** ** > > *Chris Matthies* > > Sr. Enterprise Architect, IT-Platform Application and Development**** > > HD Supply**** > > phone: 407-254-1704**** > > Email: Chris.Matthies3 at hdsupply.com**** > > *One Team, Driving Customer Success and Value Creation ***** > > This message is for intended addressee(s) only and may contain > confidential, proprietary or privileged information, exempt from > disclosure, and subject to terms at: http://www.hdsupply.com/email/.**** > > ** ** > > ** ** > > _______________________________________________ > Bam-user mailing list > Bam-user at wso2.org > https://wso2.org/cgi-bin/mailman/listinfo/bam-user > > -- Regards, Tharindu blog: http://mackiemathew.com/ M: +94777759908 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Chris.Matthies3 at hdsupply.com Thu Feb 9 18:25:21 2012 From: Chris.Matthies3 at hdsupply.com (Matthies, Chris C [HDS]) Date: Thu, 9 Feb 2012 18:25:21 -0500 Subject: [Bam-user] BAM 2.0 - User Data Response Message-ID: <7B57240C9E1FC243A3BF3D9383CC893408E1843A@GHDMBX01.hsi.hughessupply.com> When I send user data to the BAM Server it responds with HTML for the login page. Is this correct. Chris Matthies Sr. Enterprise Architect, IT-Platform Application and Development HD Supply phone: 407-254-1704 Email: Chris.Matthies3 at hdsupply.com One Team, Driving Customer Success and Value Creation This message is for intended addressee(s) only and may contain confidential, proprietary or privileged information, exempt from disclosure, and subject to terms at: http://www.hdsupply.com/email/. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tharindu at wso2.com Fri Feb 10 07:48:19 2012 From: tharindu at wso2.com (Tharindu Mathew) Date: Fri, 10 Feb 2012 18:18:19 +0530 Subject: [Bam-user] BAM 2.0 - User Data Response In-Reply-To: <7B57240C9E1FC243A3BF3D9383CC893408E1843A@GHDMBX01.hsi.hughessupply.com> References: <7B57240C9E1FC243A3BF3D9383CC893408E1843A@GHDMBX01.hsi.hughessupply.com> Message-ID: No, chris... it's incorrect... don't use BAM 1.3.2 Did you download BAM 2.0 alpha? http://dist.wso2.org/downloads/bam/wso2bam-2.0.0-ALPHA.zip Unzip and go to the directory samples.... There will be 3 samples each will show how to publish data to BAM... hope this helps... On Fri, Feb 10, 2012 at 4:55 AM, Matthies, Chris C [HDS] < Chris.Matthies3 at hdsupply.com> wrote: > When I send user data to the BAM Server it responds with HTML for the > login page. Is this correct.**** > > ** ** > > *Chris Matthies* > > Sr. Enterprise Architect, IT-Platform Application and Development**** > > HD Supply**** > > phone: 407-254-1704**** > > Email: Chris.Matthies3 at hdsupply.com**** > > *One Team, Driving Customer Success and Value Creation ***** > > This message is for intended addressee(s) only and may contain > confidential, proprietary or privileged information, exempt from > disclosure, and subject to terms at: http://www.hdsupply.com/email/.**** > > ** ** > > ** ** > > _______________________________________________ > Bam-user mailing list > Bam-user at wso2.org > https://wso2.org/cgi-bin/mailman/listinfo/bam-user > > -- Regards, Tharindu blog: http://mackiemathew.com/ M: +94777759908 -------------- next part -------------- An HTML attachment was scrubbed... URL: