It is now working if I enter localhost against firstname and last name when
executing command
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA
And when I run client using localhost on local machine it works fine.
but when I try to access it with ip address it doesn't work even I tried to
put my machine's ip in first name and last name
I use following command to run program
java -cp classes;%JARS% com.edb.usm.test.SecureXmlRpcTest 10.90.1.124 8443
"C:\Documents and Settings\rafaqat\.keystore" changeit
but it thorws Exception
java.io.IOException: HTTPS hostname wrong: should be <10.90.1.124>
java.io.IOException: HTTPS hostname wrong: should be <10.90.1.124>
at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java
:444)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163)
at com.edb.usm.test.SecureXmlRpcTest.main(SecureXmlRpcTest.java:116)
and in (SecureXmlRpcTest.java at line 116 I am calling execute method as
Object result = client.execute(method, paramsVector);
On 7/30/06, Jochen Wiedmann <jochen.wiedmann@gmail.com> wrote:
>
> Rafaqat Ali wrote:
> > java.io.IOException: Server returned HTTP response code: 405 for URL:
> > https://lo
> > calhost:8443/edb/
> > at
> > org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:444)
> > at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163)
> > at
> > com.edb.usm.test.SecureXmlRpcTest.main(SecureXmlRpcTest.java:99)
>
> Servers log file?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: xmlrpc-user-help@ws.apache.org
>
>
|