1 Reply Latest reply on Jan 30, 2008 11:12 AM by Chris

    How do I configure Embedded JBoss (TestNG) Seam with EJB2.1

    Chris Newbie

      I have written a JBoss Seam application that uses injected EJB 2.1.

      I have gotten my application where it deploys and runs on JBoss 4.2. I am trying to run integration tests using TestNG and Embedded JBoss. When I deploy on the embedded JBoss, it appears that my Seam Components (EJB3) are deploying, but my EJB2 beans are not.

      Doing some research I found
      http://docs.jboss.org/ejb3/embedded/embedded.html
      Which reference the need for embedded-jboss-beans.xml which I did not have. So I downloaded embedded-jboss-beta3 to try and find the reference configuration file. After examining the embedded jboss bootstrap directory, I think I figured out that I need to add the ejb-deployer-beans.xml for EJB2 ejbs, and seam-gen only added the ejb3-deployer-beans.xml. So I copied over the ejb-deployer-beans.xml, and tried to run my tests which then failed again.

      I am hoping someone has configured JBoss Embedded to run EJB2.1 and can tell me the file I need to configure and what the attributes are. I cannot seem to find any reference online to tell me how to do this. I also cannot find a reference for urn:jboss:bean-deployer:2.0

      I am using a build based off the one generated by seam-gen from the jboss-seam-2.0.0.GA build.

      Below are the stack traces for the errors I received with and without ejb-deployer-beans.xml


      Before I added ejb-deployer-beans.xml
      I receive the following warning:

      [testng] WARN 29-01 14:03:48,265 [org.jboss.injection.EJBHandler.ejbRefDependency():169] IGNORING DEPENDENCY: unable to find @EJB from interface only com.alldata.cis.ejb.beans.ExcelergySecurityHome in ejb-jar.xml of AccountServiceImplnot used by any EJBs


      Followed by the error:
      [testng] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: ExcelergyCustomerService not bound]
      [testng] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1105)
      [testng] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:703)
      [testng] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:590)
      [testng] at org.jboss.injection.JndiFieldInjector.lookup(JndiFieldInjector.java:81)
      [testng] at org.jboss.injection.JndiFieldInjector.inject(JndiFieldInjector.java:100)
      [testng] at org.jboss.injection.JndiFieldInjector.inject(JndiFieldInjector.java:94)
      [testng] at org.jboss.injection.JndiFieldInjector.inject(JndiFieldInjector.java:62)
      [testng] at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:101)
      [testng] at org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:61)
      [testng] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
      [testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      [testng] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
      [testng] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:105)
      [testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      [testng] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
      [testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      [testng] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
      [testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      [testng] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
      [testng] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
      [testng] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
      [testng] at $Proxy64.getAccountForBillingAccount(Unknown Source)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      [testng] at java.lang.reflect.Method.invoke(Unknown Source)
      [testng] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
      [testng] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
      [testng] at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
      [testng] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      [testng] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
      [testng] at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
      [testng] at org.javassist.tmp.java.lang.Object_$$_javassist_3.getAccountForBillingAccount(Object_$$_javassist_3.java)
      [testng] at com.alldata.occ.action.account.RegisterAction.registerUser(RegisterAction.java:74)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      [testng] at java.lang.reflect.Method.invoke(Unknown Source)
      [testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:121)
      [testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:110)
      [testng] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
      [testng] at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
      [testng] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      [testng] at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
      [testng] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      [testng] at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
      [testng] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      [testng] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
      [testng] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      [testng] at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
      [testng] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      [testng] at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
      [testng] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      [testng] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
      [testng] at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      [testng] at java.lang.reflect.Method.invoke(Unknown Source)
      [testng] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
      [testng] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
      [testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      [testng] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
      [testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      [testng] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      [testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      [testng] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
      [testng] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
      [testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      [testng] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
      [testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      [testng] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
      [testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      [testng] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
      [testng] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:105)
      [testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      [testng] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
      [testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      [testng] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
      [testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      [testng] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
      [testng] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
      [testng] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
      [testng] at $Proxy55.registerUser(Unknown Source)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      [testng] at java.lang.reflect.Method.invoke(Unknown Source)
      [testng] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
      [testng] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
      [testng] at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
      [testng] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      [testng] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
      [testng] at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
      [testng] at org.javassist.tmp.java.lang.Object_$$_javassist_2.registerUser(Object_$$_javassist_2.java)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      [testng] at java.lang.reflect.Method.invoke(Unknown Source)
      [testng] at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:328)
      [testng] at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:341)
      [testng] at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
      [testng] at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
      [testng] at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
      [testng] at org.jboss.seam.mock.BaseSeamTest$Request.invokeMethod(BaseSeamTest.java:483)
      [testng] at com.alldata.occ.action.account.test.RegisterTest$2.invokeApplication(RegisterTest.java:45)
      [testng] at org.jboss.seam.mock.BaseSeamTest$Request.invokeApplicationPhase(BaseSeamTest.java:652)
      [testng] at org.jboss.seam.mock.BaseSeamTest$Request.emulateJsfLifecycle(BaseSeamTest.java:598)
      [testng] at org.jboss.seam.mock.BaseSeamTest$Request.access$300(BaseSeamTest.java:185)
      [testng] at org.jboss.seam.mock.BaseSeamTest$Request$2.doFilter(BaseSeamTest.java:519)
      [testng] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      [testng] at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
      [testng] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      [testng] at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
      [testng] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      [testng] at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      [testng] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      [testng] at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
      [testng] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      [testng] at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
      [testng] at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
      [testng] at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
      [testng] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      [testng] at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
      [testng] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      [testng] at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      [testng] at org.jboss.seam.mock.BaseSeamTest$Request.run(BaseSeamTest.java:514)
      [testng] at com.alldata.occ.action.account.test.RegisterTest.testRegisterAction(RegisterTest.java:54)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      [testng] at java.lang.reflect.Method.invoke(Unknown Source)
      [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
      [testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:470)
      [testng] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564)
      [testng] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830)
      [testng] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
      [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
      [testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678)
      [testng] at org.testng.TestRunner.privateRun(TestRunner.java:624)
      [testng] at org.testng.TestRunner.run(TestRunner.java:495)
      [testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
      [testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
      [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
      [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190)
      [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
      [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
      [testng] at org.testng.TestNG.run(TestNG.java:699)
      [testng] at org.testng.TestNG.privateMain(TestNG.java:824)
      [testng] at org.testng.TestNG.main(TestNG.java:802)
      [testng] Caused by: javax.naming.NameNotFoundException: ExcelergyCustomerService not bound
      [testng] at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
      [testng] at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
      [testng] at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
      [testng] at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
      [testng] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:628)
      [testng] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:590)
      [testng] at javax.naming.InitialContext.lookup(Unknown Source)
      [testng] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1099)
      [testng] ... 149 more


      After I Add ejb-deployer-beans.xml
      I received the following errors:
      [testng] ERROR 29-01 14:22:54,034 [org.jboss.dependency.plugins.AbstractController.incrementState():456] Error installing to Configured: name=JBossEjb2ParsingDeployer state=Instantiated
      [testng] org.jboss.joinpoint.spi.JoinpointException: Property ignoreMissingStandardJBossXml not found for AbstractBeanInfo@16d64c5{name=org.jboss.deployment.JBossEjbParsingDeployer classInfo= properties=[webXmlPath, type, class, relativeOrder, useValidation, useSchemaValidation] methods=[hashCode, getClass, toString, getType, notifyAll, getRelativeOrder, getWebXmlPath, undeploy, prepareDeploy, setRelativeOrder, isUseValidation, commitUndeploy, setUseSchemaValidation, commitDeploy, deploy, isRelevant, prepareUndeploy, setWebXmlPath, handoff, setType, setUseValidation, equals, isUseSchemaValidation, wait, wait, wait, notify] constructors=[] events=}
      [testng] at org.jboss.kernel.plugins.config.Configurator.resolveProperty(Configurator.java:723)
      [testng] at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoint(Configurator.java:443)
      [testng] at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoints(Configurator.java:408)
      [testng] at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getPropertySetterJoinPoints(AbstractKernelConfigurator.java:120)
      [testng] at org.jboss.kernel.plugins.dependency.ConfigureAction.installActionInternal(ConfigureAction.java:59)
      [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
      [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
      [testng] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      [testng] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
      [testng] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
      [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
      [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
      [testng] at org.jboss.deployers.plugins.deployers.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:67)
      [testng] at org.jboss.deployers.plugins.deployers.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:42)
      [testng] at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:56)
      [testng] at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
      [testng] at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:170)
      [testng] at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:592)
      [testng] at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:603)
      [testng] at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:476)
      [testng] at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:406)
      [testng] at org.jboss.embedded.DeploymentScanner.start(DeploymentScanner.java:109)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      [testng] at java.lang.reflect.Method.invoke(Unknown Source)
      [testng] at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
      [testng] at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
      [testng] at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
      [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
      [testng] at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:145)
      [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
      [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
      [testng] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      [testng] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
      [testng] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
      [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
      [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
      [testng] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
      [testng] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
      [testng] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
      [testng] at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
      [testng] at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
      [testng] at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
      [testng] at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
      [testng] at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
      [testng] at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
      [testng] at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
      [testng] at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
      [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      [testng] at java.lang.reflect.Method.invoke(Unknown Source)
      [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
      [testng] at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394)
      [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
      [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
      [testng] at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:165)
      [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
      [testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678)
      [testng] at org.testng.TestRunner.privateRun(TestRunner.java:624)
      [testng] at org.testng.TestRunner.run(TestRunner.java:495)
      [testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
      [testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
      [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
      [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190)
      [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
      [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
      [testng] at org.testng.TestNG.run(TestNG.java:699)
      [testng] at org.testng.TestNG.privateMain(TestNG.java:824)
      [testng] at org.testng.TestNG.main(TestNG.java:802)
      [testng] ERROR 29-01 14:22:54,064 [org.jboss.dependency.plugins.AbstractController.incrementState():456] Error installing to PreInstall: name=MergedJBossMetaDataDeployer state=Not Installed
      [testng] java.lang.ClassNotFoundException: org.jboss.ejb.deployers.MergedJBossMetaDataDeployer
      [testng] at java.net.URLClassLoader$1.run(Unknown Source)
      [testng] at java.security.AccessController.doPrivileged(Native Method)
      [testng] at java.net.URLClassLoader.findClass(Unknown Source)
      [testng] at java.lang.ClassLoader.loadClass(Unknown Source)
      [testng] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
      [testng] at java.lang.ClassLoader.loadClass(Unknown Source)
      [testng] at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.resolveComplexTypeInfo(IntrospectionTypeInfoFactoryImpl.java:349)
      [testng] at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getTypeInfo(IntrospectionTypeInfoFactoryImpl.java:340)
      [testng] at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactory.getTypeInfo(IntrospectionTypeInfoFactory.java:49)
      [testng] at org.jboss.classadapter.plugins.BasicClassAdapterFactory.getClassAdapter(BasicClassAdapterFactory.java:61)
      [testng] at org.jboss.config.plugins.AbstractConfiguration.getBeanInfo(AbstractConfiguration.java:70)
      [testng] at org.jboss.kernel.plugins.config.AbstractKernelConfig.getBeanInfo(AbstractKernelConfig.java:55)
      [testng] at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getBeanInfo(AbstractKernelConfigurator.java:65)
      [testng] at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getBeanInfo(AbstractKernelConfigurator.java:84)
      [testng] at org.jboss.kernel.plugins.dependency.PreInstallAction.installActionInternal(PreInstallAction.java:63)
      [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
      [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
      [testng] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      [testng] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
      [testng] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
      [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
      [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
      [testng] at org.jboss.deployers.plugins.deployers.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:67)
      [testng] at org.jboss.deployers.plugins.deployers.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:42)
      [testng] at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:56)
      [testng] at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
      [testng] at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:170)
      [testng] at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:592)
      [testng] at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:603)
      [testng] at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:476)
      [testng] at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:406)
      [testng] at org.jboss.embedded.DeploymentScanner.start(DeploymentScanner.java:109)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      [testng] at java.lang.reflect.Method.invoke(Unknown Source)
      [testng] at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
      [testng] at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
      [testng] at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
      [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
      [testng] at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:145)
      [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
      [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
      [testng] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      [testng] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
      [testng] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
      [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
      [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
      [testng] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
      [testng] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
      [testng] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
      [testng] at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
      [testng] at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
      [testng] at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
      [testng] at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
      [testng] at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
      [testng] at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
      [testng] at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
      [testng] at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
      [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      [testng] at java.lang.reflect.Method.invoke(Unknown Source)
      [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
      [testng] at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394)
      [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
      [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
      [testng] at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:165)
      [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
      [testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678)
      [testng] at org.testng.TestRunner.privateRun(TestRunner.java:624)
      [testng] at org.testng.TestRunner.run(TestRunner.java:495)
      [testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
      [testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
      [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
      [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190)
      [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
      [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
      [testng] at org.testng.TestNG.run(TestNG.java:699)
      [testng] at org.testng.TestNG.privateMain(TestNG.java:824)
      [testng] at org.testng.TestNG.main(TestNG.java:802)
      [testng] ERROR 29-01 14:22:54,084 [org.jboss.dependency.plugins.AbstractController.incrementState():456] Error installing to PreInstall: name=StandardJBossMetaDataDeployer state=Not Installed
      [testng] java.lang.ClassNotFoundException: org.jboss.ejb.deployers.StandardJBossMetaDataDeployer
      [testng] at java.net.URLClassLoader$1.run(Unknown Source)
      [testng] at java.security.AccessController.doPrivileged(Native Method)
      [testng] at java.net.URLClassLoader.findClass(Unknown Source)
      [testng] at java.lang.ClassLoader.loadClass(Unknown Source)
      [testng] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
      [testng] at java.lang.ClassLoader.loadClass(Unknown Source)
      [testng] at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.resolveComplexTypeInfo(IntrospectionTypeInfoFactoryImpl.java:349)
      [testng] at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getTypeInfo(IntrospectionTypeInfoFactoryImpl.java:340)
      [testng] at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactory.getTypeInfo(IntrospectionTypeInfoFactory.java:49)
      [testng] at org.jboss.classadapter.plugins.BasicClassAdapterFactory.getClassAdapter(BasicClassAdapterFactory.java:61)
      [testng] at org.jboss.config.plugins.AbstractConfiguration.getBeanInfo(AbstractConfiguration.java:70)
      [testng] at org.jboss.kernel.plugins.config.AbstractKernelConfig.getBeanInfo(AbstractKernelConfig.java:55)
      [testng] at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getBeanInfo(AbstractKernelConfigurator.java:65)
      [testng] at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getBeanInfo(AbstractKernelConfigurator.java:84)
      [testng] at org.jboss.kernel.plugins.dependency.PreInstallAction.installActionInternal(PreInstallAction.java:63)
      [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
      [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
      [testng] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      [testng] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
      [testng] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
      [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
      [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
      [testng] at org.jboss.deployers.plugins.deployers.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:67)
      [testng] at org.jboss.deployers.plugins.deployers.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:42)
      [testng] at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:56)
      [testng] at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
      [testng] at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:170)
      [testng] at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:592)
      [testng] at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:603)
      [testng] at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:476)
      [testng] at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:406)
      [testng] at org.jboss.embedded.DeploymentScanner.start(DeploymentScanner.java:109)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      [testng] at java.lang.reflect.Method.invoke(Unknown Source)
      [testng] at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
      [testng] at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
      [testng] at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
      [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
      [testng] at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:145)
      [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
      [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
      [testng] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      [testng] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
      [testng] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
      [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
      [testng] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
      [testng] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
      [testng] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
      [testng] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
      [testng] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
      [testng] at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
      [testng] at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
      [testng] at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
      [testng] at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
      [testng] at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
      [testng] at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
      [testng] at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
      [testng] at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
      [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      [testng] at java.lang.reflect.Method.invoke(Unknown Source)
      [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
      [testng] at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394)
      [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
      [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
      [testng] at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:165)
      [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
      [testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678)
      [testng] at org.testng.TestRunner.privateRun(TestRunner.java:624)
      [testng] at org.testng.TestRunner.run(TestRunner.java:495)
      [testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
      [testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
      [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
      [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190)
      [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
      [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
      [testng] at org.testng.TestNG.run(TestNG.java:699)
      [testng] at org.testng.TestNG.privateMain(TestNG.java:824)
      [testng] at org.testng.TestNG.main(TestNG.java:802)