Ron Reynolds wrote:
i see this "error" (notice it's logged at the DEBUG level) even when things
are running normally.  do you get any exceptions thrown in your client code
when you try to use the stub?

the reason this is logged is because this code (AxisEngine:308):
    public SOAPService getService(String name) throws AxisFault
    {
        try {
            return config.getService(new QName(null, name));
        } catch (ConfigurationException e) {
            try {
                return config.getServiceByNamespaceURI(name);
            } catch (ConfigurationException e1) {
                throw new AxisFault(e);
            }
        }
    }
depends on an exception being thrown on the first attempt (line 311 in your
stack trace) to then try a different method of finding the service (which
probably succeeds since you see no log of that AxisFault on line 316).  the
reason you see a log entry is because in ConfigurationException's ctor the
exception object logs itself (at debug level) to its own log category.  this
part is questionable (i've never seen an exception log itself) since in this
case the exception is "normal" and you're not the first person to be a bit
concerned by an exception showing up in your logs...


Thanks a lot, I need to take a look at the next exception in the log then,
because it certainly isn't working ;)
I was assuming this was the problem since it is the first exception that
is cast.  I thought the rest was just follow-ons from this one and thus
ignored them.

Thanks again Ron , you are most helpful.

Håkon

Reply via email to