You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Long, Yonggang (JIRA)" <ji...@apache.org> on 2010/12/08 05:20:00 UTC
[jira] Created: (SMXCOMP-830) FTP poll provider endpoint can not
work correctly
FTP poll provider endpoint can not work correctly
-------------------------------------------------
Key: SMXCOMP-830
URL: https://issues.apache.org/jira/browse/SMXCOMP-830
Project: ServiceMix Components
Issue Type: Test
Components: servicemix-ftp
Affects Versions: servicemix-ftp-2009.01
Environment: servicemix environment : windows xp
ftp server environment : redhat linux
Reporter: Long, Yonggang
Fix For: servicemix-ftp-2009.01
When i try to test the ftp component to get files from remote FTP server. It has connected to FTP server successfully, but can't download the files, and there don't have any exception logs. I don't know why.
I have only created one ftp-su, and have packaged the only SU to SA. here is the configuration in the xbean.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by Apache ServiceMix Archetype -->
<beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0"
xmlns:ftptest="http://longyg.test/ftptest" xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://servicemix.apache.org/ftp/1.0 http://servicemix.apache.org/schema/servicemix-ftp-2010.01.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<ftp:poller service="ftptest:ftpPoller" endpoint="endpoint" targetService="ftptest:ftpSender" targetEndpoint="endpoint" deleteFile="true"
uri="ftp://omc:omc@10.9.206.172/home/omc/tmp">
<property name="filter">
<bean class="org.apache.commons.io.filefilter.WildcardFilter">
<constructor-arg value="*.zip" />
</bean>
</property>
<property name="marshaler">
<bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
</property>
</ftp:poller>
<ftp:sender service="ftptest:ftpSender" endpoint="endpoint" uri="ftp://omc:omc@10.9.137.3/home/omc/tmp" >
<property name="marshaler">
<bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
</property>
</ftp:sender>
</beans>
And here is part of debug logs:
12:04:07,104 | DEBUG | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 597 | Unpacked archive D:\tool\apache-servicemix-3.3.1\hotdeploy\ftp-sa-1.0-SNAPSHOT.zip to D:\tool\apache-servicemix-3.3.1\data\smx\tmp\ftp-sa-1.0-SNAPSHOT.0.tmp
12:04:07,120 | DEBUG | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 334 | SA dependencies: [servicemix-ftp]
12:04:07,120 | DEBUG | Timer-2 | DeploymentService | bi.framework.DeploymentService 475 | Moving D:\tool\apache-servicemix-3.3.1\data\smx\tmp\ftp-sa-1.0-SNAPSHOT.0.tmp to D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\install
12:04:07,120 | DEBUG | Timer-2 | DeploymentService | bi.framework.DeploymentService 502 | Unpack service unit archive D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\install\ftp-su-1.0-SNAPSHOT.zip to D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\sus\servicemix-ftp\ftp-su
12:04:07,198 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 61 | Deploying service unit
12:04:07,198 | DEBUG | Timer-2 | FtpComponent | on.xbean.AbstractXBeanDeployer 57 | Looking for D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\sus\servicemix-ftp\ftp-su\xbean.xml: true
12:04:07,261 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 75 | Service unit deployed
12:04:07,323 | INFO | Timer-2 | ServiceAssemblyLifeCycle | ework.ServiceAssemblyLifeCycle 133 | Starting service assembly: ftp-sa
12:04:07,323 | INFO | Timer-2 | ServiceUnitLifeCycle | framework.ServiceUnitLifeCycle 78 | Initializing service unit: ftp-su
12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 101 | Initializing service unit
12:04:07,323 | DEBUG | Timer-2 | ComponentContextImpl | framework.ComponentContextImpl 124 | Component: servicemix-ftp activated endpoint: {http://longyg.test/ftptest}ftpSender : endpoint
12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 94 | Querying service description for ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]
12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 102 | No description found for {http://longyg.test/ftptest}ftpSender:endpoint
12:04:07,323 | DEBUG | Timer-2 | WSDL1Processor | amework.support.WSDL1Processor 63 | Endpoint ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint] has no service description
12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 94 | Querying service description for ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]
12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 102 | No description found for {http://longyg.test/ftptest}ftpSender:endpoint
12:04:07,323 | DEBUG | Timer-2 | WSDL2Processor | amework.support.WSDL2Processor 64 | Endpoint ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint] has no service description
12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 124 | Service unit initialized
12:04:07,323 | INFO | Timer-2 | ServiceUnitLifeCycle | framework.ServiceUnitLifeCycle 97 | Starting service unit: ftp-su
12:04:07,323 | DEBUG | pool-2-thread-1 | JCAFlow | cemix.jbi.nmr.flow.jca.JCAFlow 430 | ServiceMix: broadcasting info for org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]]
12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 142 | Starting service unit
12:04:07,339 | DEBUG | pool-2-thread-1 | JMSFlow | i.nmr.flow.jms.AbstractJMSFlow 374 | ServiceMix: broadcasting info for org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]]
12:04:08,948 | DEBUG | pool-component.servicemix-ftp-thread-1 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
12:04:09,932 | DEBUG | pool-component.servicemix-ftp-thread-1 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
12:04:10,635 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 157 | Service unit started
12:04:10,650 | INFO | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 659 | Directory: hotdeploy: Finished installation of archive: ftp-sa-1.0-SNAPSHOT.zip
12:04:13,946 | DEBUG | pool-component.servicemix-ftp-thread-2 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
12:04:15,492 | DEBUG | pool-component.servicemix-ftp-thread-2 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
12:04:18,976 | DEBUG | pool-component.servicemix-ftp-thread-3 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
12:04:19,725 | DEBUG | pool-component.servicemix-ftp-thread-3 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
12:04:23,990 | DEBUG | pool-component.servicemix-ftp-thread-4 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
12:04:24,786 | DEBUG | pool-component.servicemix-ftp-thread-4 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
12:04:29,004 | DEBUG | pool-component.servicemix-ftp-thread-5 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
12:04:29,753 | DEBUG | pool-component.servicemix-ftp-thread-5 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
12:04:34,018 | DEBUG | pool-component.servicemix-ftp-thread-6 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
12:04:34,767 | DEBUG | pool-component.servicemix-ftp-thread-6 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
12:04:39,032 | DEBUG | pool-component.servicemix-ftp-thread-7 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
12:04:39,781 | DEBUG | pool-component.servicemix-ftp-thread-7 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
12:04:44,046 | DEBUG | pool-component.servicemix-ftp-thread-8 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
12:04:44,811 | DEBUG | pool-component.servicemix-ftp-thread-8 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
12:04:49,060 | DEBUG | pool-component.servicemix-ftp-thread-9 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
12:04:49,794 | DEBUG | pool-component.servicemix-ftp-thread-9 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
12:04:54,073 | DEBUG | pool-component.servicemix-ftp-thread-10 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
12:04:54,839 | DEBUG | pool-component.servicemix-ftp-thread-10 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
12:04:59,087 | DEBUG | pool-component.servicemix-ftp-thread-11 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
12:04:59,853 | DEBUG | pool-component.servicemix-ftp-thread-11 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
12:05:04,101 | DEBUG | pool-component.servicemix-ftp-thread-12 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
12:05:04,851 | DEBUG | pool-component.servicemix-ftp-thread-12 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
>From the logs, it has connected FTP server really, and execute polling directory /home/omc/tmp. There are xml and zip files in this directory, but they are not downloaded to the other server.
Is anybody meet the similar situation?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SMXCOMP-830) FTP poll provider endpoint can not
work correctly
Posted by "Long, Yonggang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMXCOMP-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970077#action_12970077 ]
Long, Yonggang commented on SMXCOMP-830:
----------------------------------------
Very thanks to Gert Vanthienen's comments. You'are right, if I modify the /home/omc/tmp to /tmp, it can get the files in the /home/omc/tmp directory.
the /tmp diretory is a relative directory, it's absolute directory is /home/omc/tmp.
It seems that we only can use relative directory for ftp poller uri.
Can we use absolute directory? How to use?
> FTP poll provider endpoint can not work correctly
> -------------------------------------------------
>
> Key: SMXCOMP-830
> URL: https://issues.apache.org/jira/browse/SMXCOMP-830
> Project: ServiceMix Components
> Issue Type: Test
> Components: servicemix-ftp
> Affects Versions: servicemix-ftp-2009.01
> Environment: servicemix environment : windows xp
> ftp server environment : redhat linux
> Reporter: Long, Yonggang
> Fix For: servicemix-ftp-2009.01
>
>
> When i try to test the ftp component to get files from remote FTP server. It has connected to FTP server successfully, but can't download the files, and there don't have any exception logs. I don't know why.
> I have only created one ftp-su, and have packaged the only SU to SA. here is the configuration in the xbean.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Generated by Apache ServiceMix Archetype -->
> <beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0"
> xmlns:ftptest="http://longyg.test/ftptest" xmlns="http://www.springframework.org/schema/beans"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="
> http://servicemix.apache.org/ftp/1.0 http://servicemix.apache.org/schema/servicemix-ftp-2010.01.xsd
> http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
> <ftp:poller service="ftptest:ftpPoller" endpoint="endpoint" targetService="ftptest:ftpSender" targetEndpoint="endpoint" deleteFile="true"
> uri="ftp://omc:omc@10.9.206.172/home/omc/tmp">
> <property name="filter">
> <bean class="org.apache.commons.io.filefilter.WildcardFilter">
> <constructor-arg value="*.zip" />
> </bean>
> </property>
> <property name="marshaler">
> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
> </property>
> </ftp:poller>
> <ftp:sender service="ftptest:ftpSender" endpoint="endpoint" uri="ftp://omc:omc@10.9.137.3/home/omc/tmp" >
> <property name="marshaler">
> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
> </property>
> </ftp:sender>
> </beans>
> And here is part of debug logs:
> 12:04:07,104 | DEBUG | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 597 | Unpacked archive D:\tool\apache-servicemix-3.3.1\hotdeploy\ftp-sa-1.0-SNAPSHOT.zip to D:\tool\apache-servicemix-3.3.1\data\smx\tmp\ftp-sa-1.0-SNAPSHOT.0.tmp
> 12:04:07,120 | DEBUG | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 334 | SA dependencies: [servicemix-ftp]
> 12:04:07,120 | DEBUG | Timer-2 | DeploymentService | bi.framework.DeploymentService 475 | Moving D:\tool\apache-servicemix-3.3.1\data\smx\tmp\ftp-sa-1.0-SNAPSHOT.0.tmp to D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\install
> 12:04:07,120 | DEBUG | Timer-2 | DeploymentService | bi.framework.DeploymentService 502 | Unpack service unit archive D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\install\ftp-su-1.0-SNAPSHOT.zip to D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\sus\servicemix-ftp\ftp-su
> 12:04:07,198 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 61 | Deploying service unit
> 12:04:07,198 | DEBUG | Timer-2 | FtpComponent | on.xbean.AbstractXBeanDeployer 57 | Looking for D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\sus\servicemix-ftp\ftp-su\xbean.xml: true
> 12:04:07,261 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 75 | Service unit deployed
> 12:04:07,323 | INFO | Timer-2 | ServiceAssemblyLifeCycle | ework.ServiceAssemblyLifeCycle 133 | Starting service assembly: ftp-sa
> 12:04:07,323 | INFO | Timer-2 | ServiceUnitLifeCycle | framework.ServiceUnitLifeCycle 78 | Initializing service unit: ftp-su
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 101 | Initializing service unit
> 12:04:07,323 | DEBUG | Timer-2 | ComponentContextImpl | framework.ComponentContextImpl 124 | Component: servicemix-ftp activated endpoint: {http://longyg.test/ftptest}ftpSender : endpoint
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 94 | Querying service description for ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 102 | No description found for {http://longyg.test/ftptest}ftpSender:endpoint
> 12:04:07,323 | DEBUG | Timer-2 | WSDL1Processor | amework.support.WSDL1Processor 63 | Endpoint ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint] has no service description
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 94 | Querying service description for ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 102 | No description found for {http://longyg.test/ftptest}ftpSender:endpoint
> 12:04:07,323 | DEBUG | Timer-2 | WSDL2Processor | amework.support.WSDL2Processor 64 | Endpoint ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint] has no service description
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 124 | Service unit initialized
> 12:04:07,323 | INFO | Timer-2 | ServiceUnitLifeCycle | framework.ServiceUnitLifeCycle 97 | Starting service unit: ftp-su
> 12:04:07,323 | DEBUG | pool-2-thread-1 | JCAFlow | cemix.jbi.nmr.flow.jca.JCAFlow 430 | ServiceMix: broadcasting info for org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 142 | Starting service unit
> 12:04:07,339 | DEBUG | pool-2-thread-1 | JMSFlow | i.nmr.flow.jms.AbstractJMSFlow 374 | ServiceMix: broadcasting info for org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]]
> 12:04:08,948 | DEBUG | pool-component.servicemix-ftp-thread-1 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:09,932 | DEBUG | pool-component.servicemix-ftp-thread-1 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:10,635 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 157 | Service unit started
> 12:04:10,650 | INFO | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 659 | Directory: hotdeploy: Finished installation of archive: ftp-sa-1.0-SNAPSHOT.zip
> 12:04:13,946 | DEBUG | pool-component.servicemix-ftp-thread-2 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:15,492 | DEBUG | pool-component.servicemix-ftp-thread-2 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:18,976 | DEBUG | pool-component.servicemix-ftp-thread-3 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:19,725 | DEBUG | pool-component.servicemix-ftp-thread-3 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:23,990 | DEBUG | pool-component.servicemix-ftp-thread-4 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:24,786 | DEBUG | pool-component.servicemix-ftp-thread-4 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:29,004 | DEBUG | pool-component.servicemix-ftp-thread-5 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:29,753 | DEBUG | pool-component.servicemix-ftp-thread-5 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:34,018 | DEBUG | pool-component.servicemix-ftp-thread-6 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:34,767 | DEBUG | pool-component.servicemix-ftp-thread-6 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:39,032 | DEBUG | pool-component.servicemix-ftp-thread-7 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:39,781 | DEBUG | pool-component.servicemix-ftp-thread-7 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:44,046 | DEBUG | pool-component.servicemix-ftp-thread-8 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:44,811 | DEBUG | pool-component.servicemix-ftp-thread-8 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:49,060 | DEBUG | pool-component.servicemix-ftp-thread-9 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:49,794 | DEBUG | pool-component.servicemix-ftp-thread-9 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:54,073 | DEBUG | pool-component.servicemix-ftp-thread-10 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:54,839 | DEBUG | pool-component.servicemix-ftp-thread-10 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:59,087 | DEBUG | pool-component.servicemix-ftp-thread-11 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:59,853 | DEBUG | pool-component.servicemix-ftp-thread-11 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:05:04,101 | DEBUG | pool-component.servicemix-ftp-thread-12 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:05:04,851 | DEBUG | pool-component.servicemix-ftp-thread-12 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> From the logs, it has connected FTP server really, and execute polling directory /home/omc/tmp. There are xml and zip files in this directory, but they are not downloaded to the other server.
> Is anybody meet the similar situation?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SMXCOMP-830) FTP poll provider endpoint can not
work correctly
Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMXCOMP-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969713#action_12969713 ]
Gert Vanthienen commented on SMXCOMP-830:
-----------------------------------------
Going by that FTP transcript, I think the URI {{ftp://omc:omc@10.9.206.172/home/omc/tmp}} might be incorrect. After logging into the FTP server, you're probably chroot-jailed into the /home/omc directory so you don't have to specify the full path in the URI anymore. It depends on the FTP server, but I think for vsFTPd using {{ftp://omc:omc@10.9.206.172//tmp}} instead should fix your problem.
> FTP poll provider endpoint can not work correctly
> -------------------------------------------------
>
> Key: SMXCOMP-830
> URL: https://issues.apache.org/jira/browse/SMXCOMP-830
> Project: ServiceMix Components
> Issue Type: Test
> Components: servicemix-ftp
> Affects Versions: servicemix-ftp-2009.01
> Environment: servicemix environment : windows xp
> ftp server environment : redhat linux
> Reporter: Long, Yonggang
> Fix For: servicemix-ftp-2009.01
>
>
> When i try to test the ftp component to get files from remote FTP server. It has connected to FTP server successfully, but can't download the files, and there don't have any exception logs. I don't know why.
> I have only created one ftp-su, and have packaged the only SU to SA. here is the configuration in the xbean.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Generated by Apache ServiceMix Archetype -->
> <beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0"
> xmlns:ftptest="http://longyg.test/ftptest" xmlns="http://www.springframework.org/schema/beans"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="
> http://servicemix.apache.org/ftp/1.0 http://servicemix.apache.org/schema/servicemix-ftp-2010.01.xsd
> http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
> <ftp:poller service="ftptest:ftpPoller" endpoint="endpoint" targetService="ftptest:ftpSender" targetEndpoint="endpoint" deleteFile="true"
> uri="ftp://omc:omc@10.9.206.172/home/omc/tmp">
> <property name="filter">
> <bean class="org.apache.commons.io.filefilter.WildcardFilter">
> <constructor-arg value="*.zip" />
> </bean>
> </property>
> <property name="marshaler">
> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
> </property>
> </ftp:poller>
> <ftp:sender service="ftptest:ftpSender" endpoint="endpoint" uri="ftp://omc:omc@10.9.137.3/home/omc/tmp" >
> <property name="marshaler">
> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
> </property>
> </ftp:sender>
> </beans>
> And here is part of debug logs:
> 12:04:07,104 | DEBUG | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 597 | Unpacked archive D:\tool\apache-servicemix-3.3.1\hotdeploy\ftp-sa-1.0-SNAPSHOT.zip to D:\tool\apache-servicemix-3.3.1\data\smx\tmp\ftp-sa-1.0-SNAPSHOT.0.tmp
> 12:04:07,120 | DEBUG | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 334 | SA dependencies: [servicemix-ftp]
> 12:04:07,120 | DEBUG | Timer-2 | DeploymentService | bi.framework.DeploymentService 475 | Moving D:\tool\apache-servicemix-3.3.1\data\smx\tmp\ftp-sa-1.0-SNAPSHOT.0.tmp to D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\install
> 12:04:07,120 | DEBUG | Timer-2 | DeploymentService | bi.framework.DeploymentService 502 | Unpack service unit archive D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\install\ftp-su-1.0-SNAPSHOT.zip to D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\sus\servicemix-ftp\ftp-su
> 12:04:07,198 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 61 | Deploying service unit
> 12:04:07,198 | DEBUG | Timer-2 | FtpComponent | on.xbean.AbstractXBeanDeployer 57 | Looking for D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\sus\servicemix-ftp\ftp-su\xbean.xml: true
> 12:04:07,261 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 75 | Service unit deployed
> 12:04:07,323 | INFO | Timer-2 | ServiceAssemblyLifeCycle | ework.ServiceAssemblyLifeCycle 133 | Starting service assembly: ftp-sa
> 12:04:07,323 | INFO | Timer-2 | ServiceUnitLifeCycle | framework.ServiceUnitLifeCycle 78 | Initializing service unit: ftp-su
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 101 | Initializing service unit
> 12:04:07,323 | DEBUG | Timer-2 | ComponentContextImpl | framework.ComponentContextImpl 124 | Component: servicemix-ftp activated endpoint: {http://longyg.test/ftptest}ftpSender : endpoint
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 94 | Querying service description for ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 102 | No description found for {http://longyg.test/ftptest}ftpSender:endpoint
> 12:04:07,323 | DEBUG | Timer-2 | WSDL1Processor | amework.support.WSDL1Processor 63 | Endpoint ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint] has no service description
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 94 | Querying service description for ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 102 | No description found for {http://longyg.test/ftptest}ftpSender:endpoint
> 12:04:07,323 | DEBUG | Timer-2 | WSDL2Processor | amework.support.WSDL2Processor 64 | Endpoint ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint] has no service description
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 124 | Service unit initialized
> 12:04:07,323 | INFO | Timer-2 | ServiceUnitLifeCycle | framework.ServiceUnitLifeCycle 97 | Starting service unit: ftp-su
> 12:04:07,323 | DEBUG | pool-2-thread-1 | JCAFlow | cemix.jbi.nmr.flow.jca.JCAFlow 430 | ServiceMix: broadcasting info for org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 142 | Starting service unit
> 12:04:07,339 | DEBUG | pool-2-thread-1 | JMSFlow | i.nmr.flow.jms.AbstractJMSFlow 374 | ServiceMix: broadcasting info for org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]]
> 12:04:08,948 | DEBUG | pool-component.servicemix-ftp-thread-1 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:09,932 | DEBUG | pool-component.servicemix-ftp-thread-1 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:10,635 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 157 | Service unit started
> 12:04:10,650 | INFO | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 659 | Directory: hotdeploy: Finished installation of archive: ftp-sa-1.0-SNAPSHOT.zip
> 12:04:13,946 | DEBUG | pool-component.servicemix-ftp-thread-2 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:15,492 | DEBUG | pool-component.servicemix-ftp-thread-2 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:18,976 | DEBUG | pool-component.servicemix-ftp-thread-3 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:19,725 | DEBUG | pool-component.servicemix-ftp-thread-3 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:23,990 | DEBUG | pool-component.servicemix-ftp-thread-4 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:24,786 | DEBUG | pool-component.servicemix-ftp-thread-4 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:29,004 | DEBUG | pool-component.servicemix-ftp-thread-5 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:29,753 | DEBUG | pool-component.servicemix-ftp-thread-5 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:34,018 | DEBUG | pool-component.servicemix-ftp-thread-6 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:34,767 | DEBUG | pool-component.servicemix-ftp-thread-6 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:39,032 | DEBUG | pool-component.servicemix-ftp-thread-7 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:39,781 | DEBUG | pool-component.servicemix-ftp-thread-7 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:44,046 | DEBUG | pool-component.servicemix-ftp-thread-8 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:44,811 | DEBUG | pool-component.servicemix-ftp-thread-8 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:49,060 | DEBUG | pool-component.servicemix-ftp-thread-9 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:49,794 | DEBUG | pool-component.servicemix-ftp-thread-9 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:54,073 | DEBUG | pool-component.servicemix-ftp-thread-10 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:54,839 | DEBUG | pool-component.servicemix-ftp-thread-10 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:59,087 | DEBUG | pool-component.servicemix-ftp-thread-11 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:59,853 | DEBUG | pool-component.servicemix-ftp-thread-11 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:05:04,101 | DEBUG | pool-component.servicemix-ftp-thread-12 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:05:04,851 | DEBUG | pool-component.servicemix-ftp-thread-12 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> From the logs, it has connected FTP server really, and execute polling directory /home/omc/tmp. There are xml and zip files in this directory, but they are not downloaded to the other server.
> Is anybody meet the similar situation?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SMXCOMP-830) FTP poll provider endpoint can not
work correctly
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMXCOMP-830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved SMXCOMP-830.
------------------------------------------
Resolution: Won't Fix
Assignee: Jean-Baptiste Onofré
> FTP poll provider endpoint can not work correctly
> -------------------------------------------------
>
> Key: SMXCOMP-830
> URL: https://issues.apache.org/jira/browse/SMXCOMP-830
> Project: ServiceMix Components
> Issue Type: Test
> Components: servicemix-ftp
> Affects Versions: servicemix-ftp-2009.01
> Environment: servicemix environment : windows xp
> ftp server environment : redhat linux
> Reporter: Long, Yonggang
> Assignee: Jean-Baptiste Onofré
> Fix For: servicemix-ftp-2009.01
>
>
> When i try to test the ftp component to get files from remote FTP server. It has connected to FTP server successfully, but can't download the files, and there don't have any exception logs. I don't know why.
> I have only created one ftp-su, and have packaged the only SU to SA. here is the configuration in the xbean.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Generated by Apache ServiceMix Archetype -->
> <beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0"
> xmlns:ftptest="http://longyg.test/ftptest" xmlns="http://www.springframework.org/schema/beans"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="
> http://servicemix.apache.org/ftp/1.0 http://servicemix.apache.org/schema/servicemix-ftp-2010.01.xsd
> http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
> <ftp:poller service="ftptest:ftpPoller" endpoint="endpoint" targetService="ftptest:ftpSender" targetEndpoint="endpoint" deleteFile="true"
> uri="ftp://omc:omc@10.9.206.172/home/omc/tmp">
> <property name="filter">
> <bean class="org.apache.commons.io.filefilter.WildcardFilter">
> <constructor-arg value="*.zip" />
> </bean>
> </property>
> <property name="marshaler">
> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
> </property>
> </ftp:poller>
> <ftp:sender service="ftptest:ftpSender" endpoint="endpoint" uri="ftp://omc:omc@10.9.137.3/home/omc/tmp" >
> <property name="marshaler">
> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
> </property>
> </ftp:sender>
> </beans>
> And here is part of debug logs:
> 12:04:07,104 | DEBUG | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 597 | Unpacked archive D:\tool\apache-servicemix-3.3.1\hotdeploy\ftp-sa-1.0-SNAPSHOT.zip to D:\tool\apache-servicemix-3.3.1\data\smx\tmp\ftp-sa-1.0-SNAPSHOT.0.tmp
> 12:04:07,120 | DEBUG | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 334 | SA dependencies: [servicemix-ftp]
> 12:04:07,120 | DEBUG | Timer-2 | DeploymentService | bi.framework.DeploymentService 475 | Moving D:\tool\apache-servicemix-3.3.1\data\smx\tmp\ftp-sa-1.0-SNAPSHOT.0.tmp to D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\install
> 12:04:07,120 | DEBUG | Timer-2 | DeploymentService | bi.framework.DeploymentService 502 | Unpack service unit archive D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\install\ftp-su-1.0-SNAPSHOT.zip to D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\sus\servicemix-ftp\ftp-su
> 12:04:07,198 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 61 | Deploying service unit
> 12:04:07,198 | DEBUG | Timer-2 | FtpComponent | on.xbean.AbstractXBeanDeployer 57 | Looking for D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\sus\servicemix-ftp\ftp-su\xbean.xml: true
> 12:04:07,261 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 75 | Service unit deployed
> 12:04:07,323 | INFO | Timer-2 | ServiceAssemblyLifeCycle | ework.ServiceAssemblyLifeCycle 133 | Starting service assembly: ftp-sa
> 12:04:07,323 | INFO | Timer-2 | ServiceUnitLifeCycle | framework.ServiceUnitLifeCycle 78 | Initializing service unit: ftp-su
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 101 | Initializing service unit
> 12:04:07,323 | DEBUG | Timer-2 | ComponentContextImpl | framework.ComponentContextImpl 124 | Component: servicemix-ftp activated endpoint: {http://longyg.test/ftptest}ftpSender : endpoint
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 94 | Querying service description for ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 102 | No description found for {http://longyg.test/ftptest}ftpSender:endpoint
> 12:04:07,323 | DEBUG | Timer-2 | WSDL1Processor | amework.support.WSDL1Processor 63 | Endpoint ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint] has no service description
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 94 | Querying service description for ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 102 | No description found for {http://longyg.test/ftptest}ftpSender:endpoint
> 12:04:07,323 | DEBUG | Timer-2 | WSDL2Processor | amework.support.WSDL2Processor 64 | Endpoint ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint] has no service description
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 124 | Service unit initialized
> 12:04:07,323 | INFO | Timer-2 | ServiceUnitLifeCycle | framework.ServiceUnitLifeCycle 97 | Starting service unit: ftp-su
> 12:04:07,323 | DEBUG | pool-2-thread-1 | JCAFlow | cemix.jbi.nmr.flow.jca.JCAFlow 430 | ServiceMix: broadcasting info for org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 142 | Starting service unit
> 12:04:07,339 | DEBUG | pool-2-thread-1 | JMSFlow | i.nmr.flow.jms.AbstractJMSFlow 374 | ServiceMix: broadcasting info for org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]]
> 12:04:08,948 | DEBUG | pool-component.servicemix-ftp-thread-1 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:09,932 | DEBUG | pool-component.servicemix-ftp-thread-1 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:10,635 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 157 | Service unit started
> 12:04:10,650 | INFO | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 659 | Directory: hotdeploy: Finished installation of archive: ftp-sa-1.0-SNAPSHOT.zip
> 12:04:13,946 | DEBUG | pool-component.servicemix-ftp-thread-2 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:15,492 | DEBUG | pool-component.servicemix-ftp-thread-2 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:18,976 | DEBUG | pool-component.servicemix-ftp-thread-3 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:19,725 | DEBUG | pool-component.servicemix-ftp-thread-3 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:23,990 | DEBUG | pool-component.servicemix-ftp-thread-4 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:24,786 | DEBUG | pool-component.servicemix-ftp-thread-4 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:29,004 | DEBUG | pool-component.servicemix-ftp-thread-5 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:29,753 | DEBUG | pool-component.servicemix-ftp-thread-5 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:34,018 | DEBUG | pool-component.servicemix-ftp-thread-6 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:34,767 | DEBUG | pool-component.servicemix-ftp-thread-6 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:39,032 | DEBUG | pool-component.servicemix-ftp-thread-7 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:39,781 | DEBUG | pool-component.servicemix-ftp-thread-7 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:44,046 | DEBUG | pool-component.servicemix-ftp-thread-8 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:44,811 | DEBUG | pool-component.servicemix-ftp-thread-8 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:49,060 | DEBUG | pool-component.servicemix-ftp-thread-9 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:49,794 | DEBUG | pool-component.servicemix-ftp-thread-9 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:54,073 | DEBUG | pool-component.servicemix-ftp-thread-10 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:54,839 | DEBUG | pool-component.servicemix-ftp-thread-10 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:59,087 | DEBUG | pool-component.servicemix-ftp-thread-11 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:59,853 | DEBUG | pool-component.servicemix-ftp-thread-11 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:05:04,101 | DEBUG | pool-component.servicemix-ftp-thread-12 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:05:04,851 | DEBUG | pool-component.servicemix-ftp-thread-12 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> From the logs, it has connected FTP server really, and execute polling directory /home/omc/tmp. There are xml and zip files in this directory, but they are not downloaded to the other server.
> Is anybody meet the similar situation?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (SMXCOMP-830) FTP poll provider endpoint can not
work correctly
Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMXCOMP-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969236#action_12969236 ]
Lars Heinemann commented on SMXCOMP-830:
----------------------------------------
Are you sure that the user which polls the ftp server has the correct rights to see the files in there?
> FTP poll provider endpoint can not work correctly
> -------------------------------------------------
>
> Key: SMXCOMP-830
> URL: https://issues.apache.org/jira/browse/SMXCOMP-830
> Project: ServiceMix Components
> Issue Type: Test
> Components: servicemix-ftp
> Affects Versions: servicemix-ftp-2009.01
> Environment: servicemix environment : windows xp
> ftp server environment : redhat linux
> Reporter: Long, Yonggang
> Fix For: servicemix-ftp-2009.01
>
>
> When i try to test the ftp component to get files from remote FTP server. It has connected to FTP server successfully, but can't download the files, and there don't have any exception logs. I don't know why.
> I have only created one ftp-su, and have packaged the only SU to SA. here is the configuration in the xbean.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Generated by Apache ServiceMix Archetype -->
> <beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0"
> xmlns:ftptest="http://longyg.test/ftptest" xmlns="http://www.springframework.org/schema/beans"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="
> http://servicemix.apache.org/ftp/1.0 http://servicemix.apache.org/schema/servicemix-ftp-2010.01.xsd
> http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
> <ftp:poller service="ftptest:ftpPoller" endpoint="endpoint" targetService="ftptest:ftpSender" targetEndpoint="endpoint" deleteFile="true"
> uri="ftp://omc:omc@10.9.206.172/home/omc/tmp">
> <property name="filter">
> <bean class="org.apache.commons.io.filefilter.WildcardFilter">
> <constructor-arg value="*.zip" />
> </bean>
> </property>
> <property name="marshaler">
> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
> </property>
> </ftp:poller>
> <ftp:sender service="ftptest:ftpSender" endpoint="endpoint" uri="ftp://omc:omc@10.9.137.3/home/omc/tmp" >
> <property name="marshaler">
> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
> </property>
> </ftp:sender>
> </beans>
> And here is part of debug logs:
> 12:04:07,104 | DEBUG | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 597 | Unpacked archive D:\tool\apache-servicemix-3.3.1\hotdeploy\ftp-sa-1.0-SNAPSHOT.zip to D:\tool\apache-servicemix-3.3.1\data\smx\tmp\ftp-sa-1.0-SNAPSHOT.0.tmp
> 12:04:07,120 | DEBUG | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 334 | SA dependencies: [servicemix-ftp]
> 12:04:07,120 | DEBUG | Timer-2 | DeploymentService | bi.framework.DeploymentService 475 | Moving D:\tool\apache-servicemix-3.3.1\data\smx\tmp\ftp-sa-1.0-SNAPSHOT.0.tmp to D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\install
> 12:04:07,120 | DEBUG | Timer-2 | DeploymentService | bi.framework.DeploymentService 502 | Unpack service unit archive D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\install\ftp-su-1.0-SNAPSHOT.zip to D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\sus\servicemix-ftp\ftp-su
> 12:04:07,198 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 61 | Deploying service unit
> 12:04:07,198 | DEBUG | Timer-2 | FtpComponent | on.xbean.AbstractXBeanDeployer 57 | Looking for D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\sus\servicemix-ftp\ftp-su\xbean.xml: true
> 12:04:07,261 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 75 | Service unit deployed
> 12:04:07,323 | INFO | Timer-2 | ServiceAssemblyLifeCycle | ework.ServiceAssemblyLifeCycle 133 | Starting service assembly: ftp-sa
> 12:04:07,323 | INFO | Timer-2 | ServiceUnitLifeCycle | framework.ServiceUnitLifeCycle 78 | Initializing service unit: ftp-su
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 101 | Initializing service unit
> 12:04:07,323 | DEBUG | Timer-2 | ComponentContextImpl | framework.ComponentContextImpl 124 | Component: servicemix-ftp activated endpoint: {http://longyg.test/ftptest}ftpSender : endpoint
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 94 | Querying service description for ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 102 | No description found for {http://longyg.test/ftptest}ftpSender:endpoint
> 12:04:07,323 | DEBUG | Timer-2 | WSDL1Processor | amework.support.WSDL1Processor 63 | Endpoint ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint] has no service description
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 94 | Querying service description for ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 102 | No description found for {http://longyg.test/ftptest}ftpSender:endpoint
> 12:04:07,323 | DEBUG | Timer-2 | WSDL2Processor | amework.support.WSDL2Processor 64 | Endpoint ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint] has no service description
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 124 | Service unit initialized
> 12:04:07,323 | INFO | Timer-2 | ServiceUnitLifeCycle | framework.ServiceUnitLifeCycle 97 | Starting service unit: ftp-su
> 12:04:07,323 | DEBUG | pool-2-thread-1 | JCAFlow | cemix.jbi.nmr.flow.jca.JCAFlow 430 | ServiceMix: broadcasting info for org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 142 | Starting service unit
> 12:04:07,339 | DEBUG | pool-2-thread-1 | JMSFlow | i.nmr.flow.jms.AbstractJMSFlow 374 | ServiceMix: broadcasting info for org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]]
> 12:04:08,948 | DEBUG | pool-component.servicemix-ftp-thread-1 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:09,932 | DEBUG | pool-component.servicemix-ftp-thread-1 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:10,635 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 157 | Service unit started
> 12:04:10,650 | INFO | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 659 | Directory: hotdeploy: Finished installation of archive: ftp-sa-1.0-SNAPSHOT.zip
> 12:04:13,946 | DEBUG | pool-component.servicemix-ftp-thread-2 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:15,492 | DEBUG | pool-component.servicemix-ftp-thread-2 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:18,976 | DEBUG | pool-component.servicemix-ftp-thread-3 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:19,725 | DEBUG | pool-component.servicemix-ftp-thread-3 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:23,990 | DEBUG | pool-component.servicemix-ftp-thread-4 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:24,786 | DEBUG | pool-component.servicemix-ftp-thread-4 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:29,004 | DEBUG | pool-component.servicemix-ftp-thread-5 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:29,753 | DEBUG | pool-component.servicemix-ftp-thread-5 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:34,018 | DEBUG | pool-component.servicemix-ftp-thread-6 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:34,767 | DEBUG | pool-component.servicemix-ftp-thread-6 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:39,032 | DEBUG | pool-component.servicemix-ftp-thread-7 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:39,781 | DEBUG | pool-component.servicemix-ftp-thread-7 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:44,046 | DEBUG | pool-component.servicemix-ftp-thread-8 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:44,811 | DEBUG | pool-component.servicemix-ftp-thread-8 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:49,060 | DEBUG | pool-component.servicemix-ftp-thread-9 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:49,794 | DEBUG | pool-component.servicemix-ftp-thread-9 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:54,073 | DEBUG | pool-component.servicemix-ftp-thread-10 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:54,839 | DEBUG | pool-component.servicemix-ftp-thread-10 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:59,087 | DEBUG | pool-component.servicemix-ftp-thread-11 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:59,853 | DEBUG | pool-component.servicemix-ftp-thread-11 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:05:04,101 | DEBUG | pool-component.servicemix-ftp-thread-12 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:05:04,851 | DEBUG | pool-component.servicemix-ftp-thread-12 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> From the logs, it has connected FTP server really, and execute polling directory /home/omc/tmp. There are xml and zip files in this directory, but they are not downloaded to the other server.
> Is anybody meet the similar situation?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SMXCOMP-830) FTP poll provider endpoint can not
work correctly
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMXCOMP-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988677#comment-12988677 ]
Jean-Baptiste Onofré commented on SMXCOMP-830:
----------------------------------------------
The component works as expected. Regarding the relative or absolute usage, it depends on the FTP server configuration. For instance, using proftpd, you can setup if the account is chroot or not.
> FTP poll provider endpoint can not work correctly
> -------------------------------------------------
>
> Key: SMXCOMP-830
> URL: https://issues.apache.org/jira/browse/SMXCOMP-830
> Project: ServiceMix Components
> Issue Type: Test
> Components: servicemix-ftp
> Affects Versions: servicemix-ftp-2009.01
> Environment: servicemix environment : windows xp
> ftp server environment : redhat linux
> Reporter: Long, Yonggang
> Fix For: servicemix-ftp-2009.01
>
>
> When i try to test the ftp component to get files from remote FTP server. It has connected to FTP server successfully, but can't download the files, and there don't have any exception logs. I don't know why.
> I have only created one ftp-su, and have packaged the only SU to SA. here is the configuration in the xbean.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Generated by Apache ServiceMix Archetype -->
> <beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0"
> xmlns:ftptest="http://longyg.test/ftptest" xmlns="http://www.springframework.org/schema/beans"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="
> http://servicemix.apache.org/ftp/1.0 http://servicemix.apache.org/schema/servicemix-ftp-2010.01.xsd
> http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
> <ftp:poller service="ftptest:ftpPoller" endpoint="endpoint" targetService="ftptest:ftpSender" targetEndpoint="endpoint" deleteFile="true"
> uri="ftp://omc:omc@10.9.206.172/home/omc/tmp">
> <property name="filter">
> <bean class="org.apache.commons.io.filefilter.WildcardFilter">
> <constructor-arg value="*.zip" />
> </bean>
> </property>
> <property name="marshaler">
> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
> </property>
> </ftp:poller>
> <ftp:sender service="ftptest:ftpSender" endpoint="endpoint" uri="ftp://omc:omc@10.9.137.3/home/omc/tmp" >
> <property name="marshaler">
> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
> </property>
> </ftp:sender>
> </beans>
> And here is part of debug logs:
> 12:04:07,104 | DEBUG | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 597 | Unpacked archive D:\tool\apache-servicemix-3.3.1\hotdeploy\ftp-sa-1.0-SNAPSHOT.zip to D:\tool\apache-servicemix-3.3.1\data\smx\tmp\ftp-sa-1.0-SNAPSHOT.0.tmp
> 12:04:07,120 | DEBUG | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 334 | SA dependencies: [servicemix-ftp]
> 12:04:07,120 | DEBUG | Timer-2 | DeploymentService | bi.framework.DeploymentService 475 | Moving D:\tool\apache-servicemix-3.3.1\data\smx\tmp\ftp-sa-1.0-SNAPSHOT.0.tmp to D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\install
> 12:04:07,120 | DEBUG | Timer-2 | DeploymentService | bi.framework.DeploymentService 502 | Unpack service unit archive D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\install\ftp-su-1.0-SNAPSHOT.zip to D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\sus\servicemix-ftp\ftp-su
> 12:04:07,198 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 61 | Deploying service unit
> 12:04:07,198 | DEBUG | Timer-2 | FtpComponent | on.xbean.AbstractXBeanDeployer 57 | Looking for D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\sus\servicemix-ftp\ftp-su\xbean.xml: true
> 12:04:07,261 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 75 | Service unit deployed
> 12:04:07,323 | INFO | Timer-2 | ServiceAssemblyLifeCycle | ework.ServiceAssemblyLifeCycle 133 | Starting service assembly: ftp-sa
> 12:04:07,323 | INFO | Timer-2 | ServiceUnitLifeCycle | framework.ServiceUnitLifeCycle 78 | Initializing service unit: ftp-su
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 101 | Initializing service unit
> 12:04:07,323 | DEBUG | Timer-2 | ComponentContextImpl | framework.ComponentContextImpl 124 | Component: servicemix-ftp activated endpoint: {http://longyg.test/ftptest}ftpSender : endpoint
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 94 | Querying service description for ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 102 | No description found for {http://longyg.test/ftptest}ftpSender:endpoint
> 12:04:07,323 | DEBUG | Timer-2 | WSDL1Processor | amework.support.WSDL1Processor 63 | Endpoint ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint] has no service description
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 94 | Querying service description for ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 102 | No description found for {http://longyg.test/ftptest}ftpSender:endpoint
> 12:04:07,323 | DEBUG | Timer-2 | WSDL2Processor | amework.support.WSDL2Processor 64 | Endpoint ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint] has no service description
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 124 | Service unit initialized
> 12:04:07,323 | INFO | Timer-2 | ServiceUnitLifeCycle | framework.ServiceUnitLifeCycle 97 | Starting service unit: ftp-su
> 12:04:07,323 | DEBUG | pool-2-thread-1 | JCAFlow | cemix.jbi.nmr.flow.jca.JCAFlow 430 | ServiceMix: broadcasting info for org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 142 | Starting service unit
> 12:04:07,339 | DEBUG | pool-2-thread-1 | JMSFlow | i.nmr.flow.jms.AbstractJMSFlow 374 | ServiceMix: broadcasting info for org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]]
> 12:04:08,948 | DEBUG | pool-component.servicemix-ftp-thread-1 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:09,932 | DEBUG | pool-component.servicemix-ftp-thread-1 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:10,635 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 157 | Service unit started
> 12:04:10,650 | INFO | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 659 | Directory: hotdeploy: Finished installation of archive: ftp-sa-1.0-SNAPSHOT.zip
> 12:04:13,946 | DEBUG | pool-component.servicemix-ftp-thread-2 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:15,492 | DEBUG | pool-component.servicemix-ftp-thread-2 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:18,976 | DEBUG | pool-component.servicemix-ftp-thread-3 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:19,725 | DEBUG | pool-component.servicemix-ftp-thread-3 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:23,990 | DEBUG | pool-component.servicemix-ftp-thread-4 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:24,786 | DEBUG | pool-component.servicemix-ftp-thread-4 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:29,004 | DEBUG | pool-component.servicemix-ftp-thread-5 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:29,753 | DEBUG | pool-component.servicemix-ftp-thread-5 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:34,018 | DEBUG | pool-component.servicemix-ftp-thread-6 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:34,767 | DEBUG | pool-component.servicemix-ftp-thread-6 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:39,032 | DEBUG | pool-component.servicemix-ftp-thread-7 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:39,781 | DEBUG | pool-component.servicemix-ftp-thread-7 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:44,046 | DEBUG | pool-component.servicemix-ftp-thread-8 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:44,811 | DEBUG | pool-component.servicemix-ftp-thread-8 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:49,060 | DEBUG | pool-component.servicemix-ftp-thread-9 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:49,794 | DEBUG | pool-component.servicemix-ftp-thread-9 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:54,073 | DEBUG | pool-component.servicemix-ftp-thread-10 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:54,839 | DEBUG | pool-component.servicemix-ftp-thread-10 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:59,087 | DEBUG | pool-component.servicemix-ftp-thread-11 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:59,853 | DEBUG | pool-component.servicemix-ftp-thread-11 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:05:04,101 | DEBUG | pool-component.servicemix-ftp-thread-12 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:05:04,851 | DEBUG | pool-component.servicemix-ftp-thread-12 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> From the logs, it has connected FTP server really, and execute polling directory /home/omc/tmp. There are xml and zip files in this directory, but they are not downloaded to the other server.
> Is anybody meet the similar situation?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (SMXCOMP-830) FTP poll provider endpoint can not
work correctly
Posted by "Long, Yonggang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMXCOMP-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969611#action_12969611 ]
Long, Yonggang commented on SMXCOMP-830:
----------------------------------------
Yes, I'm sure that the user has the rights to see and get files.
Here I have done a test. I can get files from the ftp server via cmd :
D:\temp\sender>ftp 10.9.206.172
Connected to 10.9.206.172.
220 (vsFTPd 2.0.5)
User (10.9.206.172:(none)): omc
331 Please specify the password.
Password:
230 Login successful.
ftp> cd tmp
250 Directory successfully changed.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
com.nsn.installserver-DYNAMIC-SNAPSHOT.zip
226 Directory send OK.
ftp: receive 44 bytes,Used time 0.02Seconds 2.75Kbytes/sec.
ftp> get com.nsn.installserver-DYNAMIC-SNAPSHOT.zip
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for com.nsn.installserver-DYNAMIC-SNAPSHOT.zip (349072 bytes).
226 File send OK.
ftp: receive 349072 bytes,Used time 2.23Seconds 156.25Kbytes/sec.
> FTP poll provider endpoint can not work correctly
> -------------------------------------------------
>
> Key: SMXCOMP-830
> URL: https://issues.apache.org/jira/browse/SMXCOMP-830
> Project: ServiceMix Components
> Issue Type: Test
> Components: servicemix-ftp
> Affects Versions: servicemix-ftp-2009.01
> Environment: servicemix environment : windows xp
> ftp server environment : redhat linux
> Reporter: Long, Yonggang
> Fix For: servicemix-ftp-2009.01
>
>
> When i try to test the ftp component to get files from remote FTP server. It has connected to FTP server successfully, but can't download the files, and there don't have any exception logs. I don't know why.
> I have only created one ftp-su, and have packaged the only SU to SA. here is the configuration in the xbean.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Generated by Apache ServiceMix Archetype -->
> <beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0"
> xmlns:ftptest="http://longyg.test/ftptest" xmlns="http://www.springframework.org/schema/beans"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="
> http://servicemix.apache.org/ftp/1.0 http://servicemix.apache.org/schema/servicemix-ftp-2010.01.xsd
> http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
> <ftp:poller service="ftptest:ftpPoller" endpoint="endpoint" targetService="ftptest:ftpSender" targetEndpoint="endpoint" deleteFile="true"
> uri="ftp://omc:omc@10.9.206.172/home/omc/tmp">
> <property name="filter">
> <bean class="org.apache.commons.io.filefilter.WildcardFilter">
> <constructor-arg value="*.zip" />
> </bean>
> </property>
> <property name="marshaler">
> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
> </property>
> </ftp:poller>
> <ftp:sender service="ftptest:ftpSender" endpoint="endpoint" uri="ftp://omc:omc@10.9.137.3/home/omc/tmp" >
> <property name="marshaler">
> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
> </property>
> </ftp:sender>
> </beans>
> And here is part of debug logs:
> 12:04:07,104 | DEBUG | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 597 | Unpacked archive D:\tool\apache-servicemix-3.3.1\hotdeploy\ftp-sa-1.0-SNAPSHOT.zip to D:\tool\apache-servicemix-3.3.1\data\smx\tmp\ftp-sa-1.0-SNAPSHOT.0.tmp
> 12:04:07,120 | DEBUG | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 334 | SA dependencies: [servicemix-ftp]
> 12:04:07,120 | DEBUG | Timer-2 | DeploymentService | bi.framework.DeploymentService 475 | Moving D:\tool\apache-servicemix-3.3.1\data\smx\tmp\ftp-sa-1.0-SNAPSHOT.0.tmp to D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\install
> 12:04:07,120 | DEBUG | Timer-2 | DeploymentService | bi.framework.DeploymentService 502 | Unpack service unit archive D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\install\ftp-su-1.0-SNAPSHOT.zip to D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\sus\servicemix-ftp\ftp-su
> 12:04:07,198 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 61 | Deploying service unit
> 12:04:07,198 | DEBUG | Timer-2 | FtpComponent | on.xbean.AbstractXBeanDeployer 57 | Looking for D:\tool\apache-servicemix-3.3.1\data\smx\service-assemblies\ftp-sa\version_1\sus\servicemix-ftp\ftp-su\xbean.xml: true
> 12:04:07,261 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 75 | Service unit deployed
> 12:04:07,323 | INFO | Timer-2 | ServiceAssemblyLifeCycle | ework.ServiceAssemblyLifeCycle 133 | Starting service assembly: ftp-sa
> 12:04:07,323 | INFO | Timer-2 | ServiceUnitLifeCycle | framework.ServiceUnitLifeCycle 78 | Initializing service unit: ftp-su
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 101 | Initializing service unit
> 12:04:07,323 | DEBUG | Timer-2 | ComponentContextImpl | framework.ComponentContextImpl 124 | Component: servicemix-ftp activated endpoint: {http://longyg.test/ftptest}ftpSender : endpoint
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 94 | Querying service description for ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 102 | No description found for {http://longyg.test/ftptest}ftpSender:endpoint
> 12:04:07,323 | DEBUG | Timer-2 | WSDL1Processor | amework.support.WSDL1Processor 63 | Endpoint ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint] has no service description
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 94 | Querying service description for ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | icemix.common.DefaultComponent 102 | No description found for {http://longyg.test/ftptest}ftpSender:endpoint
> 12:04:07,323 | DEBUG | Timer-2 | WSDL2Processor | amework.support.WSDL2Processor 64 | Endpoint ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint] has no service description
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 124 | Service unit initialized
> 12:04:07,323 | INFO | Timer-2 | ServiceUnitLifeCycle | framework.ServiceUnitLifeCycle 97 | Starting service unit: ftp-su
> 12:04:07,323 | DEBUG | pool-2-thread-1 | JCAFlow | cemix.jbi.nmr.flow.jca.JCAFlow 430 | ServiceMix: broadcasting info for org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]]
> 12:04:07,323 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 142 | Starting service unit
> 12:04:07,339 | DEBUG | pool-2-thread-1 | JMSFlow | i.nmr.flow.jms.AbstractJMSFlow 374 | ServiceMix: broadcasting info for org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[service={http://longyg.test/ftptest}ftpSender,endpoint=endpoint]]
> 12:04:08,948 | DEBUG | pool-component.servicemix-ftp-thread-1 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:09,932 | DEBUG | pool-component.servicemix-ftp-thread-1 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:10,635 | DEBUG | Timer-2 | FtpComponent | .common.BaseServiceUnitManager 157 | Service unit started
> 12:04:10,650 | INFO | Timer-2 | AutoDeploymentService | ramework.AutoDeploymentService 659 | Directory: hotdeploy: Finished installation of archive: ftp-sa-1.0-SNAPSHOT.zip
> 12:04:13,946 | DEBUG | pool-component.servicemix-ftp-thread-2 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:15,492 | DEBUG | pool-component.servicemix-ftp-thread-2 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:18,976 | DEBUG | pool-component.servicemix-ftp-thread-3 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:19,725 | DEBUG | pool-component.servicemix-ftp-thread-3 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:23,990 | DEBUG | pool-component.servicemix-ftp-thread-4 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:24,786 | DEBUG | pool-component.servicemix-ftp-thread-4 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:29,004 | DEBUG | pool-component.servicemix-ftp-thread-5 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:29,753 | DEBUG | pool-component.servicemix-ftp-thread-5 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:34,018 | DEBUG | pool-component.servicemix-ftp-thread-6 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:34,767 | DEBUG | pool-component.servicemix-ftp-thread-6 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:39,032 | DEBUG | pool-component.servicemix-ftp-thread-7 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:39,781 | DEBUG | pool-component.servicemix-ftp-thread-7 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:44,046 | DEBUG | pool-component.servicemix-ftp-thread-8 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:44,811 | DEBUG | pool-component.servicemix-ftp-thread-8 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:49,060 | DEBUG | pool-component.servicemix-ftp-thread-9 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:49,794 | DEBUG | pool-component.servicemix-ftp-thread-9 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:54,073 | DEBUG | pool-component.servicemix-ftp-thread-10 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:54,839 | DEBUG | pool-component.servicemix-ftp-thread-10 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:04:59,087 | DEBUG | pool-component.servicemix-ftp-thread-11 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:04:59,853 | DEBUG | pool-component.servicemix-ftp-thread-11 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> 12:05:04,101 | DEBUG | pool-component.servicemix-ftp-thread-12 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 334 | Polling directory /home/omc/tmp
> 12:05:04,851 | DEBUG | pool-component.servicemix-ftp-thread-12 | FtpComponent | rvicemix.ftp.FtpPollerEndpoint 357 | Polling directory /home/omc/tmp/aaa
> From the logs, it has connected FTP server really, and execute polling directory /home/omc/tmp. There are xml and zip files in this directory, but they are not downloaded to the other server.
> Is anybody meet the similar situation?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.