Subject Re: [firebird-support] Unable to complete network request to host "127.0.0.1" [SQLState:08006, ISC error code:335544721]
Author Roberto Vieweg
Full stack


java.sql.SQLException: Unable to complete network request to host "127.0.0.1". [SQLState:08006, ISC error code:335544721]
        at org.firebirdsql.gds.ng.FbExceptionBuilder$Type$1.createSQLException(FbExceptionBuilder.java:498)
        at org.firebirdsql.gds.ng.FbExceptionBuilder$ExceptionInformation.toSQLException(FbExceptionBuilder.java:454)
        at org.firebirdsql.gds.ng.FbExceptionBuilder.toSQLException(FbExceptionBuilder.java:218)
        at org.firebirdsql.gds.ng.wire.WireConnection.identify(WireConnection.java:331)
        at org.firebirdsql.gds.ng.wire.FbWireDatabaseFactory.performConnect(FbWireDatabaseFactory.java:51)
        at org.firebirdsql.gds.ng.wire.FbWireDatabaseFactory.serviceConnect(FbWireDatabaseFactory.java:45)
        at org.firebirdsql.management.FBServiceManager.attachServiceManager(FBServiceManager.java:194)
        at org.firebirdsql.management.FBBackupManager.backupDatabase(FBBackupManager.java:95)
        at org.firebirdsql.management.FBBackupManagerBase.backupDatabase(FBBackupManagerBase.java:142)
        at br.com.jjw.besser.retaguarda.database.DatabaseBackup.backup(DatabaseBackup.java:100)
        at br.com.jjw.besser.retaguarda.database.DatabaseBackup.backup(DatabaseBackup.java:71)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)
        at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
        at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.EOFException: null
        at org.firebirdsql.gds.impl.wire.XdrInputStream.readInt(XdrInputStream.java:181)
        at org.firebirdsql.gds.ng.wire.WireConnection.readNextOperation(WireConnection.java:418)
        at org.firebirdsql.gds.ng.wire.WireConnection.identify(WireConnection.java:273)
        ... 21 common frames omitted

Em qui., 21 de nov. de 2019 às 15:35, Mark Rotteveel mark@... [firebird-support] <firebird-support@yahoogroups.com> escreveu:
 

On 2019-11-21 18:59, Roberto Vieweg jjw.roberto.firebird@...
[firebird-support] wrote:
> I have my java application running as a linux Systemd service (Fedora
> 29 server).
>
> My application perform a backup each day, but the process are throwing
> an exception:
>
> java.sql.SQLException: Unable to complete network request to host
> "127.0.0.1". [SQLState:08006, ISC error code:335544721]
> at
> org.firebirdsql.gds.ng.FbExceptionBuilder$Type$1.createSQLException(FbExceptionBuilder.java:498)
> at
> org.firebirdsql.gds.ng.FbExceptionBuilder$ExceptionInformation.toSQLException(FbExceptionBuilder.java:454)
> at
> org.firebirdsql.gds.ng.FbExceptionBuilder.toSQLException(FbExceptionBuilder.java:218)
> at
> org.firebirdsql.gds.ng.wire.WireConnection.identify(WireConnection.java:331)
> at
> org.firebirdsql.gds.ng.wire.FbWireDatabaseFactory.performConnect(FbWireDatabaseFactory.java:51)
> at
> org.firebirdsql.gds.ng.wire.FbWireDatabaseFactory.serviceConnect(FbWireDatabaseFactory.java:45)
> at
> org.firebirdsql.management.FBServiceManager.attachServiceManager(FBServiceManager.java:194)
> at
> org.firebirdsql.management.FBBackupManager.backupDatabase(FBBackupManager.java:95)
> at
> org.firebirdsql.management.FBBackupManagerBase.backupDatabase(FBBackupManagerBase.java:142)
> at
> br.com.jjw.besser.retaguarda.database.DatabaseBackup.backup(DatabaseBackup.java:100)
>
> What can be this? The 127.0.0.1 is not reacheable?

You haven't posted the full exception stacktrace. There should also be
an IOException or SocketTimeoutException as the cause of this exception,
which would tell us more.

Mark