首页 文章

在FiWARE CEP中启动LiveDemo项目实例时无法初始化输出适配器

提问于
浏览
0

在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

1 回答

  • 0

    请更正使用者中“filename”字段下提到的路径 . 请按照以下步骤删除上述错误:在Fiware PROTON GUI上:

    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.
    

    执行上述步骤后,停止实例并通过REST API调用再次启动它 .

    停止实例:

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

    启动实例:

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

相关问题