You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Brad A Cupit <br...@lsu.edu> on 2008/11/12 17:37:26 UTC

easy question: shapes demo

I attended Carsten Ziegeler's excellent Felix presentation at US
ApacheCon 2008 last week and I decided to play around with the 'shapes'
demo application [1]

I remember Carsten showing a UI for starting/stopping bundles, but I
can't figure out how to do that. Is it via JMX? If it's in a browser,
what url would I use?

fyi: I'm using the servicecased.host to run Felix embedded.

[1]
http://cwiki.apache.org/FELIX/apache-felix-application-demonstration.htm
l

Brad Cupit
LSU - University Information Systems

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


Re: easy question: shapes demo

Posted by "Richard S. Hall" <he...@ungoverned.org>.
Also, it should work either way, in embedded and non-embedded mode...for 
the most part this rarely makes a difference.

-> richard

Carsten Ziegeler wrote:
> Hi,
>
> thanks for the compliments! And a big part of them should go to Richard
> who prepared the presentation! Thanks Richard.
>
> Now, in the demo I installed Apache Sling which includes the Felix
> webconsole. This allowed me to demo the shapes app and another
> subproject from Felix, the webconsole.
>
> I think in your case, the shell console would be a better option - the
> ui is not that ehm fancy as the webconsole, but it shows pretty well
> what's going on wrt to bundle starts etc.
>
> Carsten
>
> Brad A Cupit wrote:
>   
>> I take it this would require that I run the Felix as non-embedded, right?
>>
>> Basically, I just want to show my supervisor how it handles starting and stopping bundles, and I'd favor the easiest possible setup.
>>
>> Would the shell console be a better option?
>>
>> Brad Cupit
>> LSU - University Information Systems
>>
>> -----Original Message-----
>> From: Reto Bachmann-Gmür [mailto:reto.bachmann@trialox.org] 
>> Sent: Wednesday, November 12, 2008 10:49 AM
>> To: users@felix.apache.org
>> Subject: Re: easy question: shapes demo
>>
>> You need to install and start the web management console (look for "web
>> console" on http://felix.apache.org/site/downloads.cgi) and point your
>> browser to http://localhost:8080/system/console
>>
>> reto
>>
>> Brad A Cupit said the following on 2008-11-12 17:37:
>>     
>>> I attended Carsten Ziegeler's excellent Felix presentation at US
>>> ApacheCon 2008 last week and I decided to play around with the 'shapes'
>>> demo application [1]
>>>
>>> I remember Carsten showing a UI for starting/stopping bundles, but I
>>> can't figure out how to do that. Is it via JMX? If it's in a browser,
>>> what url would I use?
>>>
>>> fyi: I'm using the servicecased.host to run Felix embedded.
>>>
>>> [1]
>>> http://cwiki.apache.org/FELIX/apache-felix-application-demonstration.htm
>>> l
>>>
>>> Brad Cupit
>>> LSU - University Information Systems
>>>
>>> ---------------------------------------------------------------------
>>> 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: easy question: shapes demo

Posted by "Richard S. Hall" <he...@ungoverned.org>.
Brad A Cupit wrote:
> ok, I got it all working in non-embedded mode and using the shell console.
>
> I tried getting the web console to work (http://felix.apache.org/site/apache-felix-web-console.html), but I had issues getting PAX Web Service to run (first it complained about org.osgi.service.cm which I solved by installing and running Felix's Config Admin, then it complained about org.osgi.service.http and I got stuck there).
>
> turns out the shell console works just fine for me.
>
> For anyone following this thread in the future:
> * download and unzip felix.zip from this link http://felix.apache.org/site/downloads.cgi
> * follow these instructions to start Felix:
> http://felix.apache.org/site/apache-felix-usage-documentation.html
> * enter a random profile name
>   

For the newly released Felix 1.4.0, you won't need to enter a profile 
name...so the directions are a little simpler. :-)

-> richard

> * put the 4 servicebased.XXX.jar files in the root felix-1.2.x directory
> * install file:servicedbased.XXX-1.0.0.jar for each of the four jars
> * start <bundle_id> for each of the 4 jars
>
> then you can run 'stop <bundle_id>' to and see what happens.
> Very cool!
> Thanks for the help guys!
>
> Brad Cupit
> LSU - University Information Systems
>
> -----Original Message-----
> From: Carsten Ziegeler [mailto:cziegeler@apache.org] 
> Sent: Wednesday, November 12, 2008 11:29 AM
> To: users@felix.apache.org
> Subject: Re: easy question: shapes demo
>
> Hi,
>
> thanks for the compliments! And a big part of them should go to Richard
> who prepared the presentation! Thanks Richard.
>
> Now, in the demo I installed Apache Sling which includes the Felix
> webconsole. This allowed me to demo the shapes app and another
> subproject from Felix, the webconsole.
>
> I think in your case, the shell console would be a better option - the
> ui is not that ehm fancy as the webconsole, but it shows pretty well
> what's going on wrt to bundle starts etc.
>
> Carsten
>
> Brad A Cupit wrote:
>   
>> I take it this would require that I run the Felix as non-embedded, right?
>>
>> Basically, I just want to show my supervisor how it handles starting and stopping bundles, and I'd favor the easiest possible setup.
>>
>> Would the shell console be a better option?
>>
>> Brad Cupit
>> LSU - University Information Systems
>>
>> -----Original Message-----
>> From: Reto Bachmann-Gmür [mailto:reto.bachmann@trialox.org] 
>> Sent: Wednesday, November 12, 2008 10:49 AM
>> To: users@felix.apache.org
>> Subject: Re: easy question: shapes demo
>>
>> You need to install and start the web management console (look for "web
>> console" on http://felix.apache.org/site/downloads.cgi) and point your
>> browser to http://localhost:8080/system/console
>>
>> reto
>>
>> Brad A Cupit said the following on 2008-11-12 17:37:
>>     
>>> I attended Carsten Ziegeler's excellent Felix presentation at US
>>> ApacheCon 2008 last week and I decided to play around with the 'shapes'
>>> demo application [1]
>>>
>>> I remember Carsten showing a UI for starting/stopping bundles, but I
>>> can't figure out how to do that. Is it via JMX? If it's in a browser,
>>> what url would I use?
>>>
>>> fyi: I'm using the servicecased.host to run Felix embedded.
>>>
>>> [1]
>>> http://cwiki.apache.org/FELIX/apache-felix-application-demonstration.htm
>>> l
>>>
>>> Brad Cupit
>>> LSU - University Information Systems
>>>
>>> ---------------------------------------------------------------------
>>> 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: easy question: shapes demo

Posted by Brad A Cupit <br...@lsu.edu>.
ok, I got it all working in non-embedded mode and using the shell console.

I tried getting the web console to work (http://felix.apache.org/site/apache-felix-web-console.html), but I had issues getting PAX Web Service to run (first it complained about org.osgi.service.cm which I solved by installing and running Felix's Config Admin, then it complained about org.osgi.service.http and I got stuck there).

turns out the shell console works just fine for me.

For anyone following this thread in the future:
* download and unzip felix.zip from this link http://felix.apache.org/site/downloads.cgi
* follow these instructions to start Felix:
http://felix.apache.org/site/apache-felix-usage-documentation.html
* enter a random profile name
* put the 4 servicebased.XXX.jar files in the root felix-1.2.x directory
* install file:servicedbased.XXX-1.0.0.jar for each of the four jars
* start <bundle_id> for each of the 4 jars

then you can run 'stop <bundle_id>' to and see what happens.
Very cool!
Thanks for the help guys!

Brad Cupit
LSU - University Information Systems

-----Original Message-----
From: Carsten Ziegeler [mailto:cziegeler@apache.org] 
Sent: Wednesday, November 12, 2008 11:29 AM
To: users@felix.apache.org
Subject: Re: easy question: shapes demo

Hi,

thanks for the compliments! And a big part of them should go to Richard
who prepared the presentation! Thanks Richard.

Now, in the demo I installed Apache Sling which includes the Felix
webconsole. This allowed me to demo the shapes app and another
subproject from Felix, the webconsole.

I think in your case, the shell console would be a better option - the
ui is not that ehm fancy as the webconsole, but it shows pretty well
what's going on wrt to bundle starts etc.

Carsten

Brad A Cupit wrote:
> I take it this would require that I run the Felix as non-embedded, right?
> 
> Basically, I just want to show my supervisor how it handles starting and stopping bundles, and I'd favor the easiest possible setup.
> 
> Would the shell console be a better option?
> 
> Brad Cupit
> LSU - University Information Systems
> 
> -----Original Message-----
> From: Reto Bachmann-Gmür [mailto:reto.bachmann@trialox.org] 
> Sent: Wednesday, November 12, 2008 10:49 AM
> To: users@felix.apache.org
> Subject: Re: easy question: shapes demo
> 
> You need to install and start the web management console (look for "web
> console" on http://felix.apache.org/site/downloads.cgi) and point your
> browser to http://localhost:8080/system/console
> 
> reto
> 
> Brad A Cupit said the following on 2008-11-12 17:37:
>> I attended Carsten Ziegeler's excellent Felix presentation at US
>> ApacheCon 2008 last week and I decided to play around with the 'shapes'
>> demo application [1]
>>
>> I remember Carsten showing a UI for starting/stopping bundles, but I
>> can't figure out how to do that. Is it via JMX? If it's in a browser,
>> what url would I use?
>>
>> fyi: I'm using the servicecased.host to run Felix embedded.
>>
>> [1]
>> http://cwiki.apache.org/FELIX/apache-felix-application-demonstration.htm
>> l
>>
>> Brad Cupit
>> LSU - University Information Systems
>>
>> ---------------------------------------------------------------------
>> 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
> 
> 


-- 
Carsten Ziegeler
cziegeler@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: easy question: shapes demo

Posted by Carsten Ziegeler <cz...@apache.org>.
Hi,

thanks for the compliments! And a big part of them should go to Richard
who prepared the presentation! Thanks Richard.

Now, in the demo I installed Apache Sling which includes the Felix
webconsole. This allowed me to demo the shapes app and another
subproject from Felix, the webconsole.

I think in your case, the shell console would be a better option - the
ui is not that ehm fancy as the webconsole, but it shows pretty well
what's going on wrt to bundle starts etc.

Carsten

Brad A Cupit wrote:
> I take it this would require that I run the Felix as non-embedded, right?
> 
> Basically, I just want to show my supervisor how it handles starting and stopping bundles, and I'd favor the easiest possible setup.
> 
> Would the shell console be a better option?
> 
> Brad Cupit
> LSU - University Information Systems
> 
> -----Original Message-----
> From: Reto Bachmann-Gmür [mailto:reto.bachmann@trialox.org] 
> Sent: Wednesday, November 12, 2008 10:49 AM
> To: users@felix.apache.org
> Subject: Re: easy question: shapes demo
> 
> You need to install and start the web management console (look for "web
> console" on http://felix.apache.org/site/downloads.cgi) and point your
> browser to http://localhost:8080/system/console
> 
> reto
> 
> Brad A Cupit said the following on 2008-11-12 17:37:
>> I attended Carsten Ziegeler's excellent Felix presentation at US
>> ApacheCon 2008 last week and I decided to play around with the 'shapes'
>> demo application [1]
>>
>> I remember Carsten showing a UI for starting/stopping bundles, but I
>> can't figure out how to do that. Is it via JMX? If it's in a browser,
>> what url would I use?
>>
>> fyi: I'm using the servicecased.host to run Felix embedded.
>>
>> [1]
>> http://cwiki.apache.org/FELIX/apache-felix-application-demonstration.htm
>> l
>>
>> Brad Cupit
>> LSU - University Information Systems
>>
>> ---------------------------------------------------------------------
>> 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
> 
> 


-- 
Carsten Ziegeler
cziegeler@apache.org

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


RE: easy question: shapes demo

Posted by Brad A Cupit <br...@lsu.edu>.
I take it this would require that I run the Felix as non-embedded, right?

Basically, I just want to show my supervisor how it handles starting and stopping bundles, and I'd favor the easiest possible setup.

Would the shell console be a better option?

Brad Cupit
LSU - University Information Systems

-----Original Message-----
From: Reto Bachmann-Gmür [mailto:reto.bachmann@trialox.org] 
Sent: Wednesday, November 12, 2008 10:49 AM
To: users@felix.apache.org
Subject: Re: easy question: shapes demo

You need to install and start the web management console (look for "web
console" on http://felix.apache.org/site/downloads.cgi) and point your
browser to http://localhost:8080/system/console

reto

Brad A Cupit said the following on 2008-11-12 17:37:
> I attended Carsten Ziegeler's excellent Felix presentation at US
> ApacheCon 2008 last week and I decided to play around with the 'shapes'
> demo application [1]
>
> I remember Carsten showing a UI for starting/stopping bundles, but I
> can't figure out how to do that. Is it via JMX? If it's in a browser,
> what url would I use?
>
> fyi: I'm using the servicecased.host to run Felix embedded.
>
> [1]
> http://cwiki.apache.org/FELIX/apache-felix-application-demonstration.htm
> l
>
> Brad Cupit
> LSU - University Information Systems
>
> ---------------------------------------------------------------------
> 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: easy question: shapes demo

Posted by Reto Bachmann-Gmür <re...@trialox.org>.
You need to install and start the web management console (look for "web
console" on http://felix.apache.org/site/downloads.cgi) and point your
browser to http://localhost:8080/system/console

reto

Brad A Cupit said the following on 2008-11-12 17:37:
> I attended Carsten Ziegeler's excellent Felix presentation at US
> ApacheCon 2008 last week and I decided to play around with the 'shapes'
> demo application [1]
>
> I remember Carsten showing a UI for starting/stopping bundles, but I
> can't figure out how to do that. Is it via JMX? If it's in a browser,
> what url would I use?
>
> fyi: I'm using the servicecased.host to run Felix embedded.
>
> [1]
> http://cwiki.apache.org/FELIX/apache-felix-application-demonstration.htm
> l
>
> Brad Cupit
> LSU - University Information Systems
>
> ---------------------------------------------------------------------
> 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: maven build for dependencymanager?

Posted by Stuart McCulloch <mc...@gmail.com>.
2008/11/16 Richard S. Hall <he...@ungoverned.org>

>
> Marcel Offermans wrote:
>
>>
>> I'm sure we can put a snapshot in a repository, but I might need a bit of
>> help from someone who knows more about Maven to do that. I have not yet cut
>> a release (something I've been meaning to do for some time now, but somehow
>> never got to it).
>>
>
> To make a snapshot available, you should just need to do "mvn deploy".
>

and the Felix release process is described here:
http://felix.apache.org/site/release-management.html


> -> richard
>
>  Greetings, Marcel
>>
>> ---------------------------------------------------------------------
>> 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, Stuart

Re: maven build for dependencymanager?

Posted by "Richard S. Hall" <he...@ungoverned.org>.

Marcel Offermans wrote:
>
> I'm sure we can put a snapshot in a repository, but I might need a bit 
> of help from someone who knows more about Maven to do that. I have not 
> yet cut a release (something I've been meaning to do for some time 
> now, but somehow never got to it).

To make a snapshot available, you should just need to do "mvn deploy".

-> richard

>
> Greetings, Marcel
>
> ---------------------------------------------------------------------
> 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: maven build for dependencymanager?

Posted by Marcel Offermans <ma...@luminis.nl>.
Hello Arjun,

On Nov 13, 2008, at 12:21 , Arjun Panday wrote:

> I can't find a build of dependencymanager build on a maven  
> repository anywhere..
> the main maven repository (http://repo1.maven.org/maven2/org/apache/felix/ 
> ) contains just about all of felix, except my favourite bundle! ;-)

That's correct, it's not in any maven repository yet.

> Can it be found somewhere? Or would it be possible to include it  
> alongside the others.. we need it for our project.

I'm sure we can put a snapshot in a repository, but I might need a bit  
of help from someone who knows more about Maven to do that. I have not  
yet cut a release (something I've been meaning to do for some time  
now, but somehow never got to it).

Greetings, Marcel

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


Re: Java version

Posted by "Richard S. Hall" <he...@ungoverned.org>.
Well minimum for OSGi or for Felix? Felix should be able to do 1.3 
(definitely 1.4), but if you run into any issues please report them.

-> richard


chihi asma wrote:
> Hi,
>
> What's the minimum version of Java (1.3 or 1.4)  can I execute OSGi on?
>
> Best Regards 
>
> Asma
>
>
>
>
> ________________________________
> De : Arjun Panday <ar...@alcatel-lucent.fr>
> À : users@felix.apache.org
> Envoyé le : Jeudi, 13 Novembre 2008, 12h21mn 11s
> Objet : maven build for dependencymanager?
>
> Hi Marcel and DependencyManager users out there..
>
> I can't find a build of dependencymanager build on a maven repository anywhere..
> the main maven repository (http://repo1.maven.org/maven2/org/apache/felix/) contains just about all of felix, except my favourite bundle! ;-)
>
> Can it be found somewhere? Or would it be possible to include it alongside the others.. we need it for our project.
>
> Many thanks,
> Arjun
>
>
> ---------------------------------------------------------------------
> 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


Java version

Posted by chihi asma <ch...@yahoo.fr>.
Hi,

What's the minimum version of Java (1.3 or 1.4)  can I execute OSGi on?

Best Regards 

Asma




________________________________
De : Arjun Panday <ar...@alcatel-lucent.fr>
À : users@felix.apache.org
Envoyé le : Jeudi, 13 Novembre 2008, 12h21mn 11s
Objet : maven build for dependencymanager?

Hi Marcel and DependencyManager users out there..

I can't find a build of dependencymanager build on a maven repository anywhere..
the main maven repository (http://repo1.maven.org/maven2/org/apache/felix/) contains just about all of felix, except my favourite bundle! ;-)

Can it be found somewhere? Or would it be possible to include it alongside the others.. we need it for our project.

Many thanks,
Arjun


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


      

maven build for dependencymanager?

Posted by Arjun Panday <ar...@alcatel-lucent.fr>.
Hi Marcel and DependencyManager users out there..

I can't find a build of dependencymanager build on a maven repository 
anywhere..
the main maven repository 
(http://repo1.maven.org/maven2/org/apache/felix/) contains just about 
all of felix, except my favourite bundle! ;-)

Can it be found somewhere? Or would it be possible to include it 
alongside the others.. we need it for our project.

Many thanks,
Arjun


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