File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Help Deploying a CMP Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Help Deploying a CMP Bean" Watch "Help Deploying a CMP Bean" New topic

Help Deploying a CMP Bean

Arun Prasath
Ranch Hand

Joined: Aug 14, 2006
Posts: 30
[#|2006-11-22T15:51:30.466+0530|SEVERE|sun-appserver-pe8.1_02||_ThreadID=26;|Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Error while running ejbc -- Fatal Error from EJB Compiler -- JDO74046: JDOCodeGenerator: Caught a MappingConversionException loading or creating mapping model for application 'SampleEntity' module 'SampleEntity': JDO71030: There is no column in table SAMPLE which can be used to support the servers implementation of unknown key classes.
at com.sun.ejb.codegen.CmpCompiler.compile(
at com.sun.ejb.codegen.IASEJBC.doCompile(
at com.sun.ejb.codegen.IASEJBC.ejbc(
at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployModule(
at com.sun.enterprise.deployment.backend.EJBCompiler.compile(
at com.sun.enterprise.deployment.backend.ModuleDeployer.runEJBC(
at com.sun.enterprise.deployment.backend.EjbModuleDeployer.deploy(
at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(

while i deploy an entity bean i get this error .Using NetBeans i selected a pre created table from oracle and i selected for generatiing CMP Bean using NetBeans...

After the auto generation of CMP Bean i tried to deploy yhe bean in Sun server but it throws the above error,See iam clear that it is not a coding error..

[Removed capitalisation in title - Dave]
[ November 22, 2006: Message edited by: David O'Meara ]
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

It looks like your capslock key was on, I fixed it for you.

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33102

Moving to our EJB/J2EE forum since this about CMPs

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Help Deploying a CMP Bean
It's not a secret anymore!