Failed to save deployment descriptor - ClassCastException
I have a CMP2.0 EJB that will not deploy. I've made it through my compile, the capture-schema, end of EJBC, but then failure with the message below. I have tried to make my descriptors as close to the samples as possible, but no success. It appears that I am simply missing something or haven't set something. Any help would be userful.
PS. I tried to run the verifier, but I heard that it's broken in the beta. I agree since I got a message that reentrant was not allowed below entity.
Caused by: com.iplanet.ias.deployment.backend.IASDeploymentException: Error while running ejbc -- Fatal Error from EJB Compiler -- -- Failed to save deployment descriptor for: rnlg
cause: com.sun.enterprise.deployment.EjbExternalDescriptor
at com.iplanet.ias.deployment.backend.AppDeployer.runEJBC(Unknown Source)
at com.iplanet.ias.deployment.backend.AppDeployer.deploy(Unknown Source)
... 28 more
Caused by: com.iplanet.ias.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- -- Failed to save deployment descriptor for: rnlg
cause: com.sun.enterprise.deployment.EjbExternalDescriptor
at com.iplanet.ias.deployment.backend.EJBCompiler.wrapException(Unknown Source)
at com.iplanet.ias.deployment.backend.EJBCompiler.compile(Unknown Source)
... 30 more
Caused by: com.iplanet.ias.config.ConfigException: Failed to save deployment descriptor for: rnlg
cause: com.sun.enterprise.deployment.EjbExternalDescriptor
at com.iplanet.ias.instance.AppsManager.saveAppDescriptor(Unknown Source)
at com.iplanet.ias.deployment.backend.EJBCompiler.preDeployApp(Unknown Source)
... 31 more
Caused by: java.lang.ClassCastException: com.sun.enterprise.deployment.EjbExternalDescriptor
at com.sun.enterprise.deployment.EjbReferenceDescriptor.getValue(Unknown Source)
at com.sun.enterprise.deployment.EjbReferenceDescriptor.getJndiName(Unknown Source)
at com.iplanet.ias.deployment.xml.IASEjbRuntimeDescriptorNode.setDescriptor(Unknow n Source)
at com.iplanet.ias.deployment.xml.IASEjbRuntimeDescriptorNode.getDocument(Unknown

