6 Replies Latest reply on Jul 5, 2002 1:42 PM by Greg Turner

    Unable to run JBOSS 3.0.0

    nusa Novice

      Hi,

      Just download and install jboss-3.0.0.
      When I try to run it, I have the following error :

      C:\PROGRA~1\Java\jboss-3.0.0\bin>run
      ===============================================================================
      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: C:\PROGRA~1\Java\jboss-3.0.0\bin\\..
      .
      JAVA: C:\j2sdk1.4.0\bin\java
      .
      JAVA_OPTS: -Dprogram.name=run.bat
      .
      CLASSPATH: ;C:\j2sdk1.4.0\lib\tools.jar;C:\PROGRA~1\Java\jboss-3.0.0\bin\\run.
      jar
      .
      ===============================================================================
      .
      org.jboss.deployment.DeploymentException: url file:/C:/Program%20Files/Java/jbos
      s-3.0.0/server/default/conf/jboss-service.xml could not be opened, does it exist
      ?
      at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:172)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:480)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:465)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:314)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216)
      at org.jboss.Main.boot(Main.java:142)
      at org.jboss.Main$1.run(Main.java:375)
      at java.lang.Thread.run(Thread.java:536)
      Shutting down
      Shutdown complete
      Press any key to continue . . .
      C:\PROGRA~1\Java\jboss-3.0.0\bin>


      Where does it come from this /C:/Program%20Files/Java/ ?
      Any comment ?

        • 1. Re: Unable to run JBOSS 3.0.0
          Adrian Brock Master

          Which version of Windows are you using?

          file:/C:/Program%20Files is the url for

          C:\Program Files

          or

          C:\PROGRA~1 in DOS

          Try typing the full url into a browser, does it exist?

          Regards,
          Adrian

          • 2. Re: Unable to run JBOSS 3.0.0
            E. A. Graham Jr. Newbie

            You can't run java-based programs that exist in or use directory path names that have spaces in them. You need to put your JBoss installation in a directory/path with no spaces.

            • 3. Re: Unable to run JBOSS 3.0.0
              nusa Novice

              Hi,

              Thanks for your advice, but the problem still there.

              Alright, I move my %JBOSS_HOME%, and ... surprise ...

              C:\Java\Software\jboss-3.0.0\bin>run
              ===============================================================================
              .
              JBoss Bootstrap Environment
              .
              JBOSS_HOME: C:\Java\Software\jboss-3.0.0\bin\\..
              .
              JAVA: C:\j2sdk1.4.0\bin\java
              .
              JAVA_OPTS: -Dprogram.name=run.bat
              .
              CLASSPATH: ;C:\j2sdk1.4.0\lib\tools.jar;C:\Java\Software\jboss-3.0.0\bin\\run
              jar
              .
              ===============================================================================
              .
              org.jboss.deployment.DeploymentException: Could not create deployment: file:/C:
              Java/Software/jboss-3.0.0/server/default/conf/jboss-service.xml; - nested throw
              ble: (java.lang.VerifyError: (class: org/apache/log4j/LogManager, method: <clin
              t> signature: ()V) Incompatible argument to function)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:691)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:513)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:465)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
              java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
              sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBe
              nDispatcher.java:284)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
              at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:314)
              at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216)
              at org.jboss.Main.boot(Main.java:142)
              at org.jboss.Main$1.run(Main.java:375)
              at java.lang.Thread.run(Thread.java:536)
              Caused by: java.lang.VerifyError: (class: org/apache/log4j/LogManager, method:
              clinit> signature: ()V) Incompatible argument to function
              at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:
              04)
              at org.jboss.logging.Log4jService$URLWatchTimerTask.reconfigure(Log4jSe
              vice.java:482)
              at org.jboss.logging.Log4jService$URLWatchTimerTask.run(Log4jService.ja
              a:423)
              at org.jboss.logging.Log4jService.startService(Log4jService.java:281)
              at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:
              62)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
              java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
              sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBe
              nDispatcher.java:284)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceContro
              ler.java:894)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:340)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
              java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
              sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBe
              nDispatcher.java:284)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
              at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
              at $Proxy3.start(Unknown Source)
              at org.jboss.deployment.SARDeployer.start(SARDeployer.java:243)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:678)
              ... 14 more
              Shutting down
              Shutdown complete
              Terminate batch job (Y/N)? y

              C:\Java\Software\jboss-3.0.0\bin>


              Now, I try with this env var :

              ===============================================================================
              .
              JBoss Bootstrap Environment
              .
              JBOSS_HOME: C:\Java\Software\jboss-3.0.0\bin\\..
              .
              JAVA: C:\jdk1.3.1_03\bin\java
              .
              JAVA_OPTS: -Dprogram.name=run.bat
              .
              CLASSPATH: ;C:\jdk1.3.1_03\lib\tools.jar;C:\Java\Software\jboss-3.0.0\bin\\run.jar
              .
              ===============================================================================

              or this :

              ===============================================================================
              .
              JBoss Bootstrap Environment
              .
              JBOSS_HOME: C:\Program Files\Java\jboss-3.0.0\bin\\..
              .
              JAVA: C:\jdk1.3.1_03\bin\java
              .
              JAVA_OPTS: -Dprogram.name=run.bat
              .
              CLASSPATH: ;C:\jdk1.3.1_03\lib\tools.jar;C:\Program Files\Java\jboss-3.0.0\bin\\run.jar
              .
              ===============================================================================


              I have no error in my server.log file.

              It looks for me that you can only run JBoss under JDK 1.3, not JDK1.4 ( yet ).


              Any comments ?

              Thanks.

              • 4. Re: Unable to run JBOSS 3.0.0
                E. A. Graham Jr. Newbie

                Okay, I can't help. I've not had any problems running either 2.4.4+ or 3.0 under JDK 1.4 - but I'm on a Linux system.

                • 5. Re: Unable to run JBOSS 3.0.0
                  nusa Novice

                  Intersting ...
                  May I know how did you manage to run JBoss on linux ?
                  I've posted this thread : http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ you give me some advices ?

                  Thanks,

                  • 6. Re: Unable to run JBOSS 3.0.0
                    Greg Turner Apprentice

                    Why don't you fire up the whole thing in a debugger and step thru the code to find out where and why it starts to shut down?