Jörn Kottmann wrote:
> Hi,
>
> in one of our Analysis Engines a web service is called to
> save processing results. The web service throws an exception
> which then should be handled nicely, but the deserializing
> of the web service exception fails.
>
> Here is the stack trace from the log file:
> Caused by: java.lang.NoClassDefFoundError: Could not initialize class
> com.sun.xml.internal.ws.fault.SOAPFaultBuilder
>        at
> com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:239)
>
>        at
> com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
>
>        at
> com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
>        at $Proxy40.webmethod(Unknown Source)
>        at OurAnalysisEngine.process(XXXx.java:189)
>        at
> org.apache.uima.analysis_component.CasAnnotator_ImplBase.process(CasAnnotator_ImplBase.java:56)
>
>        at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:375)
>
>        at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:297)
>
>        at
> org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl.process(PrimitiveAnalysisEngineController_impl.java:433)
>
>        ... 9 more
>
> Does anyone know why this class cannot be found ?
>
> I think it could be an issue with activemq (5.3.0) dependencies, is
> there a way to separate the classpath
> of activemq dependencies and the classpath of the AEs ?
>
> Right now the AE dependencies are located in the lib folder and UIMA
> AS runs on java 6 (which should contain the class
> in question).

hmmm, java 6 doesn't seem to have this class.  The Java 6 Javadocs don't
list it either.  It is found in my set up as a part of the axis-1.2 or
axis-1.3 jars.  I see also that the uimaj-as-osgi-runtime has the
axis-1.2-RC1.jar.    Are you running with that?

-Marshall
>
> Thanks,
> Jörn
>
>

Reply via email to