Subject | Re: FBEventManager Unable to complete network request to host "0.0.0.0". |
---|---|
Author | nagypapi |
Post date | 2008-03-17T21:37:28Z |
A bit of plus info:
From the source of AbstractJavaGDSImpl.java at line 3135 I see that
the GDSException's third parameter is the IP Address. I checked the
following:
try {
eventManager.addEventListener("DATA_EVENT",this);
} catch(Exception e) {
FBSQLException fbe = (FBSQLException)e;
GDSException gdse = (GDSException)fbe.getInternalException();
System.out.println("GDSE message: "+gdse.getParam());
throw e;
}
but it prints an empty param:
"GDSE message: "
Why does the ip address i set (192.168.1.101) get lost?
Thanks,
John
From the source of AbstractJavaGDSImpl.java at line 3135 I see that
the GDSException's third parameter is the IP Address. I checked the
following:
try {
eventManager.addEventListener("DATA_EVENT",this);
} catch(Exception e) {
FBSQLException fbe = (FBSQLException)e;
GDSException gdse = (GDSException)fbe.getInternalException();
System.out.println("GDSE message: "+gdse.getParam());
throw e;
}
but it prints an empty param:
"GDSE message: "
Why does the ip address i set (192.168.1.101) get lost?
Thanks,
John
--- In Firebird-Java@yahoogroups.com, "nagypapi" <nagypapi@...> wrote:
>
> We are using:
> Firebird 2.1.0 RC2 SS on WinXP
> Jaybird 2.1.3
>
> Everything works fine in our local environment with fb 2.0.3 SS on winXP
>
> but if we connect to the fb 2.1.0 RC2 server on our client's network
> FBEventManager throws the following exception:
>
> org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544721. Unable
> to complete network request to host "0.0.0.0".
> at
>
org.firebirdsql.event.FBEventManager.addEventListener(FBEventManager.java:266)
> at
>
woodpecker.holgyvalasz.data.DataChangeMonitor.init(DataChangeMonitor.java:94)
> at
>
> ..... our classes .......
>
> at org.firebirdsql.gds.GDSException: Unable to complete network
> request to host "0.0.0.0".
> at
>
org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl$EventCoordinatorImp.connect(AbstractJavaGDSImpl.java:3135)
> at
>
org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl$EventCoordinatorImp.<init>(AbstractJavaGDSImpl.java:3044)
> at
>
org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.iscQueueEvents(AbstractJavaGDSImpl.java:2962)
> at
>
org.firebirdsql.event.FBEventManager$GdsEventHandler.register(FBEventManager.java:385)
> at
>
org.firebirdsql.event.FBEventManager.registerListener(FBEventManager.java:359)
> at
>
org.firebirdsql.event.FBEventManager.addEventListener(FBEventManager.java:264)
>
>
> The code that throws this is:
>
> eventManager=new FBEventManager();
> // host is an IP or a host name, definitly not 0.0.0.0
> eventManager.setHost(host);
> eventManager.setDatabase(db);
> eventManager.setUser(user);
> eventManager.setPassword(pass);
> eventManager.connect();
> //Exception gets thrown here:
> eventManager.addEventListener("DATA_EVENT",this);
>
>
> Do you have any idea what causes this and what we can do to make it
> work everywhere?
>
> Thank you,
> John
>