4 Replies Latest reply on Dec 15, 2005 11:22 AM by Arthur D'Alessandro

    Can't start jboss portal 2.2rc2

    Marcel Odendahl Newbie

      Hi,

      I'm trying to run the new portal rc2 and get on every system the error
      below. I tried a windows 2000 and linux system with the bundled package
      and the portal only zip file. I tried with mysql 4.1.14 and without.
      The jboss as version for the portal only zip file is 4.0.3sp1

      Regards,

      Marcel.

      Caused by: RuntimeOperationsException: null Cause: java.lang.IllegalArgumentException: Invalid role, for operation 'getUserCount' expected 'getter' but got: operation
       at javax.management.modelmbean.ModelMBeanOperationInfo.isOperationDescriptorValid(ModelMBeanOperationInfo.java:217)
       at javax.management.modelmbean.ModelMBeanOperationInfo.setDescriptor(ModelMBeanOperationInfo.java:198)
       at javax.management.modelmbean.ModelMBeanOperationInfo.<init>(ModelMBeanOperationInfo.java:144)
       at org.jboss.mx.metadata.JBossXMBean10.buildOperationInfo(JBossXMBean10.java:342)
       at org.jboss.mx.metadata.JBossXMBean10.buildMBeanMetaData(JBossXMBean10.java:236)
       at org.jboss.mx.metadata.JBossXMBean10.build(JBossXMBean10.java:109)
       ... 93 more
      Caused by: java.lang.IllegalArgumentException: Invalid role, for operation 'getUserCount' expected 'getter' but got: operation
      


        • 1. Re: Can't start jboss portal 2.2rc2
          arvind p Newbie

          Hi,
          I have downloaded the JBoss Application server i.e. JBoss - 4.0.3SP1 and the JBoss Portal i.e. jboss-portal-2.2.0RC2 zip file, after extracting the zip i.e. (jboss-portal-2.2.0RC2.zip file), I copied the below mentioned files to JBOSS_HOME/server/default/deploy folder

          1. jboss-portal.sar directory

          2. portal-hsqldb-ds.xml file

          I have donel on WIndows 2000 Operating System and the server is not raising any exceptions.

          For your information, all these things are mentioned in JBoss Documentation.

          Thanks

          • 2. Re: Can't start jboss portal 2.2rc2
            Marcel Odendahl Newbie

            Hi,

            nice for you that it works on your system.
            On my systems I get always the same Exceptions.
            Here is the start of the exceptions:

            2005-12-13 16:01:12,828 DEBUG [org.jboss.deployment.SARDeployer] create operation failed for package file:/C:/temp/temp/jboss-4.0.3SP1/jboss-4.0.3SP1/server/default/deploy/jboss-portal.sar/
            org.jboss.deployment.DeploymentException: Error parsing the XML file: ; - nested throwable: (org.jboss.mx.util.JBossNotCompliantMBeanException: Error parsing the XML file: )
             at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:178)
             at org.jboss.system.ServiceController.install(ServiceController.java:215)
             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:324)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
             at $Proxy4.install(Unknown Source)
             at org.jboss.deployment.SARDeployer.create(SARDeployer.java:232)
             at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
             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:324)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
             at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
             at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
             at $Proxy9.deploy(Unknown Source)
             at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
             at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
             at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
             at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
             at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:324)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
             at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
             at $Proxy0.start(Unknown Source)
             at org.jboss.system.ServiceController.start(ServiceController.java:428)
             at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:324)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
             at $Proxy4.start(Unknown Source)
             at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
             at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
             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:324)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
             at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
             at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
             at $Proxy5.deploy(Unknown Source)
             at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
             at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
             at org.jboss.Main.boot(Main.java:187)
             at org.jboss.Main$1.run(Main.java:438)
             at java.lang.Thread.run(Thread.java:534)
            Caused by: org.jboss.mx.util.JBossNotCompliantMBeanException: Error parsing the XML file:
             at org.jboss.mx.metadata.JBossXMBean10.build(JBossXMBean10.java:118)
             at org.jboss.mx.metadata.XMLMetaData.build(XMLMetaData.java:267)
             at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:238)
             at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:267)
             at sun.reflect.GeneratedConstructorAccessor12.newInstance(Unknown Source)
             at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
             at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
             at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1218)
             at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:271)
             at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:329)
             at org.jboss.system.ServiceCreator.install(ServiceCreator.java:179)
             at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:431)
             at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153)
             ... 81 more
            Caused by: RuntimeOperationsException: null Cause: java.lang.IllegalArgumentException: Invalid role, for operation 'getUserCount' expected 'getter' but got: operation
             at javax.management.modelmbean.ModelMBeanOperationInfo.isOperationDescriptorValid(ModelMBeanOperationInfo.java:217)
             at javax.management.modelmbean.ModelMBeanOperationInfo.setDescriptor(ModelMBeanOperationInfo.java:198)
             at javax.management.modelmbean.ModelMBeanOperationInfo.<init>(ModelMBeanOperationInfo.java:144)
             at org.jboss.mx.metadata.JBossXMBean10.buildOperationInfo(JBossXMBean10.java:342)
             at org.jboss.mx.metadata.JBossXMBean10.buildMBeanMetaData(JBossXMBean10.java:236)
             at org.jboss.mx.metadata.JBossXMBean10.build(JBossXMBean10.java:109)
             ... 93 more
            Caused by: java.lang.IllegalArgumentException: Invalid role, for operation 'getUserCount' expected 'getter' but got: operation
             ... 99 more
            


            I know the documentation but thanks for the hint. ;-)

            Regards,

            Marcel.

            • 3. Re: Can't start jboss portal 2.2rc2
              Roy Russo Master

              This is fixed in CVS.

              • 4. Re: Can't start jboss portal 2.2rc2
                Arthur D'Alessandro Newbie

                Which branch/version/head project?

                I just tried the 2.2RC2 tagged version, and it's still experiencing this issue.

                Are there any workarounds?