Hi Andreas & all,

Thanks for the hint. I did create a karaf issue, whose ID is KARAF-1674.


Best regards,
Sam



-----Ursprüngliche Nachricht-----
Von: Andreas Pieber [mailto:anpie...@gmail.com] 
Gesendet: Dienstag, 24. Juli 2012 18:17
An: user@karaf.apache.org
Betreff: Re: Strange issue with maven repositories and 
org.apache.karaf.webconsole.features

no that should be a configuration in pax-url-aether. I'm not sure
right now if this is possible at all right now for pax-url or if we
simply configured it wrong. The documentation and therefore the google
entries are quite short on this topic :-) Best to create a Karaf Jira
that we don't forget about it; In other words, it's definitely a "bug"
(even if only a configuration one for missing options).

Kind regards,
Andreas

On Mon, Jul 23, 2012 at 1:20 PM, Sammy Ramareddy
<sammy.ramare...@solarmax.com> wrote:
> Hello,
>
> I'm using karaf 2.2.8 with equinox running on debian with java 1.7.0_03.
>
> I'm having a strange issue where karaf needs a lot of time (around 
> 5-10minutes) to generate for the first time the "features" tab in the 
> webconsole or give some feedback to a "features:list" command in the ssh 
> console.
>
> I currently have the following urls configured in 
> $KARAF_HOME/etc/org.ops4j.pax.url.mvn.cfg:
>
> org.ops4j.pax.url.mvn.repositories= \
>     http://192.168.2.224:8080/artifactory/repo@snapshots, \
>     http://i0019231.subdomain.domain.tld:8080/artifactory/repo@snapshots
>
> The second url is actually pointing to the same artifactory repository as the 
> first one, just running with another IP (within our VPN subnet).
> Once in production, karaf will run outside our network and will need to reach 
> our artifactory server through a VPN connection, hence the need for two urls.
>
> The problem is the following: when the VPN connection is *not* running, and 
> thus "i0019231.subdomain.domain.tld" is not reachable (its IP is 172.21.x.x), 
> karaf needs 5-10 minutes to be able to start the features-plugin.
>
> When this is happening, the following entry is in the Karaf log:
> "failed to open bundleresource://78.fwk10937487/"
> where bundle 78 is org.apache.karaf.webconsole.features
>
> This issue happens only when the VPN client is not running and thus the 
> second repository is not reachable. When the second url is reachable, then 
> everything runs fine.
>
> Why does the features-plugin need so long to time out? Am I doing something 
> wrong? Is it a bug?
>
>
> Thanks a lot for any help !
>
>
> Best Regards
> Sam
>

Reply via email to