Found another post that listed a jbosscmp-jdbc.xml file. Missing <enterprise-beans> arround .
Now I get the error:
java.sql.SQLException: ERROR: Attribute 'typecd' not found.
Which is the same type of error the other guy is getting.
Ok, found my other mistake. Need to define the <column-name> in jbosscmp-jdbc.xml rather than ejb-jar.xml.
Also change type-mapping to datasource-mapping.
I found that if the onfiguration-name tag was set to :
Standard CMP EntityBean instead of
Standard CMP 2.x EntityBean in jboss.xml
then the jbosscmp.jdbc.xml was silently ignored.