Home » Eclipse Projects » Virgo » Different behaviour when deploying a bundle in a watched repo/pickup
Different behaviour when deploying a bundle in a watched repo/pickup [message #635897] |
Thu, 28 October 2010 14:30 |
Frieder Heugel Messages: 61 Registered: October 2010 Location: Basel, CH |
Member |
|
|
Hello guys,
I'm trying to deploy bundles to Virgo by putting them into the repository/usr folder. I changed the config so that this folder will be scanned by Virgo every 5 seconds for new bundles. As soon as Virgo recognizes some (not all) of my bundles I get the following message in the console (Eclipse).
[2010-10-28 16:01:12.366] Thread-15 <RP0080E> Artifact 'com.saxonica.enterprise_9.2.1.2.jar' not recognized as type 'bundle' by repository 'usr' and has been ignored.
The same bundles that don't work for the watched repository folder can successfully be installed by dropping them in the pickup folder. However it looks like that for some reason Virgo cannot determine the correct version number of this bundle.
[2010-10-28 16:01:30.393] fs-watcher <HD0001I> Hot deployer processing 'CREATED' event for file 'com.saxonica.enterprise_9.2.1.2.jar'.
[2010-10-28 16:01:31.649] fs-watcher <DE0000I> Installing bundle 'com.saxonica.enterprise_9.2.1.2' version '0.0.0'.
[2010-10-28 16:01:33.307] fs-watcher <DE0001I> Installed bundle 'com.saxonica.enterprise_9.2.1.2' version '0.0.0'.
[2010-10-28 16:01:33.316] fs-watcher <DE0004I> Starting bundle 'com.saxonica.enterprise_9.2.1.2' version '0.0.0'.
[2010-10-28 16:01:33.320] start-signalling-2 <DE0005I> Started bundle 'com.saxonica.enterprise_9.2.1.2' version '0.0.0'.
In the past I was using plain Equinox 3.5.x - 3.7.x without any problems. When running these bundles inside Equinox everything works fine.
osgi> ss
13 ACTIVE com.saxonica.enterprise_9.2.1.2
Fragments=1, 2, 10
osgi> headers 13
Bundle headers:
Bundle-ManifestVersion = 2
Bundle-Name = Saxonica Enterprise XSLT/XQuery
Bundle-RequiredExecutionEnvironment = JavaSE-1.6
Bundle-SymbolicName = com.saxonica.enterprise
Bundle-Version = 9.2.1.2
Export-Package = com.saxonica;version="9.2.1.2",com.saxonica.config;version="9.2.1.2",com.saxonica.deploy;version="9.2.1.2",com.saxonica.extfn;version="9.2.1.2",com.saxonica.extra;version="9.2.1.2",com.saxonica.fsa ...
Import-Package = javax.servlet;version="2.5.0";resolution:=optional,javax.servlet.http;version="2.5.0" ...
Manifest-Version = 1.0
Here is the MANIFEST.MF
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Saxonica Enterprise XSLT/XQuery
Bundle-SymbolicName: com.saxonica.enterprise
Bundle-Version: 9.2.1.2
Export-Package: com.saxonica;version="9.2.1.2",com.saxonica.config;ver
sion="9.2.1.2",com.saxonica.deploy;version="9.2.1.2",com.saxonica.ext
fn;version="9.2.1.2",com.saxonica.extra;version="9.2.1.2",com.saxonic
a.fsa;version="9.2.1.2",com.saxonica.hof;version="9.2.1.2",com.saxoni
ca.jaxp;version="9.2.1.2",com.saxonica.ptree;version="9.2.1.2",com.sa
xonica.pull;version="9.2.1.2",com.saxonica.query11;version="9.2.1.2",
com.saxonica.schema;version="9.2.1.2",com.saxonica.sdoc;version="9.2.
1.2",com.saxonica.stream;version="9.2.1.2",com.saxonica.stream.action
;version="9.2.1.2",com.saxonica.stream.om;version="9.2.1.2",com.saxon
ica.update;version="9.2.1.2",com.saxonica.validate;version="9.2.1.2",
com.saxonica.xsltextn;version="9.2.1.2",javax.xml.xquery;version="9.2
.1.2",net.sf.saxon;version="9.2.1.2",net.sf.saxon.charcode;version="9
.2.1.2",net.sf.saxon.codenorm;version="9.2.1.2",net.sf.saxon.dom;vers
ion="9.2.1.2",net.sf.saxon.event;version="9.2.1.2",net.sf.saxon.evpul
l;version="9.2.1.2",net.sf.saxon.expr;version="9.2.1.2",net.sf.saxon.
functions;version="9.2.1.2",net.sf.saxon.instruct;version="9.2.1.2",n
et.sf.saxon.java;version="9.2.1.2",net.sf.saxon.number;version="9.2.1
.2",net.sf.saxon.om;version="9.2.1.2",net.sf.saxon.option.dom4j;versi
on="9.2.1.2",net.sf.saxon.option.exslt;version="9.2.1.2",net.sf.saxon
.option.jdom;version="9.2.1.2",net.sf.saxon.option.local;version="9.2
.1.2",net.sf.saxon.option.xom;version="9.2.1.2",net.sf.saxon.pattern;
version="9.2.1.2",net.sf.saxon.pull;version="9.2.1.2",net.sf.saxon.qu
ery;version="9.2.1.2",net.sf.saxon.regex;version="9.2.1.2",net.sf.sax
on.s9api;version="9.2.1.2",net.sf.saxon.sort;version="9.2.1.2",net.sf
.saxon.style;version="9.2.1.2",net.sf.saxon.sxpath;version="9.2.1.2",
net.sf.saxon.tinytree;version="9.2.1.2",net.sf.saxon.trace;version="9
.2.1.2",net.sf.saxon.trans;version="9.2.1.2",net.sf.saxon.tree;versio
n="9.2.1.2",net.sf.saxon.type;version="9.2.1.2",net.sf.saxon.value;ve
rsion="9.2.1.2",net.sf.saxon.xpath;version="9.2.1.2",net.sf.saxon.xqj
;version="9.2.1.2"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Import-Package: javax.servlet;version="2.5.0";resolution:=optional,jav
ax.servlet.http;version="2.5.0";resolution:=optional,javax.xml.dataty
pe,javax.xml.namespace,javax.xml.parsers,javax.xml.stream,javax.xml.s
tream.events,javax.xml.transform,javax.xml.transform.dom,javax.xml.tr
ansform.sax,javax.xml.transform.stream,javax.xml.validation,javax.xml
.xpath,org.w3c.dom,org.w3c.dom.ls,org.xml.sax,org.xml.sax.ext,org.xml
.sax.helpers
Usually I use the Eclipse function "New Plug-in from Existing Jar Archives" to make 3rd party libraries OSGi-ready and haven't had any problems with plain Equinox so far. Does anyone of you have any clue what might be wrong here?
Cheers
Frieder
|
|
| | | | | | |
Goto Forum:
Current Time: Sun Dec 08 22:34:25 GMT 2024
Powered by FUDForum. Page generated in 0.04200 seconds
|