Details

    • Feature Request
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate Issue
    • EAP_EWP 5.1.1
    • None
    • Scripts and Commands
    • None
    • windows

    • Release Notes
    • NEW

    Description

      With SOA-P 5.1 it was possible to start SOA-P on windows being in the jboss server directory and running:

      bin\run.bat ...

      Now this fails and script urges to run it from the bin directory. I see the following changes between 5.1 and 5.2:

      $ diff -u run.bat.5.1 run.bat
      --- run.bat.5.1 2011-09-01 15:26:32.000000000 +0300
      +++ run.bat     2011-09-01 15:27:16.000000000 +0300
      @@ -3,13 +3,13 @@
       rem JBoss Bootstrap Script for Windows
       rem -------------------------------------------------------------------------
       
      -rem $Id: run.bat 105675 2010-06-03 17:10:14Z permaine $
      +rem $Id: run.bat 110811 2011-03-01 22:35:51Z rachmatowicz@jboss.com $
       
       @if not "%ECHO%" == ""  echo %ECHO%
      -@if "%OS%" == "Windows_NT" setlocal
      +@if "%OS%" == "Windows_NT" setlocal enableextensions enabledelayedexpansion
       
       if "%OS%" == "Windows_NT" (
      -  set "DIRNAME=%~dp0%"
      +  set "DIRNAME=!~dp0!"
       ) else (
         set DIRNAME=.\
       )
      @@ -39,6 +39,9 @@
         set "PROGNAME=run.bat"
       )
       
      +REM Force use of IPv4 stack
      +set JAVA_OPTS=%JAVA_OPTS% -Djava.net.preferIPv4Stack=true
      +
       rem Setup JBoss specific properties
       set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME%

      If this cannot be reverted or fixed for some reason I think that it at least deserves release notes.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhn-engineering-jcoleman Julian Coleman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: