Hi Amila, Which version of ActiveMQ are you using? In versions other than 5.10.0 you need to manually enable mqtt as a transport connector.
Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Wed, Sep 24, 2014 at 5:44 PM, Godwin Amila Shrimal <[email protected]> wrote: > Hi Manoj, > > I changed the max allowed frame size and now it gives following error > > 2014-09-24 17:43:59,344 | WARN | Transport Connection to: tcp:// > 10.100.5.170:58726 failed: java.io.IOException: Unknown data type: -70 | > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > Transport: tcp:///10.100.5.170:58726@61616 > > 2014-09-24 17:43:59,399 | WARN | Transport Connection to: tcp:// > 10.100.5.170:58727 failed: java.io.IOException: Unknown data type: -70 | > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > Transport: tcp:///10.100.5.170:58727@61616 > > 2014-09-24 17:43:59,442 | WARN | Transport Connection to: tcp:// > 10.100.5.170:58728 failed: java.io.IOException: Unknown data type: -102 | > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > Transport: tcp:///10.100.5.170:58728@61616 > > 2014-09-24 17:43:59,548 | WARN | Transport Connection to: tcp:// > 10.100.5.170:58729 failed: java.io.IOException: Unknown data type: -102 | > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > Transport: tcp:///10.100.5.170:58729@61616 > > 2014-09-24 17:43:59,639 | WARN | Transport Connection to: tcp:// > 10.100.5.170:58730 failed: java.io.IOException: Unknown data type: 63 | > org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ > Transport: tcp:///10.100.5.170:58730@61616 > > > Thanks > > Godwin > > On Wed, Sep 24, 2014 at 5:38 PM, Manoj Gunawardena <[email protected]> > wrote: > >> Hi Godwin, >> >> You can increase the max allowed frame size in ActiveMq. Please refer >> >> http://activemq.apache.org/configuring-wire-formats.html >> >> >> Thanks >> >> On Wed, Sep 24, 2014 at 5:25 PM, Godwin Amila Shrimal <[email protected]> >> wrote: >> >>> Hi, >>> >>> We have a problem with the AppFactory setup, when execute the *curl.sh *it >>> run first two curl command and getting time out for others. When we check >>> the each server in AF setup there is a problem with ActiveMQ. If we try to >>> access the admin console of activeMQ it gives following error in the server >>> log. >>> >>> 2014-09-24 17:20:12,742 | WARN | Transport Connection to: tcp:// >>> 10.100.5.170:58615 failed: java.io.IOException: Frame size of 352 MB >>> larger than max allowed 100 MB | >>> org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ >>> Transport: tcp:///10.100.5.170:58615@61616 >>> >>> 2014-09-24 17:20:12,813 | WARN | Transport Connection to: tcp:// >>> 10.100.5.170:58616 failed: java.io.IOException: Frame size of 352 MB >>> larger than max allowed 100 MB | >>> org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ >>> Transport: tcp:///10.100.5.170:58616@61616 >>> >>> 2014-09-24 17:20:12,959 | WARN | Transport Connection to: tcp:// >>> 10.100.5.170:58617 failed: java.io.IOException: Frame size of 352 MB >>> larger than max allowed 100 MB | >>> org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ >>> Transport: tcp:///10.100.5.170:58617@61616 >>> >>> 2014-09-24 17:20:13,052 | WARN | Transport Connection to: tcp:// >>> 10.100.5.170:58618 failed: java.io.IOException: Frame size of 352 MB >>> larger than max allowed 100 MB | >>> org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ >>> Transport: tcp:///10.100.5.170:58618@61616 >>> >>> 2014-09-24 17:20:13,097 | WARN | Transport Connection to: tcp:// >>> 10.100.5.170:58619 failed: java.io.IOException: Frame size of 352 MB >>> larger than max allowed 100 MB | >>> org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ >>> Transport: tcp:///10.100.5.170:58619@61616 >>> I checked *wireFormat.maxFrameSize *property in *activemq.xml *and it >>> has the value 104857600 for all the transportConnectors. What can be the >>> reason for this ? >>> >>> >>> >>> Thanks >>> Godwin >>> >>> >>> -- >>> *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 >>> >>> >> >> >> -- >> Manoj Gunawardena >> Tech Lead >> WSO2, Inc.: http://wso2.com >> lean.enterprise.middleware >> Mobile : +94 77 2291643 >> > > > > -- > *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 > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
