You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Craig Dickson <cr...@gmail.com> on 2010/01/25 06:41:32 UTC

SCR not available in Shell

Hi,

I am trying to use the scr tool within the shell and the command is unknown.

-> scr
Command not found.
-> help scr
-> version
2.0.1
-> 

This is a vanilla install of Felix, I haven't done anything special yet. I started the shell using the example form the docs:

java -jar bin/felix.jar

Is there something I have to do to add SCR support?

Thanks

==========================
Craig S. Dickson
http://craigsdickson.com
http://twitter.com/craigsdickson









Re: SCR not available in Shell

Posted by Daniel Bimschas <bi...@itm.uni-luebeck.de>.
Hi Guillame, Felix,

I just created a JIRA issue (https://issues.apache.org/jira/browse/FELIX-2024) for the SCR commands for the Karaf project so that it's not forgotten. I hope it fit's there ;-)

Kind regards,
Daniel

Am 27.01.2010 um 10:52 schrieb Guillaume Nodet:

> I'm not aware of any scr related commands, but that would surely be a
> good addition.
> 
> On Wed, Jan 27, 2010 at 07:52, Felix Meschberger <fm...@gmail.com> wrote:
>> Hi,
>> 
>> On 27.01.2010 07:31, Daniel Bimschas wrote:
>>> Btw... reading this, I wonder if there's an implementation of SCR commands for the Karaf Shell. Is there? In work?
>> 
>> This would be interesting to have (and would happily apply a patch, if
>> needed).
>> 
>> But I don't know of any works here ...
>> 
>> Regards
>> Felix
>> 
>>> 
>>> Kind regards,
>>> Daniel
>>> 
>>> Am 27.01.2010 um 07:14 schrieb Felix Meschberger:
>>> 
>>>> Hi,
>>>> 
>>>> On 27.01.2010 05:36, Craig Dickson wrote:
>>>>> Thanks Felix.
>>>>> 
>>>>> I dropped the SCR jar and also the OSGI compendium jar into the bundle directory and now the scr commands are available.
>>>> 
>>>> The compendium jar is not needed because the SCR jar already exports the
>>>> implemented API.
>>>> 
>>>> Regards
>>>> Felix
>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On Jan 24, 2010, at 10:57 PM, Felix Meschberger wrote:
>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> You also have to install the Apache Felix SCR bundle. The scr commands
>>>>>> are provided by the Declarative Services implementation bundle.
>>>>>> 
>>>>>> If you already had installed it before installing the shell, you might
>>>>>> have to refresh the SCR bundle for it to bind to the Shell Service API
>>>>>> package.
>>>>>> 
>>>>>> Regards
>>>>>> Felix
>>>>>> 
>>>>>> On 25.01.2010 06:41, Craig Dickson wrote:
>>>>>>> Hi,
>>>>>>> 
>>>>>>> I am trying to use the scr tool within the shell and the command is unknown.
>>>>>>> 
>>>>>>> -> scr
>>>>>>> Command not found.
>>>>>>> -> help scr
>>>>>>> -> version
>>>>>>> 2.0.1
>>>>>>> ->
>>>>>>> 
>>>>>>> This is a vanilla install of Felix, I haven't done anything special yet. I started the shell using the example form the docs:
>>>>>>> 
>>>>>>> java -jar bin/felix.jar
>>>>>>> 
>>>>>>> Is there something I have to do to add SCR support?
>>>>>>> 
>>>>>>> Thanks
>>>>>>> 
>>>>>>> ==========================
>>>>>>> Craig S. Dickson
>>>>>>> http://craigsdickson.com
>>>>>>> http://twitter.com/craigsdickson
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>> 
>>>>> 
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>> 
>>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>> 
>>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>> 
>> 
> 
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 

-- 
M.Sc. Daniel Bimschas
Institute of Telematics, University of Lübeck
http://www.itm.uni-luebeck.de/users/bimschas
Ratzeburger Allee 160, 23538 Lübeck, Germany
Phone: +49 451 500 5389


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: SCR not available in Shell

Posted by Guillaume Nodet <gn...@gmail.com>.
I'm not aware of any scr related commands, but that would surely be a
good addition.

On Wed, Jan 27, 2010 at 07:52, Felix Meschberger <fm...@gmail.com> wrote:
> Hi,
>
> On 27.01.2010 07:31, Daniel Bimschas wrote:
>> Btw... reading this, I wonder if there's an implementation of SCR commands for the Karaf Shell. Is there? In work?
>
> This would be interesting to have (and would happily apply a patch, if
> needed).
>
> But I don't know of any works here ...
>
> Regards
> Felix
>
>>
>> Kind regards,
>> Daniel
>>
>> Am 27.01.2010 um 07:14 schrieb Felix Meschberger:
>>
>>> Hi,
>>>
>>> On 27.01.2010 05:36, Craig Dickson wrote:
>>>> Thanks Felix.
>>>>
>>>> I dropped the SCR jar and also the OSGI compendium jar into the bundle directory and now the scr commands are available.
>>>
>>> The compendium jar is not needed because the SCR jar already exports the
>>> implemented API.
>>>
>>> Regards
>>> Felix
>>>
>>>>
>>>>
>>>>
>>>> On Jan 24, 2010, at 10:57 PM, Felix Meschberger wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> You also have to install the Apache Felix SCR bundle. The scr commands
>>>>> are provided by the Declarative Services implementation bundle.
>>>>>
>>>>> If you already had installed it before installing the shell, you might
>>>>> have to refresh the SCR bundle for it to bind to the Shell Service API
>>>>> package.
>>>>>
>>>>> Regards
>>>>> Felix
>>>>>
>>>>> On 25.01.2010 06:41, Craig Dickson wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I am trying to use the scr tool within the shell and the command is unknown.
>>>>>>
>>>>>> -> scr
>>>>>> Command not found.
>>>>>> -> help scr
>>>>>> -> version
>>>>>> 2.0.1
>>>>>> ->
>>>>>>
>>>>>> This is a vanilla install of Felix, I haven't done anything special yet. I started the shell using the example form the docs:
>>>>>>
>>>>>> java -jar bin/felix.jar
>>>>>>
>>>>>> Is there something I have to do to add SCR support?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> ==========================
>>>>>> Craig S. Dickson
>>>>>> http://craigsdickson.com
>>>>>> http://twitter.com/craigsdickson
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>



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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: SCR not available in Shell

Posted by Felix Meschberger <fm...@gmail.com>.
Hi,

On 27.01.2010 07:31, Daniel Bimschas wrote:
> Btw... reading this, I wonder if there's an implementation of SCR commands for the Karaf Shell. Is there? In work?

This would be interesting to have (and would happily apply a patch, if
needed).

But I don't know of any works here ...

Regards
Felix

> 
> Kind regards,
> Daniel
> 
> Am 27.01.2010 um 07:14 schrieb Felix Meschberger:
> 
>> Hi,
>>
>> On 27.01.2010 05:36, Craig Dickson wrote:
>>> Thanks Felix.
>>>
>>> I dropped the SCR jar and also the OSGI compendium jar into the bundle directory and now the scr commands are available.
>>
>> The compendium jar is not needed because the SCR jar already exports the
>> implemented API.
>>
>> Regards
>> Felix
>>
>>>
>>>
>>>
>>> On Jan 24, 2010, at 10:57 PM, Felix Meschberger wrote:
>>>
>>>> Hi,
>>>>
>>>> You also have to install the Apache Felix SCR bundle. The scr commands
>>>> are provided by the Declarative Services implementation bundle.
>>>>
>>>> If you already had installed it before installing the shell, you might
>>>> have to refresh the SCR bundle for it to bind to the Shell Service API
>>>> package.
>>>>
>>>> Regards
>>>> Felix
>>>>
>>>> On 25.01.2010 06:41, Craig Dickson wrote:
>>>>> Hi,
>>>>>
>>>>> I am trying to use the scr tool within the shell and the command is unknown.
>>>>>
>>>>> -> scr
>>>>> Command not found.
>>>>> -> help scr
>>>>> -> version
>>>>> 2.0.1
>>>>> -> 
>>>>>
>>>>> This is a vanilla install of Felix, I haven't done anything special yet. I started the shell using the example form the docs:
>>>>>
>>>>> java -jar bin/felix.jar
>>>>>
>>>>> Is there something I have to do to add SCR support?
>>>>>
>>>>> Thanks
>>>>>
>>>>> ==========================
>>>>> Craig S. Dickson
>>>>> http://craigsdickson.com
>>>>> http://twitter.com/craigsdickson
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: SCR not available in Shell

Posted by Daniel Bimschas <bi...@itm.uni-luebeck.de>.
Btw... reading this, I wonder if there's an implementation of SCR commands for the Karaf Shell. Is there? In work?

Kind regards,
Daniel

Am 27.01.2010 um 07:14 schrieb Felix Meschberger:

> Hi,
> 
> On 27.01.2010 05:36, Craig Dickson wrote:
>> Thanks Felix.
>> 
>> I dropped the SCR jar and also the OSGI compendium jar into the bundle directory and now the scr commands are available.
> 
> The compendium jar is not needed because the SCR jar already exports the
> implemented API.
> 
> Regards
> Felix
> 
>> 
>> 
>> 
>> On Jan 24, 2010, at 10:57 PM, Felix Meschberger wrote:
>> 
>>> Hi,
>>> 
>>> You also have to install the Apache Felix SCR bundle. The scr commands
>>> are provided by the Declarative Services implementation bundle.
>>> 
>>> If you already had installed it before installing the shell, you might
>>> have to refresh the SCR bundle for it to bind to the Shell Service API
>>> package.
>>> 
>>> Regards
>>> Felix
>>> 
>>> On 25.01.2010 06:41, Craig Dickson wrote:
>>>> Hi,
>>>> 
>>>> I am trying to use the scr tool within the shell and the command is unknown.
>>>> 
>>>> -> scr
>>>> Command not found.
>>>> -> help scr
>>>> -> version
>>>> 2.0.1
>>>> -> 
>>>> 
>>>> This is a vanilla install of Felix, I haven't done anything special yet. I started the shell using the example form the docs:
>>>> 
>>>> java -jar bin/felix.jar
>>>> 
>>>> Is there something I have to do to add SCR support?
>>>> 
>>>> Thanks
>>>> 
>>>> ==========================
>>>> Craig S. Dickson
>>>> http://craigsdickson.com
>>>> http://twitter.com/craigsdickson
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 

-- 
M.Sc. Daniel Bimschas
Institute of Telematics, University of Lübeck
http://www.itm.uni-luebeck.de/users/bimschas
Ratzeburger Allee 160, 23538 Lübeck, Germany
Phone: +49 451 500 5389


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: SCR not available in Shell

Posted by Felix Meschberger <fm...@gmail.com>.
Hi,

On 27.01.2010 05:36, Craig Dickson wrote:
> Thanks Felix.
> 
> I dropped the SCR jar and also the OSGI compendium jar into the bundle directory and now the scr commands are available.

The compendium jar is not needed because the SCR jar already exports the
implemented API.

Regards
Felix

> 
> 
> 
> On Jan 24, 2010, at 10:57 PM, Felix Meschberger wrote:
> 
>> Hi,
>>
>> You also have to install the Apache Felix SCR bundle. The scr commands
>> are provided by the Declarative Services implementation bundle.
>>
>> If you already had installed it before installing the shell, you might
>> have to refresh the SCR bundle for it to bind to the Shell Service API
>> package.
>>
>> Regards
>> Felix
>>
>> On 25.01.2010 06:41, Craig Dickson wrote:
>>> Hi,
>>>
>>> I am trying to use the scr tool within the shell and the command is unknown.
>>>
>>> -> scr
>>> Command not found.
>>> -> help scr
>>> -> version
>>> 2.0.1
>>> -> 
>>>
>>> This is a vanilla install of Felix, I haven't done anything special yet. I started the shell using the example form the docs:
>>>
>>> java -jar bin/felix.jar
>>>
>>> Is there something I have to do to add SCR support?
>>>
>>> Thanks
>>>
>>> ==========================
>>> Craig S. Dickson
>>> http://craigsdickson.com
>>> http://twitter.com/craigsdickson
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: SCR not available in Shell

Posted by Craig Dickson <cr...@gmail.com>.
Thanks Felix.

I dropped the SCR jar and also the OSGI compendium jar into the bundle directory and now the scr commands are available.



On Jan 24, 2010, at 10:57 PM, Felix Meschberger wrote:

> Hi,
> 
> You also have to install the Apache Felix SCR bundle. The scr commands
> are provided by the Declarative Services implementation bundle.
> 
> If you already had installed it before installing the shell, you might
> have to refresh the SCR bundle for it to bind to the Shell Service API
> package.
> 
> Regards
> Felix
> 
> On 25.01.2010 06:41, Craig Dickson wrote:
>> Hi,
>> 
>> I am trying to use the scr tool within the shell and the command is unknown.
>> 
>> -> scr
>> Command not found.
>> -> help scr
>> -> version
>> 2.0.1
>> -> 
>> 
>> This is a vanilla install of Felix, I haven't done anything special yet. I started the shell using the example form the docs:
>> 
>> java -jar bin/felix.jar
>> 
>> Is there something I have to do to add SCR support?
>> 
>> Thanks
>> 
>> ==========================
>> Craig S. Dickson
>> http://craigsdickson.com
>> http://twitter.com/craigsdickson
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: SCR not available in Shell

Posted by Felix Meschberger <fm...@gmail.com>.
Hi,

You also have to install the Apache Felix SCR bundle. The scr commands
are provided by the Declarative Services implementation bundle.

If you already had installed it before installing the shell, you might
have to refresh the SCR bundle for it to bind to the Shell Service API
package.

Regards
Felix

On 25.01.2010 06:41, Craig Dickson wrote:
> Hi,
> 
> I am trying to use the scr tool within the shell and the command is unknown.
> 
> -> scr
> Command not found.
> -> help scr
> -> version
> 2.0.1
> -> 
> 
> This is a vanilla install of Felix, I haven't done anything special yet. I started the shell using the example form the docs:
> 
> java -jar bin/felix.jar
> 
> Is there something I have to do to add SCR support?
> 
> Thanks
> 
> ==========================
> Craig S. Dickson
> http://craigsdickson.com
> http://twitter.com/craigsdickson
> 
> 
> 
> 
> 
> 
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org