Hi all,
I trying to migrate to Log4j2 but I have several problems. One of these
issues is that I can not start the core bundle of Log4j2. I figured out that
the core bundle seems to conflict in some way with the slf4j-api bundle
which I also installed on my OSGi-container. The Slf4j-api bundle is needed
because of third-party-dependencies.

Any sugestions

Thanks.
Roland 

----------------------------------------------------------------

   ID|State      |Level|Name
    0|Active     |    0|System Bundle (4.2.1)
    1|Installed  |    2|ACOS-RTU-LogBack-Config (1.0.0.0)
    2|Active     |    2|ACOS-RTU-LogService (1.0.0.0)
    3|Installed  |    2|ACOS-RTU-Thirdparty-Non-OSGI-Conform-Packages
(1.0.0.0)
    4|Active     |    2|Apache Felix Bundle Repository (1.6.6)
    5|Active     |    2|Apache Felix Configuration Admin Service (1.6.0)
    6|Active     |    2|Apache Felix Gogo Command (0.12.0)
    7|Active     |    2|Apache Felix Gogo Runtime (0.10.0)
    8|Active     |    2|Apache Felix Gogo Shell (0.10.0)
    9|Resolved   |    2|Apache Felix Security Provider (2.2.0)
   10|Active     |    2|Apache Felix Shell Service (1.4.3)
   11|Installed  |    2|Apache Log4j 1.x Compatibility API (2.0.0.beta8)
   12|Active     |    2|Apache Log4j API (2.0.0.beta8)
   13|Installed  |    2|Apache Log4j Commons Logging Bridge (2.0.0.beta8)
   14|Installed  |    2|Apache Log4j Core (2.0.0.beta8)
   15|Installed  |    2|Apache Log4j SLF4J Binding (2.0.0.beta8)
   16|Active     |    2|cal10n-api (0.7.4)
   17|Active     |    2|Commons IO (2.4.0)
   18|Active     |    2|Commons Lang (2.6.0)
   19|Active     |    2|Data mapper for Jackson JSON processor (1.9.13)
   20|Active     |    2|Jackson JSON processor (1.9.13)
   21|Active     |    2|JSON.simple (1.1.1)
   22|Installed  |    2|slf4j-api (1.5.11)
   23|Installed  |    2|slf4j-ext (1.7.5)

Unresolved constraint in bundle org.apache.logging.log4j-slf4j-impl [15]:
Unable to resolve 15.0: missing requirement [15.0] osgi.wiring.package;
(osgi.wiring.package=org.slf4j) [caused by: Unable to resolve 22.0: missing
requirement [22.0] osgi.wiring.package;
(&(osgi.wiring.package=org.slf4j.impl)(version>=1.5.5))]

Unresolved constraint in bundle slf4j.api [22]: Unable to resolve 22.0:
missing requirement [22.0] osgi.wiring.package;
(&(osgi.wiring.package=org.slf4j.impl)(version>=1.5.5))

Unresolved constraint in bundle org.apache.logging.log4j-jcl [13]: Unable to
resolve 13.0: missing requirement [13.0] osgi.wiring.package;
(osgi.wiring.package=org.apache.commons.logging) [caused by: Unable to
resolve 3.0: missing requirement [3.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.logging.log4j.core)(version>=2.0.0)(!(version>=3.0.0)))
[caused by: Unable to resolve 14.0: missing requirement [14.0]
osgi.wiring.host;
(&(osgi.wiring.host=org.apache.commons.log4j-api)(bundle-version>=2.0.0.beta8))]]

Unresolved constraint in bundle org.apache.logging.log4j-1.2-api [11]:
Unable to resolve 11.0: missing requirement [11.0] osgi.wiring.package;
(osgi.wiring.package=org.apache.logging.log4j.core) [caused by: Unable to
resolve 14.0: missing requirement [14.0] osgi.wiring.host;
(&(osgi.wiring.host=org.apache.commons.log4j-api)(bundle-version>=2.0.0.beta8))]

(bundle 14 (log4j core) can not be resolved because of some unknown
unresolved dependencies issues. Unknown, because fragmented bundles can not
be "started". Thus, I can not print its unresolved dependencies.)






--
View this message in context: 
http://apache-logging.6191.n7.nabble.com/Apache-Log4j-Core-2-0-0-beta8-seems-to-conflicts-with-org-slf4j-slf4j-api-in-a-OSGi-environment-tp39563.html
Sent from the Log4j - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to