You need to sign in to do that
Don't have an account?
Rich13
Errors with Data Loader batch file creation
Hi ,
I am trying to create a batch file with scheduler to periodically delete particular category of tasks create in our lead records. I am understanding and trying to run a sample batch file given in the Data loader guide - command line quick start. But it is throwing lot of errors and I don't understand what they are. Can any one help me what's going wrong. Here are the errors.
2014-01-20 23:08:21,518 ERROR [main] process.ProcessConfig getProcessInstance (P
rocessConfig.java:96) - Error loading process: accountInsert configuration from
config file: C:\program files\salesforce.com\data loader\bin\process-conf.xml
org.springframework.beans.factory.BeanDefinitionStoreException: IOException pars
ing XML document from file [C:\program files\salesforce.com\data loader\bin\proc
ess-conf.xml]; nested exception is java.io.FileNotFoundException: C:\program fil
es\salesforce.com\data loader\bin\process-conf.xml (The system cannot find the f
ile specified)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:341)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFa
ctory.java:78)
at org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFa
ctory.java:66)
at com.salesforce.dataloader.process.ProcessConfig.getBeanFactory(Proces
sConfig.java:104)
at com.salesforce.dataloader.process.ProcessConfig.getProcessInstance(Pr
ocessConfig.java:93)
at com.salesforce.dataloader.process.ProcessRunner.getInstance(ProcessRu
nner.java:287)
at com.salesforce.dataloader.process.ProcessRunner.getInstance(ProcessRu
nner.java:273)
at com.salesforce.dataloader.process.ProcessRunner.main(ProcessRunner.ja
va:246)
Caused by: java.io.FileNotFoundException: C:\program files\salesforce.com\data l
oader\bin\process-conf.xml (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at org.springframework.core.io.FileSystemResource.getInputStream(FileSys
temResource.java:113)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:328)
... 8 more
2014-01-20 23:08:21,534 FATAL [main] process.ProcessRunner topLevelError (Proces
sRunner.java:238) - Failed to create process
com.salesforce.dataloader.exception.ProcessInitializationException: Error loadin
g process: accountInsert configuration from config file: C:\program files\salesf
orce.com\data loader\bin\process-conf.xml
at com.salesforce.dataloader.process.ProcessConfig.getProcessInstance(Pr
ocessConfig.java:97)
at com.salesforce.dataloader.process.ProcessRunner.getInstance(ProcessRu
nner.java:287)
at com.salesforce.dataloader.process.ProcessRunner.getInstance(ProcessRu
nner.java:273)
at com.salesforce.dataloader.process.ProcessRunner.main(ProcessRunner.ja
va:246)
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: IOExc
eption parsing XML document from file [C:\program files\salesforce.com\data load
er\bin\process-conf.xml]; nested exception is java.io.FileNotFoundException: C:\
program files\salesforce.com\data loader\bin\process-conf.xml (The system cannot
find the file specified)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:341)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFa
ctory.java:78)
at org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFa
ctory.java:66)
at com.salesforce.dataloader.process.ProcessConfig.getBeanFactory(Proces
sConfig.java:104)
at com.salesforce.dataloader.process.ProcessConfig.getProcessInstance(Pr
ocessConfig.java:93)
... 3 more
Caused by: java.io.FileNotFoundException: C:\program files\salesforce.com\data l
oader\bin\process-conf.xml (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at org.springframework.core.io.FileSystemResource.getInputStream(FileSys
temResource.java:113)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:328)
... 8 more
I am trying to create a batch file with scheduler to periodically delete particular category of tasks create in our lead records. I am understanding and trying to run a sample batch file given in the Data loader guide - command line quick start. But it is throwing lot of errors and I don't understand what they are. Can any one help me what's going wrong. Here are the errors.
2014-01-20 23:08:21,518 ERROR [main] process.ProcessConfig getProcessInstance (P
rocessConfig.java:96) - Error loading process: accountInsert configuration from
config file: C:\program files\salesforce.com\data loader\bin\process-conf.xml
org.springframework.beans.factory.BeanDefinitionStoreException: IOException pars
ing XML document from file [C:\program files\salesforce.com\data loader\bin\proc
ess-conf.xml]; nested exception is java.io.FileNotFoundException: C:\program fil
es\salesforce.com\data loader\bin\process-conf.xml (The system cannot find the f
ile specified)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:341)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFa
ctory.java:78)
at org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFa
ctory.java:66)
at com.salesforce.dataloader.process.ProcessConfig.getBeanFactory(Proces
sConfig.java:104)
at com.salesforce.dataloader.process.ProcessConfig.getProcessInstance(Pr
ocessConfig.java:93)
at com.salesforce.dataloader.process.ProcessRunner.getInstance(ProcessRu
nner.java:287)
at com.salesforce.dataloader.process.ProcessRunner.getInstance(ProcessRu
nner.java:273)
at com.salesforce.dataloader.process.ProcessRunner.main(ProcessRunner.ja
va:246)
Caused by: java.io.FileNotFoundException: C:\program files\salesforce.com\data l
oader\bin\process-conf.xml (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at org.springframework.core.io.FileSystemResource.getInputStream(FileSys
temResource.java:113)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:328)
... 8 more
2014-01-20 23:08:21,534 FATAL [main] process.ProcessRunner topLevelError (Proces
sRunner.java:238) - Failed to create process
com.salesforce.dataloader.exception.ProcessInitializationException: Error loadin
g process: accountInsert configuration from config file: C:\program files\salesf
orce.com\data loader\bin\process-conf.xml
at com.salesforce.dataloader.process.ProcessConfig.getProcessInstance(Pr
ocessConfig.java:97)
at com.salesforce.dataloader.process.ProcessRunner.getInstance(ProcessRu
nner.java:287)
at com.salesforce.dataloader.process.ProcessRunner.getInstance(ProcessRu
nner.java:273)
at com.salesforce.dataloader.process.ProcessRunner.main(ProcessRunner.ja
va:246)
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: IOExc
eption parsing XML document from file [C:\program files\salesforce.com\data load
er\bin\process-conf.xml]; nested exception is java.io.FileNotFoundException: C:\
program files\salesforce.com\data loader\bin\process-conf.xml (The system cannot
find the file specified)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:341)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFa
ctory.java:78)
at org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFa
ctory.java:66)
at com.salesforce.dataloader.process.ProcessConfig.getBeanFactory(Proces
sConfig.java:104)
at com.salesforce.dataloader.process.ProcessConfig.getProcessInstance(Pr
ocessConfig.java:93)
... 3 more
Caused by: java.io.FileNotFoundException: C:\program files\salesforce.com\data l
oader\bin\process-conf.xml (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at org.springframework.core.io.FileSystemResource.getInputStream(FileSys
temResource.java:113)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:328)
... 8 more
There could be various reasons for this error. Please check following blog to verify the steps you have followed:
http://shivasoft.in/blog/salesforce/tutorial-of-command-line-dataloader-salesforce/
Also refer following threads, addressing similar issue:
https://success.salesforce.com/answers?id=90630000000h11BAAQ
https://developer.salesforce.com/forums?id=906F00000009BCjIAM
Using Apex Data Loader can be challenging at this. Instead why dont you try using Jitterbit Data Loader in which you can easily schedule the update.
Thanks,
justin~sfdc
The first link is not working, and am not clear with the rest two links.
Can you please help me on this?
Thanks,
Siva