uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann <kottm...@gmail.com>
Subject UIMA AS and an AE which calls a web service fail
Date Thu, 19 Nov 2009 14:48:48 GMT
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).

Thanks,
Jörn

Mime
View raw message