SaumilBapat / dataloadercliq

Automatically exported from code.google.com/p/dataloadercliq
0 stars 0 forks source link

Unable import data using command line Interface #56

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
0 [main] INFO com.salesforce.dataloader.process.ProcessConfig  - Loading 
process configuration from config file: C:\DLTest\process-conf.xml
57 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - 
Loading XML bean definitions from file [C:\DLTest\process-conf.xml]
60 [main] DEBUG org.springframework.beans.factory.xml.XmlBeanDefinitionReader  
- Using JAXP implementation 
[com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl@1f42b49]
92 [main] DEBUG org.springframework.beans.factory.xml.ResourceEntityResolver  - 
Trying to resolve XML entity with public ID [-//SPRING//DTD BEAN//EN] and 
system ID [http://www.springframework.org/dtd/spring-beans.dtd]
93 [main] DEBUG org.springframework.beans.factory.xml.ResourceEntityResolver  - 
Trying to locate [spring-beans.dtd] in Spring jar
99 [main] DEBUG org.springframework.beans.factory.xml.ResourceEntityResolver  - 
Found beans DTD [http://www.springframework.org/dtd/spring-beans.dtd] in 
classpath

126 [main] DEBUG 
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser  - Loading 
bean definitions
143 [main] DEBUG 
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser  - Default 
lazy init 'false'
143 [main] DEBUG 
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser  - Default 
autowire 'no'
143 [main] DEBUG 
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser  - Default 
dependency check 'none'
151 [main] INFO org.springframework.core.CollectionFactory  - JDK 1.4+ 
collections available
160 [main] INFO org.springframework.core.CollectionFactory  - Commons 
Collections 3.x available
173 [main] DEBUG org.springframework.core.CollectionFactory  - Creating 
[java.util.LinkedHashMap]
178 [main] DEBUG 
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser  - Found 1 
<bean> elements in file [C:\DLTest\process-conf.xml]
179 [main] DEBUG org.springframework.beans.factory.xml.XmlBeanFactory  - 
Creating instance of bean 'accountinsert' with merged definition [Root bean: 
class [com.salesforce.dataloader.process.ProcessRunner]; abstract=false; 
singleton=false; lazyInit=false; autowire=0; dependencyCheck=0; initMethodNam 
e=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; 
defined in file [C:\DLTest\process-conf.xml]]
179 [main] DEBUG org.springframework.beans.factory.xml.XmlBeanFactory  - 
Invoking BeanPostProcessors before instantiation of bean 'accountinsert'

195 [main] DEBUG org.springframework.beans.CachedIntrospectionResults  - 
Getting BeanInfo for class [com.salesforce.dataloader.process.ProcessRunner]
199 [main] DEBUG org.springframework.beans.CachedIntrospectionResults  - 
Caching PropertyDescriptors for class 
[com.salesforce.dataloader.process.ProcessRunner]
199 [main] DEBUG org.springframework.beans.CachedIntrospectionResults  - Found 
property 'class' of type [java.lang.Class]
199 [main] DEBUG org.springframework.beans.CachedIntrospectionResults  - Found 
property 'configOverrideMap' of type [java.util.Map]
199 [main] DEBUG org.springframework.beans.CachedIntrospectionResults  - Found 
property 'controller' of type [com.salesforce.dataloader.controller.Controller]
200 [main] DEBUG org.springframework.beans.CachedIntrospectionResults  - Found 
property 'name' of type [java.lang.String]
200 [main] DEBUG org.springframework.beans.CachedIntrospectionResults  - Class 
[com.salesforce.dataloader.process.ProcessRunner] is cache-safe
204 [main] DEBUG org.springframework.core.CollectionFactory  - Creating 
[java.util.LinkedHashMap]
205 [main] DEBUG org.springframework.beans.BeanWrapperImpl  - About to invoke 
write method [public synchronized void 
com.salesforce.dataloader.process.ProcessRunner.setName(java.lang.String)] on 
object of class [com.salesforce.dataloader.process.ProcessRunner]

205 [main] DEBUG org.springframework.beans.BeanWrapperImpl  - Invoked write 
method [public synchronized void 
com.salesforce.dataloader.process.ProcessRunner.setName(java.lang.String)] with 
value of type [java.lang.String]
205 [main] DEBUG org.springframework.beans.BeanWrapperImpl  - About to invoke 
write method [public synchronized void 
com.salesforce.dataloader.process.ProcessRunner.setConfigOverrideMap(java.util.M
ap)] on object of class [com.salesforce.dataloader.process.ProcessRunner]
205 [main] DEBUG org.springframework.beans.BeanWrapperImpl  - Invoked write 
method [public synchronized void 
com.salesforce.dataloader.process.ProcessRunner.setConfigOverrideMap(java.util.M
ap)] with value of type [java.util.Map]
206 [main] DEBUG org.springframework.beans.factory.xml.XmlBeanFactory  - 
Invoking BeanPostProcessors before initialization of bean 'accountinsert'
206 [main] DEBUG org.springframework.beans.factory.xml.XmlBeanFactory  - 
Invoking afterPropertiesSet() on bean with name 'accountinsert'
206 [main] DEBUG org.springframework.beans.factory.xml.XmlBeanFactory  - 
Invoking BeanPostProcessors after initialization of bean 'accountinsert'
223 [accountinsert] FATAL com.salesforce.dataloader.process.ProcessRunner  - 
Unable to run process accountinsert java.lang.RuntimeException: 
com.salesforce.dataloader.exception.ControllerInitializationException: Error 
loading config file: C:\DLTest\config.properties.  Please make sure that it 
exists and is readable
        at com.salesforce.dataloader.process.ProcessRunner.run(ProcessRunner.java:86)
        at com.salesforce.dataloader.process.ProcessRunner.run(ProcessRunner.java:74)
        at com.salesforce.dataloader.process.ProcessRunner.main(ProcessRunner.java:226)
Caused by: 
com.salesforce.dataloader.exception.ControllerInitializationException: Error 
loading config file: C:\DLTest\config.properties.  Please make sure that it 
exists and is readable
        at com.salesforce.dataloader.controller.Controller.initConfig(Controller.java:330)
        at com.salesforce.dataloader.controller.Controller.<init>(Controller.java:95)
        at com.salesforce.dataloader.controller.Controller.getInstance(Controller.java:199)
        at com.salesforce.dataloader.process.ProcessRunner.run(ProcessRunner.java:84)
        ... 2 more
Caused by: java.io.FileNotFoundException: C:\DLTest\config.properties (The 
system cannot find the file specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at com.salesforce.dataloader.config.Config.load(Config.java:573)
        at com.salesforce.dataloader.controller.Controller.initConfig(Controller.java:327)
        ... 5 more

What is the expected output? What do you see instead?

A) Import Data using command Line Interface

What version of the product are you using? On what operating system?

Apex Data Loader 22.0 and Windows 7

Please provide any additional information below.

 Give Some guide lines to success the process through command line 

Original issue reported on code.google.com by lakshmik...@cloudrhythm.com on 22 Jun 2012 at 6:13

GoogleCodeExporter commented 8 years ago
Did you modify process-conf.xml?  This is the problem:
Error loading config file: C:\DLTest\config.properties.  Please make sure that 
it exists and is readable

Make sure that file exists.

Original comment by vijay.swamidass@gmail.com on 23 Jun 2012 at 4:16

GoogleCodeExporter commented 8 years ago

Original comment by vijay.swamidass@gmail.com on 16 Oct 2012 at 4:38