This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes MDB with annotation in weblogic exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "MDB with annotation in weblogic exception" Watch "MDB with annotation in weblogic exception" New topic

MDB with annotation in weblogic exception

Rahul Ba
Ranch Hand

Joined: Oct 01, 2008
Posts: 206


I am eveloping a sample application (MDB with annotation in weblogic), but While deploying the ear application I am get this exception

weblogic.j2ee.dd.xml.AnnotationProcessException: [EJB:015001]Unable to link class in Jar C:\Oracle\Middleware\user_projects\domains\dev_domain\servers\AdminServer\tmp\_WL_user\myEjbTest\awr4ve\my.jar : java.lang.NoClassDefFoundError: classes/com/LongProcessMessageBean (wrong name: com/LongProcessMessageBean) at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError( at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingError( at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotations( at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandardAnnotations( at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile( at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile( at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor( at weblogic.ejb.container.deployer.EJBModule.prepare(

Now structure of ear file is as below:

META-INF -----> application.xml
my.jar --------> classes / com /
com /

myapp.war ------> classes / controller /
controller /


Structure of application.xml is

so, is there still missing something?

Thanks in advance

I agree. Here's the link:
subject: MDB with annotation in weblogic exception
It's not a secret anymore!