[jira] [Commented] (KARAF-5647) start, stop, shell, status and client fail on Solaris Sparc 11
[ https://issues.apache.org/jira/browse/KARAF-5647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16381458#comment-16381458 ] ASF subversion and git services commented on KARAF-5647: Commit e100da7f4ed148c82f67426f8a4497c4e33aa6bf in karaf's branch refs/heads/karaf-4.1.x from [~ancosen] [ https://gitbox.apache.org/repos/asf?p=karaf.git;h=e100da7 ] [KARAF-5647] start, stop, shell, status and client fail on Solaris Sparc 11 > start, stop, shell, status and client fail on Solaris Sparc 11 > -- > > Key: KARAF-5647 > URL: https://issues.apache.org/jira/browse/KARAF-5647 > Project: Karaf > Issue Type: Bug > Components: karaf-shell >Reporter: Andrea Cosentino >Assignee: Andrea Cosentino >Priority: Minor > Fix For: 4.2.0, 4.1.6 > > > Actually we have exactly the same behavior as KARAF-4949 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (KARAF-5647) start, stop, shell, status and client fail on Solaris Sparc 11
[ https://issues.apache.org/jira/browse/KARAF-5647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofré resolved KARAF-5647. - Resolution: Fixed > start, stop, shell, status and client fail on Solaris Sparc 11 > -- > > Key: KARAF-5647 > URL: https://issues.apache.org/jira/browse/KARAF-5647 > Project: Karaf > Issue Type: Bug > Components: karaf-shell >Reporter: Andrea Cosentino >Assignee: Andrea Cosentino >Priority: Minor > Fix For: 4.2.0, 4.1.6 > > > Actually we have exactly the same behavior as KARAF-4949 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KARAF-5647) start, stop, shell, status and client fail on Solaris Sparc 11
[ https://issues.apache.org/jira/browse/KARAF-5647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16381453#comment-16381453 ] ASF subversion and git services commented on KARAF-5647: Commit 1e21d1ad1fddbe154e56c807bbfe95f19f479f5b in karaf's branch refs/heads/master from [~jbonofre] [ https://gitbox.apache.org/repos/asf?p=karaf.git;h=1e21d1a ] Merge pull request #467 from oscerd/KARAF-5647 [KARAF-5647] start, stop, shell, status and client fail on Solaris Sparc > start, stop, shell, status and client fail on Solaris Sparc 11 > -- > > Key: KARAF-5647 > URL: https://issues.apache.org/jira/browse/KARAF-5647 > Project: Karaf > Issue Type: Bug > Components: karaf-shell >Reporter: Andrea Cosentino >Assignee: Andrea Cosentino >Priority: Minor > Fix For: 4.2.0, 4.1.6 > > > Actually we have exactly the same behavior as KARAF-4949 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KARAF-5647) start, stop, shell, status and client fail on Solaris Sparc 11
[ https://issues.apache.org/jira/browse/KARAF-5647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16381454#comment-16381454 ] ASF subversion and git services commented on KARAF-5647: Commit 1e21d1ad1fddbe154e56c807bbfe95f19f479f5b in karaf's branch refs/heads/master from [~jbonofre] [ https://gitbox.apache.org/repos/asf?p=karaf.git;h=1e21d1a ] Merge pull request #467 from oscerd/KARAF-5647 [KARAF-5647] start, stop, shell, status and client fail on Solaris Sparc > start, stop, shell, status and client fail on Solaris Sparc 11 > -- > > Key: KARAF-5647 > URL: https://issues.apache.org/jira/browse/KARAF-5647 > Project: Karaf > Issue Type: Bug > Components: karaf-shell >Reporter: Andrea Cosentino >Assignee: Andrea Cosentino >Priority: Minor > Fix For: 4.2.0, 4.1.6 > > > Actually we have exactly the same behavior as KARAF-4949 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KARAF-5647) start, stop, shell, status and client fail on Solaris Sparc 11
[ https://issues.apache.org/jira/browse/KARAF-5647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16381451#comment-16381451 ] ASF GitHub Bot commented on KARAF-5647: --- jbonofre closed pull request #467: [KARAF-5647] start, stop, shell, status and client fail on Solaris Sp… URL: https://github.com/apache/karaf/pull/467 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/assemblies/features/base/src/main/filtered-resources/resources/bin/client b/assemblies/features/base/src/main/filtered-resources/resources/bin/client index a1bd3ef3d3..7c00e01086 100755 --- a/assemblies/features/base/src/main/filtered-resources/resources/bin/client +++ b/assemblies/features/base/src/main/filtered-resources/resources/bin/client @@ -17,17 +17,32 @@ # realpath() { - OURPWD=${PWD} - cd "$(dirname "${1}")" || exit 2 - LINK=$(ls -l "$(basename "${1}")" | awk -F"-> " '{print $2}') - while [ "${LINK}" ]; do - echo "link: ${LINK}" >&2 -cd "$(dirname "${LINK}")" || exit 2 + READLINK_EXISTS=$(command -v readlink &> /dev/null) + if [ -z $READLINK_EXISTS ]; then +OURPWD=${PWD} +cd "$(dirname "${1}")" || exit 2 LINK=$(ls -l "$(basename "${1}")" | awk -F"-> " '{print $2}') - done - REALPATH="${PWD}/$(basename "${1}")" - cd "${OURPWD}" || exit 2 - echo "${REALPATH}" +while [ "${LINK}" ]; do +echo "link: ${LINK}" >&2 +cd "$(dirname "${LINK}")" || exit 2 +LINK=$(ls -l "$(basename "${1}")" | awk -F"-> " '{print $2}') +done +REALPATH="${PWD}/$(basename "${1}")" +cd "${OURPWD}" || exit 2 +echo "${REALPATH}" + else +OURPWD=${PWD} +cd "$(dirname "${1}")" || exit 2 +LINK=$(readlink "$(basename "${1}")") +while [ "${LINK}" ]; do + echo "link: ${LINK}" >&2 +cd "$(dirname "${LINK}")" || exit 2 +LINK=$(readlink "$(basename "${1}")") +done +REALPATH="${PWD}/$(basename "${1}")" +cd "${OURPWD}" || exit 2 +echo "${REALPATH}" + fi } REALNAME=$(realpath "$0") diff --git a/assemblies/features/base/src/main/filtered-resources/resources/bin/shell b/assemblies/features/base/src/main/filtered-resources/resources/bin/shell index 8a5a85a516..e16a078175 100755 --- a/assemblies/features/base/src/main/filtered-resources/resources/bin/shell +++ b/assemblies/features/base/src/main/filtered-resources/resources/bin/shell @@ -17,17 +17,32 @@ # realpath() { - OURPWD=${PWD} - cd "$(dirname "${1}")" || exit 2 - LINK=$(ls -l "$(basename "${1}")" | awk -F"-> " '{print $2}') - while [ "${LINK}" ]; do - echo "link: ${LINK}" >&2 -cd "$(dirname "${LINK}")" || exit 2 + READLINK_EXISTS=$(command -v readlink &> /dev/null) + if [ -z $READLINK_EXISTS ]; then +OURPWD=${PWD} +cd "$(dirname "${1}")" || exit 2 LINK=$(ls -l "$(basename "${1}")" | awk -F"-> " '{print $2}') - done - REALPATH="${PWD}/$(basename "${1}")" - cd "${OURPWD}" || exit 2 - echo "${REALPATH}" +while [ "${LINK}" ]; do +echo "link: ${LINK}" >&2 +cd "$(dirname "${LINK}")" || exit 2 +LINK=$(ls -l "$(basename "${1}")" | awk -F"-> " '{print $2}') +done +REALPATH="${PWD}/$(basename "${1}")" +cd "${OURPWD}" || exit 2 +echo "${REALPATH}" + else +OURPWD=${PWD} +cd "$(dirname "${1}")" || exit 2 +LINK=$(readlink "$(basename "${1}")") +while [ "${LINK}" ]; do + echo "link: ${LINK}" >&2 +cd "$(dirname "${LINK}")" || exit 2 +LINK=$(readlink "$(basename "${1}")") +done +REALPATH="${PWD}/$(basename "${1}")" +cd "${OURPWD}" || exit 2 +echo "${REALPATH}" + fi } REALNAME=$(realpath "$0") diff --git a/assemblies/features/base/src/main/filtered-resources/resources/bin/start b/assemblies/features/base/src/main/filtered-resources/resources/bin/start index 19fd11bbeb..9f2e4b1092 100755 --- a/assemblies/features/base/src/main/filtered-resources/resources/bin/start +++ b/assemblies/features/base/src/main/filtered-resources/resources/bin/start @@ -17,17 +17,32 @@ # realpath() { - OURPWD=${PWD} - cd "$(dirname "${1}")" || exit 2 - LINK=$(ls -l "$(basename "${1}")" | awk -F"-> " '{print $2}') - while [ "${LINK}" ]; do - echo "link: ${LINK}" >&2 -cd "$(dirname "${LINK}")" || exit 2 + READLINK_EXISTS=$(command -v readlink &> /dev/null) + if [ -z $READLINK_EXISTS ]; then +OURPWD=${PWD} +cd "$(dirname "${1}")" || exit 2 LINK=$(ls -l "$(basename "${1}")" | awk -F"-> " '{print $2}') - done - REALPATH="${PWD}/$(basename "${1}")" - cd "${OURPWD}" || exit 2 - echo "${REALPATH}" +while [ "${LINK}" ]; do +echo "link: ${LINK}" >&2 +cd "$(dirname "${LINK}")" || exit 2 +LINK=$(ls -l "$(basename
[jira] [Commented] (KARAF-5647) start, stop, shell, status and client fail on Solaris Sparc 11
[ https://issues.apache.org/jira/browse/KARAF-5647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16381452#comment-16381452 ] ASF subversion and git services commented on KARAF-5647: Commit 436d1333a11ae214cd6d5ff29c0be7fb9ef1e29d in karaf's branch refs/heads/master from [~ancosen] [ https://gitbox.apache.org/repos/asf?p=karaf.git;h=436d133 ] [KARAF-5647] start, stop, shell, status and client fail on Solaris Sparc 11 > start, stop, shell, status and client fail on Solaris Sparc 11 > -- > > Key: KARAF-5647 > URL: https://issues.apache.org/jira/browse/KARAF-5647 > Project: Karaf > Issue Type: Bug > Components: karaf-shell >Reporter: Andrea Cosentino >Assignee: Andrea Cosentino >Priority: Minor > Fix For: 4.2.0, 4.1.6 > > > Actually we have exactly the same behavior as KARAF-4949 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KARAF-5647) start, stop, shell, status and client fail on Solaris Sparc 11
[ https://issues.apache.org/jira/browse/KARAF-5647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16380338#comment-16380338 ] ASF GitHub Bot commented on KARAF-5647: --- oscerd opened a new pull request #467: [KARAF-5647] start, stop, shell, status and client fail on Solaris Sp… URL: https://github.com/apache/karaf/pull/467 …arc 11 This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > start, stop, shell, status and client fail on Solaris Sparc 11 > -- > > Key: KARAF-5647 > URL: https://issues.apache.org/jira/browse/KARAF-5647 > Project: Karaf > Issue Type: Bug > Components: karaf-shell >Reporter: Andrea Cosentino >Assignee: Andrea Cosentino >Priority: Minor > Fix For: 4.2.0, 4.1.6 > > > Actually we have exactly the same behavior as KARAF-4949 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (KARAF-5647) start, stop, shell, status and client fail on Solaris Sparc 11
[ https://issues.apache.org/jira/browse/KARAF-5647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrea Cosentino updated KARAF-5647: Fix Version/s: 4.1.6 4.2.0 > start, stop, shell, status and client fail on Solaris Sparc 11 > -- > > Key: KARAF-5647 > URL: https://issues.apache.org/jira/browse/KARAF-5647 > Project: Karaf > Issue Type: Bug > Components: karaf-shell >Reporter: Andrea Cosentino >Assignee: Andrea Cosentino >Priority: Minor > Fix For: 4.2.0, 4.1.6 > > > Actually we have exactly the same behavior as KARAF-4949 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (KARAF-5647) start, stop, shell, status and client fail on Solaris Sparc 11
Andrea Cosentino created KARAF-5647: --- Summary: start, stop, shell, status and client fail on Solaris Sparc 11 Key: KARAF-5647 URL: https://issues.apache.org/jira/browse/KARAF-5647 Project: Karaf Issue Type: Bug Components: karaf-shell Reporter: Andrea Cosentino Assignee: Andrea Cosentino Actually we have exactly the same behavior as KARAF-4949 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KARAF-5646) Support env:XXX subtitution missing for system.properties
[ https://issues.apache.org/jira/browse/KARAF-5646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16380289#comment-16380289 ] Jean-Baptiste Onofré commented on KARAF-5646: - It does directly in {{custom.properties}} where you can override {{system.properties}}. I created another Jira about supporting override by {{-D}}. > Support env:XXX subtitution missing for system.properties > - > > Key: KARAF-5646 > URL: https://issues.apache.org/jira/browse/KARAF-5646 > Project: Karaf > Issue Type: Bug > Components: karaf-util >Affects Versions: 4.2.0, 4.1.5 >Reporter: Łukasz Dywicki >Assignee: Jean-Baptiste Onofré >Priority: Major > > Variable substitution implemented as part of KARAF-3434 works fine with files > processed via fileinstall, however it does not work with properties files > used by karaf for setting up entire environment such system.properties and > config.properties. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Assigned] (KARAF-5646) Support env:XXX subtitution missing for system.properties
[ https://issues.apache.org/jira/browse/KARAF-5646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofré reassigned KARAF-5646: --- Assignee: Jean-Baptiste Onofré (was: Łukasz Dywicki) > Support env:XXX subtitution missing for system.properties > - > > Key: KARAF-5646 > URL: https://issues.apache.org/jira/browse/KARAF-5646 > Project: Karaf > Issue Type: Bug > Components: karaf-util >Affects Versions: 4.2.0, 4.1.5 >Reporter: Łukasz Dywicki >Assignee: Jean-Baptiste Onofré >Priority: Major > > Variable substitution implemented as part of KARAF-3434 works fine with files > processed via fileinstall, however it does not work with properties files > used by karaf for setting up entire environment such system.properties and > config.properties. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KARAF-5376) Processor mechanism for feature definitions (a.k.a. "better overrides")
[ https://issues.apache.org/jira/browse/KARAF-5376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16380256#comment-16380256 ] ASF subversion and git services commented on KARAF-5376: Commit 7e7b6432871336ab08b0f6ec3095c4dac448b9fa in karaf's branch refs/heads/master from [~grzes] [ https://gitbox.apache.org/repos/asf?p=karaf.git;h=7e7b643 ] [KARAF-5376] Woodstox doesn't like mixing access to underlying writer > Processor mechanism for feature definitions (a.k.a. "better overrides") > --- > > Key: KARAF-5376 > URL: https://issues.apache.org/jira/browse/KARAF-5376 > Project: Karaf > Issue Type: Proposal > Components: karaf-feature >Reporter: Grzegorz Grzybek >Assignee: Grzegorz Grzybek >Priority: Major > Fix For: 4.2.0.M2 > > > It'd be good to have a mechanism that could transform/enhance/process feature > definitions after reading them from original feature XML descriptors and > before passing them to Karaf features deployer. > Current overrides mechanism could be generalized beyond simple version change > for {{/}} URIs. -- This message was sent by Atlassian JIRA (v7.6.3#76005)