incubator-stonehenge-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vineet ghatge <vgh4us...@gmail.com>
Subject Fwd: Error-Metro contribution
Date Thu, 13 Aug 2009 07:35:09 GMT
---------- Forwarded message ----------
From: Vineet ghatge <vgh4uster@gmail.com>
Date: Wed, Aug 12, 2009 at 11:16 PM
Subject: Fwd: Error-Metro contribution
To: stonehenge-dev@incubator.apache.org




---------- Forwarded message ----------
From: Vineet ghatge <vgh4uster@gmail.com>
Date: Wed, Aug 12, 2009 at 11:14 PM
Subject: Error-Metro contribution
To: stonehenge-dev@incubator.apache.org


Hello all,

I was successful upto the inserting the service names in the "dbo.service
table".After which the following instruction :-

To configure the Services of BS and OPS
1.    Open the Metro trader client by http://localhost:8090/trader_client.
2.    Navigate to Config Service page by clicking the tab ‘Config’.

When I click on the "config" I am getting the following error.Could some one
tell where i went wrong?

The error is as follows:-
javax.faces.FacesException: Cant instantiate class:
org.apache.stonehenge.stocktrader.bean.ConfigServiceBean.. Network error
IOException: Connection refused: connect
javax.faces.FacesException: javax.faces.FacesException: Cant instantiate
class: org.apache.stonehenge.stocktrader.bean.ConfigServiceBean.. Network
error IOException: Connection refused: connect
    at
com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:537)
    at
com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
    at
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
    at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:86)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:127)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
    at
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
    at javax.faces.component.UISelectItems.getValue(UISelectItems.java:130)
    at
com.sun.faces.renderkit.RenderKitUtils.getSelectItems(RenderKitUtils.java:323)
    at
com.sun.faces.renderkit.html_basic.MenuRenderer.getOptionNumber(MenuRenderer.java:675)
    at
com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRenderer.java:793)
    at
com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:335)
    at
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:836)
    at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:279)
    at
com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:242)
    at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
    at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
    at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
    at
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
    at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
    at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
    at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
    at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
    at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
    at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
    at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
    at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
    at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Caused by: javax.faces.FacesException: Cant instantiate class:
org.apache.stonehenge.stocktrader.bean.ConfigServiceBean.. Network error
IOException: Connection refused: connect
    at
com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:282)
    at
com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:527)
    ... 53 more
Caused by: javax.xml.ws.soap.SOAPFaultException: Network error IOException:
Connection refused: connect
    at
com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188)
    at
com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:116)
    at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
    at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
    at $Proxy63.getClientConfig(Unknown Source)
    at
org.apache.stonehenge.stocktrader.service.ConfigServiceClient.getClientConfigResponse(Unknown
Source)
    at
org.apache.stonehenge.stocktrader.service.ConfigServiceClient.getSelectedBS(Unknown
Source)
    at
org.apache.stonehenge.stocktrader.bean.ConfigServiceBean.<init>(Unknown
Source)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at
com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:277)
    ... 54 more
Caused by: java.lang.RuntimeException: Network error IOException: Connection
refused: connect
    at
org.apache.stonehenge.stocktrader.dal.DAOFactory.getConfigServiceDAO(Unknown
Source)
    at
org.apache.stonehenge.stocktrader.services.ConfigServiceServiceImpl.getConfigServiceDAO(Unknown
Source)
    at
org.apache.stonehenge.stocktrader.services.ConfigServiceServiceImpl.getClientConfig(Unknown
Source)
    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
com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246)
    at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
    at
com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257)
    at
com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
    at
com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
    at
com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:444)
    at
com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
    at
com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
    at
com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:129)
    at
com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:160)
    at
com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:75)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
    at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
    at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
    at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
    at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
    at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
    at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
    at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    at
com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
    ... 2 more
Caused by: java.sql.SQLException: Network error IOException: Connection
refused: connect
    at
net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:385)
    at
net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50)
    at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:182)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:207)
    at
org.apache.stonehenge.stocktrader.mssql.MSSQLConnectionProvider.provide(Unknown
Source)
    ... 52 more
Caused by: java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:519)
    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
net.sourceforge.jtds.jdbc.SharedSocket.createSocketForJDBC3(SharedSocket.java:304)
    at net.sourceforge.jtds.jdbc.SharedSocket.<init>(SharedSocket.java:255)
    at
net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:310)
    ... 57 more

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message