There are two options (that I know of) for running automated tests
inside an OSGi container:
junit4osgi: http://felix.apache.org/site/apache-felix-ipojo-junit4osgi.html
pax:exam: http://wiki.ops4j.org/display/paxexam/Pax+Exam
Each have their pros and cons. junit4osgi is the simpler/easier of
Kind of a newbie question..
We use GlassFish V3 which is OSGI (felix) based (there are a number of
OSGI modules running when the server is started).
I would like to write some tests to test the validity of OSGI bundles
deployed to GlassFish V3. Can I do this - or, s the test framework
expectin
Hi Derek,
Thanks for your quick response.
I'd still prefer using Telnet for now and indeed it seems to work fine..
I've just created JIRA FELIX-1980 and attached a simple modification to
the Activator and TelnetShell.
/Arjun
Le 01/12/2010 04:56 PM, Derek Baum a écrit :
Hi Arjun,
The origin
Hi Arjun,
The original contribution of Gogo (from Peter Kriens) contained SCR
components, but we replaced them with regular Activators, as Gogo is usually
started very early, before SCR support is available:
http://felix.apache.org/site/apache-felix-gogo.html
The GoGo TelnetShell is a very simple
Hi,
I've started playing with Gogo (and it seems great!) but I need to use
it via telnet.
I noticed that the console module had 2 "activators":
- one regular BundleActivator that only creates the StdioConsole
- one SCR component that creates the TelnetShell
but I find no XML (or Service-Compone
I also tried your solution and it worked also , thanks again
On Tue, Jan 12, 2010 at 5:28 PM, ayman elwany wrote:
> thanks Toni, I just solved the problem by doing this:
>
> I downloaded the install org.apache.felix.eventadmin-1.0.0.jar from
> http://mir2.ovh.net/ftp.apache.org/dist/felix/org.ap
thanks Toni, I just solved the problem by doing this:
I downloaded the install org.apache.felix.eventadmin-1.0.0.jar from
http://mir2.ovh.net/ftp.apache.org/dist/felix/org.apache.felix.eventadmin-1.0.0.jar
then from felix shell
-> install file:C:\*Path*\org.apache.felix.eventadmin-1.0.0.jar
the
Hi,
newer versions of pax runner (i suppose you run it using Pax Construct looking
at your scripts) do not install the compendium bundle anymore by default.
You need to add that to your mix.
Looking at the provided example you can do this like so:
pax-import-bundle -g org.osgi -a org.osgi.compend
Hi all,
I'm new to OSGI and felix , I working in OSGI example from *"Modular
Java" by Craig Walls . *
*
*
After I wanted to add the logging bundle to my project so I did these 2
steps
pax-import-bundle -g org.ops4j.pax.logging -a pax-logging-api -v 1.3.0
pax-import-bundle -g org.ops4j.pax.lo
On 1/12/10 6:42, Derek Baum wrote:
How about addressing this by embedding the ConfigAdmin API in
felix-http.jetty bundle?
All I have done is add org.osgi.service.cm (the ConfigAdmin API package) to
each of Export-Package, Private-Package and Import-Package to
http/jetty/pom.xml:
How about addressing this by embedding the ConfigAdmin API in
felix-http.jetty bundle?
All I have done is add org.osgi.service.cm (the ConfigAdmin API package) to
each of Export-Package, Private-Package and Import-Package to
http/jetty/pom.xml:
org.apache.felix.http.api;
Created a JIRA task (https://issues.apache.org/jira/browse/FELIX-1978) for this.
On Mon, Jan 11, 2010 at 10:26 PM, Felix Meschberger wrote:
> Hi,
>
> I fear, the problem is
>
> public final class JettyService
> implements ManagedService, Runnable
>
> Thus, if the Configuration Admin package
12 matches
Mail list logo