Description of problem:
On Linux and Windows the 32-bit/64-bit environment is specified by used jdk instance, however you have to use -d32/-d64 switch to specify it on Solaris and HP-UX.
Since we support only 64-bit Solaris-sparc and HP-UX combinations we should update the EAP configuration on these platforms.
If we run the installation on Solaris or HP-UX and System.getProperty("sun.arch.data.model") == 64, then update the EAP configuration so EAP processes start with -d64 switch.
This would mean to update standalone.conf, domain.conf, and host*.xml files as described in 
 - https://mojo.redhat.com/docs/DOC-978522#jive_content_id_EAP6
Changing type to enhancement; looking through the doc, these changes seem nice and easy to implement. I'll go ahead and ack this now for 6.4.0.
I've addressed the issue by applying a patch to each of the configuration files that you specified. If the OS is HP-UX or Solaris it will substitute the additional argument into the config files.
This is an installer issue. First installer is expected to be shipped with ER1.
Since we're providing an installer for DR4, this bug should be tested in that extended test cycle.
I guess that this should be moved to ON_QA, however I found one issue with this. -d64 switch should be added only if we use 64-bit instance on installation. Once we use 32-bit (default) we can left the configuration as it is (still speaking only about Solaris and HP-UX).
I used 32-bit Solaris 11 for installation, but but I can see -d64 switch in *.conf files.
Can you please fix this so the configuration is updated with -d64 switch only if 64-bit jdk is used.
This issue may be related to Solaris; I installed on eap-perf-hpux-04 with the default 32-bit JVM and the options were not added to the standalone.conf / host.xml.
Ignore the comment above. I was using the incorrect version of the EAP installer (this version contained the fix, so I didn't reproduce with it, haha)
Reproduced in Solaris and HPUX using the DR4 installer currently posted in candidates. Marking as MODIFIED.
Verified on EAP 6.4.0.DR9 installer.