1 Reply Latest reply on Dec 15, 2008 12:11 PM by peterj

    jboss Portal, as400 - doesnt fire up

      Hi guys,

      I'm trying to get the jboss portal 2.7.0 to work on an as400 (iSeries) machine. JDK 1.5 is installed and works, but at starting the portal we get following expcetpion

      16:35:11,422 INFO [Server] Starting JBoss (MX MicroKernel)...
      16:35:11,430 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
      16:35:11,431 INFO [Server] Home Dir: /usr/jboss-portal
      16:35:11,431 INFO [Server] Home URL: file:/usr/jboss-portal/
      16:35:11,431 INFO [Server] Patch URL: null
      16:35:11,431 INFO [Server] Server Name: default
      16:35:11,431 INFO [Server] Server Home Dir: /usr/jboss-portal/server/default
      16:35:11,431 INFO [Server] Server Home URL: file:/usr/jboss-portal/server/default/
      16:35:11,431 INFO [Server] Server Log Dir: /usr/jboss-portal/server/default/log
      16:35:11,431 INFO [Server] Server Temp Dir: /usr/jboss-portal/server/default/tmp
      16:35:11,432 INFO [Server] Root Deployment Filename: jboss-service.xml
      16:35:11,708 INFO [ServerInfo] Java version: 1.5.0,IBM Corporation
      16:35:11,709 INFO [ServerInfo] Java VM: Classic VM 1.5,IBM Corporation
      16:35:11,709 INFO [ServerInfo] OS-System: OS/400 V5R4M0,PowerPC
      16:35:12,040 INFO [Server] Core system initialized
      16:35:14,291 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoti
      16:35:14,334 ERROR [MainDeployer] Could not create deployment: file:/usr/jboss-portal/server/default/conf/jboss-service.xml
      org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException)
       at java.lang.Throwable.<init>(Throwable.java:196)
       at java.lang.Exception.<init>(Exception.java:41)
       at org.jboss.util.NestedException.<init>(NestedException.java:60)
       at org.jboss.util.NestedException.<init>(NestedException.java:72)
       at org.jboss.deployment.DeploymentException.<init>(DeploymentException.java:87)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
       at org.jboss.system.ServiceController.install(ServiceController.java:226)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       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:251)
       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       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:508)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.reflect.InvocationTargetException
       at java.lang.Exception.<init>(Exception.java:77)
       at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
       at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1451)
       at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1350)
       at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:345)
       at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
       at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
       ... 34 more
      Caused by: javax.management.MBeanException
       at java.lang.Throwable.<init>(Throwable.java:181)
       at java.lang.Exception.<init>(Exception.java:29)
       at javax.management.JMException.<init>(JMException.java:26)
       at javax.management.MBeanException.<init>(MBeanException.java:37)
       at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:180)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
       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.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
       at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
       ... 39 more
      Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry',
       at java.lang.Throwable.<init>(Throwable.java:196)
       at java.lang.Exception.<init>(Exception.java:41)
       at javax.management.JMException.<init>(JMException.java:35)
       at javax.management.MBeanRegistrationException.<init>(MBeanRegistrationException.java:41)
       at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:713)
       at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
       at sun.reflect.GeneratedMethodAccessor1587117187.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       ... 48 more
      Caused by: java.lang.RuntimeException: Exception creating identity: : Unrecoverable error
       at java.lang.Throwable.<init>(Throwable.java:196)
       at java.lang.Exception.<init>(Exception.java:41)
       at java.lang.RuntimeException.<init>(RuntimeException.java:43)
       at org.jboss.remoting.ident.Identity.get(Identity.java:211)
       at org.jboss.remoting.network.NetworkRegistry.preRegister(NetworkRegistry.java:268)
       at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMBeanInvoker.java:966)
       at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:489)
       at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:654)
       at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)
       ... 53 more
      Failed to boot JBoss:
      org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException)
       at java.lang.Throwable.<init>(Throwable.java:196)
       at java.lang.Exception.<init>(Exception.java:41)
       at org.jboss.util.NestedException.<init>(NestedException.java:60)
       at org.jboss.util.NestedException.<init>(NestedException.java:72)
       at org.jboss.deployment.DeploymentException.<init>(DeploymentException.java:87)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
       at org.jboss.system.ServiceController.install(ServiceController.java:226)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       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:251)
       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       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:508)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.reflect.InvocationTargetException
       at java.lang.Exception.<init>(Exception.java:77)
       at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
       at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1451)
       at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1350)
       at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:345)
       at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
       at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
       ... 34 more
      Caused by: javax.management.MBeanException
       at java.lang.Throwable.<init>(Throwable.java:181)
       at java.lang.Exception.<init>(Exception.java:29)
       at javax.management.JMException.<init>(JMException.java:26)
       at javax.management.MBeanException.<init>(MBeanException.java:37)
       at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:180)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
       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.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
       at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
       ... 39 more
      Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry',
       at java.lang.Throwable.<init>(Throwable.java:196)
       at java.lang.Exception.<init>(Exception.java:41)
       at javax.management.JMException.<init>(JMException.java:35)
       at javax.management.MBeanRegistrationException.<init>(MBeanRegistrationException.java:41)
       at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:713)
       at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
       at sun.reflect.GeneratedMethodAccessor1587117187.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       ... 48 more
      Caused by: java.lang.RuntimeException: Exception creating identity: : Unrecoverable error
       at java.lang.Throwable.<init>(Throwable.java:196)
       at java.lang.Exception.<init>(Exception.java:41)
       at java.lang.RuntimeException.<init>(RuntimeException.java:43)
       at org.jboss.remoting.ident.Identity.get(Identity.java:211)
       at org.jboss.remoting.network.NetworkRegistry.preRegister(NetworkRegistry.java:268)
       at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMBeanInvoker.java:966)
       at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:489)
       at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:654)
       at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)
       ... 53 more
      16:35:14,351 INFO [Server] Runtime shutdown hook called, forceHalt: true
      16:35:14,352 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      16:35:14,368 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM


      anyone a suggestion?
      every help would be appreciated.

      thanks

        • 1. Re: jboss Portal, as400 - doesnt fire up
          peterj

          This does not appear to be a Portal problem - this same error would probably happen with JBoss AS.

          The first think to check is that the account used to run JBoss AS has full permissions on jboss_home and its sub directories.

          I also don't like this message:

          Caused by: java.lang.RuntimeException: Exception creating identity: : Unrecoverable error


          This could indicate a problem with the JVM itself.

          Also, it appears this error happens while setting up RMI. This could indicate some network issue, or perhaps a security issue (the account used to run JBoss AS does not have sufficient privileges to do some network operation).

          You will probably have to get an expert on the IBM JVM on that OS (is it AIX?) to look at it.