• shreemganesh
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
I am trying to run from command line, so i defined bt config.properties file as follow,
 
#Loader Config
#Thu Jun 15 17:39:34 PDT 2006
sfdc.endpoint=https\://www.salesforce.com
sfdc.proxyHost=10.236.145.251
sfdc.proxyPort=8888
sfdc.username=shreemganesh@rediffmail.com
sfdc.password=
sfdc.process=C:\Program Files\salesforce.com\AppExchange Data Loader 8.0\samples\conf\process-conf.xml
sfdc.database=C:\Program Files\salesforce.com\AppExchange Data Loader 8.0\samples\conf\database-conf.xml
 
now for "sfdc.password" whether i have to give actual password or the encrypt value of the actual password or else where to define the username and password
 
my process.config file will be like following,
 
@echo off
if not [%1]==[] goto run
echo.
echo Usage: process ^<configuration directory^> ^[process name^]
echo.
echo      configuration directory -- directory that contains configuration files,
echo          i.e. config.properties, process-conf.xml, database-conf.xml
echo.
echo      process name -- optional name of a batch process bean in process-conf.xml,
echo          for example:
echo.
echo              process ../myconfigdir AccountInsert
echo.
echo          If process name is not specified, the parameter values from config.properties
echo          will be used to run the process instead of process-conf.xml,
echo          for example:
echo.
echo              process ../myconfigdir
echo.
goto end
:run
set PROCESS_OPTION=
if not [%2]==[] set PROCESS_OPTION=process.name=%2
..\_jvm\bin\java.exe -cp ..\AppExchangeDataLoader.jar -Dsalesforce.config.dir=%1 com.salesforce.lexiloader.process.ProcessRunner %PROCESS_OPTION%
java -Xms256m -Xmx256m -Dsalesforce.config.dir=C:\Program Files\salesforce.com\AppExchange Data Loader 8.0\conf –jar AppExchangeDataLoader.jar

:end
 
so from the command prompt, i am calling as,
 
C:\Program Files\salesforce.com\AppExchange Data Loader 8.0\bin>process ../conf
 
Please help to resolve this issue
2007-02-28 19:10:47,201 ERROR [main] client.PartnerClient connectImpl (PartnerCl
ient.java:185) - Error while logging in to web service at: http://www.salesforce
.com/services/Soap/u/8.0, error was: Failed to send request to http://www.salesf
orce.com/services/Soap/u/8.0
com.sforce.ws.ConnectionException: Failed to send request to http://www.salesfor
ce.com/services/Soap/u/8.0
        at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:92)
        at com.sforce.soap.partner.PartnerConnection.login(PartnerConnection.jav
a:628)
        at com.salesforce.lexiloader.client.PartnerClient.connectImpl(PartnerCli
ent.java:167)
        at com.salesforce.lexiloader.client.PartnerClient.connect(PartnerClient.
java:150)
        at com.salesforce.lexiloader.controller.Controller.login(Controller.java
:179)
        at com.salesforce.lexiloader.process.ProcessRunner.run(ProcessRunner.jav
a:117)
        at com.salesforce.lexiloader.process.ProcessRunner.main(ProcessRunner.ja
va:230)
Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.Socket.connect(Socket.java:507)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:152)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
        at sun.net.www.http.HttpClient.New(HttpClient.java:287)
        at sun.net.www.http.HttpClient.New(HttpClient.java:299)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:792)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:771)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:669)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo
nnection.java:836)
        at com.sforce.ws.transport.JdkHttpTransport.connect(JdkHttpTransport.jav
a:96)
        at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:85)
        ... 6 more
2007-02-28 19:10:47,201 ERROR [main] process.ProcessRunner run (ProcessRunner.ja
va:152) - Failed to send request to http://www.salesforce.com/services/Soap/u/8.
0
Exception in thread "main" java.lang.RuntimeException: com.sforce.ws.ConnectionE
xception: Failed to send request to http://www.salesforce.com/services/Soap/u/8.
0
        at com.salesforce.lexiloader.process.ProcessRunner.run(ProcessRunner.jav
a:153)
        at com.salesforce.lexiloader.process.ProcessRunner.main(ProcessRunner.ja
va:230)
Caused by: com.sforce.ws.ConnectionException: Failed to send request to http://w
ww.salesforce.com/services/Soap/u/8.0
        at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:92)
        at com.sforce.soap.partner.PartnerConnection.login(PartnerConnection.jav
a:628)
        at com.salesforce.lexiloader.client.PartnerClient.connectImpl(PartnerCli
ent.java:167)
        at com.salesforce.lexiloader.client.PartnerClient.connect(PartnerClient.
java:150)
        at com.salesforce.lexiloader.controller.Controller.login(Controller.java
:179)
        at com.salesforce.lexiloader.process.ProcessRunner.run(ProcessRunner.jav
a:117)
        ... 1 more
Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.Socket.connect(Socket.java:507)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:152)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
        at sun.net.www.http.HttpClient.New(HttpClient.java:287)
        at sun.net.www.http.HttpClient.New(HttpClient.java:299)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:792)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:771)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:669)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo
nnection.java:836)
        at com.sforce.ws.transport.JdkHttpTransport.connect(JdkHttpTransport.jav
a:96)
        at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:85)
        ... 6 more
Exception in thread "main" java.lang.NoClassDefFoundError: Files\salesforce/com\
AppExchange
'process.operation' is not recognized as an internal or external command,
operable program or batch file.
2007-02-28 19:10:47,201 ERROR [main] client.PartnerClient connectImpl (PartnerCl
ient.java:185) - Error while logging in to web service at: http://www.salesforce
.com/services/Soap/u/8.0, error was: Failed to send request to http://www.salesf
orce.com/services/Soap/u/8.0
com.sforce.ws.ConnectionException: Failed to send request to http://www.salesfor
ce.com/services/Soap/u/8.0
        at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:92)
        at com.sforce.soap.partner.PartnerConnection.login(PartnerConnection.jav
a:628)
        at com.salesforce.lexiloader.client.PartnerClient.connectImpl(PartnerCli
ent.java:167)
        at com.salesforce.lexiloader.client.PartnerClient.connect(PartnerClient.
java:150)
        at com.salesforce.lexiloader.controller.Controller.login(Controller.java
:179)
        at com.salesforce.lexiloader.process.ProcessRunner.run(ProcessRunner.jav
a:117)
        at com.salesforce.lexiloader.process.ProcessRunner.main(ProcessRunner.ja
va:230)
Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.Socket.connect(Socket.java:507)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:152)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
        at sun.net.www.http.HttpClient.New(HttpClient.java:287)
        at sun.net.www.http.HttpClient.New(HttpClient.java:299)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:792)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:771)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:669)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo
nnection.java:836)
        at com.sforce.ws.transport.JdkHttpTransport.connect(JdkHttpTransport.jav
a:96)
        at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:85)
        ... 6 more
2007-02-28 19:10:47,201 ERROR [main] process.ProcessRunner run (ProcessRunner.ja
va:152) - Failed to send request to http://www.salesforce.com/services/Soap/u/8.
0
Exception in thread "main" java.lang.RuntimeException: com.sforce.ws.ConnectionE
xception: Failed to send request to http://www.salesforce.com/services/Soap/u/8.
0
        at com.salesforce.lexiloader.process.ProcessRunner.run(ProcessRunner.jav
a:153)
        at com.salesforce.lexiloader.process.ProcessRunner.main(ProcessRunner.ja
va:230)
Caused by: com.sforce.ws.ConnectionException: Failed to send request to http://w
ww.salesforce.com/services/Soap/u/8.0
        at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:92)
        at com.sforce.soap.partner.PartnerConnection.login(PartnerConnection.jav
a:628)
        at com.salesforce.lexiloader.client.PartnerClient.connectImpl(PartnerCli
ent.java:167)
        at com.salesforce.lexiloader.client.PartnerClient.connect(PartnerClient.
java:150)
        at com.salesforce.lexiloader.controller.Controller.login(Controller.java
:179)
        at com.salesforce.lexiloader.process.ProcessRunner.run(ProcessRunner.jav
a:117)
        ... 1 more
Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.Socket.connect(Socket.java:507)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:152)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
        at sun.net.www.http.HttpClient.New(HttpClient.java:287)
        at sun.net.www.http.HttpClient.New(HttpClient.java:299)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:792)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:771)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:669)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo
nnection.java:836)
        at com.sforce.ws.transport.JdkHttpTransport.connect(JdkHttpTransport.jav
a:96)
        at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:85)
        ... 6 more
Exception in thread "main" java.lang.NoClassDefFoundError: Files\salesforce/com\
AppExchange
'process.operation' is not recognized as an internal or external command,
operable program or batch file.