Error installing thirdparty JBI binding component in FUSE 4.2
tde Mar 18, 2010 11:42 AMHi,
Our company in the process of choosing an open source ESB.
One capability that is under investigation is the ability to deploy external JBI components (service engines or binding components) in the FUSE runtime.
The use case I'm currently trying to achieve is to deploy the OpenESB FTP BC in FUSE 4.2.
Of course I know that there is a FTP BC in FUSE, but the case here is to validate deployment of any JBI component.
So I downloaded the latest version of the FTPBC, and its needed two shared-libraries (encoderlib and wsdlextlib).
I used the servicemix ant tasks to deploy the shared librairies and then the component itself:
ant -f servicemix-ant-task.xml install-shared-library -Dsm.username=karaf -Dsm.password=karaf -Dsm.install.file="C:\TEMP\encoderlib.jar"
ant -f servicemix-ant-task.xml install-shared-library -Dsm.username=karaf -Dsm.password=karaf -Dsm.install.file="C:\TEMP\wsdlextlib.jar"
ant -f servicemix-ant-task.xml install-component -Dsm.username=karaf -Dsm.password=karaf -Dsm.install.file="C:\TEMP\wsdlextlib.jar"
The two first commands went well, but the third failed with the following exception (full output is in attachment):
java.lang.IllegalStateException: This operation is not available at installation time
at org.apache.servicemix.jbi.deployer.impl.InstallationContextImpl.getLogger(InstallationContextImpl.java:284)
at com.sun.jbi.internationalization.Messages.getLogger(Messages.java:230)
at com.sun.jbi.ftpbc.bootstrap.FTPBindingBootstrap.init(FTPBindingBootstrap.java:91)
at org.apache.servicemix.jbi.deployer.impl.ComponentInstaller.initBootstrap(ComponentInstaller.java:335)
at org.apache.servicemix.jbi.deployer.impl.ComponentInstaller.init(ComponentInstaller.java:121)
at org.apache.servicemix.jbi.deployer.impl.InstallationService.doLoadNewInstaller(InstallationService.java:219)
at org.apache.servicemix.jbi.deployer.impl.InstallationService.install(InstallationService.java:165)
at org.apache.servicemix.jbi.deployer.impl.AdminCommandsImpl.installComponent(AdminCommandsImpl.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Does anyone has an idea about how to solve this problem?
-
stack_ant_jbi.txt 7.6 KB