Subject | Re: TestFBWrappingDataSource problems... |
---|---|
Author | Mandip S. Sangha |
Post date | 2002-09-24T15:59:28Z |
Hi All
I'm using the code in the TestFBWrappingDataSource to get database
connections, when using the code from the first test i.e. testConnect()
everthing works fine but when I try the code from the
testOneConnectionWithPooling() method I get the following error:
[java] Exception in thread "main" java.lang.NoClassDefFoundError:
EDU/oswego/cs/dl/util/concurrent/QueuedSemaphore
[java] at
org.firebirdsql.jca.FBPoolingConnectionManager$PoolByCri.getConnection(FBPoolingConnectionManager.java:158)
[java] at
org.firebirdsql.jca.FBPoolingConnectionManager.getManagedConnection(FBPoolingConnectionManager.java:65)
[java] at
org.firebirdsql.jca.FBPoolingConnectionManager.allocateConnection(FBPoolingConnectionManager.java:98)
[java] at
org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:80)
[java] at
org.firebirdsql.jdbc.FBSimpleDataSource.getConnection(FBSimpleDataSource.java:237)
[java] at standard.WrapDataSrcConn.main(Unknown Source)
[java] Java Result: 1
I assume I'm missing a jar file somewhere, if so which one, if not
anyone with any ideas?
Regards
Mandip
I'm using the code in the TestFBWrappingDataSource to get database
connections, when using the code from the first test i.e. testConnect()
everthing works fine but when I try the code from the
testOneConnectionWithPooling() method I get the following error:
[java] Exception in thread "main" java.lang.NoClassDefFoundError:
EDU/oswego/cs/dl/util/concurrent/QueuedSemaphore
[java] at
org.firebirdsql.jca.FBPoolingConnectionManager$PoolByCri.getConnection(FBPoolingConnectionManager.java:158)
[java] at
org.firebirdsql.jca.FBPoolingConnectionManager.getManagedConnection(FBPoolingConnectionManager.java:65)
[java] at
org.firebirdsql.jca.FBPoolingConnectionManager.allocateConnection(FBPoolingConnectionManager.java:98)
[java] at
org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:80)
[java] at
org.firebirdsql.jdbc.FBSimpleDataSource.getConnection(FBSimpleDataSource.java:237)
[java] at standard.WrapDataSrcConn.main(Unknown Source)
[java] Java Result: 1
I assume I'm missing a jar file somewhere, if so which one, if not
anyone with any ideas?
Regards
Mandip