Application with MappedSuperclass is not deployable when using newest JBoss 
Version
-----------------------------------------------------------------------------------

         Key: EJB-101
         URL: http://jira.andromda.org/browse/EJB-101
     Project: EJB Cartridge
        Type: Bug

 Environment: Windows System 32Bit
JBoss 4.2.2.GA
    Reporter: Roland Burgermann
 Assigned to: Vance Karimi 


When you are tag an entity with the "MappedSuperclass" annotation, start the 
generation process and try to deploy your application on JBoss 4.2.2.GA you 
will get the following error:

java.lang.ClassNotFoundException: No ClassLoaders found for: 
com.test.samples.ejb3xfire.GeneralEntityDaoImpl

I located the problem in the generated Deployment Descriptor for the Enterprise 
Java Beans (ejb-jar.xml).

For a MappedSuperclass this entry mustn't exist. When removing the entries for 
the MappedSuperclass, the application is deployable.

Why this is working on JBoss 4.0.5.GA with + EJB3 RC9 Patch 1?
Because the EJB3 RC9 Patch 1 is only a Preview Version and cannot process the 
Deployment Descriptor, so an inconsitence will not stop the deployment.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to