Skip to main content

No CipherValue found in CipherData for Metro 2.3 and glassfish 4

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
jacksontjl
Offline
Joined: 2014-06-10
Points: 0

glassfish 4.0 and Metro 2.3
web service with Mutual certificates security.
the following is soap message logging on server side.

INFO: WSP5018: Loaded WSIT configuration from file: file:/E:/work/javaspace/netbeans/CalculatorWSServletClient/build/web/WEB-INF/classes/META-INF/wsit-client.xml.
INFO: before invoking add method at client side.
INFO: ---[HTTP request]---
accept: text/xml, multipart/related
connection: keep-alive
content-length: 11422
content-type: text/xml; charset=utf-8
host: 2k8webtest.mywealth.net.cn:8181
soapaction: "http://calculator.me.org/CalculatorWS/addRequest"
user-agent: Metro/2.3 (tags/2.3-7528; 2013-04-29T19:34:10+0000) JAXWS-RI/2.2.8 JAXWS/2.2 svn-revision#unknown
<?xml version='1.0' encoding='UTF-8'?>https://2k8webtest.mywealth.net.cn:8181/calculatorapplication/CalculatorWShttp://calculator.me.org/CalculatorWS/addRequest

http://www.w3.org/2005/08/addressing/anonymous


http://www.w3.org/2005/08/addressing/anonymous

uuid:11eb2335-d233-47ef-b4d3-b5edd41d2f4d2014-06-10T08:40:31Z2014-06-10T08:45:31ZMIIGCzCCBPOgAwIBAgIKHSpYAQAAAAAAKjANBgkqhkiG9w0BAQUFADBZMRIwEAYKCZImiZPyLGQBGRYCY24xEzARBgoJkiaJk/IsZAEZFgNuZXQxGDAWBgoJkiaJk/IsZAEZFghteXdlYWx0aDEUMBIGA1UEAxMLQ0EtTVlXRUFMVEgwHhcNMTQwNTIwMDYzOTU3WhcNMTYwNTE5MDYzOTU3WjB4MQswCQYDVQQGEwJDTjERMA8GA1UECBMIc2hhbmdoYWkxETAPBgNVBAcTCHNoYW5naGFpMREwDwYDVQQKEwhNeVdlYWx0aDELMAkGA1UECxMCUkQxIzAhBgNVBAMTGjJLOFdFQlRFU1QubXl3ZWFsdGgubmV0LmNuMIGfMA0GCSqGSIb3DQEB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NX6Tqk0uRD3ZWfhNQja/vSCuHZp0lx5b+h0dHGY9fdopOYxLigyh1kRMeH7UMy1y8MCn/nXT1kn8xsB62KJoamjRZ1PLRqfGQmwtwl9yRxqusOQRnr9qeevKUgc4SnRDfM8JVD9s67PCPQV67bbkfXmXE/QPO5qQ+1HZIkvf2RUMfda0670oibgLXoYpccUPRYVzRhTi5HgcfT0MDIVlv/ViXliV5WmBND/VajsT6ktT25UbeiYWA9jj2tKV/0K3Eg/0jKH61I+A3fzRRQJ5YBmkDTMNUsdancfVfvgfbfg8mD495XMEOO0cWjUeCVP73j/3CLn13S0uNQcPPlAU/8si17lpL/4pR/aBHI3Z27xKQRFknIuJurdu4aL4Qo87LYGu4V6vM6Faq/db9KKqJ7gMQ3u6H1zj8SA30/uKZ/fUivWv6xlGObJG5nUxvCRrjRHHftRTb4sM+dqycd6+BAwShSwg0/0GilmEiLBlW+3s50eRpfh2IyZ1c4AYlFkqXCnKQigcN9xcDttZPIvWE4UWWXzYy9od+Z0JHXmILxltKfs4dScu6NSjOYXXLLNm8CqOLaALZKOe5SF68dDHCtrAJqr8Cr3dGey/4l2pJhhE6q0a04US0SclLLdBn2UdaRRGEWe7/KkaYNtoBxrYey8LEIz8tdd5iuKmcKAHHijizt559aTDOuJBTKSGbB3uNUKsPdPf4CBncxdTkequeCpo2mDAwXHWcRYn0tM/7uteeLHrFROQiJH9BiJWSmXCzqooKOflP+rdIrHzwSJgU6+oCHc6T8K6uT8H3tNzuJGsrr4pi+/vkL5mrpB6lFacG6y3cbEpkU3bZM5uDjody/w==
cIg8fEVgPiqitXJGyf7iHYWcPUQ4mH3pUd2DyY2Hf/kIbYSweNCyN/X5npxPiXlnmOdTTaRIH7b1kVdN8V6x9oCQXXmD+dOjVNHTqUz6toiPMzZ1m1G1nPVzP4GTARUi--------------------
INFO: server's keyStore = D:\eclipse\server\glassfish-4.0\glassfish\domains\2k8webtest.mywealth.net.cn/config/keystore.jks
SEVERE: server side result = 120
INFO: ---[HTTP response 200]---
<?xml version='1.0' encoding='UTF-8'?>http://calculator.me.org/CalculatorWS/addResponseuuid:872c44f4-8456-4637-81c4-52ec2c0ed868uuid:11eb2335-d233-47ef-b4d3-b5edd41d2f4dhttp://www.w3.org/2005/08/addressing/anonymous2014-06-10T08:40:33Z2014-06-10T08:45:33ZCN=CA-MYWEALTH, DC=mywealth, DC=net, DC=cn137729732604065826734122--------------------
SEVERE: WSS1925: No CipherValue found in CipherData

AttachmentSize
soap_message_on_server_side.txt14.97 KB
wsit-org.me_.calculator.CalculatorWS.txt7.93 KB
CalculatorWS-client.txt3.42 KB

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
spmurphy
Offline
Joined: 2012-08-07
Points: 0

What version of the JDK are you using? I got this same problem with MCS when trying to update to Java JDK 1.7.0_51 or 1.8.0_5. There were lots of critical security updates in that release. I think there is probably code in Metro that needs to be updated for the new JDK - my guess would be the ThreadLocal stuff in the pipes. If you figure this out, please share. Or if you post a bug, let us know and I will vote for it.