EAR Verification Failure

I am trying to deploy a simple web application that uses an EJB into the J2EE 1.3.1 Reference Implementation. I have packaged the web application and the ejb jar file into an Enterprise Archive (.ear). I am using JDK build 1.3.1-b24

When I try to verify the EAR file I get the following test failure:

Test Name : tests.web.elements.WebEjbReferencesElement

Test Assertion : Web archive references to other beans homes test

Test Description : Error: Class [ uk.co.xxx.banking.ejb.account.AccountHome ] not found in WEB-INF/classes or WEB-INF/lib.

For [ /JSP ]

Error: class [ uk.co.xxx.banking.ejb.account.AccountHome ] cannot be found within this jar [ JSP ].

Error: Class [ uk.co.xxx.banking.ejb.account.Account ] not found in WEB-INF/classes or WEB-INF/lib.

For [ /JSP ]

Error: class [ uk.co.xxx.banking.ejb.account.Account ] cannot be found within this jar [ JSP ].

The classes that are mentioned are present in the Banking.jar EJB archive which is bundled with the JSP archive in the Enterprise Archive. Why cannot the verifier see these classes?

[1132 byte] By [nicholasjuk] at [2007-9-19]
# 1
I have had the same problem. Could you help me?
wallacepo at 2007-7-4 > top of java,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Try starting the deploytool from your project directory (where you ear file is). This should fix the problem.
daveatcsc at 2007-7-4 > top of java,Enterprise & Remote Computing,Enterprise Technologies...
# 3

Place the remote and home classes of ejb you are calling,

into WEB-INF\lib (or make a jar file with home,remote and place in WEB-INF\lib dir)

Try to place the ejb jar files in directory and make

war and ear files again and redeploy.

Hope it would work,if not, please let me know

Thanks,

Sarath

sarath123 at 2007-7-4 > top of java,Enterprise & Remote Computing,Enterprise Technologies...