ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Hall <>
Subject Re: [jira] [Created] (WSS-664) Problem using IBM JDK
Date Thu, 13 Feb 2020 17:28:47 GMT
We are using IBM liberty for our production server in Z/OS with the IBM JDK.  We are using
tomcat as our dev environment with oracle JDK.

We had to force the IBM JDK to use the sun classes jvm.option file.



----- Original Message -----
From: "Philip Helger (Jira)" <>
To: "dev" <>
Sent: Thursday, February 13, 2020 11:52:00 AM
Subject: [jira] [Created] (WSS-664) Problem using IBM JDK

Philip Helger created WSS-664:

             Summary: Problem using IBM JDK
                 Key: WSS-664
             Project: WSS4J
          Issue Type: Bug
          Components: WSS4J Core
    Affects Versions: 2.2.4
            Reporter: Philip Helger
            Assignee: Colm O hEigeartaigh


when using IBM JDK, the initialization does not work.

Gettting the following error:
java.lang.VerifyError: JVMVRFY012 stack shape inconsistent; class=com/sun/xml/messaging/saaj/soap/SOAPDocumentImpl,
method=createDocumentFragment()Lorg/w3c/dom/DocumentFragment;, pc=5; Type Mismatch, argument
0 in signature com/sun/xml/messaging/saaj/soap/SOAPDocumentFragment.<init>:(Lcom/sun/org/apache/xerces/internal/dom/CoreDocumentImpl;)V
does not match
Exception Details:
@5: JBinvokespecial
Type 'com/sun/xml/messaging/saaj/soap/SOAPDocumentImpl' (current frame, stack[2]) is not assignable
to 'com/sun/org/apache/xerces/internal/dom/CoreDocumentImpl'
Current Frame:
bci: @5
flags: \{ }
locals: \{ 'com/sun/xml/messaging/saaj/soap/SOAPDocumentImpl' }
stack: \{ 'uninitialized', 'uninitialized', 'com/sun/xml/messaging/saaj/soap/SOAPDocumentImpl'
at java.lang.J9VMInternals.prepareClassImpl(Native Method) ~[?:2.9 (10-29-2018)]
at java.lang.J9VMInternals.prepare( ~[?:2.9 (10-29-2018)]
at java.lang.Class.getMethods( ~[?:2.9 (10-29-2018)]
at org.apache.wss4j.dom.util.WSSecurityUtil.<clinit>( ~[wss4j-ws-security-dom-2.2.4.jar:2.2.4]
at org.apache.wss4j.dom.message.WSSecHeader.insertSecurityHeader( ~[wss4j-ws-security-dom-2.2.4.jar:2.2.4]

I will create a PR that changes the catch clause to {{Throwable}}


Thanks, Philip

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message