For CMP 2.0, you only use the jbosscmp-jdbc.xml file (no jaws.xml file).
The xml you have here is in a very old format. The type mapping element
is now called datasource-mapping. Here is the configuration from one of
my test files:
java:/PostgresDS
PostgreSQL
If you are not using JBoss 3.0.0
I have it like
java:/PenningDB
PostgreSQL
Maarten Dirkse wrote:
> Hi,
> I have a very simple cmp bean with the following defined in both
> jaws.xml and jbosscmp-jdbc.xml:
>
> PenningDB
> PostgreSQL
>
> PenningDB is a datasource that exists and works (I checked) and
> PostgreSQL is a mapping