function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sales4cesales4ce 

Apex Data Loader from Command Line Issues

Hi,

 

I have setup data loader from command line as mentioned in this article.

http://www.developerforce.com/media/Cheatsheet_Setting_Up_Automated_Data_Loader_9_0.pdf

 

I am  running into the issues. I do not understand what the below messages meant. can any one point me in the right direction.

 

Microsoft Windows [Version 6.1.7600]Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Windows\system32>cd C:\Program Files\salesforce.com\Apex Data Loader 22.0\bin

C:\Program Files\salesforce.com\Apex Data Loader 22.0\bin>process.bat "C:\Program Files\salesforce.com\Apex Data Loader 22.0\test\" csvLeadInsertProcess

Usage: java [-options] class [args...]         

                              (to execute a class) 

                     or  java [-options] -jar jarfile [args...]         

                              (to execute a jar file)
where options include:   

    -client       to select the "client" VM   

   -server       to select the "server" VM   

-hotspot      is a synonym for the "client" VM  [deprecated]                 

                     The default VM is client.
    -cp <class search path of directories and zip/jar files>   

   -classpath <class search path of directories and zip/jar files>                 

                           A ; separated list of directories, JAR archives,                 

                           and ZIP archives to search for class files. 

  -D<name>=<value>                  set a system property   

-verbose[:class|gc|jni]                  enable verbose output 

  -version      print product version and exit   

-version:<value>                  require the specified version to run   

-showversion  print product version and continue 

  -jre-restrict-search | -jre-no-restrict-search                  include/exclude user private JREs in the version search   

-? -help      print this help message   

-X            print help on non-standard options   

-ea[:<packagename>...|:<classname>]   

-enableassertions[:<packagename>...|:<classname>]                  enable assertions 

  -da[:<packagename>...|:<classname>]   

-disableassertions[:<packagename>...|:<classname>]                  disable assertions   

-esa | -enablesystemassertions                  enable system assertions   

-dsa | -disablesystemassertions                  disable system assertions   

-agentlib:<libname>[=<options>]                  load native agent library <libname>, e.g. -agentlib:hprof                    see also, -agentlib:jdwp=help and -agentlib:hprof=help    -agentpath:<pathname>[=<options>]                  load native agent library by full pathname    -javaagent:<jarpath>[=<options>]                  load Java programming language agent, see java.lang.instrument
C:\Program Files\salesforce.com\Apex Data Loader 22.0\bin>

 

I have no idea what it meant and all i know id that my process did not create the Leads from my csv file.

Any help is highly appreciated.

 

Thanks,

Sales4ce

Best Answer chosen by Admin (Salesforce Developers) 
srikeerthisrikeerthi

Hi

 

Plaese refer the following link for Data Loader,now the new version is 21.0 you can 

use that.

http://wiki.developerforce.com/index.php/Using_Data_Loader_from_the_command_line

 

If you have any doubts ask me.

 

Thanks

 

All Answers

srikeerthisrikeerthi

Hi

 

Plaese refer the following link for Data Loader,now the new version is 21.0 you can 

use that.

http://wiki.developerforce.com/index.php/Using_Data_Loader_from_the_command_line

 

If you have any doubts ask me.

 

Thanks

 

This was selected as the best answer
sales4cesales4ce

Thanks! That worked.

 

Sales4ce

srikeerthisrikeerthi

You are welcome.

dsiebolddsiebold

The general steps for using the CLI are:

 

  • Create an encryption key using a seed
  • Create an encrypted password for the username DL uses to login in SF
  • Create a field mapping file
  • Create a process-conf.xml file with the configuration settings (this is is where all the actions are defined)
  • Run the process

 

If you need any more detailed help with one of these steps, please post back.

 

Dianne

test codetest code

Hi...

Can u pls suggest me how u overcome from that error, bcoz m also getting the same error and not finding any way to get through that, could you pls explain me how to resolve that error.

 

Thanks,

Rohit