Instead of using a systems.property file I did this and it resolved the
issue:

  if (System.getProperty("java.vendor").equals("IBM Corporation")) { 
                System.setProperty("javax.xml.soap.MessageFactory", 
                
"com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl"); 
                System.setProperty("javax.xml.soap.SOAPFactory", 
                
"com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl"); 
                System.setProperty("javax.xml.soap.SOAPConnectionFactory", 
                
"com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnectionFactory"); 
                System.setProperty("javax.xml.soap.MetaFactory", 
                
"com.sun.xml.internal.messaging.saaj.soap.SAAJMetaFactoryImpl"); 
             
            //Default to the SUN RI 
            } else { 
                System.setProperty("javax.xml.soap.MessageFactory", 
                
"com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl"); 
                System.setProperty("javax.xml.soap.SOAPFactory", 
                 "com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl"); 
                System.setProperty("javax.xml.soap.SOAPConnectionFactory", 
                
"com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnectionFactory"); 
                System.setProperty("javax.xml.soap.MetaFactory", 
                 "com.sun.xml.messaging.saaj.soap.SAAJMetaFactoryImpl"); 
            } 
           
Thanks




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

Reply via email to