That was indeed the fix to this issue!

So to be able to serve SOAP CFX Services using IBM J9, in which case I'm
running it on an IBM i (aka AS/400 or iSeries), I then added the next four
line to the conf/system.properties file:

javax.xml.soap.MessageFactory =
com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl
javax.xml.soap.SOAPFactory =
com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl
javax.xml.soap.SOAPConnectionFactory =
com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnectionFactory
javax.xml.soap.MetaFactory =
com.sun.xml.internal.messaging.saaj.soap.SAAJMetaFactoryImpl

This actually fixes several issues.  For the sake of email search engines
I'll will note them here.

My original issue started when I received this exception:
java.lang.VerifyError: JVMVRFY012 stack shape inconsistent;
class=com/sun/xml/messaging/saaj/soap/SOAPDocumentImpl,
method=createDocumentFragment()Lorg/w3c/dom/DocumentFragment;, pc=5

I called IBM and they told me to add the next entry to the
/QIBM/UserData/Java400/SystemDefault.properties file to tell the JVM to not
to verify the classes:

#AllowOptions     
-Xverify:none

Then I started to receive this exception:
java.lang.NoClassDefFoundError:
com.sun.org.apache.xerces.internal.dom.ElementNSImpl

Once I added the four lines to TomEE's conf/system.properties file
everything works perfect and I do not have to use the -Xverify:none option.
 



--
View this message in context: 
http://openejb.979440.n4.nabble.com/TomEE-1-5-1-on-IBM-i-J9-JDK-7-tp4661975p4661992.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Reply via email to