You need to sign in to do that
Don't have an account?
Error loading paramete: sfdc.password of type: java.lang.String
I am trying to use the command line interface for Apex Data Loader 15.0. I am receiving the above error.
Here is my process-conf.xml file
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="csvAccountExtractProcess"
class="com.salesforce.lexiloader.process.ProcessRunner"
singleton="false">
<description>csvAccountExtract job gets account info from salesforce and saves info into a CSV file."</description>
<property name="name" value="csvAccountExtract"/>
<property name="configOverrideMap">
<map>
<entry key="sfdc.debugMessages" value="false"/>
<entry key="sfdc.endpoint" value="https://www.salesforce.com"/>
<entry key="sfdc.username" value="dmote@neapco.com"/>
<!-- password below has been encrypted using key file, therefore it will not work without the key setting: process.encrypt -->
<entry key="sfdc.password" value="7e2dd57498ca6eca83040dbfedaa7900904863e5500fd6ab3aace7c94944482a97fa41fee9313237"/>
<entry key="process.encryptionKeyFile" value="C:\key.txt"/>
<entry key="sfdc.timeoutSecs" value="600"/>
<entry key="sfdc.loadBatchSize" value="200"/>
<entry key="sfdc.entity" value="Account"/>
<entry key="sfdc.extractionRequestSize" value="500"/>
<entry key="sfdc.extractionSOQL" value="Select Id, Name, ParentId, AccountNumber, AnnualRevenue, CHESS_Id__c, CHESS_PARENT__c FROM Account"/>
<entry key="process.operation" value="extract"/>
<entry key="dataAccess.type" value="csvWrite"/>
<entry key="dataAccess.name" value="C:\extract.csv"/>
</map>
</property>
</bean>
</beans>
Am I missing something?
If you need more info, let me know.
Thanks,
David
I commented out the line
<!--entry key="process.encryptionKeyFile" value="C:\key.txt"/-->
and now it works!
All Answers
I commented out the line
<!--entry key="process.encryptionKeyFile" value="C:\key.txt"/-->
and now it works!
It didn't work for me . Any other thoughts?
2013-02-17 02:41:48,453 INFO [MerchandiseInsert] progress.NihilistProgressAdap
er doneSuccess (NihilistProgressAdapter.java:63) - The operation has fully comp
eted.
There were 1 successful inserts and 0 errors.
=====================================================
you willl get message like this as shown above
This error will come when the password is not Decrypted by Soap
Step 1: encrypt -g <any text> like encrypt -g test
and then save in the process-config location with key.txt
Step 2: encrypt -e <password with security token> "the location of key.txt"
and then save the value in password.txt in the same location where you have saved key.txt
Step 3: make the .sdl mapping file.
step 3.1 generate the .csv file as per operation performed (insert, update, delete).
Step 4 make the process-config file
Step 5 run the command from bin location of data loader as
process.bat <process-config location>