ejbc cannot find generated bean

I'm trying to deploy a 2.0, cmp (no cmr) entity bean using ant/commandline. I have successfully deployed a session bean in the same module. Yet, when the entity bean is introduced the ejbc fails with output I don't understand. Below is the output from the admin-server server.log. Any thoughts, would be very grateful.

Matt

[13/Oct/2002:22:20:14] WARNING ( 5835): Deployment Error

com.iplanet.ias.deployment.backend.IASDeploymentException: Error while running ejbc -- Fatal Error from EJB Compiler -- -- Bean class net.runnerslog.ejb.UserInfoEJB2016606603_ConcreteImpl not found.

at com.iplanet.ias.deployment.backend.AppDeployer.runEJBC(Unknown Source)

at com.iplanet.ias.deployment.backend.AppDeployer.deploy(Unknown Source)

at com.iplanet.ias.deployment.backend.AppDeployer.doRequest(Unknown Source)

at com.iplanet.ias.admin.server.core.mbean.config.ManagedServerInstance.deployJ2EE ApplicationArchiveOrDirectory(Unknown Source)

at com.iplanet.ias.admin.server.core.mbean.config.ManagedServerInstance.deployJ2EE Application(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.iplanet.ias.admin.server.core.jmx.Introspector.invokeMethodOn(Unknown Source)

at com.iplanet.ias.admin.server.core.jmx.MBeanServerImpl.invoke(Unknown Source)

at com.iplanet.ias.admin.server.core.jmx.ASMBeanServerImpl.invoke(Unknown Source)

at com.iplanet.ias.admin.server.core.servlet.AdminAPIEntryServlet.callInvoke(Unkno wn Source)

at com.iplanet.ias.admin.server.core.servlet.AdminAPIEntryServlet.callMBean(Unknow n Source)

at com.iplanet.ias.admin.server.core.servlet.AdminAPIEntryServlet.doGet(Unknown Source)

at com.iplanet.ias.admin.server.core.servlet.AdminAPIEntryServlet.doPost(Unknown Source)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.catalina.core.StandardWrapperValve.invokeServletService(Unknown Source)

at org.apache.catalina.core.StandardWrapperValve.access$000(Unknown Source)

at org.apache.catalina.core.StandardWrapperValve$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)

at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)

at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)

at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)

at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)

at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)

at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(Unknown Source)

at com.iplanet.ias.web.WebContainer.service(Unknown Source)

Caused by: com.iplanet.ias.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- -- Bean class net.runnerslog.ejb.UserInfoEJB2016606603_ConcreteImpl not found.

at com.iplanet.ias.deployment.backend.EJBCompiler.wrapException(Unknown Source)

at com.iplanet.ias.deployment.backend.EJBCompiler.compile(Unknown Source)

... 30 more

Caused by: Bean class net.runnerslog.ejb.UserInfoEJB2016606603_ConcreteImpl not found.

at com.sun.ejb.codegen.HomeGenerator.<init>(Unknown Source)

at com.iplanet.ias.ejb.codegen.IASEJBC.ejbc(Unknown Source)

at com.iplanet.ias.deployment.backend.EJBCompiler.preDeployApp(Unknown Source)

... 31 more

[4173 byte] By [MattBauer] at [2007-11-25 8:23:13]
# 1
Forgot to include the deploy line:[sun-appserv-deploy] Executing: deploy --user admin --password ******* --host localhost --port 5959 --instance RNLG1 --type application --force=true --name rnlg --upload=true /export/home/mbauer/runnerslog/build/dist/rnlg.ear
Matt Bauer at 2007-7-1 14:44:47 > top of Java-index,Application & Integration Servers,Application Servers...
# 2

The concrete impl class should be generated during deployment.

One way to cause this failure is to omit the <pm-descriptors> element from the sun-ejb-jar.xml file.

You can copy the content of this element (and its sub-elements) from the cmp examples in the samples.

vsunk2 at 2007-7-1 14:44:47 > top of Java-index,Application & Integration Servers,Application Servers...
# 3
I didn't realize I need the pm-descriptors. Is this stated in the EJB developers guide and I just missed it? Thanks for the help.Matt
Matt Bauer at 2007-7-1 14:44:47 > top of Java-index,Application & Integration Servers,Application Servers...