Hi,

The JBI component works in SMX3.x won't works in SMX4.x anymore.
You need adapter it a little bit to make it works in SMX4.x.
You may need take a look at JBI component shipped with SMX4.x to see what we do there, basically it's a jar but not zip, and have necessary OSGi metadata headers.

Freeman
On 2012-1-18, at 上午2:49, nicolaide wrote:

Hi, i downloaded the lastest version of Servicemix (4.4.0) and i want to
install a JBI component developed in Servicemix 3.3.2.
I trying to install my *-installer.zip file through the hotdeploy folder. So i just drop my zip file into the deploy folder in my servicemix folder. The problem is that when im put the file into the hotdeploy folder i have
the next error in the log file:



/15:28:56,973 | WARN  | mix-4.4.0/deploy | Deployer
| 165 - org.apache.servicemix.jbi.deployer - 1.5.0 | Requirements not met
for JBI artifact in bundle null (esb-wso2-catalog-sync-component).
Installation pending.
org.apache.servicemix.jbi.deployer.impl.PendingException: SharedLibrary not
installed: servicemix-shared
        at
org .apache .servicemix .jbi.deployer.impl.ComponentInstaller.init(ComponentInstaller.java: 110)[165:org.apache.servicemix.jbi.deployer:1.5.0]
        at
org .apache .servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java: 329)[165:org.apache.servicemix.jbi.deployer:1.5.0]
        at
org .apache .servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java: 260)[165:org.apache.servicemix.jbi.deployer:1.5.0]
        at
org .apache .felix .framework .util .EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java: 807)[org.apache.felix.framework-3.0.9.jar:]
        at
org .apache .felix .framework .util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729) [org.apache.felix.framework-3.0.9.jar:]
        at
org .apache .felix .framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java: 610)[org.apache.felix.framework-3.0.9.jar:]
        at
org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3761) [org.apache.felix.framework-3.0.9.jar:]
        at
org.apache.felix.framework.Felix.startBundle(Felix.java:1787) [org.apache.felix.framework-3.0.9.jar:]
        at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:918) [org.apache.felix.framework-3.0.9.jar:]
        at
org .apache .felix .fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java: 1175)[7:org.apache.felix.fileinstall:3.1.10]
        at
org .apache .felix .fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java: 1153)[7:org.apache.felix.fileinstall:3.1.10]
        at
org .apache .felix .fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java: 458)[7:org.apache.felix.fileinstall:3.1.10]
        at
org .apache .felix .fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263) [7:org.apache.felix.fileinstall:3.1.10]/



Note: My component is called esb-wso2-catalog-sync-component
The error says that i dont have the servicemix-shared library, but that is false, because i can see the library installed with the features:list comand (i install the component through the features:install command). I tried this
with a clean Servicemix 4.4.0 recently downloaded.
Somebody has that problem? I googled that and i can't find the solution.

Thanks in advance

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Problema-deploying-JBI-components-tp5152543p5152543.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to