i'm newbie to ejb and lately test a cmp2 sample (master enterprise javabeans - ed roman) on jboss3.0.4-tomact4.1.12 with j2sdk1.4.1_01. however, i encounter a problem after deployed. the error issues DeploymentException - "datasource-mapping oracle 7 not found". i suppose the problem comes from jbosscmp-jdbc.xml, in which the standardjbosscmp-jdbc.xml has an "oracle7" type-mapping tag, but many other samples (found out from search engine) don't have. yet i do not know its correct format in order to correct the mistakes appeared on console. the cmp code was from the ed roman's e-book. additionaly, the relation is not many-to-many. simply an operation to single table as stated in chapter7.
hope any one can tell me the correct way of forming the jbosscmp-jdbc.xml file. or tell me where there's related resource or a simple example. i appreciate it, thank you very much.