我正在使用WSO2CEP 3.1.0,並通過網站指南中提供的步驟進行操作,但仍然出現以下錯誤。我究竟做錯了什麼?如何配置ActiveMQ和WSO2CEP?
我看到這是3.0.0之前的版本中的一個錯誤,但它說它已被修復。
我加activemq-broker-5.9.1.jar
,activemq-client-5.9.1.jar
,geronimo-j2ee-management_1.1_spec-1.0.1.jar
,hawtbuf-1.9.jar
到/wso2cep-3.1.0/repository/components/lib
,並添加activemq-all-5.9.1.jar
,geronimo-j2ee-management_1.1_spec-1.0.1.jar
到/wso2cep-3.1.0/samples/lib
,
但是當我運行樣品技術我碰到下面的錯誤。當我運行默認服務器實例(非樣本)並創建輸入或輸出jms適配器時,也會發生此錯誤。
[2011-05-15 06:15:37,327] ERROR - {BaseUtils} JNDI lookup of name TopicConnectionFactory returned a org.apache.activemq.ActiveMQConnectionFactory while a interface javax.jms.ConnectionFactory was expected
Exception in thread "Thread-30" org.apache.axis2.transport.base.BaseTransportException: JNDI lookup of name TopicConnectionFactory returned a org.apache.activemq.ActiveMQConnectionFactory while a interface javax.jms.ConnectionFactory was expected
at org.apache.axis2.transport.base.BaseUtils.handleException(BaseUtils.java:168)
at org.wso2.carbon.event.input.adaptor.jms.internal.util.JMSUtils.lookup(JMSUtils.java:363)
at org.wso2.carbon.event.input.adaptor.jms.internal.util.JMSConnectionFactory.<init>(JMSConnectionFactory.java:93)
at org.wso2.carbon.event.input.adaptor.jms.JMSEventAdaptorType.createJMSAdaptorListener(JMSEventAdaptorType.java:303)
at org.wso2.carbon.event.input.adaptor.jms.JMSEventAdaptorType.tryStartAdaptor(JMSEventAdaptorType.java:262)
at org.wso2.carbon.event.input.adaptor.jms.internal.ds.JMSEventAdaptorServiceHolder.loadLateStartEventAdaptors(JMSEventAdaptorServiceHolder.java:66)
at org.wso2.carbon.event.input.adaptor.jms.internal.ds.JMSEventAdaptorServiceHolder$1.run(JMSEventAdaptorServiceHolder.java:43)
at java.lang.Thread.run(Thread.java:722)
這是針對activemq版本5.7和之前版本的。 Activemq的結構已經發生變化,因此有了WSO2CEP的文檔。 – armin 2015-02-09 07:50:20