Yeah i tried deleting that type from that tag now it is throwing some other error and also my polling thing is running twice......
the error i got is..... Loading Apache ServiceMix from file: servicemix.xml Into read files, readAll()....... Into read files, readAll()....... INFO - JBIContainer - Activating component for: [container=ServiceMix,name=#SubscriptionManager#] with service: null component: org.apache.s [EMAIL PROTECTED] INFO - ComponentMBeanImpl - Initializing component: #SubscriptionManager# Connected INFO - DeploymentService - Restoring service assemblies INFO - JBIContainer - ServiceMix JBI Container (http://servicemix.org/) name: ServiceMix running version: 3.0-M2-incubating Caught: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbi' defined in file [D:\MAINFRAME\Install\aservicemix-3.0-M2-i ing\examples\test\servicemix.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Component name: ReadFiles is bound object which is not a JBI component, it is of type: com.ReadFiles.ReadFiles org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbi' defined in file [D:\MAINFRAME\Install\aservicemix-3.0-M2- incubatin ples\test\servicemix.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Component name: ReadFiles is bound to an o which is not a JBI component, it is of type: com.ReadFiles.ReadFiles Caused by: java.lang.IllegalArgumentException: Component name: ReadFiles is bound to an object which is not a JBI component, it is of type: com.ReadFiles.ReadF at org.apache.servicemix.jbi.container.JBIContainer.activateComponent (JBIContainer.java:915) at org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet (SpringJBIContainer.java:67) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.in vokeInitMethods(AbstractAutowireCapableBeanFactory.java:901) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.in itializeBean(AbstractAutowireCapableBeanFactory.java:870) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.cr eateBean(AbstractAutowireCapableBeanFactory.java:393) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:256) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:167) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstant iateSingletons(DefaultListableBeanFactory.java:253) at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:332) at org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init> (FileSystemXmlApplicationContext.java:150) at org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init> (FileSystemXmlApplicationContext.java:101) at org.apache.servicemix.Main.main(Main.java:80) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) File FTP.log Sent Successfully at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) Connected at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410) at org.codehaus.classworlds.Launcher.launch(Launcher.java:344) at org.codehaus.classworlds.Launcher.main(Launcher.java:461) File FTP.log Sent Successfully INFO - FtpJob - File Details ..08-19-06 03:22AM 6870 FTP.log File Details ..08-19-06 03:22AM 6870 FTP.log [FTP.log]added to list Name of the File That is Being Processed===>FTP.log Into checkFileSize()... File Name FTP.log ftpFileSize 6870 INFO - FtpJob - File Details ..08-19-06 03:22AM 6870 FTP.log File Details ..08-19-06 03:22AM 6870 FTP.log [FTP.log]added to list Name of the File That is Being Processed===>FTP.log Into checkFileSize()... File Name FTP.log ftpFileSize 6870 ftpFileSize16870 File Going to be deletedFTP.log FTP.log ftpFileSize16870 File Going to be deletedFTP.log FTP.log successfully deleted INFO - FtpJob - FtpJob.deleteFiles::File successfully deleted ERROR - FtpJob - FtpJob.readFiles:Exception com.allfon.century.components.cm.ftp.FTPException: FTP.log: The system cannot find the file specified. at com.allfon.century.components.cm.ftp.FTPControlSocket.validateReply (FTPControlSocket.java:380) at com.allfon.century.components.cm.ftp.FTPClient.get (FTPClient.java:209) at com.allfon.century.components.cm.ftp.FtpJob.getFile(FtpJob.java:275) at com.allfon.century.components.cm.ftp.FtpJob.readFiles (FtpJob.java:658) at com.ReadFiles.ReadFiles$Read.getRemoteFiles(ReadFiles.java:117) at com.ReadFiles.ReadFiles$Read.run(ReadFiles.java:60) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) java.lang.Exception: The File 'FTP.log' does not Exists at com.allfon.century.components.cm.ftp.FtpJob.readFiles (FtpJob.java:664) at com.ReadFiles.ReadFiles$Read.getRemoteFiles(ReadFiles.java:117) at com.ReadFiles.ReadFiles$Read.run(ReadFiles.java:60) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Exception while dejava.lang.Exception: The File 'FTP.log' does not Exists no files found in folder. no files found in folder. waiting for files to be dropped... waiting for files to be dropped... no files found in folder. no files found in folder. waiting for files to be dropped... waiting for files to be dropped... no files found in folder. no files found in folder. See the same thing is printed also twice instead of once....
