Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Installation of pax logging in Virgo failing
Installation of pax logging in Virgo failing [message #1407035] Mon, 11 August 2014 18:24 Go to next message
Timothy Vogel is currently offline Timothy VogelFriend
Messages: 76
Registered: July 2009
Member
As part of evaluating CXF DOSGi when I try to install the pax-logging capabilities in Virgo it is failing due to a missing dependency on org.ops4j.pax.logging.pax-logging-service that is caused by missing constraint on org.apache.juli.logging; version="[5.5.0,6.0.0)".

I have Virgo repository pointed to local maven repository which was created with a dependency on to both bundles in the plan file below.

My Google searches indicate that org.apache.juli.logging is part of the Felix tomcat installation.

Am I doing something wrong (likely) or is something missing from Virgo? Any suggestions on how to proceed?


Plan file
<?xml version="1.0" encoding="UTF-8"?>
<plan name="cxf.plan" version="1.0.0" scoped="false" atomic="true" provisioning="auto" xmlns="http://www.eclipse.org/virgo/schema/plan"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eclipse.org/virgo/schema/plan http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">

	<artifact type="bundle" name="org.ops4j.pax.logging.pax-logging-api" version="1.7.0" />
	<artifact type="bundle" name="org.ops4j.pax.logging.pax-logging-service" version="1.7.0" />
 </plan>
 


Error message
[2014-08-11 13:58:48.616] fs-watcher                   <DE0500E> Unable to install application from URI 'file:/D:/dev/virgo-tomcat-server-3.6.3.RELEASE/pickup/pax-logging.plan'. Cannot satisfy constraints for bundle 'org.ops4j.pax.logging.pax-logging-service' version '1.7.3'. Cannot resolve: org.ops4j.pax.logging.pax-logging-service
  Resolver report:
    An Import-Package could not be resolved. 
    Resolver error data <Import-Package: org.apache.juli.logging; version="[5.5.0,6.0.0)">. 
    Caused by missing constraint in bundle <org.ops4j.pax.logging.pax-logging-service_1.7.3>
    constraint: <Import-Package: org.apache.juli.logging; version="[5.5.0,6.0.0)">
. org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: 
    Unable to satisfy dependencies of bundle 'org.ops4j.pax.logging.pax-logging-service' at version '1.7.3': Cannot resolve: org.ops4j.pax.logging.pax-logging-service
    Resolver report:
        An Import-Package could not be resolved. Resolver error data <Import-Package: org.apache.juli.logging; version="[5.5.0,6.0.0)">. 
        Caused by missing constraint in bundle <org.ops4j.pax.logging.pax-logging-service_1.7.3> constraint: 
        <Import-Package: org.apache.juli.logging; version="[5.5.0,6.0.0)">



Re: Installation of pax logging in Virgo failing [message #1407341 is a reply to message #1407035] Tue, 12 August 2014 11:25 Go to previous message
Timothy Vogel is currently offline Timothy VogelFriend
Messages: 76
Registered: July 2009
Member
First issue resolved. Pax-logging-api version 1.70 has incorrect export for the org.apache.juli.logging package. It exports as version 1.0. This is corrected in Pax-logging-api version 1.73.

The next issue is a failure to create the application context for org.apache.cxf.cxf-rt-transports-http.

I have to say I'm pretty frustrated with the amount of time and energy I've spent attempting to get the base container ready. Sad

[2014-08-12 07:15:04.698] region-dm-3                  <AG0000E> Application context creation failure for bundle 'org.apache.cxf.cxf-rt-transports-http' version '2.7.8'. org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 27 in XML document
 from URL [bundleentry://216.fwk1146539411/OSGI-INF/blueprint/osgiservlet.xml] is invalid; nested exception is org.xml.sax.SAXParseE
xception; lineNumber: 27; columnNumber: 87; cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found
 for element 'cm:property-placeholder'.
Previous Topic:plan command in shell
Next Topic:virgo 3.6.x and p2
Goto Forum:
  


Current Time: Mon Oct 22 23:39:45 GMT 2018

Powered by FUDForum. Page generated in 0.01966 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top