Can you do a pwd on the karaf folder? Are there any spaces on the path?

Kind regards, Andreas
On Jul 28, 2011 8:41 AM, "Joe Blogs (JIRA)" <[email protected]> wrote:
>
> [
https://issues.apache.org/jira/browse/KARAF-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13072209#comment-13072209]
>
> Joe Blogs commented on KARAF-788:
> ---------------------------------
>
> Hi Jean,
>
> etc/org.ops4j.pax.url.mvn.cfg has been correctly configured with my proxy
settings -- as has my conf/settings for Maven. I also tried adding the below
to the karaf bash script:
>
> setupDefaults() {
> DEFAULT_JAVA_OPTS="-Xms$JAVA_MIN_MEM -Xmx$JAVA_MAX_MEM -Dhttp.proxyHost=
http://proxy-sa.dsto.defence.gov.au -Dhttp.port=8080"
>
> #Set the JVM_VENDOR specific JVM flags
> if [ "$JVM_VENDOR" = "SUN" ]; then
> DEFAULT_JAVA_OPTS="-server $DEFAULT_JAVA_OPTS
-Dcom.sun.management.jmxremote"
> elif [ "$JVM_VENDOR" = "IBM" ]; then
> if $os400; then
> DEFAULT_JAVA_OPTS="$DEFAULT_JAVA_OPTS"
> elif $aix; then
> DEFAULT_JAVA_OPTS="-Xverify:none -Xlp $DEFAULT_JAVA_OPTS"
> else
> DEFAULT_JAVA_OPTS="-Xverify:none $DEFAULT_JAVA_OPTS"
> fi
> fi
>
> This failed like so:
>
> karaf@root> features:install webconsole
> Error executing command: URL
[mvn:org.apache.felix/org.apache.felix.metatype/1.0.4] could not be
resolved.
>
> Any other ideas ? wget and curl both reach out of the proxy.
>
> Joe
>
>> apache-karaf-2.2.2 on centos cant install webconsole feature (same deal
with apache-servicemix-4.3.0/karaf)
>>
-----------------------------------------------------------------------------------------------------------
>>
>> Key: KARAF-788
>> URL: https://issues.apache.org/jira/browse/KARAF-788
>> Project: Karaf
>> Issue Type: Bug
>> Components: karaf-webconsole
>> Affects Versions: 2.2.2
>> Environment: Linux 2.6.18-238.el5 x86_64 x86_64 x86_64 GNU/Linux
>> CentOS
>> Reporter: Joe Blogs
>> Priority: Blocker
>> Labels: feature, problem
>>
>> After starting the karaf console and attempting to `features:install
webconsole`, I get the following error:
>> karaf@root> features:install webconsole
>> Error executing command: URL
[mvn:org.apache.felix/org.apache.felix.metatype/1.0.4] could not be
resolved.
>> The machine I am executing this command on is on the same network with
the same http proxy as my local running machine with Windows 7 x86_64. The
karaf binary for Windows does not suffer from the same problem. I have
configured etc/system.properties with http.proxyHost and http.proxyPort on
both machines.
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>

Reply via email to