anonymous Log in
Search
Recents:
v3.0
java-l
Al ejecutar desde GX sale: Network error IOException: Connection refused: connect
10/12/10 12:27

Jorge.Izquierdo@gms.

Replies: 0


Probé con
a) .\
b) .
c) sqlexpress


Tampoco anduvo.

Jorge



De:
Juan Manuel <juanma.azpiroz@gmail.com>
Para:
java-l@gxtech.com.uy
Fecha:
10/12/2010 09:11
Asunto:
Re: [java-l] Al ejecutar desde GX sale: Network error IOException:
Connection refused: connect



yo le sacaria el .\ solo escribe sqlexpress
saludos,


2010/12/10 <Jorge.Izquierdo@gms.com.ec>
Estimados,

Pasé a un equipo con Windows 7 x64.
Tengo GX X U3.

Instalé Tomcat 6.0 + sql server 2008 express sp1 + JRE 6 + jdk1.6.0 22.


Creé una KB de prueba con un modelo en .Net y funciona sin problemas.
Luego creé un nuevo environment con Java pero me da el error.

El Server Name configurado en el Environment de .Net es ".\sqlexpress" y
probé lo mismo en Java pero no anda y sale el error
HTTP Status 500 -

type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: java.sql.SQLException: Network error
IOException: Connection refused: connect
at
net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:372)
at
net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50)
at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:178)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.genexus.db.driver.GXConnection$1.run(Unknown Source)
at com.genexus.platform.NativeFunctions11.executeWithPermissions(Unknown
Source)
at com.genexus.db.driver.GXConnection.connectJDBCDriver(Unknown Source)
at com.genexus.db.driver.GXConnection.connect(Unknown Source)
at com.genexus.db.driver.GXConnection.<init>(Unknown Source)
at com.genexus.db.driver.GXConnection.<init>(Unknown Source)
Etc. etc.



Lo cambié a "localhost" y tampoco, el error que sale es:
(Agradezco cualquier sugerencia/comentario)
HTTP Status 500 -

type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: java.sql.SQLException: Network error
IOException: Connection refused: connect at
net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:372)
at
net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50)
at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:178) at
java.sql.DriverManager.getConnection(Unknown Source) at
java.sql.DriverManager.getConnection(Unknown Source) at
com.genexus.db.driver.GXConnection$1.run(Unknown Source) at
com.genexus.platform.NativeFunctions11.executeWithPermissions(Unknown
Source) at
com.genexus.db.driver.GXConnection.connectJDBCDriver(Unknown Source) at
com.genexus.db.driver.GXConnection.connect(Unknown Source) at
com.genexus.db.driver.GXConnection.<init>(Unknown Source) at
com.genexus.db.driver.GXConnection.<init>(Unknown Source) at
com.genexus.db.driver.ReadWriteConnectionPool.createConnection(Unknown
Source) at com.genexus.db.driver.ConnectionPool.checkOut(Unknown
Source) at
com.genexus.db.driver.DataSourceConnectionPool.checkOut(Unknown Source)
at com.genexus.db.ServerUserInformation.getConnection(Unknown Source) at
com.genexus.db.ServerDBConnectionManager.getConnection(Unknown Source) at
com.genexus.db.DefaultConnectionProvider.getConnection(Unknown Source) at
com.genexus.db.DataStoreProviderBase.getConnection(Unknown Source) at
com.genexus.db.SentenceProvider.getPreparedStatement(Unknown Source) at
com.genexus.db.ForEachCursor.preExecute(Unknown Source) at
com.genexus.db.DataStoreProvider.execute(Unknown Source) at
com.genexus.db.DataStoreProvider.execute(Unknown Source) at
wwcliente impl.rf0B2(wwcliente impl.java:612) at
wwcliente impl.refresh(wwcliente impl.java:582) at
wwcliente impl.we0B2(wwcliente impl.java:511) at
wwcliente impl.renderHtmlContent(wwcliente impl.java:253) at
appmasterpage impl.wb table4 38 012(appmasterpage impl.java:721) at
appmasterpage impl.wb table3 18 012e(appmasterpage impl.java:459) at
appmasterpage impl.wb table3 18 012(appmasterpage impl.java:792) at
appmasterpage impl.wb table2 5 012e(appmasterpage impl.java:418) at
appmasterpage impl.wb table2 5 012(appmasterpage impl.java:844) at
appmasterpage impl.wb table1 2 012(appmasterpage impl.java:405) at
appmasterpage impl.wb010(appmasterpage impl.java:104) at
appmasterpage impl.rf012(appmasterpage impl.java:305) at
appmasterpage impl.refresh(appmasterpage impl.java:283) at
appmasterpage impl.we012(appmasterpage impl.java:260) at
appmasterpage impl.webExecute(appmasterpage impl.java:58) at
wwcliente impl.webExecute(wwcliente impl.java:135) at
com.genexus.webpanels.GXWebObjectBase.doExecute(Unknown Source) at
wwcliente.doExecute(wwcliente.java:20) at
com.genexus.webpanels.GXWebObjectStub.callExecute(Unknown Source) at
com.genexus.webpanels.GXWebObjectStub.doGet(Unknown Source) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:402)
at
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:134)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)Caused by:
java.net.ConnectException: Connection refused: connect at
java.net.PlainSocketImpl.socketConnect(Native Method) at
java.net.PlainSocketImpl.doConnect(Unknown Source) at
java.net.PlainSocketImpl.connectToAddress(Unknown Source) at
java.net.PlainSocketImpl.connect(Unknown Source) at
java.net.SocksSocketImpl.connect(Unknown Source) at
java.net.Socket.connect(Unknown Source) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
java.lang.reflect.Method.invoke(Unknown Source) at
net.sourceforge.jtds.jdbc.SharedSocket.createSocketForJDBC3(SharedSocket.java:289)
at
net.sourceforge.jtds.jdbc.SharedSocket.<init>(SharedSocket.java:250) at
net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:297)
... 59 more
com.genexus.webpanels.GXWebObjectStub.callExecute(Unknown Source)
com.genexus.webpanels.GXWebObjectStub.doGet(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:402)

org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:134)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.13 logs.



--
A/S Juan Manuel Azpiroz
San José - Uruguay


Por favor tenga en cuenta el Medio Ambiente, preservarlo depende de todos


-----------------------------------------
Para Suscribirse/Desuscribirse:
http://www.gxtechnical.com/cgi-bin/hforum.exe?2,3,30,20
Por consultas owner-java-l@gxtech.com.uy



Información de ESET NOD32 Antivirus, versión de la base de firmas de virus 5692 (20101210)

ESET NOD32 Antivirus ha comprobado este mensaje.

http://www.eset.com



Back to java-l