Uploaded image for project: 'HornetQ'
  1. HornetQ
  2. HORNETQ-483

Wrong install script for JBoss 4.2.x at Windows

    Details

    • Steps to Reproduce:
      Hide

      1. Prepare a clean Jboss4.2.2 at Windows.
      2. set JBOSS_HOME
      3. run build.bat at hornetq-2.1.1.Final\config\jboss-as-4
      4. run jboss

      Show
      1. Prepare a clean Jboss4.2.2 at Windows. 2. set JBOSS_HOME 3. run build.bat at hornetq-2.1.1.Final\config\jboss-as-4 4. run jboss
    • Affects:
      Documentation (Ref Guide, User Guide, etc.), Compatibility/Configuration

      Description

      The install script have one mistake at http://hornetq.sourceforge.net/docs/hornetq-2.1.1.Final/quickstart-guide/en/html/installation.html#installation.jboss.as4.

      After running the build.bat at hornetq-2.1.1.Final\config\jboss-as-4, there are one excrescent directory: D:\jboss\jboss-4.2.2.GA\bin\native.

      I have to delete the native directory. Otherwise the jboss cannot be started , the bellowing is showed at the cmd console. Please fix the Install script.

      D:\jboss\jboss-4.2.2.GA>bin\run
      ===============================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: D:\jboss\jboss-4.2.2.GA

      JAVA: C:\jdk1.6.0_21\bin\java

      JAVA_OPTS: -Djava.library.path="D:\jboss\jboss-4.2.2.GA\bin\native;C:\jdk1.6.0_21\bin;C:\Windows\system32;........" -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
      CLASSPATH: C:\jdk1.6.0_21\lib\tools.jar;D:\jboss\jboss-4.2.2.GA\bin\run.jar

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

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

      where options include:
      -client to select the "client" VM
      -server to select the "server" VM
      -hotspot is a synonym for the "client" VM [deprecated]
      The default VM is client.

      -cp <class search path of directories and zip/jar files>
      -classpath <class search path of directories and zip/jar files>
      A ; separated list of directories, JAR archives,
      and ZIP archives to search for class files.
      -D<name>=<value>
      set a system property
      -verbose[:class|gc|jni]
      enable verbose output
      -version print product version and exit
      -version:<value>
      require the specified version to run
      -showversion print product version and continue
      -jre-restrict-search | -jre-no-restrict-search
      include/exclude user private JREs in the version search
      -? -help print this help message
      -X print help on non-standard options
      -ea[:<packagename>...|:<classname>]
      -enableassertions[:<packagename>...|:<classname>]
      enable assertions
      -da[:<packagename>...|:<classname>]
      -disableassertions[:<packagename>...|:<classname>]
      disable assertions
      -esa | -enablesystemassertions
      enable system assertions
      -dsa | -disablesystemassertions
      disable system assertions
      -agentlib:<libname>[=<options>]
      load native agent library <libname>, e.g. -agentlib:hprof
      see also, -agentlib:jdwp=help and -agentlib:hprof=help
      -agentpath:<pathname>[=<options>]
      load native agent library by full pathname
      -javaagent:<jarpath>[=<options>]
      load Java programming language agent, see java.lang.instrument

      -splash:<imagepath>
      show splash screen with specified image

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                timfox Tim Fox
                Reporter:
                kun2000 Kun Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: