简体   繁体   English

编写有关WSO2 CEP的自定义经纪人

[英]Writing a Custom Broker about WSO2 CEP

I have a question about Custom Broker. 我对海关经纪人有疑问。

I tried Custom Broker using an example from this blog article. 我使用博客文章中的示例尝试了Custom Broker。
I downloaded a sample template Custom Broker from " https://dl.dropbox.com/u/17922825/blog/cep-ext-broker.zip ", I put cep-broker-1.0-SNAPSHOT.jar in CEP_HOME/repository/components/lib . 我从“ https://dl.dropbox.com/u/17922825/blog/cep-ext-broker.zip ”下载了一个示例模板Custom Broker,然后将cep-broker-1.0-SNAPSHOT.jar放在CEP_HOME/repository/components/lib

Next, I put broker.xml in CEP_HOME/repository/conf . 接下来,我将broker.xml放在CEP_HOME/repository/conf Following contents of broker.xml : 以下是broker.xml内容:

<brokerTypes xmlns="http://wso2.org/carbon/broker"><br>
   <brokerType class="org.test.cep.broker.TestBrokerTypeFactory"/><br>
</brokerTypes>

And, restart and login to the management console. 并且,重新启动并登录到管理控制台。

But, I accessed Configure -> Broker -> Add on management console, and each time I get the following error messages dumped into Monitor -> System Logs 但是,我访问了管理控制台上的“配置”->“代理”->“添加”,每次我收到以下错误消息时,都将它们转储到“监视器”->“系统日志”中

Error during rendering
Error during rendering
IO Error executing tag: JSPException while including path '/CEP/cep_buckets.jsp'. ServletException while including page.
IO Error executing tag: JSPException while including path '/CEP/cep_buckets.jsp'. ServletException while including page.
JSPException while including path '/CEP/cep_buckets.jsp'.
JSPException while including path '/CEP/cep_buckets.jsp'.
Exception occurred while trying to invoke service method getEngineProvidersInfo 
Exception occurred while trying to invoke service method getEngineProvidersInfo 
Exception occurred while trying to invoke service method getEngineProvidersInfo 
Exception occurred while trying to invoke service method getEngineProvidersInfo

Also, I get the same error when I access Configure -> Broker -> List, Main -> CEP Buckets -> Add and List. 另外,当我访问配置->代理->列表,主-> CEP存储桶->添加并列出时,也会遇到相同的错误。

I use version 2.1.0 of WSO2 CEP. 我使用WSO2 CEP的2.1.0版本。

If I need to explain more, I will add more information later. 如果需要更多说明,我将在以后添加更多信息。
I entreat you to help me. 我恳求你帮助我。

we have checked the pack which is uploaded in the site, Custom Broker component is corrupted in the pack.. We have uploaded the proper working pack again in the site.. Please download the pack again from [1] 我们已经检查了在站点上载的包,包中的Custom Broker组件已损坏。.我们已经在站点上载了正确的工作包。.请从[1]重新下载该包

[1] http://wso2.com/products/complex-event-processor/ [1] http://wso2.com/products/complex-event-processor/

Regards, 问候,

Mohan 莫汉

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM