• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Axis2 Client throws javax.net.ssl.SSLHandshakeException

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I'm trying to call a web service that over https.
A client has given me his certificate and we have placed it in an oracle wallet (i.e. 10.1.3 oracle application server), on the same server that our client has been deployed to.
Before I call the clients web service using the generated Stub (i.e. created from the client wsdl), I set the following system properties in my code.

System.setProperty("ssl.ServerSocketFactory.provider","oracle.security.ssl.OracleSSLServerSocketFactoryImpl");
System.setProperty("java.protocol.handler.pkgs","HTTPClient");
System.setProperty("oracle.wallet.location",Z:\oracle\wallet);
System.setProperty("oracle.wallet.password",football123);

stub.sendSportData(sportDocument,authHeaderDocument);


Every time I call the stub I get the following exception being thrown:-

org.apache.axis2.AxisFault: Remote host closed connection during handshake org.apache.axis2.AxisFault: Remote host closed connection during handshake
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
Caused by: java.io.EOFException: SSL peer shut down incorrectly

The Client does have a valid certificate that has been Issued to/by correctly and its validation dates are correct.

Has anybody got any ideas what could be causing this??

Mat





 
This tiny ad will self destruct in five seconds.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic