1

「公開」ボタンをクリックすると (現在のサービス状態は「本番」)、WSO2 Governance Registry コンソールで以下のエラーが表示されます。

アスペクトの呼び出しに失敗しました: ハンドラ チェーンの実行中に例外が発生しました。APIManager エンドポイント URL または認証情報が定義されていませんAPI Publish が失敗する可能性があります**

以下は、このリンクで説明されているように、私の WSO2 Gov reg 構成です。

<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> 

スタックトレース:

[2014-03-06 15:43:30,623] エラー {org.wso2.carbon.governance.custom.lifecycles.checklist.util.InvokeAspectUtil} - リソース /_system/governance/branches のアスペクト Service LifeCycle のアクション発行の呼び出しに失敗しました/production/services/com/w3schools/www/webservices/1.2.0/Temp_Convert_Service. ハンドラ チェーンの実行中に例外が発生しました。APIManager エンドポイント URL または資格情報が定義されていませんAPI Publish が失敗する可能性があります org.wso2.carbon.registry.core.exceptions.RegistryException: ハンドラー チェーンの実行中に例外が発生しました。APIManager エンドポイントの URL または資格情報が定義されていませんAPI 発行は、org.wso2.carbon.registry.core.jdbc の org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.invokeAspect(HandlerManager.java:2814) で失敗する場合があります。 handlers.HandlerLifecycleManager.invokeAspect(HandlerLifecycleManager.java:

提案してください。

4

3 に答える 3

1

WSO2 ドキュメントのこのリンクは、/repository/resources/lifecycles/configurations.xml を変更する必要があることを確認していますが、これは間違っていると思います。実際、Greg 4.6.0 では、このファイルは使用されなくなりました。それの別のバージョンは小さなデータベースに保存されており、GReg 管理コンソールから変更を加える必要があります。 [拡張機能] -> [構成] -> [ライフサイクル]に移動し、APIM パラメーターを使用してServiceLifeCycleを編集します。

于 2014-05-21T10:32:19.230 に答える
1

G-Reg バージョン 5.0.0 以降および API マネージャー 1.9.0 または 1.9.1 を使用します。以下のドキュメントを参照してください

https://docs.wso2.com/display/AM190/Integrating+with+WSO2+Governance+Registry

ありがとう

プラサンナ

于 2016-06-07T04:25:06.507 に答える
0

http://localhost:9763/代わりにapim エンドポイントのみを使用http://localhost:9763/store.

于 2014-03-07T01:28:58.907 に答える