Bug#911187: axis: FTBFS with Java 11 due to javax.rmi and CORBA removal

Emmanuel Bourg ebourg at apache.org
Thu Nov 29 22:33:47 GMT 2018


Le 30/10/2018 à 14:18, Markus Koschany a écrit :
> I was investigating the Java 11 FTBFS of axis and uddi4j. I wonder if we
> rather should focus on removing these packages instead of patching them.

I agree, I've requested the removal of uddi4j and wsil4j.


> eclipse-* packages can be ignored and jalview has been RC buggy for a
> long time. uddi4j can go as well and it only has eclipse-wtp and wsil4j
> as r-deps.

The two eclipse packages have now been removed.

jalview uses Axis for the javax.xml.rpc API. It can probably use
libjaxrpc-api-java instead.


> I don't see any code in starjava-vo that uses axis, looks more like a
> runtime feature but I'm not sure.

I got a quick look. starjava-vo builds fine without axis. I've found
only one class with SOAP related code (Ri1RegistryQuery) and it calls
the SoapClient class from starjava-registry [1]. Axis isn't used for
this client implementation as explained in the source file:

/**
 * Lightweight, freestanding SOAP client which can make simple requests
 * and allows the responses to be processed as a SAX stream.
 * Logging of sent and received XML can optionally be performed by
 * using the {@link #setEchoStream} method.
 * Probably, there is much of SOAP that this doesn't implement, but
 * it works well enough to write a registry client on top of it.
 *
 * <p>Why write yet another SOAP client?  Last time I tried to get Axis
 * to do this (stream processing of the response) it took me several
 * days of misery, and still didn't work.  The actual job I need to
 * do here is quite straightforward, so it's not difficult to write it
 * from scratch.
 *
 * @author   Mark Taylor
 * @since    9 Dec 2009
 */

So I think it's safe to remove the axis dependency in this case.


> In uimaj the uimaj-adapter-soap makes use of axis.

uima-as builds fine without libuima-adapter-soap-java, so we can scrap it.


[1]
https://salsa.debian.org/debian-astro-team/starjava-registry/blob/master/src/main/uk/ac/starlink/registry/SoapClient.java



More information about the pkg-java-maintainers mailing list