I'm trying to build and deploy the "CD" entity bean demo.  I've specifically
typed in all the files manually, to "train my fingers", and allow me to run
into my own mistakes.

When I deploy the jar, I see the following:

-----------------
[Auto deploy] Auto deploy of file:/C:/jboss-2.1/deploy/ejbtest.jar
[J2EE Deployer Default] exception while searching deployment: 
C:\jboss-2.1\tmp\deploy\Default\ejbtest.jar\deployment.cfg (The system cannot find the 
file specified)
[J2EE Deployer Default] Deploy J2EE application: file:/C:/jboss-2.1/deploy/ejbtest.jar
[J2EE Deployer Default] Create application ejbtest.jar
[J2EE Deployer Default] install module ejbtest.jar
[Container factory] Deploying:file:/C:/jboss-2.1/tmp/deploy/Default/ejbtest.jar/
[Verifier] Verifying file:/C:/jboss-2.1/tmp/deploy/Default/ejbtest.jar/ejb1006.jar
[Container factory] Deploying CDBean
[Container factory] Deploying CDCollectionBean
[Container factory] org.jboss.ejb.DeploymentException: Bean com.web_tomorrow.cd.CDBean 
not found within this application.
[Container factory]     at org.jboss.ejb.Container.setupEnvironment(Container.java:438)
[Container factory]     at org.jboss.ejb.Container.init(Container.java:298)
-----------------

There's two things that happen here.  The first is the failure to find the
"deployment.cfg" file.  I haven't noticed a mention of that anywhere, so I
don't know what it is (serialized object, perhaps?), or if it is important.

The second problem is that the "CDBean is not found ...".  What exactly does
this error message mean?  The CDBean.class file is in the jar, and I do refer
to the CDBean in the ejb-jar.xml and jboss.xml files.  How exactly do I
troubleshoot that error message?

-- 
===================================================================
David M. Karr          ; Best Consulting
[EMAIL PROTECTED]   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to