I am currently using wso2 integration studio 8.0.0 to develop a service and integration project works solid in in my local both in integration studio runtime and local docker engine. However, when I build my docker image push it to the Kubernetes cluster, pod raises error
WARN {XpathExtensionUtil} - Error while initializing Synapse Xpath extension providers java.lang.ClassNotFoundException: org.wso2.micro.integrator.mediation.security.vault.external.hashicorp.HashiCorpVaultLookupXPathFunctionProvider cannot be found by synapse-core_2.1.7.wso2v182
Other developers in my team are not getting this error in their integration projects. Only difference we could find is the version of integration studio. In order to fix this error, I placed org.wso2.micro.integrator.mediation.security jar file in my docker exporter libs folder. After deploying my docker image to cluster, Pod changed its error to
java.lang.abstractmethod” for axis2SynapseEnvironment.setXpathVariableExtensions.
I checked source code from github but it seems to be that this is not a abstract method. However, it is an abstract in apache documentation. I am trying to solve this problem but could not resolve it and now I am blocked in my tasks for days . I would really really appreciate if you could me guide me out of this problem. From which path does the integration studio resolve synapse dependencies in build time? Which version of synapse core should be used to resolve this issue?
Change the docker base image as wso2/wso2mi:4.0.0
. Seems you are using Micro Integrator 1.2.0 runtime in your Docker container and note that feature is not available in the 1.2.0 GA release. Please refer to documentation.
Note that, Integration Studio v8.0.0 uses wso2/wso2mi:4.0.0
and Integration Studio v7.1.0v7.2.0 use wso2/wso2mi:1.2.0
as the Docker base image.