3 Replies Latest reply on Sep 6, 2006 6:07 PM by Antoine Herzog

    JBoss Seam deployement problem store booking application

    Asif Mohammad Newbie

      Please find the stack trace of the problem we are facing when trying to configure Jboss seam booking store application .

      00:55:27,453 ERROR [MainDeployer] Could not create deployment: file:/C:/Program Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp34367jboss-seam-booking.ear-contents/jboss-seam-booking.jar

      org.jboss.deployment.DeploymentException

      : ejb-jar.xml must either obey the right xml schema or define a valid DOCTYPE!
      at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(

      ApplicationMetaData.java:339)
      at org.jboss.metadata.XmlFileLoader.load(

      XmlFileLoader.java:166)
      at org.jboss.ejb.EJBDeployer.create(

      EJBDeployer.java:541)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(

      Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

      at java.lang.reflect.Method.invoke(Unknown Source)

      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(

      ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(

      Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(

      AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(

      Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(

      ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.interceptor.DynamicInterceptor.invoke(

      DynamicInterceptor.java:97)
      at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(

      InterceptorServiceMBeanSupport.java:238)
      at org.jboss.ws.server.WebServiceDeployer.create(

      WebServiceDeployer.java:99)
      at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(

      SubDeployerInterceptorSupport.java:180)
      at org.jboss.deployment.SubDeployerInterceptor.invoke(

      SubDeployerInterceptor.java:91)
      at org.jboss.mx.server.Invocation.invoke(

      Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(

      AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(

      MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(

      MBeanProxyExt.java:210)
      at $Proxy42.create(Unknown Source)

      at org.jboss.deployment.MainDeployer.create(

      MainDeployer.java:953)
      at org.jboss.deployment.MainDeployer.create(

      MainDeployer.java:943)
      at org.jboss.deployment.MainDeployer.deploy(

      MainDeployer.java:807)
      at org.jboss.deployment.MainDeployer.deploy(

      MainDeployer.java:771)
      at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

      at java.lang.reflect.Method.invoke(Unknown Source)

      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(

      ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(

      Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(

      AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(

      Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(

      ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(

      Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(

      AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(

      MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(

      MBeanProxyExt.java:210)
      at $Proxy6.deploy(Unknown Source)

      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(

      URLDeploymentScanner.java:421)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(

      URLDeploymentScanner.java:634)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(

      AbstractDeploymentScanner.java:263)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(

      AbstractDeploymentScanner.java:336)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(

      ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(

      ServiceMBeanSupport.java:245)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(

      Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

      at java.lang.reflect.Method.invoke(Unknown Source)

      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(

      ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(

      Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(

      Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(

      AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(

      MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(

      ServiceController.java:978)
      at $Proxy0.start(Unknown Source)

      at org.jboss.system.ServiceController.start(

      ServiceController.java:417)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(

      Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

      at java.lang.reflect.Method.invoke(Unknown Source)

      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(

      ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(

      Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(

      Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(

      AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(

      MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(

      MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)

      at org.jboss.deployment.SARDeployer.start(

      SARDeployer.java:302)
      at org.jboss.deployment.MainDeployer.start(

      MainDeployer.java:1007)
      at org.jboss.deployment.MainDeployer.deploy(

      MainDeployer.java:808)
      at org.jboss.deployment.MainDeployer.deploy(

      MainDeployer.java:771)
      at org.jboss.deployment.MainDeployer.deploy(

      MainDeployer.java:755)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(

      Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

      at java.lang.reflect.Method.invoke(Unknown Source)

      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(

      ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(

      Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(

      AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(

      Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(

      ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(

      Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(

      AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(

      MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(

      MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)

      at org.jboss.system.server.ServerImpl.doStart(

      ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(

      ServerImpl.java:362)
      at org.jboss.Main.boot(

      Main.java:200)
      at org.jboss.Main$1.run(

      Main.java:464)
      at java.lang.Thread.run(Unknown Source)



      We tried to add <doc-type> tag and also tried adding some attributes to <ejb-jar> tag. They are resulting in some other weird problems.

      Please find the ejb-jar.xml that is causing this problem. Nobody gave a fix that works.



      <

      ejb-jar>
      <

      enterprise-beans/>



      <assembly-descriptor>



      <interceptor-binding>



      <ejb-name>*</ ejb-name>



      <interceptor-class>org.jboss.seam.ejb.SeamInterceptor </interceptor-class>



      </interceptor-binding>



      </assembly-descriptor>
      </

      ejb-jar>

        • 1. Re: JBoss Seam deployement problem store booking application
          Gavin King Master

          You have not installed EJB3 in JBoss.

          Use the JEMS installer to install JBoss, with EJB 3.0 RC8.

          • 2. Re: JBoss Seam deployement problem store booking application
            Asif Mohammad Newbie

            I have installed JBOSS 4.0.4 with EJB3 profile. When I try to run application, it gives me the following error. Please help me.

            00:48:17,187 ERROR [MainDeployer] Could not create deployment: file:/C:/Program Files/jboss-4.0.4.GA/server/default/deploy/jboss-aop.deployer/
            org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.aop:service=AspectManager
            at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
            at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
            at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
            at org.jboss.system.ServiceController.install(ServiceController.java:226)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy4.install(Unknown Source)
            at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
            at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy6.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:417)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy4.start(Unknown Source)
            at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy5.deploy(Unknown Source)
            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
            at org.jboss.Main.boot(Main.java:200)
            at org.jboss.Main$1.run(Main.java:464)
            at java.lang.Thread.run(Unknown Source)

            • 3. Re: JBoss Seam deployement problem store booking application
              Antoine Herzog Master

              I 've got the same pb (Trying to install an already registered mbean...)
              did you solve it ?
              how ?
              thanks.