Topic
1 reply Latest Post - ‏2013-02-25T14:58:00Z by AlexFleischer
PaulParker
PaulParker
1 Post
ACCEPTED ANSWER

Pinned topic Error when getting WODM to call a Java Class

‏2013-02-11T16:56:18Z |
Hello,

I am getting the below error when i try to call a Java Class from WODM.
ERROR:

java.lang.LinkageError: loading constraint violation when resolving method
"org/apache/http/impl/client/AbstractHttpClient.execute(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/HttpResponse;"
: loader
"com/ibm/rules/res/persistence/internal/XOMClassLoader@eb087b17"
of class
"com/fred/Paul"
and loader
"org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader@1d80e030"
of class "org/apache/http/impl/client/AbstractHttpClient"
have different types for the method signature

The JAVA class is very simple and calls a BPM REST service using a http client. If i run the Java class by itself then it works and a new BPM process instance is started. However when i try to call the JAVA class from the ODM Execution Server i get the error.

It looks like there is a conflict of Java classes, can anyone help and suggest what a solution to this could be?
Updated on 2013-02-25T14:58:00Z at 2013-02-25T14:58:00Z by SystemAdmin
  • AlexFleischer
    AlexFleischer
    42 Posts
    ACCEPTED ANSWER

    Re: Error when getting WODM to call a Java Class

    ‏2013-02-25T14:58:00Z  in response to PaulParker
    Hi,

    I think this is not the right forum for your question.
    Here we deal with ILOG ODME, not WODM

    Regards