WSO2 Governance Registry not publishing Service into WSO2 API Manager -
on "publish" button click (current service state "production") getting below error in wso2 governance registry console.
failed invoke aspect: exception occurred while executing handler chain. apimanager endpoint url or credentials not definedapi publish might fail**
below wso2 gov reg configuration described in link.
<state id="production"> <datamodel> <data name="transitionexecution"> <execution forevent="demote" class="org.wso2.carbon.governance.registry.extensions.executors.demoteactionexecutor"> </execution> <execution forevent="publish" class="org.wso2.carbon.governance.registry.extensions.executors.apistore.apistoreexecutor"> <parameter name="apim.endpoint" value="http://localhost:9763/store"/> <parameter name="apim.username" value="admin"/> <parameter name="apim.password" value="admin"/> <parameter name="default.tier" value="unlimited"/> <parameter name="throttlingtier" value="unlimited,unlimited,unlimited,unlimited,unlimited"/> </execution> </data> </datamodel> <transition event="publish" target="published.to.apistore"/> <transition event="demote" target="testing"/> </state> <state id="published.to.apistore"> </state>
stack trace:
[2014-03-06 15:43:30,623] error {org.wso2.carbon.governance.custom.lifecycles.checklist.util.invokeaspectutil} - failed invoke action publish of aspect service lifecycle on resource /_system/governance/branches/production/services/com/w3schools/www/webservices/1.2.0/temp_convert_service. exception occurred while execut ing handler chain. apimanager endpoint url or credentials not definedapi publish might fail org.wso2.carbon.registry.core.exceptions.registryexception: exception occurred while executing handler chain. apimanager endpoint url or credentials not def inedapi publish might fail @ org.wso2.carbon.registry.core.jdbc.handlers.handlermanager.invokeaspect(handlermanager.java:2814) @ org.wso2.carbon.registry.core.jdbc.handlers.handlerlifecyclemanager.invokeaspect(handlerlifecyclemanager.java:542) @ org.wso2.carbon.registry.core.jdbc.embeddedregistry.invokeaspect(embeddedregistry.java:2550) @ org.wso2.carbon.registry.core.caching.cachebackedregistry.invokeaspect(cachebackedregistry.java:384) @ org.wso2.carbon.registry.core.session.userregistry.invokeaspect(userregistry.java:1395) @ org.wso2.carbon.governance.custom.lifecycles.checklist.util.invokeaspectutil.invokeaspect(invokeaspectutil.java:52) @ org.wso2.carbon.governance.custom.lifecycles.checklist.services.lifecyclesadminservice.invokeaspect(lifecyclesadminservice.java:47) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.apache.axis2.rpc.receivers.rpcutil.invokeserviceclass(rpcutil.java:212)
please suggest.
this link in wso2 docs affirms have modify /repository/resources/lifecycles/configurations.xml, think incorrect. infact in greg 4.6.0 file no more used. version of stored in small db , must make changes greg administration console go extensions->configure->lifecycles , edit servicelifecycle apim parameters.
Comments
Post a Comment