We have enabled the subscription workflow extension in WSo2 API Manager with BPS. Once if the user subscribes to the API the workflow enables and ADMIN gets approval request. Admin approves the API, it is getting approved but the subscription status doesn't change from ON_HOLD to UNBLOCKED in API Store.

No error logs from the WSo2 BPS side.

Please let me know what i missed in the confiuration and let me know what configuration required to look into this issue.

Below are the error logs from the API Manager side:-

[2019-04-29 16:51:10,318] WARN - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended. {org.apache.commons.httpclient.HttpMethodBase} [2019-04-29 16:51:10,344] WARN - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended. {org.apache.commons.httpclient.HttpMethodBase} [2019-04-29 16:51:27,059] ERROR - The system is attempting to access an inactive service: WorkflowCallbackService {org.apache.axis2.engine.AxisEngine} org.apache.axis2.AxisFault: The system is attempting to access an inactive service: WorkflowCallbackService at org.apache.axis2.engine.AxisConfiguration.getService(AxisConfiguration.java:1049) at org.apache.axis2.dispatchers.RequestURIBasedServiceDispatcher.findService(RequestURIBasedServiceDispatcher.java:85) at org.apache.axis2.dispatchers.RequestURIBasedDispatcher.findService(RequestURIBasedDispatcher.java:53) at org.apache.axis2.engine.AbstractDispatcher.invoke(AbstractDispatcher.java:94) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:415) at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:151) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [2019-04-29 16:51:27,060] ERROR - Error processing POST request for : /services/WorkflowCallbackService {org.apache.synapse.transport.passthru.ServerWorker} org.apache.axis2.AxisFault: The system is attempting to access an inactive service: WorkflowCallbackService at org.apache.axis2.engine.AxisConfiguration.getService(AxisConfiguration.java:1049) at org.apache.axis2.dispatchers.RequestURIBasedServiceDispatcher.findService(RequestURIBasedServiceDispatcher.java:85) at org.apache.axis2.dispatchers.RequestURIBasedDispatcher.findService(RequestURIBasedDispatcher.java:53) at org.apache.axis2.engine.AbstractDispatcher.invoke(AbstractDispatcher.java:94) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:415) at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:151) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

0 Answers