I may not have been sufficiently clear the first time...
In your geronimo plan for your database pool, replace
<dep:dependency>
<dep:groupId>org.apache.derby</dep:groupId>
<dep:artifactId>derby</dep:artifactId>
<dep:version>10.2.2.0</dep:version>
<dep:type>jar</dep:type>
</dep:dependency>
(the dependency on the derby jar)
with
<dependency>
<groupId>org.apache.geronimo.configs</groupId>
<artifactId>system-database</artifactId>
<type>car</type>
</dependency>
(the dependency on system database car)
and keep using your database pool, do not change to system-database.
thanks
david jencks
On Jul 15, 2007, at 4:05 PM, Xh wrote:
Hi,
----- Original Message ----
I think you need to change the dependency from the derby jar to
system-database
<dependency>
<groupId>org.apache.geronimo.configs</groupId>
<artifactId>system-database</artifactId>
<type>car</type>
</dependency>
I have no idea why your app worked in G 1.1 :-), the
DelegatingDriver wasn't there but I thought the same kind of
problem still occurred.
Let us know if this doesn't fix the problem
-------------
I didn't say I use SystemDatabase and its SystemDatasource pool ;)
I have created my own database (dataweaver) and created pool to
this database.
So in my G2.0M-6 I have two following embedded Derby databases:
1. SystemDatabase with its org.apache.geronimo.configs/system-
database pool
2. dataweaver with its console.dbpool/DataWeaverWARDerby one
the funniest thing is, that SystemDatabase getConnection() does not
throw any exceptions,
dataweaver getConnection() throws...
maybe something else is wrong?
best regards
Lukasz
To help you stay safe and secure online, we've developed the all
new Yahoo! Security Centre.