Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cannot invoked WS thru HTTPS from Web Start-ed client

843802May 27 2005
Greetings,

I run an Axis client, being deployed thru Web Start on client machines. It can also be run standalone (java 'main').

I run JDK 1.4.2 on AppServer SunOne 7.

The client connects to an Axis server thru HTTPS (which is not the server from where it was downloaded from). I have the JNLP security set to 'all-permissions' which means (in theory) that I have the same rights than a standalone application.

When I run the client as STANDALONE, works perfectly: I connect to my WS Server with HTTPS, get my response back, etc.

When I start the very same client thru WebStart, the HTTPS connections fail, but the unsecure HTTP do work. For HTTPS, it fails during the SSL handshake for the server (see stack trace below).

Any clue on this?

Here is the exception I get on the client side. No sign on my request whatsoever on the server side, which makes me belief I dont even get out of my client app...
ansport.http.HTTPSender.getSocket(HTTPSender.java:131)

at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:370)

at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:88) 

at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)

at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

at org.apache.axis.SimpleChain.invoke(SimpleChain.java :83)

at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147)

at org.apache.axis.client.Call.invokeEngine(Call.java:2719)

at org.apache.axis.client.Call.invoke(Call.java:2702)

at org.apache.axis.client.Call.invoke (Call.java:2378)

at org.apache.axis.client.Call.invoke(Call.java:2301)

at org.apache.axis.client.Call.invoke(Call.java:1758)

at com.axacanada.b2b.common.util.AxisInvocationHandler.invoke(AxisInvocationHandler.java :98)

at $Proxy0.makeNewBusiness(Unknown Source)

at com.axacanada.b2b.cq.client.AbstractRequestSenderThread.run(AbstractRequestSenderThread.java:74)

at com.axacanada.b2b.cq.client.RequestSenderThread.run (RequestSenderThread.java:70)



{http://xml.apache.org/axis/}hostname:WS-1235



javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)

at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:97)

at org.apache.axis.strategies.InvocationStrategy.visit (InvocationStrategy.java:32)

at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

at org.apache.axis.client.AxisClient.invoke(AxisClient.java :147)

at org.apache.axis.client.Call.invokeEngine(Call.java:2719)

at org.apache.axis.client.Call.invoke(Call.java:2702)

at org.apache.axis.client.Call.invoke(Call.java:2378)

at org.apache.axis.client.Call.invoke (Call.java:2301)

at org.apache.axis.client.Call.invoke(Call.java:1758)

at com.axacanada.b2b.common.util.AxisInvocationHandler.invoke(AxisInvocationHandler.java:98)

at $Proxy0.makeNewBusiness(Unknown Source) 

at com.axacanada.b2b.cq.client.AbstractRequestSenderThread.run(AbstractRequestSenderThread.java:74)

at com.axacanada.b2b.cq.client.RequestSenderThread.run(RequestSenderThread.java:70)

Caused by: javax.net.ssl.SSLException : Unrecognized SSL message, plaintext connection?

at com.sun.net.ssl.internal.ssl.InputRecord.b(Unknown Source)

at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a (Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)

at org.apache.axis.components.net.JSSESocketFactory.create (JSSESocketFactory.java:186)

at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:131)

at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:370)

at org.apache.axis.transport.http.HTTPSender.invoke (HTTPSender.java:88)

... 13 more

2005-05-27 10:06:03,165 [SOAP Request Sender] ERROR AbstractRequestSenderThread - AxisFault: ; nested exception is: 
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? 
Fault Actor : null
Fault Code  : {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
Fault Role  : null
Fault String: javax.net.ssl.SSLException : Unrecognized SSL message, plaintext connection?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 24 2005
Added on May 27 2005
0 comments
312 views