[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-1151) When using a MappedSuperclass then application is not deployable

Roland Burgermann (JIRA) jira-events at lists.jboss.org
Fri Dec 7 06:09:51 EST 2007


     [ http://jira.jboss.com/jira/browse/EJBTHREE-1151?page=all ]

Roland Burgermann updated EJBTHREE-1151:
----------------------------------------

    Attachment: source-files.zip

Including the source files in plain JAVA code, to have a easier look the classes

> When using a MappedSuperclass then application is not deployable
> ----------------------------------------------------------------
>
>                 Key: EJBTHREE-1151
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1151
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: EJB3 Extensions
>    Affects Versions: AS 4.2.2.GA
>            Reporter: Roland Burgermann
>         Attachments: ejb3xfire-core-1.0-SNAPSHOT.jar, source-files.zip
>
>
> I have tagged a class with the stereotype <<MappedSuperClass>> which holds some general attributes.
> As described in the EJB3 specification i didn't have a DAO class or a DAO implementation class, because they are not necessary.
> But when i try to deploy my application with JBoss 4.2.2.GA i got the following error:
> 2007-12-04 15:03:51,328 DEBUG [org.jboss.ejb3.Ejb3Module] Initialization failed jboss.j2ee:service=EJB3,module=ejb3xfire-core-1.0-SNAPSHOT.jar
> java.lang.ClassNotFoundException: No ClassLoaders found for: com.company.samples.ejb3xfire.GeneralEntityDaoImpl
> 	at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
> 	at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
> 	at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> 	at org.jboss.ejb3.Ejb3DescriptorHandler.getContainers(Ejb3DescriptorHandler.java:303)
> 	at org.jboss.ejb3.Ejb3Deployment.deployBeansFromLib(Ejb3Deployment.java:465)
>         .......
> The whole stack trace can be found in the JBoss forum.
> When i'm using JBoss 4.0.5.GA with the EJB3 RC9 Patch 1 then my application is startable.
> >> For me, this is a Blocker-Bug!! <<

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

        



More information about the jboss-jira mailing list