2017-06-08 3 views
0

FiWARE CEPでLiveDemoプロジェクトのインスタンスを起動中にエラーが発生しました。出力アダプターの初期化に失敗します。FiWARE CEPでLiveDemoプロジェクトのインスタンスを起動しているときに出力アダプタを初期化できませんでした

INFO [Thread-27] com.ibm.hrl.proton.server.adapter.OutputServer.run Proton output server started, listening on output port: 3302 
WARNING [pool-11-thread-1] com.ibm.hrl.proton.server.adapter.AbstractServer.startAdapters initializeAdapters: failed to initialize adapter Output adapter for consumer: SimpleFile, reason: No such file or directory 
WARNING [pool-11-thread-1] com.ibm.hrl.proton.server.adapter.AbstractServer.startAdapters initializeAdapters: failed to initialize adapter Output adapter for consumer: File, reason: No such file or directory 
INFO [Thread-26] com.ibm.hrl.proton.server.adapter.InputServer.run Proton server Started, listening on port: 3002 

答えて

0

消費者の「ファイル名」フィールドに記載されているパスを修正してください。上記の手順は、インスタンスを停止し、REST API呼び出しを経由して再度起動した後

1. click on the Consumers in the resource navigation area. 
2. double click on "File" consumer 
3. update value of "filename" field in the Editing area(in the center). 
    note: make sure the path is absolute not relative as tomcat's directory location can different in various linux falvours. 
and make sure the all the directories mentioned in the path exists(file will be created automatically while initializing the adapter). 
4. do the same for "SimpleFile" consumer. 
5. click on "Save and Export" button at the top. 
6. click on "Export to external repository" in the pop-up window. 
7. Input destination and click ok. 

:Fiware PROTON GUIで : 上記のエラーを削除する手順の下に従ってください。

PUT //localhost:8080/ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer {"action":"ChangeState","state":"start"}

:インスタンスを起動

PUT //localhost:8080/ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer {"action":"ChangeState","state":"stop"}

インスタンスを停止

関連する問題