6 Replies Latest reply on Mar 24, 2010 4:18 AM by Luke McLean

    can not send a 300Kb text message in 3.0.0.GA

    GOURAUD Damien Newbie

      Hi,

       

      We were using till recently HornetQ 3.0.0.CR3 where we are able to send a 300Kb text message between the endpoints. We have moved to the 3.0.0.GA version but we have the following errors :

       

      Error in the client application :
      javax.jms.JMSException
          at org.hornetq.core.remoting.impl.ChannelImpl.sendBlocking(ChannelImpl.java:280)
          at org.hornetq.core.client.impl.ClientProducerImpl.doSend(ClientProducerImpl.java:269)
          at org.hornetq.core.client.impl.ClientProducerImpl.send(ClientProducerImpl.java:139)
          at org.hornetq.jms.client.HornetQMessageProducer.doSend(HornetQMessageProducer.java:455)
          at org.hornetq.jms.client.HornetQMessageProducer.send(HornetQMessageProducer.java:208)
          at com.rifan.glpi.diff.exporter.technical.QueueTransferFileSender.sendGlpiDiffTransferFile(QueueTransferFileSender.java:129)
          at com.rifan.glpi.diff.exporter.manager.ExporterManager.export(ExporterManager.java:183)
          at com.rifan.glpi.diff.exporter.GlpiDiffExport.main(GlpiDiffExport.java:79)
      Caused by: HornetQException[errorCode=0 message=null]

       

      Error in the Jboss server :

      java.lang.IllegalStateException: Can't write records bigger than the bufferSize(501760) on the journal
          at org.hornetq.core.journal.impl.TimedBuffer.checkSize(TimedBuffer.java:208)
          at org.hornetq.core.journal.impl.AbstractSequentialFile.fits(AbstractSequentialFile.java:162)
          at org.hornetq.core.journal.impl.JournalImpl.appendRecord(JournalImpl.java:2812)
          at org.hornetq.core.journal.impl.JournalImpl.appendAddRecord(JournalImpl.java:755)
          at org.hornetq.core.persistence.impl.journal.JournalStorageManager.storeMessage(JournalStorageManager.java:489)
          at org.hornetq.core.postoffice.impl.PostOfficeImpl.processRoute(PostOfficeImpl.java:904)
          at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:665)
          at org.hornetq.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:1995)
          at org.hornetq.core.server.impl.ServerSessionImpl.handleSend(ServerSessionImpl.java:1426)
          at org.hornetq.core.server.impl.ServerSessionPacketHandler.handlePacket(ServerSessionPacketHandler.java:275)
          at org.hornetq.core.remoting.impl.ChannelImpl.handlePacket(ChannelImpl.java:466)
          at org.hornetq.core.remoting.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:423)
          at org.hornetq.core.remoting.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:389)
          at org.hornetq.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:432)
          at org.hornetq.integration.transports.netty.HornetQChannelHandler.messageReceived(HornetQChannelHandler.java:67)
          at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:98)
          at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)
          at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:796)
          at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:358)
          at org.hornetq.integration.transports.netty.HornetQFrameDecoder2.messageReceived(HornetQFrameDecoder2.java:124)
          at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
          at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)
          at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:555)
          at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:345)
          at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:332)
          at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:323)
          at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:275)
          at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:196)
          at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
          at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
          at org.jboss.netty.util.VirtualExecutorService$ChildExecutorRunnable.run(VirtualExecutorService.java:179)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          at java.lang.Thread.run(Thread.java:619)

       

      Any thoughts ??

      TIA