You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Dan Tran <da...@gmail.com> on 2011/05/18 08:29:20 UTC
minimum distribution does not start properly
The minimal does not start any feature ( ie management ) when there is
no network to start with.
Is it a bug?
-Dan
Re: minimum distribution does not start properly
Posted by Achim Nierbeck <bc...@googlemail.com>.
Hi Dan,
I opened a issue for that.
https://issues.apache.org/jira/browse/KARAF-653
regards, Achim
Am 19.05.2011 17:56, schrieb Dan Tran:
> Some more info here:
>
> - With remote repos setup, features:list works
>
> - with no remote repos setup, features:list is empty
>
> With TRACE on, I can see Karaf always look for
> [mvn:org.apache.karaf.assemblies.features/standard/2.2.1/xml/features]
> from remote repo at startup
>
> So I manually populate the missing file under system maven repo. and it works
>
> -Dan
>
>
> On Wed, May 18, 2011 at 3:29 PM, Dan Tran <da...@gmail.com> wrote:
>> my minimum package is from 2.2.1. I started it with no remote mvn
>> repos configured. ( by editting org.ops4j.pax.url.mvn.cfg )
>>
>> here is the output with no maven repo configured
>>
>> karaf@root> features:list
>> No features available.
>> karaf@root>
>>
>> here is output WITH remote maven repo configured
>>
>> karaf@root> features:list
>> State Version Name
>> Repository Description
>> [uninstalled] [2.2.1 ] karaf-framework karaf-2.2.1
>> [uninstalled] [2.5.6.SEC02 ] spring karaf-2.2.1
>> [uninstalled] [2.5.6.SEC02 ] spring-web karaf-2.2.1
>> [uninstalled] [3.0.5.RELEASE ] spring karaf-2.2.1
>> [uninstalled] [3.0.5.RELEASE ] spring-web karaf-2.2.1
>> [uninstalled] [1.2.1 ] spring-dm karaf-2.2.1
>> [uninstalled] [1.2.1 ] spring-dm-web karaf-2.2.1
>> [uninstalled] [2.2.1 ] wrapper karaf-2.2.1
>> [uninstalled] [2.2.1 ] obr karaf-2.2.1
>> [uninstalled] [2.2.1 ] config karaf-2.2.1
>> [uninstalled] [7.3.1.v20110307] jetty karaf-2.2.1
>> [uninstalled] [7.3.1.v20110307] jetty-jaas karaf-2.2.1
>> [uninstalled] [2.2.1 ] http karaf-2.2.1
>> [uninstalled] [2.2.1 ] war karaf-2.2.1
>> [uninstalled] [2.2.1 ] kar karaf-2.2.1
>> [uninstalled] [2.2.1 ] webconsole-base karaf-2.2.1
>> [uninstalled] [2.2.1 ] webconsole karaf-2.2.1
>> [uninstalled] [2.2.1 ] ssh karaf-2.2.1
>> [installed ] [2.2.1 ] management karaf-2.2.1
>> [uninstalled] [2.2.1 ] eventadmin karaf-2.2.1
>> [uninstalled] [2.2.1 ] jasypt-encryption karaf-2.2.1
>> [uninstalled] [0.3 ] transaction
>> karaf-enterprise-2.2.1 OSGi Transaction Manager
>> [uninstalled] [0.3 ] jpa
>> karaf-enterprise-2.2.1 OSGi Persistence Container
>> [uninstalled] [0.3 ] jndi
>> karaf-enterprise-2.2.1 OSGi Service Registry JNDI access
>> [uninstalled] [0.3 ] application-without-isolation
>> karaf-enterprise-2.2.1
>> karaf@root>
>>
>>
>> On Wed, May 18, 2011 at 2:34 PM, David Jencks <da...@yahoo.com> wrote:
>>> what karaf version and if trunk/3.0 which "minimal"?
>>>
>>> No network means it can't download a required bundle or there's no interface available to bind the jmx connector to?
>>>
>>> thanks
>>> david jencks
>>>
>>> On May 17, 2011, at 11:29 PM, Dan Tran wrote:
>>>
>>>> The minimal does not start any feature ( ie management ) when there is
>>>> no network to start with.
>>>>
>>>> Is it a bug?
>>>>
>>>> -Dan
>>>
Re: minimum distribution does not start properly
Posted by Dan Tran <da...@gmail.com>.
Some more info here:
- With remote repos setup, features:list works
- with no remote repos setup, features:list is empty
With TRACE on, I can see Karaf always look for
[mvn:org.apache.karaf.assemblies.features/standard/2.2.1/xml/features]
from remote repo at startup
So I manually populate the missing file under system maven repo. and it works
-Dan
On Wed, May 18, 2011 at 3:29 PM, Dan Tran <da...@gmail.com> wrote:
> my minimum package is from 2.2.1. I started it with no remote mvn
> repos configured. ( by editting org.ops4j.pax.url.mvn.cfg )
>
> here is the output with no maven repo configured
>
> karaf@root> features:list
> No features available.
> karaf@root>
>
> here is output WITH remote maven repo configured
>
> karaf@root> features:list
> State Version Name
> Repository Description
> [uninstalled] [2.2.1 ] karaf-framework karaf-2.2.1
> [uninstalled] [2.5.6.SEC02 ] spring karaf-2.2.1
> [uninstalled] [2.5.6.SEC02 ] spring-web karaf-2.2.1
> [uninstalled] [3.0.5.RELEASE ] spring karaf-2.2.1
> [uninstalled] [3.0.5.RELEASE ] spring-web karaf-2.2.1
> [uninstalled] [1.2.1 ] spring-dm karaf-2.2.1
> [uninstalled] [1.2.1 ] spring-dm-web karaf-2.2.1
> [uninstalled] [2.2.1 ] wrapper karaf-2.2.1
> [uninstalled] [2.2.1 ] obr karaf-2.2.1
> [uninstalled] [2.2.1 ] config karaf-2.2.1
> [uninstalled] [7.3.1.v20110307] jetty karaf-2.2.1
> [uninstalled] [7.3.1.v20110307] jetty-jaas karaf-2.2.1
> [uninstalled] [2.2.1 ] http karaf-2.2.1
> [uninstalled] [2.2.1 ] war karaf-2.2.1
> [uninstalled] [2.2.1 ] kar karaf-2.2.1
> [uninstalled] [2.2.1 ] webconsole-base karaf-2.2.1
> [uninstalled] [2.2.1 ] webconsole karaf-2.2.1
> [uninstalled] [2.2.1 ] ssh karaf-2.2.1
> [installed ] [2.2.1 ] management karaf-2.2.1
> [uninstalled] [2.2.1 ] eventadmin karaf-2.2.1
> [uninstalled] [2.2.1 ] jasypt-encryption karaf-2.2.1
> [uninstalled] [0.3 ] transaction
> karaf-enterprise-2.2.1 OSGi Transaction Manager
> [uninstalled] [0.3 ] jpa
> karaf-enterprise-2.2.1 OSGi Persistence Container
> [uninstalled] [0.3 ] jndi
> karaf-enterprise-2.2.1 OSGi Service Registry JNDI access
> [uninstalled] [0.3 ] application-without-isolation
> karaf-enterprise-2.2.1
> karaf@root>
>
>
> On Wed, May 18, 2011 at 2:34 PM, David Jencks <da...@yahoo.com> wrote:
>> what karaf version and if trunk/3.0 which "minimal"?
>>
>> No network means it can't download a required bundle or there's no interface available to bind the jmx connector to?
>>
>> thanks
>> david jencks
>>
>> On May 17, 2011, at 11:29 PM, Dan Tran wrote:
>>
>>> The minimal does not start any feature ( ie management ) when there is
>>> no network to start with.
>>>
>>> Is it a bug?
>>>
>>> -Dan
>>
>>
>
Re: minimum distribution does not start properly
Posted by Dan Tran <da...@gmail.com>.
my minimum package is from 2.2.1. I started it with no remote mvn
repos configured. ( by editting org.ops4j.pax.url.mvn.cfg )
here is the output with no maven repo configured
karaf@root> features:list
No features available.
karaf@root>
here is output WITH remote maven repo configured
karaf@root> features:list
State Version Name
Repository Description
[uninstalled] [2.2.1 ] karaf-framework karaf-2.2.1
[uninstalled] [2.5.6.SEC02 ] spring karaf-2.2.1
[uninstalled] [2.5.6.SEC02 ] spring-web karaf-2.2.1
[uninstalled] [3.0.5.RELEASE ] spring karaf-2.2.1
[uninstalled] [3.0.5.RELEASE ] spring-web karaf-2.2.1
[uninstalled] [1.2.1 ] spring-dm karaf-2.2.1
[uninstalled] [1.2.1 ] spring-dm-web karaf-2.2.1
[uninstalled] [2.2.1 ] wrapper karaf-2.2.1
[uninstalled] [2.2.1 ] obr karaf-2.2.1
[uninstalled] [2.2.1 ] config karaf-2.2.1
[uninstalled] [7.3.1.v20110307] jetty karaf-2.2.1
[uninstalled] [7.3.1.v20110307] jetty-jaas karaf-2.2.1
[uninstalled] [2.2.1 ] http karaf-2.2.1
[uninstalled] [2.2.1 ] war karaf-2.2.1
[uninstalled] [2.2.1 ] kar karaf-2.2.1
[uninstalled] [2.2.1 ] webconsole-base karaf-2.2.1
[uninstalled] [2.2.1 ] webconsole karaf-2.2.1
[uninstalled] [2.2.1 ] ssh karaf-2.2.1
[installed ] [2.2.1 ] management karaf-2.2.1
[uninstalled] [2.2.1 ] eventadmin karaf-2.2.1
[uninstalled] [2.2.1 ] jasypt-encryption karaf-2.2.1
[uninstalled] [0.3 ] transaction
karaf-enterprise-2.2.1 OSGi Transaction Manager
[uninstalled] [0.3 ] jpa
karaf-enterprise-2.2.1 OSGi Persistence Container
[uninstalled] [0.3 ] jndi
karaf-enterprise-2.2.1 OSGi Service Registry JNDI access
[uninstalled] [0.3 ] application-without-isolation
karaf-enterprise-2.2.1
karaf@root>
On Wed, May 18, 2011 at 2:34 PM, David Jencks <da...@yahoo.com> wrote:
> what karaf version and if trunk/3.0 which "minimal"?
>
> No network means it can't download a required bundle or there's no interface available to bind the jmx connector to?
>
> thanks
> david jencks
>
> On May 17, 2011, at 11:29 PM, Dan Tran wrote:
>
>> The minimal does not start any feature ( ie management ) when there is
>> no network to start with.
>>
>> Is it a bug?
>>
>> -Dan
>
>
Re: minimum distribution does not start properly
Posted by David Jencks <da...@yahoo.com>.
what karaf version and if trunk/3.0 which "minimal"?
No network means it can't download a required bundle or there's no interface available to bind the jmx connector to?
thanks
david jencks
On May 17, 2011, at 11:29 PM, Dan Tran wrote:
> The minimal does not start any feature ( ie management ) when there is
> no network to start with.
>
> Is it a bug?
>
> -Dan