Failed to decode
fabrice.dossin Jun 27, 2011 4:07 AMHi,
I am really stuck with a problem and I need some help to give me advices where to look...
I have some jboss-6 instances connected to one jboss-6 instance acting as the central server.
The link between the clients jboss et the server jboss is done by core-bridges.
I use JMS APIs with EJBs (MDB listener on topics)
One the client, a process post message on a topic forwarded to the server.
There is also a listeners on this topic on the client instance.
I receive a lot of the following error on client side:
{noformat}
2011-06-27 09:40:39,360 ERROR [org.hornetq.core.protocol.core.impl.RemotingConnectionImpl] (Thread-20 (group:HornetQ-client-global-threads-24355971)) Failed to decode: java.lang.IllegalArgumentException: Invalid type: -106
at org.hornetq.core.protocol.core.impl.PacketDecoder.decode(PacketDecoder.java:491) [:6.0.0.Final]
at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:379) [:6.0.0.Final]
at org.hornetq.core.client.impl.FailoverManagerImpl$DelegatingBufferHandler.bufferReceived(FailoverManagerImpl.java:1134) [:6.0.0.Final]
at org.hornetq.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:135) [:6.0.0.Final]
at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100) [:6.0.0.Final]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
{noformat}
The invalid type is sometimes 0, -106, -104, 82, -28 etc... This does not seem to follow a specific rules.
I have also some
{noformat}
2011-06-24 13:40:09,229 ERROR [org.hornetq.utils.OrderedExecutorFactory] (Thread-15 (group:HornetQ-client-global-threads-2083463303)) Caught unexpected Throwable: java.lang.OutOfMemoryError: Java heap space
at org.hornetq.core.buffers.impl.ChannelBufferWrapper.readSimpleStringInternal(ChannelBufferWrapper.java:83) [:6.0.0.Final]
at org.hornetq.core.buffers.impl.ChannelBufferWrapper.readSimpleString(ChannelBufferWrapper.java:77) [:6.0.0.Final]
at org.hornetq.core.protocol.core.impl.wireformat.SessionProducerCreditsMessage.decodeRest(SessionProducerCreditsMessage.java:75) [:6.0.0.Final]
at org.hornetq.core.protocol.core.impl.PacketImpl.decode(PacketImpl.java:235) [:6.0.0.Final]
at org.hornetq.core.protocol.core.impl.PacketDecoder.decode(PacketDecoder.java:495) [:6.0.0.Final]
at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:379) [:6.0.0.Final]
at org.hornetq.core.client.impl.FailoverManagerImpl$DelegatingBufferHandler.bufferReceived(FailoverManagerImpl.java:1134) [:6.0.0.Final]
at org.hornetq.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:135) [:6.0.0.Final]
at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100) [:6.0.0.Final]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
{noformat}
At this time the JVM heap space is not full (170/480Mo)
I know it is not very much information. Maybe someone could tell me where I could look to go further ?
Kind regards,
Fabrice