🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.datagateway
2 messages
2 total messages Started by Alex B. Humphreys Mon, 12 Jul 1999 00:00
weird dgw no-connection error. HELP!
#68
Author: Alex B. Humphreys
Date: Mon, 12 Jul 1999 00:00
45 lines
2991 bytes
I can't seem to connect to my localhost data but able to connect to
another computers data. I have dgw running as a service on my nt machine
and this hasn't given me any troubles until this morning (grr), when I
uninstalled some seemingly unrelated stuff from my machine. Since then,
I haven't been able to connect. I've reinstalled dgw and even jbuilder
with no luck. One weird thing, when i reboot, if I connect using an
installed java application that hits my datasource, it works fine. but
then when i open up jbuilder and run there the first time through it it
connects and begins to go run my queries, but then crashes giving me a
"connection reset by peer" error. After that, I can't connect either
from jbuilder or from the installed application that just worked (!).
Does anyone know whats going on with DataGateway/jbuilder ??. I've
stopped and started the service and still the same problem. I'm using
Jbuilder 2.01.

thanks.  --alex

one of the stack traces I got (and yes, dgw is running on the machine at
the time).:
borland.jbcl.dataset.DataSetException: Connection refused (Probable
cause: DataGateway Server not running on localhost)
at borland.jbcl.dataset.DataSetException.throwException(Compiled Code)
at borland.jbcl.dataset.DataSetException.throwException(Compiled Code)
at borland.jbcl.dataset.DataSetException.SQLException(Compiled Code)
at borland.sql.dataset.Database.openConnection(Compiled Code)
at borland.sql.dataset.Database.createPreparedStatement(Unknown Source)
at borland.sql.dataset.$141.createStatement(Unknown Source)
at borland.sql.dataset.$141.$tH(Unknown Source)
at borland.sql.dataset.$141.executeQuery(Unknown Source)
at borland.sql.dataset.QueryProvider.$YG(Unknown Source)
at borland.sql.dataset.$139.provideData(Compiled Code)
at borland.jbcl.dataset.StorageDataSet.refresh(Unknown Source)
at borland.sql.dataset.QueryDataSet.refresh(Unknown Source)
at borland.sql.dataset.QueryDataSet.executeQuery(Unknown Source)
at site.login_Dialog.checkPassword(Compiled Code)
at site.login_Dialog.login(login_Dialog.java:184)
at site.login_Dialog$9.keyReleased(Compiled Code)
at java.awt.Component.processKeyEvent(Compiled Code)
at java.awt.Component.processEvent(Compiled Code)
at java.awt.TextComponent.processEvent(Compiled Code)
at java.awt.TextField.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at
Chained exception:
Re: weird dgw no-connection error. HELP!
#72
Author: John B. Moore
Date: Fri, 23 Jul 1999 00:00
26 lines
1827 bytes
In article <378A52D0.84A3E8CA@sema4.com>, Alex B. Humphreys wrote:
> I can't seem to connect to my localhost data but able to connect to
> another computers data. 

  Have you tried 127.0.0.1 ??  I've seen situations where "localhost" 
would not work but the IP address for the localhost would.

I have dgw running as a service on my nt machine
> and this hasn't given me any troubles until this morning (grr), when I
> uninstalled some seemingly unrelated stuff from my machine. Since then,
> I haven't been able to connect. I've reinstalled dgw and even jbuilder
> with no luck. One weird thing, when i reboot, if I connect using an
> installed java application that hits my datasource, it works fine. but
> then when i open up jbuilder and run there the first time through it it
> connects and begins to go run my queries, but then crashes giving me a
> "connection reset by peer" error


    This error comes from the DGW server being unable to contact the 
database server after making a connection.  What is your backend..??
    
    John..
+++++++++++++++++++++++
TeamB are volunteer helpers. Please do not email replies or questions. 
Post or reply only on this newsgroup. Thank you.
=======================
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads