You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Martin Lichtin <li...@yahoo.com> on 2017/09/27 16:54:12 UTC

Nwe version 4.0.10 - instance:create/start not working

Wanted to ask if the "instance" feature is working for anyone in 4.0.10? It no longer does for me.It seems the instance:create is not populating 'etc' with all the necessary files.

Re: Re: Nwe version 4.0.10 - instance:create/start not working

Posted by Martin Lichtin <li...@yahoo.com>.
Right.. looks like my problem is that I've so far used the "-b" (bare) option.

This option behaves differently with 4.0.10 (or say, more correctly). So I'm no longer using it.
Without this option, however, I need to nudge 'org.apache.karaf.features.cfg' so the extra test features (all this runs in a Pax-Exam test) don't propagate to the instance.

Can confirm, 4.0.10 works fine :)

On 27.09.2017 19:01, Jean-Baptiste Onofré wrote:
> Some files are missing in the instance etc folder but it doesn't block the startup.
>
> Regards
> JB
>
> On 09/27/2017 07:00 PM, Jean-Baptiste Onofré wrote:
>> Hi Martin,
>>
>> I just tested on my machine without problem:
>>
>> karaf@root()> info
>> Karaf
>>    Karaf version               4.0.10
>> ...
>> karaf@root()> instance:create foobar
>> karaf@root()> instance:list
>> ...
>>      8103 |  0.0.0.0 |         1101 |           0.0.0.0 | 44446 | 0.0.0.0 | Stopped | 0     | foobar
>> karaf@root()> instance:start foobar
>> ....
>>      8103 |  0.0.0.0 |         1101 |           0.0.0.0 | 44446 | 0.0.0.0 | Started | 17002 | foobar
>>
>> Are you on Windows or Linux ?
>>
>> I checked and etc seems OK.
>>
>> Regards
>> JB
>>
>> On 09/27/2017 06:54 PM, Martin Lichtin wrote:
>>> Wanted to ask if the "instance" feature is working for anyone in 4.0.10? It no longer does for me.
>>> It seems the instance:create is not populating 'etc' with all the necessary files.
>>
>


.

Re: Nwe version 4.0.10 - instance:create/start not working

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Some files are missing in the instance etc folder but it doesn't block the startup.

Regards
JB

On 09/27/2017 07:00 PM, Jean-Baptiste Onofré wrote:
> Hi Martin,
> 
> I just tested on my machine without problem:
> 
> karaf@root()> info
> Karaf
>    Karaf version               4.0.10
> ...
> karaf@root()> instance:create foobar
> karaf@root()> instance:list
> ...
>      8103 |  0.0.0.0 |         1101 |           0.0.0.0 |      44446 | 0.0.0.0 | 
> Stopped | 0     | foobar
> karaf@root()> instance:start foobar
> ....
>      8103 |  0.0.0.0 |         1101 |           0.0.0.0 |      44446 | 0.0.0.0 | 
> Started | 17002 | foobar
> 
> Are you on Windows or Linux ?
> 
> I checked and etc seems OK.
> 
> Regards
> JB
> 
> On 09/27/2017 06:54 PM, Martin Lichtin wrote:
>> Wanted to ask if the "instance" feature is working for anyone in 4.0.10? It no 
>> longer does for me.
>> It seems the instance:create is not populating 'etc' with all the necessary 
>> files.
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Nwe version 4.0.10 - instance:create/start not working

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Martin,

I just tested on my machine without problem:

karaf@root()> info
Karaf
   Karaf version               4.0.10
...
karaf@root()> instance:create foobar
karaf@root()> instance:list
...
     8103 |  0.0.0.0 |         1101 |           0.0.0.0 |      44446 | 
0.0.0.0 | Stopped | 0     | foobar
karaf@root()> instance:start foobar
....
     8103 |  0.0.0.0 |         1101 |           0.0.0.0 |      44446 | 
0.0.0.0 | Started | 17002 | foobar

Are you on Windows or Linux ?

I checked and etc seems OK.

Regards
JB

On 09/27/2017 06:54 PM, Martin Lichtin wrote:
> Wanted to ask if the "instance" feature is working for anyone in 4.0.10? It no 
> longer does for me.
> It seems the instance:create is not populating 'etc' with all the necessary files.

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com