Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes BEA/Weblogic and the fly likes SAAJ version conflict with weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "SAAJ version conflict with weblogic" Watch "SAAJ version conflict with weblogic" New topic

SAAJ version conflict with weblogic

Alex Anderson

Joined: Dec 06, 2005
Posts: 10
I have some apps developed with JWSDP, which i'm trying to run on Weblogic 9.0 (alt 8.1).
The problem is that i cannot seem to replace weblogics implementation of SAAJ.
I have tried some different approaches:
* adding libs to PRE_CLASSPATH in setDomainEnv.cmd
* distribute all libs in a web app using the weblogic specific tag <prefer-web-inf-classes>true</prefer-web-inf-classes>
* adding the libs to jre directly, in (jre\lib\ext\
* removing Weblogics webservices.jar
* "tweaking" weblogic.jar/webservices.jar removed some configuration and classfiles in them
* adding META-INF/services/* to point out non weblogic factories

However, nothing of the above works, still weblogics implementations are being used!

I get exceptions like this because weblogic doesn't let me use some libs:

I have totally run out of ideas now.. anyone?
[ December 18, 2005: Message edited by: Alex Anderson ]
manik krishnan

Joined: Jun 13, 2007
Posts: 2

Please follow the below steps to resolve "UnsupportedOperationException: This class does not support SAAJ 1.1" issue.

1. Set classpath to latest saaj-impl.jar in startweblogic.cmd
2. Set the below 2 system properties in code.

It works for me in weblogic9.2. Let me know if you still face any problem related to "UnsupportedOperationException: SAAJ1.1"

I agree. Here's the link:
subject: SAAJ version conflict with weblogic
Similar Threads
using saaj 1.2 with weblogic 8.1
Axis2 with WebLogic 9.1 (Deploy Problem)
Exception while Deploying Axis2 on weblogic 8.1 SP3
Problem in running apache CXF webservice in weblogic 10 server
Type mismatch: cannot convert from AccessType to XmlAccessType