1 Reply Latest reply on Oct 22, 2010 2:11 AM by jaikiran

    JBoss 5.1 throws failed to initialize bean container and Null beannMetaData

    ananth.vasudevan

      I'm trying to deploy an EAR file in JBOSS 5.1GA with "all" configuration and getting a DeploymentException
      with message "failed to initialize bean container" and "Null beannMetaData". JBOSS is not started.
      I saw there is a similar post with the same exception : http://community.jboss.org/thread/65998?tstart=0#4267965.
      I do not have any Jboss libraries inside the lib directory inside the xxx.ear file. I have only some libraries
      that are needed for our custom application. The EJB's inside the ejb-jar.xml seems to get loaded/registered. But when the
      SAR file is getting deployed, it throws exceptions.
      Could somebody point me as to what could be wrong?

       


      My EAR file is organized as follows:

       

      EAR
      |
      |
      ---META-INF
      |    |
      |    ---application.xml
      |    ---jboss-app.xml
      |    ---MANIFEST.MF
      |
      ---ejb-module.jar
      |    |
      |   META-INF
      |    |
      |    ---ejb-jar.xml
      |    ---jboss.xml
      |
      ---xxx.war
      |    |
      |   xxx-applet.jar
      ---xxx.sar
      |    |
      |    ---META-INF
      |          |
      |          ---jboss-service.xml
      |          ---manifest.mf
      |          
      |
      ---lib
          |
          ---xxx-lib.jar

       

      application.xml

       

       

      <?xml version="1.0" encoding="UTF-8"?>
      <application xmlns="http://java.sun.com/xml/ns/javaee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd"
      version="5">
          <display-name>CommandCenter</display-name>
          
          <module id="EjbModule_1062504700592">
              <ejb>ejb-module.jar</ejb>
          </module>
          
          <module id="WebModule_1062504700597">
              <web>
                  <web-uri>xxx.war</web-uri>
                  <context-root>CommandCenterWeb</context-root>
              </web>
          </module>
          
      </application>

       

       

      jboss-app.xml

       

       

      <?xml version='1.0' encoding='UTF-8' ?>
      <!DOCTYPE jboss-app PUBLIC "-//JBoss//DTD Java EE Application 5.0//EN"
      "http://www.jboss.org/j2ee/dtd/jboss-app_5_0.dtd">
      <jboss-app>
            <module>
              <service>xxx.sar</service>
          </module>
      </jboss-app>
      
      

       

       


      Any help is greatly appreciated! Please let me know, if you need any other configuration info.

       

      JBOSS Startup Logs:

       

      =========================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: /opt/jboss
      
        JAVA: /opt/java/bin/java
      
        JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
      
        CLASSPATH: /opt/jboss/bin/run.jar:/opt/java/lib/tools.jar
      
      =========================================================================
      
      10:55:46,636 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
      10:55:46,637 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)
      10:55:46,638 INFO  [ServerImpl] Bootstrap URL: null
      10:55:46,638 INFO  [ServerImpl] Home Dir: /opt/jboss-5.1.0.GA
      10:55:46,638 INFO  [ServerImpl] Home URL: file:/opt/jboss-5.1.0.GA/
      10:55:46,638 INFO  [ServerImpl] Library URL: file:/opt/jboss-5.1.0.GA/lib/
      10:55:46,639 INFO  [ServerImpl] Patch URL: null
      10:55:46,639 INFO  [ServerImpl] Common Base URL: file:/opt/jboss-5.1.0.GA/common/
      10:55:46,639 INFO  [ServerImpl] Common Library URL: file:/opt/jboss-5.1.0.GA/common/lib/
      10:55:46,639 INFO  [ServerImpl] Server Name: all
      10:55:46,639 INFO  [ServerImpl] Server Base Dir: /opt/jboss-5.1.0.GA/server
      10:55:46,639 INFO  [ServerImpl] Server Base URL: file:/opt/jboss-5.1.0.GA/server/
      10:55:46,640 INFO  [ServerImpl] Server Config URL: file:/opt/jboss-5.1.0.GA/server/all/conf/
      10:55:46,640 INFO  [ServerImpl] Server Home Dir: /opt/jboss-5.1.0.GA/server/all
      10:55:46,640 INFO  [ServerImpl] Server Home URL: file:/opt/jboss-5.1.0.GA/server/all/
      10:55:46,640 INFO  [ServerImpl] Server Data Dir: /opt/jboss-5.1.0.GA/server/all/data
      10:55:46,640 INFO  [ServerImpl] Server Library URL: file:/opt/jboss-5.1.0.GA/server/all/lib/
      10:55:46,640 INFO  [ServerImpl] Server Log Dir: /opt/jboss-5.1.0.GA/server/all/log
      10:55:46,640 INFO  [ServerImpl] Server Native Dir: /opt/jboss-5.1.0.GA/server/all/tmp/native
      10:55:46,641 INFO  [ServerImpl] Server Temp Dir: /opt/jboss-5.1.0.GA/server/all/tmp
      10:55:46,641 INFO  [ServerImpl] Server Temp Deploy Dir: /opt/jboss-5.1.0.GA/server/all/tmp/deploy
      10:55:47,761 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/opt/jboss-5.1.0.GA/server/all/conf/bootstrap.xml
      10:55:49,630 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
      10:55:49,633 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
      10:55:50,241 INFO  [CopyMechanism] VFS temp dir: /opt/jboss-5.1.0.GA/server/all/tmp
      10:55:50,254 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      10:55:53,576 INFO  [ServerInfo] Java version: 1.6.0_20,Sun Microsystems Inc.
      10:55:53,576 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
      10:55:53,576 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 16.3-b01,Sun Microsystems Inc.
      10:55:53,577 INFO  [ServerInfo] OS-System: Linux 2.6.18-194.3.1.el5,i386
      10:55:53,591 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.sh -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/opt/jboss/lib/endorsed 
      10:55:53,657 INFO  [JMXKernel] Legacy JMX core initialized
      10:56:01,284 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey@14b4b3a[domain=default, server=default, name=all]
      10:56:08,438 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      10:56:08,609 WARN  [NamingBeanImpl] Context.PROVIDER_URL in server jndi.properties, url=localhost:1099
      10:56:24,700 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
      10:56:24,701 INFO  [NativeServerConfig] 3.1.2.GA
      10:56:26,041 INFO  [AttributeCallbackItem] Owner callback not implemented.
      10:56:28,504 INFO  [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@1b59919[ defaultDomain='jboss' ]
      10:57:14,934 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@20900399{vfsfile:/opt/jboss-5.1.0.GA/server/all/deploy/profileservice-secured.jar/}
      10:57:14,935 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@20900399{vfsfile:/opt/jboss-5.1.0.GA/server/all/deploy/profileservice-secured.jar/}
      10:57:14,935 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@20900399{vfsfile:/opt/jboss-5.1.0.GA/server/all/deploy/profileservice-secured.jar/}
      10:57:14,935 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@20900399{vfsfile:/opt/jboss-5.1.0.GA/server/all/deploy/profileservice-secured.jar/}
      10:57:14,947 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@27732417{vfszip:/opt/jboss-5.1.0.GA/server/all/deploy/deploy.last/cc.ear/ejb-module.jar/}
      10:57:14,947 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@27732417{vfszip:/opt/jboss-5.1.0.GA/server/all/deploy/deploy.last/cc.ear/ejb-module.jar/}
      10:57:14,947 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@27732417{vfszip:/opt/jboss-5.1.0.GA/server/all/deploy/deploy.last/cc.ear/ejb-module.jar/}
      10:57:16,113 INFO  [orb] Property "jacorb.hashtable_class" is set to: java.util.Hashtable
      10:57:16,149 INFO  [singleton] created ORBSingleton
      10:57:16,385 INFO  [interceptors] InterceptorManager started with 2 Server Interceptors, 2 Client Interceptors and 4 IOR Interceptors
      10:57:16,711 INFO  [orb] ORB run
      10:57:17,052 INFO  [poa] oid: 
      72 6F 6F 74                                                 root
      object is activated
      10:57:17,230 INFO  [CorbaNamingService] CORBA Naming Started
      10:57:20,610 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
      10:57:20,741 INFO  [MailService] Mail Service bound to java:/RaritanMail
      10:57:20,809 INFO  [MailService] Mail Service bound to java:/Mail
      10:57:23,342 INFO  [SnmpAgentService] SNMP agent going active
      10:57:26,293 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
      10:57:26,435 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
      10:57:26,531 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
      10:57:26,531 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
      10:57:26,836 INFO  [TransactionManagerService] Initializing recovery manager
      10:57:27,315 INFO  [TransactionManagerService] Recovery manager configured
      10:57:27,315 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
      10:57:27,362 INFO  [TransactionManagerService] Starting transaction recovery manager
      10:57:30,458 INFO  [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar
      10:57:30,463 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
      10:57:30,463 INFO  [JBossASKernel]   with dependencies:
      10:57:30,463 INFO  [JBossASKernel]   and demands:
      10:57:30,463 INFO  [JBossASKernel]     jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
      10:57:30,463 INFO  [JBossASKernel]     jboss.ejb:service=EJBTimerService
      10:57:30,463 INFO  [JBossASKernel]   and supplies:
      10:57:30,463 INFO  [JBossASKernel]     Class:org.jboss.profileservice.spi.ProfileService
      10:57:30,463 INFO  [JBossASKernel]     jndi:SecureProfileService/remote
      10:57:30,464 INFO  [JBossASKernel]     jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService
      10:57:30,464 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar
      10:57:30,465 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
      10:57:30,465 INFO  [JBossASKernel]   with dependencies:
      10:57:30,465 INFO  [JBossASKernel]   and demands:
      10:57:30,465 INFO  [JBossASKernel]     jboss.ejb:service=EJBTimerService
      10:57:30,465 INFO  [JBossASKernel]   and supplies:
      10:57:30,465 INFO  [JBossASKernel]     jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager
      10:57:30,465 INFO  [JBossASKernel]     Class:org.jboss.deployers.spi.management.deploy.DeploymentManager
      10:57:30,465 INFO  [JBossASKernel]     jndi:SecureDeploymentManager/remote
      10:57:30,465 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar
      10:57:30,466 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
      10:57:30,473 INFO  [JBossASKernel]   with dependencies:
      10:57:30,473 INFO  [JBossASKernel]   and demands:
      10:57:30,473 INFO  [JBossASKernel]     jboss.ejb:service=EJBTimerService
      10:57:30,473 INFO  [JBossASKernel]   and supplies:
      10:57:30,473 INFO  [JBossASKernel]     jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
      10:57:30,473 INFO  [JBossASKernel]     Class:org.jboss.deployers.spi.management.ManagementView
      10:57:30,473 INFO  [JBossASKernel]     jndi:SecureManagementView/remote
      10:57:30,473 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar
      10:57:30,481 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@69becc{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
      10:57:30,481 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@25fca3{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
      10:57:30,481 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@535949{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
      10:57:34,701 INFO  [EjbDeployer] installing bean: ejb/ejb-module.jar#PolicyManager,uid17029095
      10:57:34,701 INFO  [EjbDeployer]   with dependencies:
      10:57:34,701 INFO  [EjbDeployer]   and supplies:
      10:57:34,702 INFO  [EjbDeployer]     jndi:ejb/cc/PolicyManager
      10:57:34,702 INFO  [EjbDeployer]     jndi:PolicyManager
      10:57:34,702 INFO  [EjbDeployer] installing bean: ejb/ejb-module.jar#LoggingManagementServiceBean,uid26104274
      10:57:34,702 INFO  [EjbDeployer]   with dependencies:
      10:57:34,702 INFO  [EjbDeployer]   and supplies:
      10:57:34,702 INFO  [EjbDeployer]     jndi:LoggingManagementServiceBean
      10:57:34,702 INFO  [EjbDeployer]     jndi:ejb/cc/ws/LoggingManagementServiceBean
      10:57:34,702 INFO  [EjbDeployer] installing bean: ejb/ejb-module.jar#UserManagementServiceBean,uid10344638
      10:57:34,702 INFO  [EjbDeployer]   with dependencies:
      10:57:34,702 INFO  [EjbDeployer]   and supplies:
      10:57:34,713 INFO  [EjbDeployer] installing bean: ejb/ejb-module.jar#CommandProcessor,uid18644035
      10:57:34,713 INFO  [EjbDeployer]   with dependencies:
      10:57:34,713 INFO  [EjbDeployer]   and supplies:
      10:57:34,713 INFO  [EjbDeployer]     jndi:CommandProcessor
      10:57:34,713 INFO  [EjbDeployer]     jndi:ejb/cc/CommandProcessor
      10:57:34,713 INFO  [EjbDeployer] installing bean: ejb/ejb-module.jar#TemplateProcessor,uid19013001
      10:57:34,713 INFO  [EjbDeployer]   with dependencies:
      10:57:34,713 INFO  [EjbDeployer]   and supplies:
      10:57:34,713 INFO  [EjbDeployer]     jndi:TemplateProcessor
      10:57:34,713 INFO  [EjbDeployer]     jndi:ejb/cc/TemplateProcessor
      10:57:43,552 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/opt/jboss-5.1.0.GA/server/all/deploy/deploy.last/ state=PreReal mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: Error deploying ccsg-services-module.sar: failed to initialize bean container 
          at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:196)
          at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:99)
          at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
          at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
          at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
          at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
          at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
          at org.jboss.Main.boot(Main.java:221)
          at org.jboss.Main$1.run(Main.java:556)
          at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.RuntimeException: failed to initialize bean container 
          at org.jboss.ejb3.EJBContainer.<init>(EJBContainer.java:253)
          at org.jboss.ejb3.session.SessionContainer.<init>(SessionContainer.java:119)
          at org.jboss.ejb3.session.SessionSpecContainer.<init>(SessionSpecContainer.java:69)
          at org.jboss.ejb3.stateless.StatelessContainer.<init>(StatelessContainer.java:112)
          at org.jboss.ejb3.Ejb3AnnotationHandler.getStatelessContainer(Ejb3AnnotationHandler.java:310)
          at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:203)
          at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:718)
          at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:669)
          at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:651)
          at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:614)
          at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:491)
          at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:182)
          ... 35 more
      Caused by: java.lang.IllegalStateException: Null beannMetaData
          at org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.setupMetaDataLists(BeanInterceptorMetaDataBridge.java:315)
          at org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.initialise(BeanInterceptorMetaDataBridge.java:235)
          at org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.<init>(BeanInterceptorMetaDataBridge.java:138)
          at org.jboss.ejb3.interceptors.metadata.AdditiveBeanInterceptorMetaDataBridge.<init>(AdditiveBeanInterceptorMetaDataBridge.java:48)
          at org.jboss.ejb3.aop.BeanContainer.initialize(BeanContainer.java:194)
          at org.jboss.ejb3.EJBContainer.<init>(EJBContainer.java:249)
          ... 46 more
      Caused by: java.lang.NullPointerException
          at org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.setupMetaDataLists(BeanInterceptorMetaDataBridge.java:268)
          ... 51 more
      10:57:47,892 ERROR [ScopedProfileServiceController] Error installing to Create: name=ProfileKey@18771dc[domain=default, server=default, name=farm] state=Configured mode=On Demand requiredState=Installed
      java.lang.reflect.InvocationTargetException
          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 org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.invoke(AbstractProfileLifeCycleAction.java:97)
          at org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.invoke(AbstractProfileLifeCycleAction.java:77)
          at org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.install(AbstractProfileLifeCycleAction.java:49)
          at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
          at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
          at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
          at org.jboss.Main.boot(Main.java:221)
          at org.jboss.Main$1.run(Main.java:556)
          at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.IllegalStateException: Must register RepositoryClusteringHandler before calling create()
          at org.jboss.system.server.profileservice.repository.clustered.ClusteredDeploymentRepository.create(ClusteredDeploymentRepository.java:198)
          at org.jboss.system.server.profileservice.repository.clustered.ClusteredDeploymentRepository.load(ClusteredDeploymentRepository.java:226)
          at org.jboss.system.server.profile.repository.AbstractProfile.create(AbstractProfile.java:158)
          ... 22 more
      10:57:47,894 ERROR [STDERR] Failed to boot JBoss:
      10:57:47,894 ERROR [STDERR] java.lang.IllegalStateException: Incompletely deployed:
      
      *** PROFILES IN ERROR: Name -> Error
      Profile: ProfileKey@18771dc[domain=default, server=default, name=farm] in error due to java.lang.reflect.InvocationTargetException