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)
what about moving the execution of myEnvironment.sh before the check for JAVA_HOME, so it can be used to set the JAVA_HOME ?
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.
Hi , both files are the same - modifying idempiere-server.sh - can you please upload the changes to idempiere-server.bat ?
i have replaced the wrong diff with the right one.
Sorry for the late answer,