Subject Firebird JCA-JDBC driver on JBoss - Exception in FBDataSource
Author mattcolgan
Hello- I have completed the process of setting up JBoss to work with
Firebird using the JCA-JDBC driver and have gotten it so it will bind
the DataSource to the JNDI name I am using, but when I call
getConnection() on it, it throws the following exception:

18:34:17,750 ERROR [STDERR] java.lang.NumberFormatException: c
18:34:17,750 ERROR [STDERR] at java.lang.Integer.parseInt
(Integer.java:409)
18:34:17,750 ERROR [STDERR] at java.lang.Integer.parseInt
(Integer.java:458)
18:34:17,750 ERROR [STDERR] at
org.firebirdsql.jgds.GDS_Impl$DbAttachInfo.<i
nit>(GDS_Impl.java:2054)
18:34:17,750 ERROR [STDERR] at
org.firebirdsql.jgds.GDS_Impl.isc_attach_data
base(GDS_Impl.java:246)
18:34:17,750 ERROR [STDERR] at
org.firebirdsql.jca.FBManagedConnectionFactor
y.createDbHandle(FBManagedConnectionFactory.java:515)
18:34:17,750 ERROR [STDERR] at
org.firebirdsql.jca.FBManagedConnectionFactor
y.assureDbHandle(FBManagedConnectionFactory.java:524)
18:34:17,750 ERROR [STDERR] at
org.firebirdsql.jca.FBManagedConnection.<init
>(FBManagedConnection.java:111)
18:34:17,750 ERROR [STDERR] at
org.firebirdsql.jca.FBManagedConnectionFactor
y.createManagedConnection(FBManagedConnectionFactory.java:281)
18:34:17,750 ERROR [STDERR] at
org.jboss.resource.connectionmanager.Internal
ManagedConnectionPool.createConnection
(InternalManagedConnectionPool.java:236)
18:34:17,750 ERROR [STDERR] at
org.jboss.resource.connectionmanager.Internal
ManagedConnectionPool.getConnection
(InternalManagedConnectionPool.java:101)
18:34:17,765 ERROR [STDERR] at
org.jboss.resource.connectionmanager.JBossMan
agedConnectionPool$BasePool.getConnection
(JBossManagedConnectionPool.java:312)
18:34:17,765 ERROR [STDERR] at
org.jboss.resource.connectionmanager.BaseConn
ectionManager2.getManagedConnection(BaseConnectionManager2.java:467)
18:34:17,765 ERROR [STDERR] at
org.jboss.resource.connectionmanager.BaseConn
ectionManager2.allocateConnection(BaseConnectionManager2.java:532)
18:34:17,765 ERROR [STDERR] at
org.jboss.resource.connectionmanager.BaseConn
ectionManager2$ConnectionManagerProxy.allocateConnection
(BaseConnectionManager2.
java:812)
18:34:17,765 ERROR [STDERR] at
org.firebirdsql.jdbc.FBDataSource.getConnecti
on(FBDataSource.java:97)
18:34:17,765 ERROR [STDERR] at JDBCTestServlet.doGet
(JDBCTestServlet.java:37
)
18:34:17,765 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpSe
rvlet.java:740)
18:34:17,765 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpSe
rvlet.java:853)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.servlets.InvokerServlet.s
erveRequest(InvokerServlet.java:446)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.servlets.InvokerServlet.d
oGet(InvokerServlet.java:180)
18:34:17,765 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpSe
rvlet.java:740)
18:34:17,765 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpSe
rvlet.java:853)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterCha
in.internalDoFilter(ApplicationFilterChain.java:247)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterCha
in.doFilter(ApplicationFilterChain.java:193)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.StandardWrapperValve
.invoke(StandardWrapperValve.java:243)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.StandardPipeline.inv
okeNext(StandardPipeline.java:566)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.StandardPipeline.inv
oke(StandardPipeline.java:472)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.StandardContextValve
.invoke(StandardContextValve.java:190)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.StandardPipeline.inv
okeNext(StandardPipeline.java:566)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.valves.CertificatesValve.
invoke(CertificatesValve.java:246)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.StandardPipeline.inv
okeNext(StandardPipeline.java:564)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.StandardPipeline.inv
oke(StandardPipeline.java:472)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.StandardContext.invo
ke(StandardContext.java:2343)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.StandardHostValve.in
voke(StandardHostValve.java:180)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.StandardPipeline.inv
okeNext(StandardPipeline.java:566)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.valves.ErrorDispatcherVal
ve.invoke(ErrorDispatcherValve.java:170)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.StandardPipeline.inv
okeNext(StandardPipeline.java:564)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.valves.ErrorReportValve.i
nvoke(ErrorReportValve.java:170)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.StandardPipeline.inv
okeNext(StandardPipeline.java:564)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.valves.AccessLogValve.inv
oke(AccessLogValve.java:468)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.StandardPipeline.inv
okeNext(StandardPipeline.java:564)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.StandardPipeline.inv
oke(StandardPipeline.java:472)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.StandardEngineValve.
invoke(StandardEngineValve.java:174)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.StandardPipeline.inv
okeNext(StandardPipeline.java:566)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.StandardPipeline.inv
oke(StandardPipeline.java:472)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.connector.http.HttpProces
sor.process(HttpProcessor.java:1012)
18:34:17,765 ERROR [STDERR] at
org.apache.catalina.connector.http.HttpProces
sor.run(HttpProcessor.java:1107)
18:34:17,765 ERROR [STDERR] at java.lang.Thread.run
(Thread.java:479)

Anyone have any idea what would cause this exception to be thrown??