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

No message for code 335545106 found. [JDBC428] #469

Closed
firebird-automations opened this issue Apr 7, 2016 · 10 comments
Closed

No message for code 335545106 found. [JDBC428] #469

firebird-automations opened this issue Apr 7, 2016 · 10 comments

Comments

@firebird-automations
Copy link

Submitted by: John Kilin (johnkilin)

When I try FireBird 3 via JayBird 2.2.10 i receive error:
Internal Exception: java.sql.SQLException: Cannot create PoolableConnectionFactory (GDS Exception. 335545106. No message for code 335545106 found.)

Commits: 4dccd4a 4496f13

@firebird-automations
Copy link
Author

Commented by: @mrotteveel

335545106 Seems to be a (relatively) recent error message in Firebird 3 (it must have been added after the 9th of December when I last updated the messages). I will update the error message file with the next release.

Could you please post the entire stacktrace?

@firebird-automations
Copy link
Author

Commented by: @mrotteveel

The error message for 335545106 is "Error occurred during login, please check server firebird.log for details". Have you followed the instructions for using Jaybird 2.2.x with Firebird 3 on https://github.com/FirebirdSQL/jaybird/wiki/Jaybird-and-Firebird-3.0-beta-2? Because you can only login with users that have been created for legacy authentication; the new Srp authentication is not supported in 2.2.

Otherwise also post the firebird.log around the time of this error.

@firebird-automations
Copy link
Author

Commented by: John Kilin (johnkilin)

Caused by: org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335545106. No message for code 335545106 found.
at org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:120)
at org.firebirdsql.jdbc.AbstractDriver.connect(AbstractDriver.java:138)
at org.apache.tomcat.dbcp.dbcp2.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at org.apache.tomcat.dbcp.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:255)
at org.apache.tomcat.dbcp.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:867)
at org.apache.tomcat.dbcp.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:432)
at org.apache.tomcat.dbcp.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:360)
at org.apache.tomcat.dbcp.dbcp2.PoolingDataSource.getConnection(PoolingDataSource.java:133)
at org.apache.tomcat.dbcp.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1532)
at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:135)
... 89 more
Caused by: org.firebirdsql.gds.GDSException: No message for code 335545106 found.
at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.readStatusVector(AbstractJavaGDSImpl.java:2092)
at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.receiveResponse(AbstractJavaGDSImpl.java:2042)
at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.internalAttachDatabase(AbstractJavaGDSImpl.java:457)
at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.iscAttachDatabase(AbstractJavaGDSImpl.java:411)
at org.firebirdsql.jca.FBManagedConnection.<init>(FBManagedConnection.java:105)
at org.firebirdsql.jca.FBManagedConnectionFactory.createManagedConnection(FBManagedConnectionFactory.java:509)
at org.firebirdsql.jca.FBStandAloneConnectionManager.allocateConnection(FBStandAloneConnectionManager.java:65)
at org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:118)
... 98 more

@firebird-automations
Copy link
Author

Commented by: John Kilin (johnkilin)

Problem only in absence of the new error message in JayBird.
With FB everything is OK.

@firebird-automations
Copy link
Author

Commented by: @mrotteveel

John, just to confirm: your only concern is the fact that the error message is missing?

So if I add this error message in Jaybird 2.2.11, then everything is ok?

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

Fix Version: Jaybird 2.2.11 [ 10751 ]

Fix Version: Jaybird 3.0 [ 10440 ]

@firebird-automations
Copy link
Author

Commented by: John Kilin (johnkilin)

Yes :)

@firebird-automations
Copy link
Author

Commented by: @mrotteveel

Updated messages with current head of Firebird branch B3_0_Release

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

status: Resolved [ 5 ] => Closed [ 6 ]

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

No branches or pull requests

2 participants