When you deploy an Enterprise JavaBeans (EJB) module, you install
that module on a server that has been configured to support deployed modules.
What to do next
If you specify that EJB deploy be run during application installation
and the installation fails with a NameNotFoundException message, ensure that
the input JAR or EAR file does not contain source files. Remove the source
files, or include all of the dependent classes and resource files in the class
path. If there are source files in the input JAR or EAR file, the EJB deployment
tools runs a rebuild before generating the deployment code.
If the module
deploys successfully, test and debug
the module.