2 Replies Latest reply on Oct 15, 2004 6:52 AM by swafnil

    JB does not start

    kkaal

      Hi,

      I am a bit lost. Work with JB for a while now. Now, I have to install it on a new Computer and nothing works as before. Tried Java 1.5. But this is obviously not a good option for JB 3.x. So, I installed 1.4 and got the following output. Can anybody give a "help that newbie" hint?

      Tanks
      Klaus


      C:\WINDOWS>c:\programme\jboss\bin\run
      ===============================================================================
      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: c:\Programme\jboss\bin\\..
      .
      JAVA: C:\j2sdk1.4.2_05\bin\java
      .
      JAVA_OPTS: -classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem,address=jboss,server=y,suspend=n -Dprogram.name=run.bat -Xm
      s128m -Xmx128m..
      .
      CLASSPATH: C:\j2sdk1.4.2_05\lib\tools.jar;c:\Programme\jboss\bin\\run.jar
      .
      ===============================================================================
      .
      Warning: classic VM not supported; client VM will be used
      Invalid maximum heap size: -Xmx128m..
      Could not create the Java virtual machine.
      Drücken Sie eine beliebige Taste . . .

        • 1. Re: JB does not start
          robisz

          Hi!

          As far as I know the argument "-classic" don't work in jdk 1.4.2_05.
          But I think the problem is somewhere else...

          Why are there two dots in the end of your -Xmx128m argument?
          I don't see it in my console when I start JBoss.

          robisz

          • 2. Re: JB does not start
            swafnil

            Hi Klaus,

            have a look at your run.bat file within the "bin" directory:

            you'll probably find the two dots ".." in line 80, they seem to be there by accident and not on purpose.
            I had the same problem and deleting the dots solved my issue.

            HTH

            Sascha