9 Replies Latest reply on Feb 15, 2007 8:42 AM by muralimadhav_123

    jboss server start up problem on AIX 5.2

    muralimadhav_123

      When I tried to start JBOSS 4.0 server on AIX 5.2 It is giving following error message:

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

      JBoss Bootstrap Environment

      JBOSS_HOME: /usr/jboss-4.0.0

      JAVA: /usr/java14/bin/java

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

      CLASSPATH: /usr/jboss-4.0.0/bin/run.jar:/usr/java14/lib/tools.jar

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

      The JVM option is invalid: -server
      Could not create the Java virtual machine.

      Usage: java [-options] class [args...]
      (to execute a class)
      or java [-jar] [-options] jarfile [args...]
      (to execute a jar file)

      where options include:
      -cp -classpath <directories and zip/jar files separated by :>
      set search path for application classes and resources
      -D=
      set a system property
      -verbose[:class|gc|jni]
      enable verbose output
      -version print product version
      -showversion print product version and continue
      -? -help print this help message
      -X print help on non-standard options
      -assert print help on assert options
      ================================================

      Can anyone help me in solving this issue,


      Thanks in Advance,
      B. Murali.

        • 1. Re: jboss server start up problem on AIX 5.2
          peterj

          Edit the startup script and remove the -server option. There is a whole section that tries to determine if the JVM supports the -server option. Obviously it is coming to the wrong conclusion for your JVM, you could probably simply comment out the whole section.

          • 2. Re: jboss server start up problem on AIX 5.2
            muralimadhav_123

            Hi Peter Johnson,

            As you suggested I have removed -server option from run.conf file for JAVA_OPTS environment variable and started the JBOSS server. it started well but with the following exception message:


            22:13:34,273 WARN [ServiceController] Problem starting service jboss:service=Co
            rbaNaming
            java.lang.ExceptionInInitializerError
            at javax.rmi.CORBA.Stub.createDelegateIfSpecified(Stub.java:229)
            at javax.rmi.CORBA.Stub.(Stub.java:71)
            at org.jacorb.orb.Delegate.getReference(Delegate.java:809)
            at org.jacorb.orb.ORB.getReference(ORB.java:821)
            at org.jacorb.poa.POA.getReference(POA.java:1173)
            at org.jacorb.poa.POA.create_reference_with_id(POA.java:855)
            at org.jboss.iiop.CorbaNamingService.startService(CorbaNamingService.jav
            a:120)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
            upport.java:271)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
            eanSupport.java:221)
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java(Compiled Code))
            at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java(Inlined Compi
            led Code))
            at org.jboss.mx.server.Invocation.invoke(Invocation.java(Compiled Code))
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:242)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java(Compi
            led Code))
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
            ler.java:891)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:416)
            at org.jboss.system.ServiceController.start(ServiceController.java:438)
            at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java(Compiled Code))
            at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java(Inlined Compi
            led Code))
            at org.jboss.mx.server.Invocation.invoke(Invocation.java(Compiled Code))
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:242)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java(Compi
            led Code))
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java(Compiled Co
            de))
            at $Proxy4.start(Unknown Source)
            at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
            at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java(Compiled Code))
            at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
            or.java:119)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java(Compiled Code))
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
            BeanOperationInterceptor.java:131)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java(Compiled Code))
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:242)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java(Compi
            led Code))
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java(Compiled Co
            de))
            at $Proxy8.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
            tScanner.java:305)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
            canner.java:481)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
            doScan(AbstractDeploymentScanner.java:204)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
            bstractDeploymentScanner.java:277)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
            upport.java:271)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
            eanSupport.java:221)
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java:62)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.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:242)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
            ler.java:891)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:416)
            at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java:62)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.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:242)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
            at $Proxy4.start(Unknown Source)
            at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:693)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
            java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
            java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
            or.java:119)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
            BeanOperationInterceptor.java:131)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:242)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
            at $Proxy5.deploy(Unknown Source)
            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:396)
            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:293)
            at org.jboss.Main.boot(Main.java:151)
            at org.jboss.Main$1.run(Main.java:405)
            at java.lang.Thread.run(Thread.java:568)
            Caused by: org.omg.CORBA.INITIALIZE: cannot instantiate org.jboss.iiop.SunJDK14I
            sLocalBugFix vmcid: 0x0 minor code: 0 completed: No
            at javax.rmi.CORBA.Util.createDelegateIfSpecified(Util.java:360)
            at javax.rmi.CORBA.Util.(Util.java:70)
            ... 100 more

            Thanks for your reply,
            B. Murali

            • 3. Re: jboss server start up problem on AIX 5.2
              muralimadhav_123

              Hi Peter Johnson,

              Can you please let me know what might be the problem with JBOSS 4.0 on AIX 5.2 in throwing the above mentioned exception while JBOSS server start up.

              Thanks in Advance,
              B. Murali.

              • 4. Re: jboss server start up problem on AIX 5.2
                peterj

                Sorry, but I am not running AIX (I am using FC 6). Also, I don't have 4.0, instead I have 4.0.5 and the missing class, org.jboss.iiop.SunJDK14IsLocalBugFix does not appear anywhere among the jars that ship with 4.0.5.

                Perhaps someone out there who is using AIX could help...

                • 5. Re: jboss server start up problem on AIX 5.2
                  peterj

                  Wait a second. I found the org.jboss.iiop.SunJDK14IsLocalBugFix class, it is in server/all/lib/jboss-iiop.jar. Are you running the all configuration or the default configuration? If you are running default, copy try copying that jar file to server/default/lib.

                  • 6. Re: jboss server start up problem on AIX 5.2
                    muralimadhav_123

                    Hi Peter Johnson,

                    I am using default server to run the JBOSS.

                    jboss-iiop.jar is already there in /server/default/lib/ directory, but still it is not able to instantiate the class.

                    Even I checked for the presence of jboss.iiop.SunJDK14IsLocalBugFix class in jboss-iiop.jar.

                    It is already present in the jar file.

                    What might be the problem in instantiating the class.

                    Thanks for your efforts,
                    B. Murali.

                    • 7. Re: jboss server start up problem on AIX 5.2
                      muralimadhav_123

                      Hi Peter Johnson,

                      I have resolved JBOSS 4.0 on AIX 5.2 issue

                      I have added an entry
                      false
                      In the file /usr/jboss-4.0.0/server/default/deploy/iiop-service.xml

                      Under the element


                      And then restarted the server. Then it started well without any exception messages.

                      Thanks for your help on this issue,
                      B. Murali.

                      • 8. Re: jboss server start up problem on AIX 5.2
                        muralimadhav_123

                        Hi peter Johnson,

                        Sorry, Some text was missing

                        I have resolved JBOSS 4.0 on AIX 5.2 issue

                        I have added an entry false
                        In the file /usr/jboss-4.0.0/server/default/deploy/iiop-service.xml

                        Under the element

                        And then restarted the server. Then it started well without any exception messages.

                        Thanks for your help on this issue,
                        B. Murali

                        • 9. Re: jboss server start up problem on AIX 5.2
                          muralimadhav_123

                          Hi Peter Johnson,

                          I am again sorry for missing some text.
                          I have resolved JBOSS 4.0 on AIX 5.2 issue

                          I have added an entry
                          <attribute name="SunJDK14IsLocalBugFix">false</attribute>
                          In the file /usr/jboss-4.0.0/server/default/deploy/iiop-service.xml
                          
                          Under the element <mbean code="org.jboss.iiop.CorbaORBService" name="jboss:service=CorbaORB">
                          
                          And then restarted the server. Then it started well without any exception messages.
                          


                          Thanks for your help,
                          B. Murali.