I am currently in the process of migrating an old oc4j application to Jboss5.1. It uses CMPs and was defined by an orion-ejb-jar.xml that I translated to the jboss equivalent (jbosscmp-jdbc.xml). Everything deploys fine however during runtime I get a ObjectNotFound: No Such Entity exception. After some debugging Jboss5.1 does not seem to be reading my jbosscmp-jdbc.xml. I currently have the .xml under /META-INF/.
Is there something obvious that I am missing, like a reference to the jbosscmp-jdbc.xml in my ejb-jar.xml? Can't seem to find anything from googling as this is way outdated. Thanks!
Going to answer this myself... The jbosscmp-jdbc.xml has to go under the META-INF of the ejb jar. It somehow ended up in the META-INF of the ear file after packaging. Stupid mistake.