I have developed an entity bean called "CustomerBean" with "CustomerHomeRemote" and "CustomerRemote" home and remote interfaces respectively. I put their fully-qualified path in the "ejb-jar.xml" and "jboss.xml" but getting the following error at the time of deployment: Bean: CustomerEJB Section: 22.2 Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's business methods in the <ejb-class> element. Info: Class not found: com.titan.customer.CustomerBean I have checked the typo for class names and their package path. Any idea, why I am getting this error? Thanks!
</enterprise-beans> <assembly-descriptor> <security-role> <description> This role represents everyone who is allowed full access to the Cabin EJB. </description> <role-name>everyone</role-name> </security-role>
If your package path overlaps where you created the jar file you will get this exact error. If the path where you created the jar file is in directory /a/b and your code is in directory /a/b/c/d and the package in your java files and ejb-jar.xml is b.c.d instead of c.d you will get this error. (Note: I had to delete the class files before re-compiling to get it to work)