0 Replies Latest reply on Jul 27, 2010 8:30 AM by csenes csenes

    com.sun.enterprise.config.ConfigException: Failed to load deployment descriptor for

    csenes csenes Newbie

      I meet this error rarely but I am doing update to old revision of the app. for solve this project , is there  any other solve? thanks for reply


      com.sun.enterprise.config.ConfigException: Failed to load deployment descriptor for: dokumanyonsist
      cause: Invalid ejb jar [jboss-seam.jar]: it contains zero ejb. 
      Note: 
      1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message driven bean. 
      2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar. 
      3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven), please check server.log to see whether the annotations were processed properly.
           at com.sun.enterprise.instance.AppsManager.getAppDescriptor(AppsManager.java:476)
           at com.sun.enterprise.instance.AppsManager.getAppDescriptor(AppsManager.java:392)
           at com.sun.enterprise.server.ApplicationLoader.<init>(ApplicationLoader.java:112)
           at com.sun.enterprise.server.TomcatApplicationLoader.<init>(TomcatApplicationLoader.java:88)
           at com.sun.enterprise.server.ExtendedApplicationLoader.<init>(ExtendedApplicationLoader.java:94)
           at com.sun.enterprise.server.pluggable.ExtendedApplicationLoaderFactory.createApplicationLoader(ExtendedApplicationLoaderFactory.java:63)
           at com.sun.enterprise.server.ApplicationManager.getLoader(ApplicationManager.java:166)
           at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:202)
           at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:224)
           at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:446)
           at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:134)
           at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
           at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
      Caused by: java.lang.IllegalArgumentException: Invalid ejb jar [jboss-seam.jar]: it contains zero ejb. 
      Note: 
      1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message driven bean. 
      2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar. 
      3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven), please check server.log to see whether the annotations were processed properly.
           at com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:95)
           at com.sun.enterprise.deployment.util.ApplicationValidator.accept(ApplicationValidator.java:82)
           at com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:730)
           at com.sun.enterprise.deployment.Application.visit(Application.java:1819)
           at com.sun.enterprise.deployment.archivist.ApplicationArchivist.validate(ApplicationArchivist.java:520)
           at com.sun.enterprise.instance.AppsManager.getAppDescriptor(AppsManager.java:452)
           ... 17 more
      
      WARNING: CORE5016: Unexpected error occurred while loading applications
      javax.management.MBeanException
           at com.sun.enterprise.server.ApplicationLoader.createRootMBean(ApplicationLoader.java:295)
           at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:205)
           at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:224)
           at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:446)
           at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:134)
           at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
           at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
      Caused by: java.lang.NullPointerException
           at com.sun.enterprise.management.util.J2EEManagementObjectManager.createAppMBean(J2EEManagementObjectManager.java:547)
           at com.sun.enterprise.server.ApplicationLoader.createRootMBean(ApplicationLoader.java:284)
           ... 11 more