1 Reply Latest reply on Mar 27, 2012 1:52 AM by Harneet Singh

    JBOSS 7.1.1 not starting - winxp/nt

    Harneet Singh Newbie

      Hi,

      I am totally new to JBOSS, but failry know about the concept of Application Server as I have been working with Websphere. I had two versions downloaded of JBOSS --

      JBOSS community 7.1.1 (latest available as of date)

      and Jboss EAP 6.0

      ------------------------------------------------------------------------------

      Where as EAP downloaded was a JAR and had a fairly easy GUI for initail insatllation; 7.1.1 was a ZIP file, which I unzipped.

      I have set JAVA_HOME and JBOSS_HOME and also rem echo off from the bat file. Apart from this I havent done any other configuration (not sure if i need to !!).  After both installed, I am having same issue with both the installation.

      -----------------------------------------------------------------------------

      Following is the outcome after I run domain.bat for 7.1.1

      I am totally unable to understand whether its starting / installing or what ??

      My second question is what is the name of the process that I need to check if JBOSS starts in task manager (or ps -ef)

      -------------------Kindky help---------------------------------------------------------

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

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

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>domain.bat

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>REM @echo off

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem --------------------------------

      -----------------------------------------

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem JBoss Bootstrap Script for Windows

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem --------------------------------

      -----------------------------------------

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem $Id$

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>if "Windows_NT" == "Windows_NT" (set "DIRNAME=C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin\" )  else (set DIRNAME=.\)

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem Read an optional configuration file.

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>if "x" == "x" (set "DOMAIN_CONF=C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin\domain.conf.bat" )

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>if exist "C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin\domain.conf.bat" (echo Calling "C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin\domain.conf.bat" call "C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin\domain.conf.bat")  else (echo Config file not found "C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin\domain.conf.bat" )

      Calling "C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin\domain.conf.bat"

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem ### -*- batch file -*- ######################################################

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem #

                                                 ##

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem #  JBoss Bootstrap Script Configuration                                    ##

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem #

                                                 ##

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem ################################

      #############################################

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # $Id: run.conf.bat 88820 2009-05-13 15:25:44Z dimitris@jboss.org $

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem #

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # This batch file is executed by run.bat to initialize the environment

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # variables that run.bat uses. It is recommended to use this file to

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # configure these variables, rather than modifying run.bat itself.

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem #

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>if not "x" == "x" (echo "JAVA_OPTS already set in environment; overriding default settings with values: "goto JAVA_OPTS_SET)

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem #

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # Specify the JBoss Profiler configuration file to load.

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem #

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # Default is to not load a JBossProfiler configuration file.

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem #

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem set "PROFILER="c:\Documents andSettings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final"\bin\jboss-profiler.properties"

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem #

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # Specify the location of the Java home directory (it is recommended that

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # this always be set). If set, then "C:\Program Files\IBM\SQLLIB\java\jdk\bin\java" will be used as

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # the Java VM executable; otherwise, "" will be used (see below).

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem #

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem set "JAVA_HOME=C:\opt\jdk1.6.0_23"

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem #

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # Specify the exact Java VM executable to use - only used if JAVA_HOME is

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # not set. Default is "java".

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem #

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem set "JAVA=C:\opt\jdk1.6.0_23\bin\java"

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem #

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # Specify options to pass to the Java VM. Note, there are some additional

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # options that are always passed by run.bat.

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem #

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # JVM memory allocation pool parameters - modify as appropriate.

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>set "JAVA_OPTS=-Xms64M -Xmx512M -XX:MaxPermSize=256M"

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # Reduce the RMI GCs to once per hour for Sun JVMs.

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>set "JAVA_OPTS=-Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true"

       

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # Warn when resolving remote XML DTDs or schemas.

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>set "JAVA_OPTS=-Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -

      Dorg.jboss.resolver.warning=true"

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # Make Byteman classes visible in all module loaders

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # This is necessary to inject Byteman rules into AS7 deployments

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>set "JAVA_OPTS=-Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -

      Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman"

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # Set the default configuration files to use if -c, --domain-config or --host-config are not used

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>set "JAVA_OPTS=-Xms64M -Xmx512M -XX:

      MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -

      Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.domain.default.config=domain.xml -Djboss.ho

      st.default.config=host.xml"

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # Use JBoss Modules lockless mode

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem set "JAVA_OPTS=-Xms64M -Xmx512M

      -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=tr

      ue -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.domain.default.config=domain.xml -Djbos

      s.host.default.config=host.xml -Djboss.modules.lockless=true"

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem The ProcessController process uses its own set of java options

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>set "PROCESS_CONTROLLER_JAVA_OPTS=-X

      ms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.pre

      ferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.domain.default.config=do

      main.xml -Djboss.host.default.config=host.xml"

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem The HostController process usesits own set of java options

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>set "HOST_CONTROLLER_JAVA_OPTS=-Xms6

      4M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.prefer

      IPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.domain.default.config=domai

      n.xml -Djboss.host.default.config=host.xml"

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # Sample JPDA settings for remote socket debugging

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem set "PROCESS_CONTROLLER_JAVA_OPT

      S=-Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net

      .preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.domain.default.confi

      g=domain.xml -Djboss.host.default.config=host.xml -Xrunjdwp:transport=dt_socket,address=8788,server=y,suspend=n"

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem set "HOST_CONTROLLER_JAVA_OPTS=-

      Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.pr

      eferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.domain.default.config=d

      omain.xml -Djboss.host.default.config=host.xml -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem # Sample JPDA settings for shared memory debugging

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem set "PROCESS_CONTROLLER_JAVA_OPT

      S=-Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net

      .preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.domain.default.confi

      g=domain.xml -Djboss.host.default.config=host.xml -Xrunjdwp:transport=dt_shmem,address=jboss,server=y,suspend=n"

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>rem set "HOST_CONTROLLER_JAVA_OPTS=-

      Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.pr

      eferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.domain.default.config=d

      omain.xml -Djboss.host.default.config=host.xml -Xrunjdwp:transport=dt_shmem,address=jboss,server=y,suspend=n"

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>pushd C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin\..

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final>set "RESOLVED_JBOSS_HOME=C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final"

       

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final>popd

      and was unexpected at this time.

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>if "x"c:\Documents and Settings\Admi

      nistrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final"" == "x" (

      C:\Documents and Settings\Administrator\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>