AnsweredAssumed Answered

custom connector reference jars

Question asked by Tahir Ahmed on Feb 2, 2017
Latest reply on Feb 15, 2017 by Tahir Ahmed

Hello, All

 

I have question around custom connector. when we upload a reference jar, does it takes precedence if Aveksa/AFX already has the jar.

 

I'm facing issue with commons-codec1.7jar and AFX/mule has commons-codec1.2.jar.

connector seems to refer to 1.2 jar and not 1.7 which is uploaded in connector settings. Due to which, the below error:

NoSuchMethodError..... which kind of present in commons-codec1.7.jar!!

 

Exception in thread "ActiveMQ Session Task" java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.decodeBase64(Ljava/lang/String;)[B
at com.connector.RSAEncryption.encrypt(RSAEncryption.java:41)
at com.connector.RSAEncryption.invokeRSA(RSAEncryption.java:101)
at com.connector.nImpl.deleteAccount(nImpl.java:120)
at com.aveksa.afx.server.runtime.mule.javacodebased.JavaDispatchComponent.handleVerb(JavaDispatchComponent.java:326)
at com.aveksa.afx.server.runtime.mule.javacodebased.JavaDispatchComponent.onCall(JavaDispatchComponent.java:73)
at org.mule.model.resolvers.CallableEntryPointResolver.invoke(CallableEntryPointResolver.java:50)

Any inputs, anyone faced similar issue.

 

 

Thanks

Outcomes