| dmcreyno 2005-09-30, 6:58 pm |
| I started having trouble getting an ejb.jar to deploy this morning.
WARN [EJBDeployer] Verify failed; continuing
java.lang.NoClassDefFoundError:
com/apps/wasbiz/exceptions/EmailFailedException
. . .
ERROR [MainDeployer] could not create deployment:
file:/apps/jboss/deploy/local/norm/biz/recruitbizEjb.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise
Beans failed, see above for error messages.
Jboss deployer complained about not being able to locate a wasbiz class
(EmailFailedException). I noticed that Jboss was trying to deploy the
recruitbizEjb.jar before the wasbizEjb.jar. I changed the name of
wasbizEjb.jar to awasbizEjb.jar and Jboss deployed it before deploying
recruitbizEjb.jar and deployment was successful.
The only ording I know about is that specified in the application.xml
which controls the order in which modules are deployed. How do we tell
Jboss that xzyEjb needs to be deployed before abcEjb when the two ejbs
are in separate apps? I know certain things (like depends) may be
specified in jboss.xml but am not familiar enough with jboss
deployments to take my own action here. Also, I have seen others
accomplish this same thing by naming the deployment files with a prefix
(much as I did to test this problem).
|