2 Replies Latest reply on Jan 12, 2011 3:30 PM by Daryl Olson

    "ERROR: quickfix -- Cannot be resolved" after deploying a bundle

    Daryl Olson Newbie

      I am getting a failure when trying to deploy a bundle I have created. I'm using apache-servicemix-4.3.0-fuse-03-00.

       

      In the "Apache Felix Web Console Bundles", under the "Imported Packages" section, the errors are reported as:

       

      ERROR: quickfix -- Cannot be resolved

      ERROR: quieckfix.field -- Cannot be resolved

      ERROR: quickfix.fix44 -- Cannot be resolved

       

      Prior to trying to deploy my bundle, I executed:

       

      osgi:install --start mvn:org.quickfixj/quickfixj-all/1.4.0

       

      I am deploying by placing my jar in the "depoy" directory.

       

      In the "Apache Felix Web Console Bundles", I can see that the "mvn:org.quickfixj/quickfixj-all/1.4.0" bundle is active. I noticed that for this bundle, for "Exported Packages" there is nothing. I am thinking that this may be the problem (I'm new to Fuse ESB, so I can't be sure).

       

      The "org.quickfixj/quickfixj-all/1.4.0" stuff is located in the Maven repository:

       

      http://repo.fusesource.com/maven2-all/org/quickfixj/quickfixj-all/1.4.0/

       

      Also, if I try using "camel-quickfix" by doing the following:

       

      osgi:install mvn:org.apache.camel/camel-quickfix/2.4.0-fuse-02-00

       

      It installs as Bundle 192 (in this case). If I execute:

       

      osgi:start 192

       

      I get an error:

       

      Error executing command: The bundle "org.apache.camel.camel-quickfix_2.4.0.fuse-02-00 " could not be resolved. Reason: Missing Constraint: Import-Package: quickfix; version="0.0.0"

       

      When I go to the "Apache Felix Web Console Bundles" and look under the "Imported Packages" section, there is an entry "ERROR: quickfix -- Cannot be resolved".

       

      Any ideas what the problem is and if so, how can I fix it?

       

      Thanks,

      Daryl

       

      Edited by: dlo1957ca on Jan 12, 2011 1:33 PM