Running Bulkloader Utility Programmatically
Hi,
We are running bulkloader utility Programmatically in a jsp and below is the sample code.
Runtime r = Runtime.getRuntime();
ics.LogMsg("Starting Bulk Loader");
//run bulk loader
java.lang.Process p = r.exec("java -ms16m -mx256m -cp "+BATCH_ROOT_LOCATION+"/lib/gatorbulk.jar:"+BATCH_ROOT_LOCATION+"/lib/commons-logging-1.1.jar:"+BATCH_ROOT_LOCATION+"/lib/cs-core.jar:"+BATCH_ROOT_LOCATION+"/lib/commons-codec-1.3.jar:"+BATCH_ROOT_LOCATION+"/commons-httpclient-3.0.1.jar:"+BATCH_ROOT_LOCATION+"/lib/commons-lang-2.1.jar:"+BATCH_ROOT_LOCATION+"/lib/ojdbc14.jar com.openmarket.gatorbulk.objects.BulkLoader config="+BATCH_ROOT_LOCATION+"/config/Product_Bulk_Update.ini action=update validate=no");
p.waitFor();