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/ >
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev