[
http://jira.jboss.com/jira/browse/EJBTHREE-1151?page=comments#action_1239... ]
Roland Burgermann commented on EJBTHREE-1151:
---------------------------------------------
I add two files to this issue.
I extract only one part out of my EAR file to show the error. When this JAR is in the
deploy folder of JBoss the same error occured as when it is inside my EAR file.
The second file includes the .java files to have an easier possibility to look at my
source code.
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