[slf4j-dev] Testing with Felix

Ceki Gülcü listid at qos.ch
Thu Feb 22 21:52:42 CET 2007


It seems that the org.slf4j package is somehow not exported by slf4j-api.

-> packages
System Bundle (0): org.osgi.framework; version=1.3.0
System Bundle (0): org.osgi.service.packageadmin; version=1.2.0
System Bundle (0): org.osgi.service.startlevel; version=1.0.0
Apache Felix Shell Service (1): org.ungoverned.osgi.service.shell; 
version=1.0.0
Apache Felix Shell Service (1): org.apache.felix.shell; version=1.0.0
Apache Felix Bundle Repository (3): org.osgi.service.obr; version=0.0.0
slf4j-api (5): org.slf4j.spi; version=0.0.0
slf4j-api (5): org.slf4j.helpers; version=0.0.0


At 09:41 PM 2/22/2007, Ceki Gülcü wrote:

>Hello John et al.,
>
>Trying to do very basic installation of various SLF4J bundles (based
>on revision 749) with Apache Felix, the following could be observed:
>
>-> install ... (various packages)
>-> ps
>START LEVEL 1
>     ID   State         Level  Name
>[   0] [Active     ] [    0] System Bundle (0.8.0.incubator)
>[   1] [Active     ] [    1] Apache Felix Shell Service (0.8.0.incubator)
>[   2] [Active     ] [    1] Apache Felix Shell TUI (0.8.0.incubator)
>[   3] [Active     ] [    1] Apache Felix Bundle Repository (0.8.0.incubator)
>[   5] [Active     ] [    1] slf4j-api (1.3.0.SNAPSHOT)
>[   7] [Active     ] [    1] slf4j-simple (1.3.0.SNAPSHOT)
>[   8] [Installed  ] [    1] OSGi LogService Implemented Over SLF4J
>(1.3.0.SNAPSHOT)
>
>-> start 8
>org.osgi.framework.BundleException: Unresolved package in bundle 8:
>org.osgi.service.log
>
>
>As can be seen from the above, slf4j-api and slf4j-simple can both be
>installed and started. However, while osgi-over-slf4j can be
>installed, it cannot be started.
>
>Any ideas?
>
>
>--
>Ceki Gülcü
>Logback: The reliable, generic, fast and flexible logging framework for Java.
>http://logback.qos.ch
>
>_______________________________________________
>dev mailing list
>dev at slf4j.org
>http://www.slf4j.org/mailman/listinfo/dev

-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch




More information about the slf4j-dev mailing list