2 Replies Latest reply on Aug 2, 2006 8:25 AM by jaikiran pai

    Error occurred during initialization of VM Error occurred d

    jklanka Newbie

      hi everyone
      completely new to this jboss
      asked to install and configure
      installed jboss-4.0.2.tar.gz after gunzipped and tarred got jboss-4.0.2 diretory
      after changing the directory to /jboss-4.0.2/bin
      ran at command prompt

      bash-3.00# sh run.sh
      =========================================================================
      JBoss Bootstrap Environment

      JBOSS_HOME: /export/home/jboss-4.0.2

      JAVA: /usr/jdk/j2sdk1.4.2_06/bin/java

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

      CLASSPATH: /export/home/jboss-4.0.2/bin/run.jar:/usr/jdk/j2sdk1.4.2_06/lib/tools.jar

      =========================================================================
      Error occurred during initialization of VM
      Could not reserve enough space for object heap

      no idea how to resolve it PLZ HELP ME

      PROVIDING U SOME ADDL. INFO. COZ I DONT KNOW WHICH MIGHT BE HELPFUL TO U

      my system is as follows:
      bash-3.00# uname -a
      SunOS unknown 5.10 Generic i86pc i386 i86pc

      File system is as follows:
      bash-3.00# df -k
      Filesystem kbytes used avail capacity Mounted on
      /dev/dsk/c1t0d0s0 4232830 3176298 1014204 76% /
      /devices 0 0 0 0% /devices
      ctfs 0 0 0 0% /system/contract
      proc 0 0 0 0% /proc
      mnttab 0 0 0 0% /etc/mnttab
      swap 77048 616 76432 1% /etc/svc/volatile
      objfs 0 0 0 0% /system/object
      /usr/lib/libc/libc_hwcap1.so.1
      4232830 3176298 1014204 76% /lib/libc.so.1
      fd 0 0 0 0% /dev/fd
      swap 76444 12 76432 1% /tmp
      swap 76460 28 76432 1% /var/run
      /dev/dsk/c1t0d0s7 30523637 608292 29610109 3% /export/home

      my environment path is as follows:
      bash-3.00# echo $PATH
      /usr/bin:/usr/ucb:/etc:.:/usr/openwin/bin:/usr/dt/bin

      my shell is as follows:
      bash-3.00# echo $SHELL
      /sbin/sh
      ANY HELP HIGHLY APPRECIATED
      and plz tell me why it is giving this error

      thanks and regards

      anshul