Hi Lahiru,

Have you copied 5.7.0.jar, geronimo-j2ee-management_1.1_spec-1.0.1.jar, and
geronimo-jms_1.1_spec-1.1.1.jar from <ActiveMQ_HOME>/lib to
<ESB_HOME>/repository/components/lib ?





On Thu, Sep 25, 2014 at 12:51 PM, Lahiru Chandima <[email protected]> wrote:

> Hi,
>
> Seems like I was too quick to send previous mail. I think the problem is
> not with JMS client. Even though JMS client prints the error mentioned
> earlier, message gets successfully sent. I checked the ActiveMQ admin
> console and it shows that it has received the messages I sent from JMS
> client.
>
> But I don’t get the output mentioned in the example. I think the problem
> should be with ESB because it has printed following error at startup. Looks
> like it has failed to enable JMS transport.
>
>
> [2014-09-25 11:48:00,521] ERROR - JMSListener Unexpected error when
> configuring service StockQuoteProxy for the JMS transport. It will be
> disabled for this transport and marked as faulty.
> java.lang.NoClassDefFoundError: org/apache/activeio/util/FactoryFinder
>     at
> org.apache.activemq.transport.TransportFactory.<clinit>(TransportFactory.java:49)
>     at
> org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:223)
>     at
> org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:211)
>     at
> org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:158)
>     at
> org.apache.axis2.transport.jms.JMSUtils.createConnection(JMSUtils.java:629)
>     at
> org.apache.axis2.transport.jms.JMSListener.checkJMSConnection(JMSListener.java:148)
>     at
> org.apache.axis2.transport.jms.JMSListener.startEndpoint(JMSListener.java:94)
>     at
> org.apache.axis2.transport.jms.JMSListener.startEndpoint(JMSListener.java:53)
>
>
> Does anyone know how to fix this error?
>
> Thanks
>
> On Thu, Sep 25, 2014 at 11:46 AM, Lahiru Chandima <[email protected]>
> wrote:
>
>> Hi All,
>>
>> When I try to run jms client in WSO2 ESB sample 250 [1
>> <https://docs.wso2.com/display/ESB481/Sample+250%3A+Introduction+to+Switching+Transports>],
>> I get following error.
>>
>> jmsclient:
>>      [java] Picked up JAVA_TOOL_OPTIONS: -Djava.awt.headless=true
>>      [java] SLF4J: Class path contains multiple SLF4J bindings.
>>      [java] SLF4J: Found binding in
>> [jar:file:/software/wso2esb-4.8.1/repository/components/plugins/quickfixj_1.4.0.wso2v2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>>      [java] SLF4J: Found binding in
>> [jar:file:/software/wso2esb-4.8.1/repository/components/plugins/slf4j.log4j12_1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>>      [java] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings
>> for an explanation.
>>
>>
>> Can somebody tell me how to fix this?
>>
>> Thanks
>>
>> [1]
>> https://docs.wso2.com/display/ESB481/Sample+250%3A+Introduction+to+Switching+Transports
>> --
>> Lahiru Chandima
>> *Senior Software Engineer*
>> Mobile : +94 (0) 772 253283
>> [email protected]
>>
>
>
>
> --
> Lahiru Chandima
> *Senior Software Engineer*
> Mobile : +94 (0) 772 253283
> [email protected]
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
twitter: https://twitter.com/godwinamila
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to