Re: BCJSSE close notify problem
Huangfu <[email protected]>
| Newsgroups | gmane.comp.encryption.bouncy-castle.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello Matti:
Yes, I know that it is an axis parsing problem, but it is not in my
program code. This will cause close_notify. In eclipse, it will display an
error but the data will still be received. But in server is close the
connecttion, the follow-up data cannot be received. Error is In http head,
use www.google.com is appear close_notify, so you want to avoid close_notify
so that the data can still be received and then closed, but can not be done,
follow-up test message is as follows:
//
Aused by: org.w3c.dom.DOMException: NodeImpl Not Found
At org.apache.axis.message.NodeImpl.removeChild(NodeImpl.java:515)
At org.apache.axis.message.NodeImpl.setParent(NodeImpl.java:789)
At org.apache.axis.message.NodeImpl.setParentElement(NodeImpl.java:632)
... 14 more
godsell.getBank_no()=godsell.getDate()=godsell.getMsg_cod()=EP90godsell.getMsg_desc()=Request
WebException,Status:ConnectFailure,Message:Remote server
godsell.getTime()=godsell.getGoldSellProduct()=[Lfubon.
ws.GoldSellProduct;@b8176d~~
//
It responded with the data value
But the actual use of the web server is
//
//
aultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.bouncycastle.crypto.tls.TlsNoCloseNotifyException: No
close_notify alert received before connection closed
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:org.bouncycastle.crypto.tls.TlsNoCloseNotifyException:
No close_notify alert received before connection closed
at org.bouncycastle.crypto.tls.TlsProtocol.safeReadRecord(Unknown
Source)
at
org.bouncycastle.crypto.tls.TlsProtocol.readApplicationData(Unknown
Source)
at org.bouncycastle.crypto.tls.TlsInputStream.read(Unknown Source)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:254)
at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
at java.io.FilterInputStream.read(FilterInputStream.java:111)
at
org.apache.crimson.parser.XmlReader$Utf8Reader.read(XmlReader.java:645)
at
org.apache.crimson.parser.InputEntity.fillbuf(InputEntity.java:1068)
//
Want to know how to avoid close_notify?
Regards
HwangFU
--
Sent from: http://bouncy-castle.1462172.n4.nabble.com/Bouncy-Castle-Dev-f1462173.html