IDEMPIERE_JAVA_OPTIONS property not work

Description

Startup script does not read IDEMPIERE_JAVA_OPTIONS from idempiereEnv.properties.
Changed files to fix this bug: IDEMPIERE_JAVA_OPTIONS, myEnviroments.sh and Services(init.d)

Environment

None

Activity

Show:
ERP OpenSource Italia
September 8, 2017, 2:59 PM

Hi Carlos,
what about moving the execution of myEnvironment.sh before the check for JAVA_HOME, so it can be used to set the JAVA_HOME ?

ERP OpenSource Italia
September 11, 2017, 12:21 PM

Hi,
i have made some minor improvements (attached .diff files) to idempiere-server.bat to make it simliar to unix variant: enable debug switch on command line, added log (diff from release 4.1 version).
For both i have moved the inclusion of myEnvironment before the java check: when executed via service its set by the startup script, when run from command line nwo behaves like when its started up from server.
There is still a minor redundancy: JAVA executable and path is set in myEnvironment (ADEMPIERE_JAVA variable) so it could be used by idempiere-server.

Regards,
Silvano

Carlos Ruiz
October 13, 2017, 1:35 PM

Hi , both files are the same - modifying idempiere-server.sh - can you please upload the changes to idempiere-server.bat ?

ERP OpenSource Italia
November 8, 2017, 5:45 PM

Hi Carlos,
i have replaced the wrong diff with the right one.
Sorry for the late answer,

Regards,
Silvano

Assignee

Carlos Ruiz

Reporter

Eduardo JM

Labels

None

Tested By

None

Components

Affects versions

Priority

Minor
Configure