We found that whenever jboss remoting client connect to jboss remoting server 
through HTTPS, the hostname is verified.

so we setted the system property like 

System.setProperty("org.jboss.security.ignoreHttpsHost", "true" );

Now we are getting the connection time out exception

org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
        at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:201)
        at 
org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:80)
        at 
org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
        at org.jboss.remoting.Client.invoke(Client.java:525)
        at org.jboss.remoting.Client.addListener(Client.java:720)
        at org.jboss.remoting.Client.addListener(Client.java:686)
        at org.jboss.remoting.Client.addListener(Client.java:668)
        at 
org.jboss.test.remoting.transport.http.ssl.basic.CallbackNewSSLClient.testPullCallback(CallbackNewSSLClient.java:119)
        at 
org.jboss.test.remoting.transport.http.ssl.basic.CallbackNewSSLClient.main(CallbackNewSSLClient.java:158)
Caused by: java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:452)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.(DashoA6275)
        at 
com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(DashoA6275)
        at sun.net.www.protocol.https.HttpsClient.doConnect(DashoA6275)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
        at sun.net.www.protocol.https.HttpsClient.(DashoA6275)
        at sun.net.www.protocol.https.HttpsClient.a(DashoA6275)
        at sun.net.www.protocol.https.HttpsClient.a(DashoA6275)
        at sun.net.www.protocol.https.HttpsClient.a(DashoA6275)
        at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.plainConnect(DashoA6275)
        at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(DashoA6275)
        at 
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:560)
        at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(DashoA6275)
        at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:163)
        ... 8 more
EXCEPTION ====>org.jboss.remoting.CannotConnectException: Can not connect http 
client invoker.

we are unable to forward. please help immediately.




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952289#3952289

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952289


_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to