You need to sign in to do that
Don't have an account?
shreemganesh
Exception from client.PartnerClient when tried through command line
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.
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.
your machine.
Try to ping www.salesforce.com and see if the network is fine.
Thanks cheenath ,
Actually i forgot to give the proxyhost and proxyport, so its connecting, but another problem is there when i am trying from command line, that i posted as a new message so please cheenath help me ti resolve.