Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
3.0.0
-
None
-
None
-
Windows 7, JDK7
Description
I was doing a directory compare on the latest 3.0.0-SNAPSHOT compared to 3.0.0-RC1. I noticed what appear to be some problems in the generation of the karaf.bat file:
The setupNativePath() now shows:
LD_LIBRARY_PATH="/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64:$KARAF_BASE/lib:$KARAF_HOME/lib"
instead of the following in RC1
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:$KARAF_BASE/lib:$KARAF_HOME/lib"
Also, the JAVA_ENDORSED DIRS are set to:
JAVA_ENDORSED_DIRS="/home/hudson/tools/java/latest1.6/jre/lib/endorsed:/home/hudson/tools/java/latest1.6/lib/endorsed:${KARAF_HOME}/lib/endorsed"
Rather than what was in RC1:
JAVA_ENDORSED_DIRS="${JAVA_HOME}/jre/lib/endorsed:${JAVA_HOME}/lib/endorsed:${KARAF_HOME}/lib/endorsed"
JAVA_EXT_DIRS="${JAVA_HOME}/jre/lib/ext:${JAVA_HOME}/lib/ext:${KARAF_HOME}/lib/ext"
Attachments
Issue Links
- duplicates
-
KARAF-2153 wrong path in JAVA_ENDORSED_DIRS and JAVA_EXT_DIRS in bin/karaf script from snapshots
- Resolved