Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when restoring database with java external function #8

Open
artyom-smirnov opened this issue Mar 1, 2017 · 1 comment
Open

Comments

@artyom-smirnov
Copy link
Contributor

Database with single external java function can not be restored. Not sure if it engine's or plugin's problem.

/opt/firebird/bin/gbak -user sysdba -password masterkey -rep /tmp/x.fbk localhost:/tmp/x_rest.fdb                                                              /workspace/fbjava
gbak: ERROR:java.lang.RuntimeException: java.sql.SQLException: database /tmp/x_rest.fdb shutdown [SQLState:HY000, ISC error code:335544528]
	at org.firebirdsql.fbjava.impl.ExternalEngine.lambda$open$3(ExternalEngine.java:1091)
	at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
	at org.firebirdsql.fbjava.impl.ExternalEngine.open(ExternalEngine.java:1084)
	at org.firebirdsql.fbjava.impl.FbClientLibrary$IExternalEngine$VTable$1.invoke(FbClientLibrary.java:10228)
	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 com.sun.jna.CallbackReference$DefaultCallbackProxy.invokeCallback(CallbackReference.java:485)
	at com.sun.jna.CallbackReference$DefaultCallbackProxy.callback(CallbackReference.java:515)
Caused by: java.sql.SQLException: database /tmp/x_re...
gbak:Exiting before completion due to errors

@artyom-smirnov
Copy link
Contributor Author

It's looks like plugin trying to connect to database, which not yet ready (because it restoring)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant