]
Tomaz Cerar moved JBEAP-12435 to WFCORE-3126:
---------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-3126 (was: JBEAP-12435)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Scripts
(was: Scripts)
Affects Version/s: 3.0.0.Beta30
(was: 7.1.0.ER3)
Affects Testing: (was: Regression,Blocks Testing)
Cannot start EAP - MALLOC_ARENA_MAX=1: is not an identifier
------------------------------------------------------------
Key: WFCORE-3126
URL:
https://issues.jboss.org/browse/WFCORE-3126
Project: WildFly Core
Issue Type: Bug
Components: Scripts
Affects Versions: 3.0.0.Beta30
Environment: {noformat}
$ uname -a
SunOS 5.10 Generic_150400-51 sun4v sparc SUNW,SPARC-Enterprise-T1000
{noformat}
Reporter: Tomaz Cerar
Assignee: Tomaz Cerar
Priority: Blocker
JBEAP-11565 add the following line into the EAP launching scripts:
{noformat}
export MALLOC_ARENA_MAX="${MALLOC_ARENA_MAX:-1}"
{noformat}
This is problematic on *Solaris 10 sparc*
{noformat}
$ ./standalone.sh
./standalone.sh: MALLOC_ARENA_MAX=1: is not an identifier
$ ./domain.sh
./domain.sh: MALLOC_ARENA_MAX=1: is not an identifier
{noformat}
See
https://issues.apache.org/jira/browse/MNG-5829 description:
{noformat}
The $(cmd) idiom is used extensively in bin/mvn from lines 199-220, but this is not
supported by older incarnations of /bin/sh (used on the shebang line). The `cmd` idiom is
slightly more portable, and looks like it can probably be directly substituted.
{noformat}