You need to sign in to do that
Don't have an account?
jimmijamz
Dataloader Command Line - error loading parameter of sfdc.password
I've managed an extraction once.. and now every time i try to login using the dataloader command line it gives me the error below.
Code:
This is my code from the process-conf.xml file.
Code:
i got my usual salesforce.com password and generated a key.
encrypt -g 'mypassword' = result - i put this in a keyfile.txt and in the conf directory.
then i used that result and encrypted once again
encrypt -e 'result' = 'longer result string'
Using the 'long result string' i place that into the password section...
where am i going wrong? somebody please help!
Code:
2007-08-08 16:49:56,976 INFO [main] core.CollectionFactory <clinit> (CollectionFactory.java:71) - Commons Collections 3 .x available 2007-08-08 16:49:58,429 INFO [csvExp_UserHR] controller.Controller initConfig (Controller.java:343) - The controller co nfig has been initialized 2007-08-08 16:49:58,445 INFO [csvExp_UserHR] process.ProcessRunner run (ProcessRunner.java:102) - Initializing process engine 2007-08-08 16:49:58,445 INFO [csvExp_UserHR] process.ProcessRunner run (ProcessRunner.java:105) - Loading parameters 2007-08-08 16:49:58,445 ERROR [csvExp_UserHR] config.Config decryptProperty (Config.java:640) - Error loading parameter: sfdc.password of type: java.lang.String javax.crypto.BadPaddingException: Given final block not properly padded at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA12275) at javax.crypto.Cipher.doFinal(DashoA12275) at com.salesforce.lexiloader.security.EncryptionUtil.decryptString(EncryptionUtil.java:197) at com.salesforce.lexiloader.config.Config.decryptProperty(Config.java:634) at com.salesforce.lexiloader.config.Config.postLoad(Config.java:586) at com.salesforce.lexiloader.config.Config.loadParameterOverrides(Config.java:612) at com.salesforce.lexiloader.process.ProcessRunner.run(ProcessRunner.java:106) at com.salesforce.lexiloader.process.ProcessRunner.main(ProcessRunner.java:228) 2007-08-08 16:49:58,445 FATAL [csvExp_UserHR] process.ProcessRunner run (ProcessRunner.java:156) - Error loading paramet er: sfdc.password of type: java.lang.String
This is my code from the process-conf.xml file.
Code:
<entry key="sfdc.username" value="nztram@myco.com.au"/> <entry key="sfdc.password" value="a8e0e61348d01860d7a63a11e8eca6b5f80a8187cf4ee"/> <entry key="process.encryptionKeyFile" value="C:\Eclipse\dataload9\conf\key_NZJimmy.txt"/>
i got my usual salesforce.com password and generated a key.
encrypt -g 'mypassword' = result - i put this in a keyfile.txt and in the conf directory.
then i used that result and encrypted once again
encrypt -e 'result' = 'longer result string'
Using the 'long result string' i place that into the password section...
where am i going wrong? somebody please help!
encrypt -e 'your original password'
place that result string into the "Entry key="sfdc.password" value=" line
now.. what exactly is the
"encrypt -g" command?
or what's the point of the
"<entry key="process.encryptionKeyFile" value="C:\Eclipse\dataload9\conf\key_NZJimmy.txt"