You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Willem Jiang <wi...@gmail.com> on 2010/01/23 04:13:16 UTC

question about Karaf admin:create

Hi,

I tried to use admin:create to create a new instance in apache 
ServiceMix 4.1, but the instance doesn't pick up the configuration files 
from $SERVICEMIX_HOME/etc, it uses the configuration from karaf.
It will cause some trouble if I just want fork a new instance of ServiceMix.

I also checked the admin:create command, there is no option for the set 
the configures files' location.

As you know, ServiceMix has some customer configurations which is 
different from the karaf one. Can we add this feature in ServiceMix or 
Karaf admin command?


Willem

Re: question about Karaf admin:create

Posted by Willem Jiang <wi...@gmail.com>.
Hi Guillaume,

I just submitted a patch as you suggested here[1], please feel free to 
review it.

[1] https://issues.apache.org/jira/browse/FELIX-2011

Willem

Guillaume Nodet wrote:
> I'm wondering if the admin:create command should copy the
> $KARAF_HOME/etc folder into $KARAF_BASE/etc folder instead of
> extracting the files from the internal bundle.
> That way, if the user has made any changes to the config, they would
> be available in the new instance too.
> 
> On Sat, Jan 23, 2010 at 04:13, Willem Jiang <wi...@gmail.com> wrote:
>> Hi,
>>
>> I tried to use admin:create to create a new instance in apache ServiceMix
>> 4.1, but the instance doesn't pick up the configuration files from
>> $SERVICEMIX_HOME/etc, it uses the configuration from karaf.
>> It will cause some trouble if I just want fork a new instance of ServiceMix.
>>
>> I also checked the admin:create command, there is no option for the set the
>> configures files' location.
>>
>> As you know, ServiceMix has some customer configurations which is different
>> from the karaf one. Can we add this feature in ServiceMix or Karaf admin
>> command?
>>
>>
>> Willem
>>
> 
> 
> 


Re: question about Karaf admin:create

Posted by Guillaume Nodet <gn...@gmail.com>.
I'm wondering if the admin:create command should copy the
$KARAF_HOME/etc folder into $KARAF_BASE/etc folder instead of
extracting the files from the internal bundle.
That way, if the user has made any changes to the config, they would
be available in the new instance too.

On Sat, Jan 23, 2010 at 04:13, Willem Jiang <wi...@gmail.com> wrote:
> Hi,
>
> I tried to use admin:create to create a new instance in apache ServiceMix
> 4.1, but the instance doesn't pick up the configuration files from
> $SERVICEMIX_HOME/etc, it uses the configuration from karaf.
> It will cause some trouble if I just want fork a new instance of ServiceMix.
>
> I also checked the admin:create command, there is no option for the set the
> configures files' location.
>
> As you know, ServiceMix has some customer configurations which is different
> from the karaf one. Can we add this feature in ServiceMix or Karaf admin
> command?
>
>
> Willem
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com