06491301493f728fbf77ce1935549c11edab2247 8878 |
|
17-May-2013 |
JnRouvignac |
OPENDJ-842 (CR-1699) On Windows, the setup command hangs when the length of the install path is too long
In order to avoid getting errors like "The input line is too long" on windows, a common way to fix this is to provide a "bootstrap" empty jar which contains only a MANIFEST.MF file listing all the application's jars in the "Class-Path" attribute.
This URL describes well enough the problem: http://ant.apache.org/manual/Tasks/manifestclasspath.html
build.xml:
In "prepackage" target, build bootstrap.jar.
_script-util.bat, _script-util.sh:
Replaced appending all the jars under libs with just the bootstrap jar.
Utilities.java, Utils.java, UpgradeUtils.java:
In getInstallPathFromClasspath(), extracted getInstallPath() and simplified its code a lot.
Installation.java, Installation.java:
Changed OPEN_DS_JAR_RELATIVE_PATHS into OPEN_DJ_BOOTSTRAP_JAR_RELATIVE_PATH. |
f8a01b9502e52d391e86e53919ad2bc2bc64f6af 5032 |
|
25-Feb-2009 |
chebrard |
Fix 3798: Unable to use more than 50% of machine memory for server
JVM settings were used by scripts when checking the validity of the instance.
This modification removes the use of the JVM setting during the bootstrapping phase.
This fixes the following issues:
* if JVM is configured for the server instance suspends on start up
for debugging, the server suspends during the bootstrapping phase
rather than when the real server instance has started. (remaining
issue related to issue 3711)
* if the JVM is configured to use more than around 45% of the
machine's memory, we run out of memory (issue 3798) |