You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by rsmaoui <s-...@hotmail.com> on 2012/04/25 18:41:41 UTC

SMX FTP-EJB

Hi,

I want  to create an example of an esb with servicemix.

this esb should listen file from FTP server than it send this file to an
EJB.

to start i created just an SU to listen files from ftp server but the
following errors appear when i deploy .zip file:


18:24:04,596 | ERROR | use-03-06/deploy | ServiceAssemblyInstaller         |
?                                   ? | 149 -
org.apache.servicemix.jbi.deployer - 1.5.1.fuse-03-06 | Error deploying SU
esb-ftp-su
javax.jbi.management.DeploymentException: <component-task-result
xmlns="http://java.sun.com/xml/ns/jbi/management-message">
        <component-name>servicemix-ftp</component-name>
        <component-task-result-details>
                <task-result-details>
                        <task-id>deploy</task-id>
                        <task-result>FAILED</task-result>
                        <message-type>ERROR</message-type>
                       
<task-status-msg><msg-loc-info><loc-token/><loc-message>Service Unit
'esb-ftp-su' is already
deployed</loc-message></msg-loc-info></task-status-msg>
                </task-result-details>
        </component-task-result-details>
</component-task-result>
        at
org.apache.servicemix.common.BaseServiceUnitManager.failure(BaseServiceUnitManager.java:268)[150:servicemix-common:2011.02.1.fuse-04-06]
        at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:67)[150:servicemix-common:2011.02.1.fuse-04-06]
        at
org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:104)[149:org.apache.servicemix.jbi.deployer:1.5.1.fuse-03-06]
        at
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:207)[149:org.apache.servicemix.jbi.deployer:1.5.1.fuse-03-06]
        at
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:85)[149:org.apache.servicemix.jbi.deployer:1.5.1.fuse-03-06]
        at
org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:330)[149:org.apache.servicemix.jbi.deployer:1.5.1.fuse-03-06]
        at
org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:260)[149:org.apache.servicemix.jbi.deployer:1.5.1.fuse-03-06]
        at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:795)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
        at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:717)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
        at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:597)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
        at
org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3781)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
        at
org.apache.felix.framework.Felix.startBundle(Felix.java:1792)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
        at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:927)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
        at
org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1183)[7:org.apache.felix.fileinstall:3.3.1.fuse-04-06]
        at
org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1161)[7:org.apache.felix.fileinstall:3.3.1.fuse-04-06]
        at
org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:466)[7:org.apache.felix.fileinstall:3.3.1.fuse-04-06]
        at
org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:271)[7:org.apache.felix.fileinstall:3.3.1.fuse-04-06]
18:24:04,597 | ERROR | use-03-06/deploy | ServiceAssemblyInstaller         |
?                                   ? | 149 -
org.apache.servicemix.jbi.deployer - 1.5.1.fuse-03-06 | Error deploying SU
esb-ftp-su
18:24:04,597 | ERROR | use-03-06/deploy | Deployer                         |
?                                   ? | 149 -
org.apache.servicemix.jbi.deployer - 1.5.1.fuse-03-06 | Error handling
bundle start event
javax.jbi.JBIException: java.lang.Exception: Error deploying SU esb-ftp-su
        at
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:101)[149:org.apache.servicemix.jbi.deployer:1.5.1.fuse-03-06]
        at
org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:330)[149:org.apache.servicemix.jbi.deployer:1.5.1.fuse-03-06]
        at
org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:260)[149:org.apache.servicemix.jbi.deployer:1.5.1.fuse-03-06]
        at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:795)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
        at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:717)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
        at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:597)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
        at
org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3781)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
        at
org.apache.felix.framework.Felix.startBundle(Felix.java:1792)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
        at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:927)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
        at
org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1183)[7:org.apache.felix.fileinstall:3.3.1.fuse-04-06]
        at
org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1161)[7:org.apache.felix.fileinstall:3.3.1.fuse-04-06]
        at
org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:466)[7:org.apache.felix.fileinstall:3.3.1.fuse-04-06]
        at
org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:271)[7:org.apache.felix.fileinstall:3.3.1.fuse-04-06]
Caused by: java.lang.Exception: Error deploying SU esb-ftp-su
        at
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:213)[149:org.apache.servicemix.jbi.deployer:1.5.1.fuse-03-06]
        at
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:85)[149:org.apache.servicemix.jbi.deployer:1.5.1.fuse-03-06]
        ... 12 more
Caused by: javax.jbi.management.DeploymentException: <component-task-result
xmlns="http://java.sun.com/xml/ns/jbi/management-message">
        <component-name>servicemix-ftp</component-name>
        <component-task-result-details>
                <task-result-details>
                        <task-id>deploy</task-id>
                        <task-result>FAILED</task-result>
                        <message-type>ERROR</message-type>
                       
<task-status-msg><msg-loc-info><loc-token/><loc-message>Service Unit
'esb-ftp-su' is already
deployed</loc-message></msg-loc-info></task-status-msg>
                </task-result-details>
        </component-task-result-details>
</component-task-result>
        at
org.apache.servicemix.common.BaseServiceUnitManager.failure(BaseServiceUnitManager.java:268)[150:servicemix-common:2011.02.1.fuse-04-06]
        at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:67)[150:servicemix-common:2011.02.1.fuse-04-06]
        at
org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:104)[149:org.apache.servicemix.jbi.deployer:1.5.1.fuse-03-06]
        at
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:207)[149:org.apache.servicemix.jbi.deployer:1.5.1.fuse-03-06]
        ... 13 more
http://servicemix.396122.n5.nabble.com/file/n5665406/esb-ftp-sa-0.0.1.zip
esb-ftp-sa-0.0.1.zip 


I attached the .zip file.
someone can help me please?

--
View this message in context: http://servicemix.396122.n5.nabble.com/SMX-FTP-EJB-tp5665406p5665406.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.