You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "Bc. Jiří Mikulášek" <ji...@aura.cz> on 2007/09/25 14:43:29 UTC
alternative to saaj?
Hello,
we are developing for IBM java on AIX, which doesn't contain packages like
com.sun.org.apache.xerces.*. Unfortunately saaj-impl depends directly on
these packages.
Is there some possibility to replace saaj implementation with another
alternative?
I have already tried axis2-saaj implementation but got into deep troubles with
many org.w3c.dom.* Exceptions
yes I know I can force AIX java to use xercesImpl (containing those packages),
but it is not clean and therefore we prefer to remove the ugly library
saaj-impl
Best Regards
--
Jiri Mikulasek
---------------------------------
Developer
AURA, s.r.o.
Uvoz 499/56; 602 00 Brno
ISO 9001 certified company
AQAP 2110 (ČOS 051622)
tel./fax: +420 544 508 115
e-mail: mikulasek@aura.cz
http://www.aura.cz
---------------------------------
Re: alternative to saaj?
Posted by Christian Vest Hansen <ka...@gmail.com>.
Just a little note;
I recall having problems with JBoss saaj a month back or so, so I
don't think that version will work. (I had to do bad stuff with
System.setProperty() in order to get an interceptor to work).
2007/9/25, Daniel Kulp <dk...@apache.org>:
>
> I wish I had a better answer for you, but I don't... :-(
>
> I logged a bug with the SAAJ team:
> https://saaj.dev.java.net/issues/show_bug.cgi?id=7
> and they closed it with "WONTFIX".
>
> Thus, there really are four options:
> 1) Grab the jaxp jar (can get it from:
> http://download.java.net/maven/1/com.sun.xml.parsers/jars/jaxp-ri-1.4.1.jar)
> and put that in your jre/lib/endorsed dir.
>
> 2) You MAY be able to put the above jaxp jar into the same classloader as
> the saaj-impl.jar. That sometimes works.
>
> 3) Grab the SAAJ source from saaj.dev.java.net and change all the classes
> to subclass the org.apache types instead of the com.sun.org.apache
> (search/replace for com.sun.org.apache -> org.apache should do) and
> build your own jar.
>
> 4) Find a different SAAJ impl. I'm surprised the axis2 one doesn't
> work. I'm sure IBM has an implementation that works with their JDK
> (WebSphere would require it). JBoss might as well.
>
> Dan
>
>
>
>
> On Tuesday 25 September 2007, Bc. Jiří Mikulášek wrote:
> > Hello,
> > we are developing for IBM java on AIX, which doesn't contain packages
> > like com.sun.org.apache.xerces.*. Unfortunately saaj-impl depends
> > directly on these packages.
> > Is there some possibility to replace saaj implementation with another
> > alternative?
> > I have already tried axis2-saaj implementation but got into deep
> > troubles with many org.w3c.dom.* Exceptions
> >
> > yes I know I can force AIX java to use xercesImpl (containing those
> > packages), but it is not clean and therefore we prefer to remove the
> > ugly library saaj-impl
> >
> > Best Regards
>
>
>
> --
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727 C: 508-380-7194
> daniel.kulp@iona.com
> http://www.dankulp.com/blog
>
--
Venlig hilsen / Kind regards,
Christian Vest Hansen.
Re: alternative to saaj?
Posted by Daniel Kulp <dk...@apache.org>.
I wish I had a better answer for you, but I don't... :-(
I logged a bug with the SAAJ team:
https://saaj.dev.java.net/issues/show_bug.cgi?id=7
and they closed it with "WONTFIX".
Thus, there really are four options:
1) Grab the jaxp jar (can get it from:
http://download.java.net/maven/1/com.sun.xml.parsers/jars/jaxp-ri-1.4.1.jar)
and put that in your jre/lib/endorsed dir.
2) You MAY be able to put the above jaxp jar into the same classloader as
the saaj-impl.jar. That sometimes works.
3) Grab the SAAJ source from saaj.dev.java.net and change all the classes
to subclass the org.apache types instead of the com.sun.org.apache
(search/replace for com.sun.org.apache -> org.apache should do) and
build your own jar.
4) Find a different SAAJ impl. I'm surprised the axis2 one doesn't
work. I'm sure IBM has an implementation that works with their JDK
(WebSphere would require it). JBoss might as well.
Dan
On Tuesday 25 September 2007, Bc. Jiří Mikulášek wrote:
> Hello,
> we are developing for IBM java on AIX, which doesn't contain packages
> like com.sun.org.apache.xerces.*. Unfortunately saaj-impl depends
> directly on these packages.
> Is there some possibility to replace saaj implementation with another
> alternative?
> I have already tried axis2-saaj implementation but got into deep
> troubles with many org.w3c.dom.* Exceptions
>
> yes I know I can force AIX java to use xercesImpl (containing those
> packages), but it is not clean and therefore we prefer to remove the
> ugly library saaj-impl
>
> Best Regards
--
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727 C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog