I tried the Current CSG version with rajika's help, and it works end to end (without SSL support). Following are TODOs
1. SSL support for CSG and Qpid - problem is Qpid SSL support is broken and Rajika is working on it. 2. We need the admin UI as before - look at the Screen casts of the last release to see the UIs. Ideally we need publish/unpublish as a part of the service management UI. Please chat with Azeez about this. 3. We need to fix the random error when publishing services see [1] for exception. Also there are few other such exceptions. 4. We should test this in Stratos - yo make sure MT case works 5. We need WSAS to check and republish services when it start, and CSG should remove any published services if N number of errors has happend. [Initial version can go without this IMO ] 6. We have to load this and see how it works and make sure there are no ant concurrency issues. 7. May not be a bad idea to do a code review when Rajika is reay [1]Caused by: java.lang.NullPointerException at org.apache.axis2.transport.base.BaseUtils.markServiceAsFaulty(BaseUtils.java:88) at org.apache.axis2.transport.base.AbstractTransportListener.internalStartListeningForService(AbstractTransportListener.java:227) at org.apache.axis2.transport.base.AbstractTransportListener$2.serviceAdded(AbstractTransportListener.java:126) at org.apache.axis2.transport.base.tracker.AxisServiceTracker.serviceAdded(AxisServiceTracker.java:212) at org.apache.axis2.transport.base.tracker.AxisServiceTracker.start(AxisServiceTracker.java:188) at org.apache.axis2.transport.base.AbstractTransportListener.start(AbstractTransportListener.java:178) at org.apache.axis2.transport.base.AbstractTransportListenerEx.start(AbstractTransportListenerEx.java:83) at org.wso2.carbon.core.transports.AbstractTransportService.updateGlobalTransportParameters(AbstractTransportService.java:130) ... 39 more [2011-02-25 09:35:38,990] ERROR {org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver} - Clound not publish service 'SimpleStockQuoteService' org.wso2.carbon.cloud.csg.common.CSGException: Clound not publish service 'SimpleStockQuoteService' at org.wso2.carbon.cloud.csg.agent.jms.JMSServicePublisher.handleException(JMSServicePublisher.java:302) at org.wso2.carbon.cloud.csg.agent.jms.JMSServicePublisher.publish(JMSServicePublisher.java:99) at org.wso2.carbon.cloud.csg.agent.service.CSGAgentAdminService.publishService(CSGAgentAdminService.java:45) 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.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66) 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:206) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 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 On Sat, Feb 19, 2011 at 8:19 AM, Srinath Perera <srin...@wso2.com> wrote: > yes np :) --Srinath > > On Sat, Feb 19, 2011 at 8:18 AM, Rajika Kumarasiri <raj...@wso2.com> wrote: >> hi, >> I am on leave on Monday, hope Tuesday is OK with you. >> >> Thanks, >> Rajika >> >> On Sat, Feb 19, 2011 at 8:10 AM, Srinath Perera <srin...@wso2.com> wrote: >>> >>> Hi Rajika, >>> >>> Hi Rajika, >>> >>> Thanks!, I will play with it. Lets try it in detail monday morning >>> >>> --Srinath >>> >>> On Sat, Feb 19, 2011 at 7:58 AM, Rajika Kumarasiri <raj...@wso2.com> >>> wrote: >>> > Now the proxy should be already added into ESB so we need to remove that >>> > first before start ESB. Just remove the proxy from >>> > >>> > $ESB_HOME/repository/deployment/server/synapse-configs/default/synapse.xml >>> > and start ESB. Make sure that the Qpid broker component is also start >>> > with >>> > ESB. You can see the following log in the ESB. >>> > >>> > [2011-02-19 07:47:19,615] INFO {qpid.message.broker.listening} - >>> > [Broker] >>> > BRK-1002 : Starting : Listening on TCP port 5672 >>> > >>> > Then start AS and go to the CSG client and click Add CSG server button. >>> > This >>> > will add a CSG server instance. Right now the UI is not done so no >>> > errors >>> > etc..will be popped up. But you can see the following log line in ESB's >>> > log. >>> > >>> > [2011-02-19 07:48:27,487] INFO >>> > {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin' >>> > logged in at [2011-02-19 07:48:27,0487] from IP address localhost >>> > >>> > This will confirm adding the CSG server was a success. Then go to the >>> > client >>> > and try publish button. This will deploy a proxy with a JMS endpoint. >>> > You >>> > can also see the following log line in AS's log ( this is for >>> > SimpleStockQuoteService). >>> > >>> > [2011-02-19 07:53:43,420] INFO >>> > {org.apache.axis2.transport.jms.JMSListener} >>> > - Started to listen on destination : SimpleStockQuoteService of type >>> > Queue >>> > for service SimpleStockQuoteService >>> > >>> > The stack trace you received can be received if you try to publish a >>> > service >>> > that's not available( that UI need to fix providing only the available >>> > services). Just try publishing the SimpleStockQuoteService. >>> > >>> > Rajika >>> > >>> > >>> > On Sat, Feb 19, 2011 at 7:35 AM, Srinath Perera <srin...@wso2.com> >>> > wrote: >>> >> >>> >> Hi Rajika, >>> >> >>> >> I was trying to run the CSG. Basically, went to CSG client, then push >>> >> add server (nothing happend), then push add service, and got following >>> >> error. >>> >> >>> >> --Srinath >>> >> >>> >> The service cannot be found for the endpoint reference (EPR) >>> >> http://www.w3.org/2005/08/addressing/anonymous >>> >> org.apache.axis2.AxisFault: The service cannot be found for the >>> >> endpoint reference (EPR) >>> >> http://www.w3.org/2005/08/addressing/anonymous >>> >> at >>> >> >>> >> org.apache.axis2.engine.DispatchPhase.validateTransport(DispatchPhase.java:251) >>> >> at >>> >> >>> >> org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:109) >>> >> at org.apache.axis2.engine.Phase.invoke(Phase.java:329) >>> >> at >>> >> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262) >>> >> at >>> >> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168) >>> >> at >>> >> >>> >> org.apache.axis2.description.RobustOutOnlyAxisOperation$RobustOutOnlyOperationClient.handleResponse(RobustOutOnlyAxisOperation.java:90) >>> >> 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.cloud.csg.agent.client.CSGAdminServiceStub.deployProxy(CSGAdminServiceStub.java:598) >>> >> at >>> >> >>> >> org.wso2.carbon.cloud.csg.agent.client.CSGAdminClient.deployProxy(CSGAdminClient.java:66) >>> >> at >>> >> >>> >> org.wso2.carbon.cloud.csg.agent.jms.JMSServicePublisher.publish(JMSServicePublisher.java:97) >>> >> at >>> >> >>> >> org.wso2.carbon.cloud.csg.agent.service.CSGAgentAdminService.publishService(CSGAgentAdminService.java:45) >>> >> 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.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66) >>> >> 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) >>> >> >>> >> >>> >> On Thu, Feb 10, 2011 at 12:25 PM, Rajika Kumarasiri <raj...@wso2.com> >>> >> wrote: >>> >> > >>> >> > >>> >> > On Thu, Feb 10, 2011 at 12:04 PM, Srinath Perera <srin...@wso2.com> >>> >> > wrote: >>> >> >> >>> >> >> any updates on the SSL thing after you guys looked at it together? >>> >> > >>> >> > It seems SSL in Qpid Java broker is broken. I went through the Qpid >>> >> > SSL >>> >> > implementation and it has some limitation. I am in the process of >>> >> > fixing >>> >> > them. I also raised the question at Qpid user community [0]. >>> >> > >>> >> > Rajika >>> >> > >>> >> > [0] - >>> >> > >>> >> > >>> >> > http://mail-archives.apache.org/mod_mbox/qpid-users/201102.mbox/ajax/%3CAANLkTi=pdmqtsm9n8av7t5qqb_brc398mtd0wch9x...@mail.gmail.com%3E >>> >> > >>> >> >> >>> >> >> --Srinath >>> >> >> >>> >> >> On Tue, Feb 8, 2011 at 8:25 AM, Danushka Menikkumbura >>> >> >> <danus...@wso2.com> >>> >> >> wrote: >>> >> >> > Lets take a look at your SSL configuration. >>> >> >> > >>> >> >> > Danushka >>> >> >> > >>> >> >> > On Mon, Feb 7, 2011 at 2:50 PM, Rajika Kumarasiri >>> >> >> > <raj...@wso2.com> >>> >> >> > wrote: >>> >> >> >> >>> >> >> >> Here is an update of the CSG work >>> >> >> >> >>> >> >> >> I got the end to end JMS model described [0] working. Now CSG is >>> >> >> >> integrated with Qpid component. A user only need to configure the >>> >> >> >> CSG >>> >> >> >> agent >>> >> >> >> ( which runs on AS) with a carbon user creditals of the ESB. I >>> >> >> >> tested >>> >> >> >> for >>> >> >> >> service with in only and in-out operations. >>> >> >> >> >>> >> >> >> The communication from broker to CSG and broker to CSG-agent >>> >> >> >> still >>> >> >> >> not >>> >> >> >> happen through SSL. There was a SSL timed out issue in the Qpid >>> >> >> >> that >>> >> >> >> I >>> >> >> >> am >>> >> >> >> looking into. >>> >> >> >> >>> >> >> >> TODO - >>> >> >> >> 1. Fix SSL issue ( I actually ask for help from Qpid user >>> >> >> >> community) >>> >> >> >> 2. Fix the UI >>> >> >> >> 3. Test on Stratos. >>> >> >> >> 4. Test the scenario describe in[0]. >>> >> >> >> >>> >> >> >> Rajika >>> >> >> >> >>> >> >> >> [0] - >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> http://markmail.org/message/k45rlgz5yqfketxh?q=+list:org.wso2.architecture >>> >> >> >> _______________________________________________ >>> >> >> >> 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 >>> >> >> > >>> >> >> > >>> >> >> >>> >> >> >>> >> >> >>> >> >> -- >>> >> >> ============================ >>> >> >> Srinath Perera, Ph.D. >>> >> >> Senior Software Architect, WSO2 Inc. >>> >> >> Visiting Lecturer, University of Moratuwa >>> >> >> Member, Apache Software Foundation >>> >> >> Research Scientist, Lanka Software Foundation >>> >> >> Blog: http://srinathsview.blogspot.com/ >>> >> >> _______________________________________________ >>> >> >> 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 Lecturer, University of Moratuwa >>> >> Member, Apache Software Foundation >>> >> Research Scientist, Lanka Software Foundation >>> >> Blog: http://srinathsview.blogspot.com/ >>> > >>> > >>> >>> >>> >>> -- >>> ============================ >>> Srinath Perera, Ph.D. >>> Senior Software Architect, WSO2 Inc. >>> Visiting Lecturer, University of Moratuwa >>> Member, Apache Software Foundation >>> Research Scientist, Lanka Software Foundation >>> Blog: http://srinathsview.blogspot.com/ >> >> > > > > -- > ============================ > Srinath Perera, Ph.D. > Senior Software Architect, WSO2 Inc. > Visiting Lecturer, University of Moratuwa > Member, Apache Software Foundation > Research Scientist, Lanka Software Foundation > Blog: http://srinathsview.blogspot.com/ > -- ============================ Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Lecturer, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ _______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev