I answer to myself 1) Jencks 2.0 is now in used and requires an instance of transactionManager as property of the WorkManager. BUT once done, I had another error telling me that the workManager was now a wrong property for the FTPPoller (VFS). Could you explain me the role of jencks/workManager?
2) stupid question. Now I tried the VFS with 3.1 it works better. I will make further test and compare with the new FTP component. thanks! mart wrote: > > 2 questions then: > > 1) Trying to deploy my current SA with VFS, I have this error: > > <stack-trace><![CDATA[org.apache.xbean.k > ernel.ServiceRegistrationException: > org.springframework.beans.factory.BeanCreati > onException: Error creating bean with name 'jbi' defined in file > [D:\TEST\sm-31\ > apache-servicemix-3.1-incubating-SNAPSHOT\data\smx\service-assemblies\other\vers > ion_7\sus\servicemix-lwcontainer\otherlw-su\servicemix.xml]: Cannot create > inner > bean '(inner bean)' while setting bean property 'activationSpecs' with > key [0]; > nested exception is > org.springframework.beans.factory.BeanCreationException: Er > ror creating bean with name '(inner bean)' defined in file > [D:\TEST\sm-31\apache > -servicemix-3.1-incubating-SNAPSHOT\data\smx\service-assemblies\other\version_7\ > sus\servicemix-lwcontainer\otherlw-su\servicemix.xml]: Cannot create inner > bean > 'org.apache.servicemix.components.vfs.FilePoller' while setting > constructor argu > ment with index 0; nested exception is > org.springframework.beans.factory.BeanCre > ationException: Error creating bean with name > 'org.apache.servicemix.components. > vfs.FilePoller' defined in file > [D:\TEST\sm-31\apache-servicemix-3.1-incubating- > SNAPSHOT\data\smx\service-assemblies\other\version_7\sus\servicemix-lwcontainer\ > otherlw-su\servicemix.xml]: Cannot create inner bean > 'org.jencks.factory.WorkMan > agerFactoryBean#1cee0c8' while setting bean property 'workManager'; nested > excep > tion is org.springframework.beans.factory.BeanCreationException: Error > creating > bean with name 'org.jencks.factory.WorkManagerFactoryBean#1cee0c8' defined > in fi > le > [D:\TEST\sm-31\apache-servicemix-3.1-incubating-SNAPSHOT\data\smx\service-ass > emblies\other\version_7\sus\servicemix-lwcontainer\otherlw-su\servicemix.xml]: > I > nvocation of init method failed; nested exception is > org.springframework.beans.F > atalBeanException: Geronimo transaction manager was not set > > 2) your example illustrates the ftp poller of the new jbi ftp component. > what about the sender? > > Thanks > > > gnodet wrote: >> >> Yes, you need a 3.1 distribution, but you can download >> one at >> http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/apache-servicemix/3.1-incubating-SNAPSHOT/ >> >> On 11/10/06, mart <[EMAIL PROTECTED]> wrote: >>> >>> actually to be precised i have tried with the lw in o.a.s.components.net >>> (which I have other troubles I already reported) and the VFS; not the >>> JBI >>> one, is it new to the 3.1? the documentation I found is a little poor >>> (http://www.servicemix.org/site/servicemix-ftp.html) I suppose I have to >>> compile 3.1 from source ATM right? >>> >>> gnodet wrote: >>> > >>> > Have you tried with the lightweight components in o.a.s.components.net >>> > package (FTPPoller and FTPSender) ? >>> > Or with the new standard JBI component if you use >>> > 3.1-SNAPSHOT (you can find some exaples at [1]). >>> > >>> > [1] >>> > >>> http://svn.apache.org/viewvc/incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-ftp/src/test/resources/spring-polling.xml?view=markup >>> > >>> > On 11/9/06, mart <[EMAIL PROTECTED]> wrote: >>> >> >>> >> Hi, >>> >> I have a problem when using the VFS component to replace the FTP >>> >> component >>> >> (which I have other reported issue with). This is a FTP to FTP flow. >>> When >>> >> putting more than about 10 files in my FTP source folder at once, the >>> >> process just stops, while on the FTP server I can see users logged >>> in, >>> >> doing >>> >> nothing. I have tried Filezilla and Apache FTP Server. >>> >> >>> >> These are very small text files (some bytes), processed as binaries >>> >> attachment in the JBI message with the binary marshaller. >>> >> >>> >> May I raise a JIRA or am I wrong somewhere? >>> >> -- >>> >> View this message in context: >>> >> >>> http://www.nabble.com/Problem-using-VFS-with-FTP-tf2602487s12049.html#a7260669 >>> >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>> >> >>> >> >>> > >>> > >>> > -- >>> > Cheers, >>> > Guillaume Nodet >>> > >>> > >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Problem-using-VFS-with-FTP-tf2602487s12049.html#a7272548 >>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>> >>> >> >> >> -- >> Cheers, >> Guillaume Nodet >> >> > > -- View this message in context: http://www.nabble.com/Problem-using-VFS-with-FTP-tf2602487s12049.html#a7274082 Sent from the ServiceMix - User mailing list archive at Nabble.com.
