Hide Forgot
Affects: Release Notes project_key: SOA With SOA-P 5.1 it was possible to start SOA-P on windows being in the jboss server directory and running: bq. bin\run.bat ... Now this fails:{code} Config file not found run.conf.bat Could not locate "W:\workspace\soa-scripts-matrix\ef9b46c5\jbosssoa-standalone\bin\run.jar". Please check that you are in the bin directory when running this script.{code} Seems like script now requires to execute from bin\. I see the following changes between 5.1 and 5.2: {code}$ 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 $ @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%{code} If this cannot be reverted or fixed for some reason I think that it at least deserves release notes.
For investigation in 5.2.
Link: Added: This issue Cloned to SOA-3343
Link: Added: This issue depends JBPAPP-7114
I changed the test script to s/!~dp0!/%~dp0%/ and this fizes the issue.
I see this is a known issue for EAP 5.1.1, I wonder why is it marked as minor though.
Link: Added: This issue depends JBPAPP-6920
Here is the issue: JBPAPP-6920
Fixed in SOA-P; still needs to be fixed in EAP.
Release Notes Docs Status: Added: Not Required
Writer: Added: dlesage
Verified with 5.2.ER5