Subject | firebird conection pool and glassfish |
---|---|
Author | p.bondar |
Post date | 2013-02-15T19:50:07Z |
Hello!
Prompt please create conection pool glassfish 3.1.2 server for database firebird 2.5 in netbeans. Pool is created with no errors, the application compile, but at the start and the direct reference to the pool the following error:
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Could not obtain connection during blocking timeout (5000 ms) or
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: GDS Exception. 0. Connection string missing.
Tried different classes of driver jaybird 2.2.1 and configuration. The first version of the error appears when you use classes org.firebirdsql.pool.FBConnectionPoolDataSourceorg.firebirdsql.pool.sun.AppServerConnectionPoolDataSource and resources javax.sql.DataSource; javax.sql.ConnectionPoolDataSource respectively.
and the second using org.firebirdsql.ds.FBConnectionPoolDataSource and javax.sql.ConnectionPoolDataSource.
Please help me with a question on creating conection pool for firebird on glassfish or tomcat.I will be glad to help.
P.S.
sorry for my english
Prompt please create conection pool glassfish 3.1.2 server for database firebird 2.5 in netbeans. Pool is created with no errors, the application compile, but at the start and the direct reference to the pool the following error:
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Could not obtain connection during blocking timeout (5000 ms) or
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: GDS Exception. 0. Connection string missing.
Tried different classes of driver jaybird 2.2.1 and configuration. The first version of the error appears when you use classes org.firebirdsql.pool.FBConnectionPoolDataSourceorg.firebirdsql.pool.sun.AppServerConnectionPoolDataSource and resources javax.sql.DataSource; javax.sql.ConnectionPoolDataSource respectively.
and the second using org.firebirdsql.ds.FBConnectionPoolDataSource and javax.sql.ConnectionPoolDataSource.
Please help me with a question on creating conection pool for firebird on glassfish or tomcat.I will be glad to help.
P.S.
sorry for my english