Subject Re: [Firebird-Java] Re: TestFBWrappingDataSource problems...
Author David Jencks
Please always indicate which driver version you are using.

You need the classes from all the jars supplied in the binary download in
your classpath.

In particular, you need either mini-concurrent.jar (recent versions) or
concurrent.jar.

david jencks

On 2002.09.24 11:59:28 -0400 Mandip S. Sangha wrote:
> 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
>
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>