Hi Raju, Thank you for the reply. I did try putting saaj-imple.jar in common/lib and shared/lib as well but didn't work. Also I modified catalina.properties for this jar as you suggested.
shared.loader=${catalina.base}/shared/lib/saaj-impl.jar,${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar common.loader=${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar,${catalina.home}/common/lib/saaj-impl.jar None of these didn't work. Additionaly I have import com.sun.xml.messaging.saaj.*; in my class where the SOAP message is getting created. Still I am working on this. If you could shed any light on this it would be really helpful Thank you Nilantha Raju Balugu wrote: > > Hi , > > Where you kept that saaj-impl.jar file? > if u want to load that jar file first ,you can place that jar file entry > in > catalina.properties file which is there under conf directory either in > common loader or shared loader and let us know. > > Regards > Raju > > > On 8/25/06, Nilantha <[EMAIL PROTECTED]> wrote: >> >> >> I have axis.jar (1.2.1) and saaj-impl.jar(1.3) in a same web application >> deployed in Tomcat 5.5.17. axis MessageFactoryImpl >> implementation(org.apache.axis.soap.MessageFactoryImpl) gets preference >> over >> saaj-impl implementation >> (com.sun.xml.messaging.saaj.soap.MessageFactoryImpl) during the run time. >> I >> am facing issues due to this and need to use saaj implementation when I >> create SOAP messages. >> >> I have no issue in Tomcat 5.0.x and it uses sun implementation for the >> same >> app. Only in Tomcat 5.5.x it is looking for axis version even if >> saaj-impl.jar is available. >> >> Appreciate if anyone could show me how I could override this default >> behavior and make saaj class load first. >> >> >> thank you >> Nilantha >> >> -- >> View this message in context: >> http://www.nabble.com/Change-MessageFactoryImpl-loading-behaviour-in-Tomcat-5.5.17-tf2162003.html#a5975145 >> Sent from the Tomcat - User forum at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Change-MessageFactoryImpl-loading-behaviour-in-Tomcat-5.5.17-tf2162003.html#a5988156 Sent from the Tomcat - User forum at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]