dcsimg
SOAP over SSL Using JAXM, JSSE ..
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Velidanda_Srinivas
Posted On:   Thursday, January 24, 2002 11:31 PM

I have got two different listeners (SSL Listeners)on two different machines configured with respective keystores and a client application sends a soap message to one of the listener and that listener sends back the response to the client, but at the same time i want the listener to write the message to another listener which is not happening. Using URLEnpoint with https://ip:port (Problem is coming when sending message from listener to listener) Listeners are configured with the keys having the certificates created with their ipaddresses. once the listner sends the response back to the client, i am creating a new URLEndpoint object and SOAPConnection object and writing the message to the other l   More>>


I have got two different listeners (SSL Listeners)on two different machines configured with respective keystores and a client application sends a soap message to one of the listener and that listener sends back the response to the client, but at the same time i want the listener to write the message to another listener which is not happening.



Using URLEnpoint with https://ip:port
(Problem is coming when sending message from listener to listener)



Listeners are configured with the keys having the certificates created with their ipaddresses.

once the listner sends the response back to the client, i am creating a new URLEndpoint object and SOAPConnection object and writing the message to the other listener causing the following error.



pl.mail me the fix to svelidanda@yahoo.com.


Error Log



trigger seeding of SecureRandom
done seeding SecureRandom
java.net.ConnectException: Connection refused: no further information
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
at java.net.Socket. (Socket.java:273)
at java.net.Socket. (Socket.java:100)
at javax.net.ssl.SSLSocket. ([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.SSLSocketImpl. ([DashoPro-V1.2-1201
98])
at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket([Dasho
Pro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect([Da
shoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer(
[DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.l([DashoPro-V1
.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpClient. ([DashoP
ro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient. ([Dasho
Pro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V
1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V
1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connec
t([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getOut
putStream([DashoPro-V1.2-120198])
at com.sun.xml.messaging.client.p2p.HttpSOAPConnection.post(HttpSOAPConn
ection.java:195)
at com.sun.xml.messaging.client.p2p.HttpSOAPConnection$PriviledgedPost.r
un(HttpSOAPConnection.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.client.p2p.HttpSOAPConnection.call(HttpSOAPConn
ection.java:89)
at SSLSoapListener.sendToAnother(SSLSoapListener.java:149)
at SSLSoapListener.run(SSLSoapListener.java:51)
at java.lang.Thread.run(Thread.java:484)
Error at Line 134 : java.security.PrivilegedActionException <
g.JAXMException: Message send failed>>


Thanks,


Srinivas

   <<Less
About | Sitemap | Contact