2 Replies Latest reply on Jan 1, 2006 2:46 PM by Edward Perry

    Having problems gettting the portal bundle up and running

    Edward Perry Newbie

      I get the exception below and I really do not know what is wrong with the jboss-portal.sar if someone could shed some light.
      I am running Linux Gentoo Distro
      I downloaded jboss-portal-2.2.0RC2-bundled.zip and
      jboss-portal-2.2.0-bundled.zip

      Which I seem to get the same exact problem but the Error does not tell me where in the XML file it is broken.

      I followed the install instrustions and download the files listed above 2 times from different sites and same issue.


      localhost bin # sh run.sh | more
      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /root/jp

      JAVA: /opt/blackdown-jdk-1.4.2.02/bin/java

      JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh

      CLASSPATH: /root/jp/bin/run.jar:/opt/blackdown-jdk-1.4.2.02/lib/tools.jar

      =========================================================================

      17:09:43,831 INFO [Server] Starting JBoss (MX MicroKernel)...
      17:09:43,857 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)
      17:09:43,860 INFO [Server] Home Dir: /root/jp
      17:09:43,861 INFO [Server] Home URL: file:/root/jp/
      17:09:43,863 INFO [Server] Patch URL: null
      17:09:43,863 INFO [Server] Server Name: default
      17:09:43,864 INFO [Server] Server Home Dir: /root/jp/server/default
      17:09:43,865 INFO [Server] Server Home URL: file:/root/jp/server/default/
      17:09:43,865 INFO [Server] Server Temp Dir: /root/jp/server/default/tmp
      17:09:43,866 INFO [Server] Root Deployment Filename: jboss-service.xml
      17:09:44,980 INFO [ServerInfo] Java version: 1.4.2-02,Blackdown Java-Linux Team
      17:09:44,981 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM Blackdown-1.4.2-02,Blackdown Java-Linux Team
      17:09:44,981 INFO [ServerInfo] OS-System: Linux 2.6.12.6,i386
      17:09:46,213 INFO [Server] Core system initialized
      17:09:52,415 INFO [WebService] Using RMI server codebase: http://localhost:8083/
      17:09:52,452 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      17:09:53,089 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.
      0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
      17:10:10,823 ERROR [MainDeployer] Could not create deployment: file:/root/jp/server/default/deploy/jboss-portal.s
      ar/
      org.jboss.deployment.DeploymentException: Error parsing the XML file: ; - nested throwable: (org.jboss.mx.util.JB
      ossNotCompliantMBeanException: 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.(XMBean.java:238)
      at org.jboss.mx.modelmbean.XMBean.(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 operatio
      n '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.(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 g
      ot: operation
      ... 99 more
      17:10:15,195 INFO [Embedded] Catalina naming disabled
      17:10:17,103 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080