Hi Asanthi, Can you give full ESB log when server is getting started.According to the above error it seems to be inbound endpoint is not deployed.Can you check whether above error is getting while adding inbound endpoint after starting the server and go to HOME/Manage/Service Bus/Inbound Endpoint.
On Sun, Feb 1, 2015 at 6:45 PM, Asanthi Kulasinghe <asan...@wso2.com> wrote: > Hi, > > I tried the HTTP Inbound endpoint sample [1] using [2] > > [4] Occurs when adding the sample to the source view. > Assuming it is related to [3] I added only the sequence in the source view > and added the endpoint via the endpoint UI and referred to the sequence > added. > Error [5] occurred when I tried placing a message at the inbound endpoint > port as follows : ant stockquote -Dtrpurl=http://localhost:8085/ > > When the above Inbound Endpoint is deployed , does it open port 8085 or > does it need any other additional configurations changes? > Why does it give a connection refused here ? > > > > [1] > https://docs.google.com/a/wso2.com/document/d/1vrhUxUmTiIXs4DW6YaIK4CxjIywabi0a7hohXhg4dzc/edit# > > [2] > https://svn.wso2.org/repos/wso2/people/isuruR/M5_Released/wso2esb-4.9.0-SNAPSHOT.zip > (md5sum > : 8229d296d28f94b8099fe224860f57eb) > [3] https://wso2.org/jira/browse/ESBJAVA-3507 > > [4] > [2015-02-01 17:25:24,097] ERROR - SynapseXMLConfigurationFactory Invalid > configuration element at the top level, one of 'sequence', 'endpoint', > 'proxy', 'eventSource', 'localEntry', 'priorityExecutor' or 'registry' is > expected > [2015-02-01 17:25:24,097] ERROR - SynapseConfiguration Duplicate entry > definition for key : SERVER_HOST > [2015-02-01 17:25:24,098] ERROR - ConfigAdmin Error while updating the > Synapse configuration > org.apache.synapse.SynapseException: Duplicate entry definition for key : > SERVER_HOST > at > org.apache.synapse.config.SynapseConfiguration.handleException(SynapseConfiguration.java:1573) > at > org.apache.synapse.config.SynapseConfiguration.assertAlreadyExists(SynapseConfiguration.java:1895) > at > org.apache.synapse.config.SynapseConfiguration.addEntry(SynapseConfiguration.java:679) > at > org.wso2.carbon.mediation.configadmin.ConfigurationUpdater.prepareNewConfiguration(ConfigurationUpdater.java:231) > at > org.wso2.carbon.mediation.configadmin.ConfigurationUpdater.update(ConfigurationUpdater.java:139) > at > org.wso2.carbon.mediation.configadmin.ConfigAdmin.updateConfiguration(ConfigAdmin.java:153) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > > [5] > [java] [2015-02-01 17:34:42,244] ERROR > {org.apache.sandesha2.SandeshaModule} - Could not load module policies. > Using default values. > [java] [2015-02-01 17:34:42,309] INFO > {org.apache.axis2.transport.mail.MailTransportSender} - MAILTO Sender > started > [java] [2015-02-01 17:34:42,322] INFO > {org.apache.axis2.transport.jms.JMSSender} - JMS Sender started > [java] [2015-02-01 17:34:42,322] INFO > {org.apache.axis2.transport.jms.JMSSender} - JMS Transport Sender > initialized... > [java] org.apache.axis2.AxisFault: Connection refused > [java] at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) > [java] at > org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199) > [java] at > org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77) > [java] at > org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451) > [java] at > org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278) > [java] at > org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442) > [java] at > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430) > [java] at > org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225) > [java] at > org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) > [java] at > org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554) > [java] at > org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530) > [java] at samples.userguide.StockQuoteClient.executeClient(Unknown > Source) > [java] at samples.userguide.StockQuoteClient.main(Unknown Source) > [java] Caused by: java.net.ConnectException: Connection refused > [java] at java.net.PlainSocketImpl.socketConnect(Native Method) > [java] at > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) > [java] at > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) > [java] at > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) > [java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) > [java] at java.net.Socket.connect(Socket.java:579) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [java] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > [java] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > [java] at java.lang.reflect.Method.invoke(Method.java:606) > [java] at > org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) > [java] at > org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) > [java] at > org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) > [java] at > org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) > [java] at > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) > [java] at > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > [java] at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > [java] at > org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:630) > [java] at > org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:195) > [java] ... 11 more > [java] [2015-02-01 17:34:42,403] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - I/O exception > (java.net.ConnectException) caught when processing request: Connection > refused > [java] [2015-02-01 17:34:42,403] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - Retrying request > [java] [2015-02-01 17:34:42,403] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - I/O exception > (java.net.ConnectException) caught when processing request: Connection > refused > [java] [2015-02-01 17:34:42,404] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - Retrying request > [java] [2015-02-01 17:34:42,404] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - I/O exception > (java.net.ConnectException) caught when processing request: Connection > refused > [java] [2015-02-01 17:34:42,404] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - Retrying request > [java] [2015-02-01 17:34:42,405] INFO > {org.apache.axis2.transport.http.HTTPSender} - Unable to sendViaPost to > url[http://localhost:8085/] > [java] java.net.ConnectException: Connection refused > [java] at java.net.PlainSocketImpl.socketConnect(Native Method) > [java] at > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) > [java] at > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) > [java] at > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) > [java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) > [java] at java.net.Socket.connect(Socket.java:579) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [java] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > [java] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > [java] at java.lang.reflect.Method.invoke(Method.java:606) > [java] at > org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) > [java] at > org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) > [java] at > org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) > [java] at > org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) > [java] at > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) > [java] at > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > [java] at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > [java] at > org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:630) > [java] at > org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:195) > [java] at > org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77) > [java] at > org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451) > [java] at > org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278) > [java] at > org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442) > [java] at > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430) > [java] at > org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225) > [java] at > org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) > [java] at > org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554) > [java] at > org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530) > [java] at samples.userguide.StockQuoteClient.executeClient(Unknown > Source) > [java] at samples.userguide.StockQuoteClient.main(Unknown Source) > > BUILD SUCCESSFUL > Total time: 4 seconds > > > Regards > *Asanthi Kulasinghe* > WSO2 Inc; http://www.wso2.com/. > Mobile: +94777355522 > > > -- Best Regards Isuru Ranawaka M: +94714629880 Blog : http://isurur.blogspot.com/
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev