You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Leonid Ilyevsky <le...@db.com> on 2009/04/24 17:15:18 UTC

How to start

I am very new to Felix, and I need some help to start. I was trying to 
follow a tutorial on 
http://felix.apache.org/site/apache-felix-usage-documentation.html and got 
stuck.

First of all, how to download and install. On the download page I see many 
jar files. If I want to start Felix and play with it, what is the minimum 
set I have to download?

It says there:

---------------------
Start Felix from the installation directory by typing:
java -jar bin/felix.jar
_________
How do I get the "bin/felix.jar" ? Which package contains that?
Since it is supposed to be an executable jar, I guessed it might be 
"Main", so I downloaded that. But it is called 
"org.apache.felix.main-1.6.0.jar", not "felix.jar".
Then I tried it:

        java -jar org.apache.felix.main-1.6.0.jar

and I got the following:

No config.properties found.

Welcome to Felix.
=================

Then it hangs. 

So basically I need to understand  the following:

1. What to download and where to put it.
2. How to configure and start it.

Thanks in advance for your help.

Leonid

---
This communication may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this communication
in error) please notify the sender immediately and destroy this
communication. Any unauthorized copying, disclosure or distribution of the
material in this communication is strictly forbidden.

Deutsche Bank does not render legal or tax advice, and the information
contained in this communication should not be regarded as such.

Re: How to start

Posted by Kirk Knoernschild <pr...@kirkk.com>.
I've got quite a few tutorials on my website. Check out http://techdistrict.kirkk.com/2009/02/19/osgi-post-summary/ 
.

Then, take a look at the Simple OSGi Service and OSGi and Embedded  
Jetty examples. There are a few others that show some different  
development scenarios, as well.

Kirk Knoernschild
http://www.kirkk.com
http://techdistrict.kirkk.com
http://planet.kirkk.com
twitter: pragkirk




On Apr 24, 2009, at Apr 24, 10:15 AM, Leonid Ilyevsky wrote:

> I am very new to Felix, and I need some help to start. I was trying to
> follow a tutorial on
> http://felix.apache.org/site/apache-felix-usage-documentation.html  
> and got
> stuck.
>
> First of all, how to download and install. On the download page I  
> see many
> jar files. If I want to start Felix and play with it, what is the  
> minimum
> set I have to download?
>
> It says there:
>
> ---------------------
> Start Felix from the installation directory by typing:
> java -jar bin/felix.jar
> _________
> How do I get the "bin/felix.jar" ? Which package contains that?
> Since it is supposed to be an executable jar, I guessed it might be
> "Main", so I downloaded that. But it is called
> "org.apache.felix.main-1.6.0.jar", not "felix.jar".
> Then I tried it:
>
>        java -jar org.apache.felix.main-1.6.0.jar
>
> and I got the following:
>
> No config.properties found.
>
> Welcome to Felix.
> =================
>
> Then it hangs.
>
> So basically I need to understand  the following:
>
> 1. What to download and where to put it.
> 2. How to configure and start it.
>
> Thanks in advance for your help.
>
> Leonid
>
> ---
> This communication may contain confidential and/or privileged  
> information.
> If you are not the intended recipient (or have received this  
> communication
> in error) please notify the sender immediately and destroy this
> communication. Any unauthorized copying, disclosure or distribution  
> of the
> material in this communication is strictly forbidden.
>
> Deutsche Bank does not render legal or tax advice, and the information
> contained in this communication should not be regarded as such.


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


Re: How to start

Posted by "Richard S. Hall" <he...@ungoverned.org>.
On 4/24/09 11:37 AM, Clement Escoffier wrote:
>
> On 24.04.2009, at 17:26, Leonid Ilyevsky wrote:
>
>> Thanks Clement, that worked.
>>
>> Just wonder: what is the purpose of org.apache.felix.main-1.6.0.jar ? Is
>> it just a part of felix.jar ?
>
> Main is just the project assembling the zip that you downloaded + the 
> launcher class (the main class launched when you execute java -jar 
> bin/felix.jar).

Essentially:

org.apache.felix.framework-1.6.0.jar + Main.class == 
org.apache.felix.main-1.6.0.jar == felix.jar

We only rename it to felix.jar to make it a little easier to type.

It sounds like we need to update our getting starting document to 
mention which file to download...

-> richard

>
> Clement
>
>>
>>
>>
>>
>>
>> Clement Escoffier <cl...@gmail.com>
>> 04/24/2009 11:18 AM
>> Please respond to
>> users@felix.apache.org
>>
>>
>> To
>> users@felix.apache.org
>> cc
>>
>> Subject
>> Re: How to start
>>
>>
>>
>>
>>
>>
>>
>> On 24.04.2009, at 17:15, Leonid Ilyevsky wrote:
>>
>>> I am very new to Felix, and I need some help to start. I was trying to
>>> follow a tutorial on
>>> http://felix.apache.org/site/apache-felix-usage-documentation.html
>>> and got
>>> stuck.
>>>
>>> First of all, how to download and install. On the download page I
>>> see many
>>> jar files. If I want to start Felix and play with it, what is the
>>> minimum
>>> set I have to download?
>>
>> Hi,
>>
>> Just download and unzip Felix 1.6.0 (
>> http://mirror.moooo.org/apache/felix/felix-1.6.0.zip
>> )
>>
>> Go in the folder were you unzip it, and launch felix with java -jar
>> bin/felix.jar
>>
>> (obviously, 'java' must be in your path).
>>
>>
>> Regards,
>>
>> Clement
>>
>>>
>>>
>>> It says there:
>>>
>>> ---------------------
>>> Start Felix from the installation directory by typing:
>>> java -jar bin/felix.jar
>>> _________
>>> How do I get the "bin/felix.jar" ? Which package contains that?
>>> Since it is supposed to be an executable jar, I guessed it might be
>>> "Main", so I downloaded that. But it is called
>>> "org.apache.felix.main-1.6.0.jar", not "felix.jar".
>>> Then I tried it:
>>>
>>>       java -jar org.apache.felix.main-1.6.0.jar
>>>
>>> and I got the following:
>>>
>>> No config.properties found.
>>>
>>> Welcome to Felix.
>>> =================
>>>
>>> Then it hangs.
>>>
>>> So basically I need to understand  the following:
>>>
>>> 1. What to download and where to put it.
>>> 2. How to configure and start it.
>>>
>>> Thanks in advance for your help.
>>>
>>> Leonid
>>>
>>> ---
>>> This communication may contain confidential and/or privileged
>>> information.
>>> If you are not the intended recipient (or have received this
>>> communication
>>> in error) please notify the sender immediately and destroy this
>>> communication. Any unauthorized copying, disclosure or distribution
>>> of the
>>> material in this communication is strictly forbidden.
>>>
>>> Deutsche Bank does not render legal or tax advice, and the information
>>> contained in this communication should not be regarded as such.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>>
>>
>> ---
>> This communication may contain confidential and/or privileged 
>> information.
>> If you are not the intended recipient (or have received this 
>> communication
>> in error) please notify the sender immediately and destroy this
>> communication. Any unauthorized copying, disclosure or distribution 
>> of the
>> material in this communication is strictly forbidden.
>>
>> Deutsche Bank does not render legal or tax advice, and the information
>> contained in this communication should not be regarded as such.
>
>
> ---------------------------------------------------------------------
> 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: How to start

Posted by Clement Escoffier <cl...@gmail.com>.
On 24.04.2009, at 17:26, Leonid Ilyevsky wrote:

> Thanks Clement, that worked.
>
> Just wonder: what is the purpose of  
> org.apache.felix.main-1.6.0.jar ? Is
> it just a part of felix.jar ?

Main is just the project assembling the zip that you downloaded + the  
launcher class (the main class launched when you execute java -jar bin/ 
felix.jar).

Clement

>
>
>
>
>
> Clement Escoffier <cl...@gmail.com>
> 04/24/2009 11:18 AM
> Please respond to
> users@felix.apache.org
>
>
> To
> users@felix.apache.org
> cc
>
> Subject
> Re: How to start
>
>
>
>
>
>
>
> On 24.04.2009, at 17:15, Leonid Ilyevsky wrote:
>
>> I am very new to Felix, and I need some help to start. I was trying  
>> to
>> follow a tutorial on
>> http://felix.apache.org/site/apache-felix-usage-documentation.html
>> and got
>> stuck.
>>
>> First of all, how to download and install. On the download page I
>> see many
>> jar files. If I want to start Felix and play with it, what is the
>> minimum
>> set I have to download?
>
> Hi,
>
> Just download and unzip Felix 1.6.0 (
> http://mirror.moooo.org/apache/felix/felix-1.6.0.zip
> )
>
> Go in the folder were you unzip it, and launch felix with java -jar
> bin/felix.jar
>
> (obviously, 'java' must be in your path).
>
>
> Regards,
>
> Clement
>
>>
>>
>> It says there:
>>
>> ---------------------
>> Start Felix from the installation directory by typing:
>> java -jar bin/felix.jar
>> _________
>> How do I get the "bin/felix.jar" ? Which package contains that?
>> Since it is supposed to be an executable jar, I guessed it might be
>> "Main", so I downloaded that. But it is called
>> "org.apache.felix.main-1.6.0.jar", not "felix.jar".
>> Then I tried it:
>>
>>       java -jar org.apache.felix.main-1.6.0.jar
>>
>> and I got the following:
>>
>> No config.properties found.
>>
>> Welcome to Felix.
>> =================
>>
>> Then it hangs.
>>
>> So basically I need to understand  the following:
>>
>> 1. What to download and where to put it.
>> 2. How to configure and start it.
>>
>> Thanks in advance for your help.
>>
>> Leonid
>>
>> ---
>> This communication may contain confidential and/or privileged
>> information.
>> If you are not the intended recipient (or have received this
>> communication
>> in error) please notify the sender immediately and destroy this
>> communication. Any unauthorized copying, disclosure or distribution
>> of the
>> material in this communication is strictly forbidden.
>>
>> Deutsche Bank does not render legal or tax advice, and the  
>> information
>> contained in this communication should not be regarded as such.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
>
>
> ---
> This communication may contain confidential and/or privileged  
> information.
> If you are not the intended recipient (or have received this  
> communication
> in error) please notify the sender immediately and destroy this
> communication. Any unauthorized copying, disclosure or distribution  
> of the
> material in this communication is strictly forbidden.
>
> Deutsche Bank does not render legal or tax advice, and the information
> contained in this communication should not be regarded as such.


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


Re: How to start

Posted by Leonid Ilyevsky <le...@db.com>.
Thanks Clement, that worked.

Just wonder: what is the purpose of org.apache.felix.main-1.6.0.jar ? Is 
it just a part of felix.jar ?




Clement Escoffier <cl...@gmail.com> 
04/24/2009 11:18 AM
Please respond to
users@felix.apache.org


To
users@felix.apache.org
cc

Subject
Re: How to start







On 24.04.2009, at 17:15, Leonid Ilyevsky wrote:

> I am very new to Felix, and I need some help to start. I was trying to
> follow a tutorial on
> http://felix.apache.org/site/apache-felix-usage-documentation.html 
> and got
> stuck.
>
> First of all, how to download and install. On the download page I 
> see many
> jar files. If I want to start Felix and play with it, what is the 
> minimum
> set I have to download?

Hi,

Just download and unzip Felix 1.6.0 (
http://mirror.moooo.org/apache/felix/felix-1.6.0.zip 
)

Go in the folder were you unzip it, and launch felix with java -jar 
bin/felix.jar

(obviously, 'java' must be in your path).


Regards,

Clement

>
>
> It says there:
>
> ---------------------
> Start Felix from the installation directory by typing:
> java -jar bin/felix.jar
> _________
> How do I get the "bin/felix.jar" ? Which package contains that?
> Since it is supposed to be an executable jar, I guessed it might be
> "Main", so I downloaded that. But it is called
> "org.apache.felix.main-1.6.0.jar", not "felix.jar".
> Then I tried it:
>
>        java -jar org.apache.felix.main-1.6.0.jar
>
> and I got the following:
>
> No config.properties found.
>
> Welcome to Felix.
> =================
>
> Then it hangs.
>
> So basically I need to understand  the following:
>
> 1. What to download and where to put it.
> 2. How to configure and start it.
>
> Thanks in advance for your help.
>
> Leonid
>
> ---
> This communication may contain confidential and/or privileged 
> information.
> If you are not the intended recipient (or have received this 
> communication
> in error) please notify the sender immediately and destroy this
> communication. Any unauthorized copying, disclosure or distribution 
> of the
> material in this communication is strictly forbidden.
>
> Deutsche Bank does not render legal or tax advice, and the information
> contained in this communication should not be regarded as such.


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




---
This communication may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this communication
in error) please notify the sender immediately and destroy this
communication. Any unauthorized copying, disclosure or distribution of the
material in this communication is strictly forbidden.

Deutsche Bank does not render legal or tax advice, and the information
contained in this communication should not be regarded as such.

Re: How to start

Posted by Clement Escoffier <cl...@gmail.com>.
On 24.04.2009, at 17:15, Leonid Ilyevsky wrote:

> I am very new to Felix, and I need some help to start. I was trying to
> follow a tutorial on
> http://felix.apache.org/site/apache-felix-usage-documentation.html  
> and got
> stuck.
>
> First of all, how to download and install. On the download page I  
> see many
> jar files. If I want to start Felix and play with it, what is the  
> minimum
> set I have to download?

Hi,

Just download and unzip Felix 1.6.0 (http://mirror.moooo.org/apache/felix/felix-1.6.0.zip 
)

Go in the folder were you unzip it, and launch felix with java -jar  
bin/felix.jar

(obviously, 'java' must be in your path).


Regards,

Clement

>
>
> It says there:
>
> ---------------------
> Start Felix from the installation directory by typing:
> java -jar bin/felix.jar
> _________
> How do I get the "bin/felix.jar" ? Which package contains that?
> Since it is supposed to be an executable jar, I guessed it might be
> "Main", so I downloaded that. But it is called
> "org.apache.felix.main-1.6.0.jar", not "felix.jar".
> Then I tried it:
>
>        java -jar org.apache.felix.main-1.6.0.jar
>
> and I got the following:
>
> No config.properties found.
>
> Welcome to Felix.
> =================
>
> Then it hangs.
>
> So basically I need to understand  the following:
>
> 1. What to download and where to put it.
> 2. How to configure and start it.
>
> Thanks in advance for your help.
>
> Leonid
>
> ---
> This communication may contain confidential and/or privileged  
> information.
> If you are not the intended recipient (or have received this  
> communication
> in error) please notify the sender immediately and destroy this
> communication. Any unauthorized copying, disclosure or distribution  
> of the
> material in this communication is strictly forbidden.
>
> Deutsche Bank does not render legal or tax advice, and the information
> contained in this communication should not be regarded as such.


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