Hi all!
I have a problem with executing PEAR file under cpeGui and others.
My scenario:
1) UIMA 2.2 or 2.3
2) IBM Java 6 (doesn't support JAX-WS v.2.1)
3) JAX-WS v.2.1 libraries inside PEAR /lib dir.
4) PEAR file that call web service via JAX-WS libraries - service.jar in 
PEAR/lib dir
5) install.xml - CLASSPATH = list of all jars in /lib(or just /bin -doesn't
matter - the same error)

During the execution from cpeGUI (or via
org.apache.uima.examples.cpe.SimpleRunCPM)

got the exception - javax.xml.ws.WebServiceException: Provider
com.sun.xml.ws.spi.ProviderImpl not found

MANIFEST.MF of the service.jar contains 
Class-Path: jaxws-rt.jar ..... - all jars of JAX-WS library

There is a solution: move all jars from the pear lib directory into UIMA/
classpath. But it brokes PEAR self-contained conception.

Another solution - use Sun Java 1.6(so we don't need to keep JAX-WS jars in
PEAR/lib  - works fine) - but I need IBM Java.

How to force UIMA to search and load JAX-WS jars from PEAR/lib?


Reply via email to