Subject | Re: FBServiceManager classes doesn't work with Firebird 2.5 |
---|---|
Author | giuseppe.minutillo |
Post date | 2011-01-20T11:22:05Z |
--- In Firebird-Java@yahoogroups.com, "sp64_asaon" <stephan.asa@...> wrote:
I have the same problem.
>yes.
> All FBServiceManager classes based on GDSType PURE_JAVA doesn't work with Firebird 2.5.
> For all methods we get the same exception:
>
>
> FBBackupManager.backupDatabase:
>
> org.firebirdsql.jdbc.FBSQLException: GDS Exception. 62. No message for code 62 found.
> null
> at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.readStatusVector(AbstractJavaGDSImpl.java:2791)
> at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.receiveResponse(AbstractJavaGDSImpl.java:2743)
> at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.iscServiceQuery(AbstractJavaGDSImpl.java:2942)
> at org.firebirdsql.management.FBServiceManager.queueService(FBServiceManager.java:227)
> at org.firebirdsql.management.FBServiceManager.executeServicesOperation(FBServiceManager.java:275)
> at org.firebirdsql.management.FBBackupManager.backupDatabase(FBBackupManager.java:215)
> at org.firebirdsql.management.FBBackupManager.backupDatabase(FBBackupManager.java:201)
> ...
>
>
> FBMaintenanceManager.shutdownDatabase:
>
> org.firebirdsql.gds.GDSException: No message for code 62 found.
> null
> at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.readStatusVector(AbstractJavaGDSImpl.java:2791)
> at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.receiveResponse(AbstractJavaGDSImpl.java:2743)
> at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.iscServiceQuery(AbstractJavaGDSImpl.java:2942)
> at org.firebirdsql.management.FBServiceManager.queueService(FBServiceManager.java:227)
> at org.firebirdsql.management.FBServiceManager.executeServicesOperation(FBServiceManager.java:275)
> at org.firebirdsql.management.FBMaintenanceManager.shutdownDatabase(FBMaintenanceManager.java:250)
> ...
>
>
> Example:
>
> manager = new FBBackupManager("PURE_JAVA");
> manager.setHost("localhost");
> manager.setPort(3050);
> manager.setUser("SYSDBA");
> manager.setPassword("masterkey");
> manager.setDatabase("C:\\Temp\\Test.fdb");
> manager.setBackupPath("C:\\Temp\\Test.fbk");
> manager.backupDatabase();
>
>
> Can someone confirm this?
I have the same problem.