• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

MDB with annotation in weblogic exception

Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


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 classes.com.LongProcessMessageBean 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(BaseJ2eeAnnotationProcessor.java:1272) at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingError(BaseJ2eeAnnotationProcessor.java:1277) at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotations(EjbAnnotationProcessor.java:168) at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandardAnnotations(EjbDescriptorReaderImpl.java:344) at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:204) at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:93) at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:1210) at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:382)

Now structure of ear file is as below:

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

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


Structure of application.xml is

so, is there still missing something?

Thanks in advance

Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic