incubator-stonehenge-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prajwal <Prajwal.Muralidh...@Sun.COM>
Subject Network Connecton Error
Date Sat, 22 Aug 2009 11:46:00 GMT
Hi all,
I'm using a windows xp on VMware. Does it pose a problem when i try to 
use the config tab in trader_client?I'm doing metro version of 
Stocktrader. I tried the same with Sun Virtual Box. I got the same error.

An Error Occurred:
javax.faces.FacesException: Cant instantiate class: 
org.apache.stonehenge.stocktrader.bean.ConfigServiceBean.. Network error 
IOException: Connection refused: connect
+- Stack Trace

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:143)
    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:411)
    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290)
    at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
    at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
    at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
    at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
    at 
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
    at 
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
    at 
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
    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)
    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:189)
    at 
com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130)
    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 $Proxy66.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:598)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
    at 
com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
    at 
com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:471)
    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:738)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
    ... 27 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)
    ... 51 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 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.enterprise.server.ss.provider.ASPlainSocketImpl$2.run(ASPlainSocketImpl.java:419)
    at java.security.AccessController.doPrivileged(Native Method)
    at 
com.sun.enterprise.server.ss.provider.ASPlainSocketImpl._invoke(ASPlainSocketImpl.java:416)
    at 
com.sun.enterprise.server.ss.provider.ASPlainSocketImpl.connect(ASPlainSocketImpl.java:288)
    at 
com.sun.enterprise.server.ss.provider.ASClientSocketImpl.connect(ASClientSocketImpl.java:267)
    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)
    ... 56 more

Regards
Prajwal

Mime
View raw message