Re: [JBoss-user] Trouble with CMP datasource

2002-06-18 Thread Dain Sundstrom
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

Re: [JBoss-user] Trouble with CMP datasource

2002-06-18 Thread Slava Voronin
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