Infinispan session storage problems

40 views
Skip to first unread message

lex

unread,
Feb 16, 2012, 6:58:53 PM2/16/12
to Railo
Hi All,

We've been using Infinispan/Hotrod for session storage successfully,
however occasionally we get Railo errors that start out sporadically,
but then eventually occur on every request. Here's the first part of
the error:

Railo 3.3.1.000 Error
(org.infinispan.client.hotrod.exceptions.InvalidResponseException)
Message Invalid magic number. Expected 0xa1 and received 0x74
Cause
org.infinispan.client.hotrod.exceptions.InvalidResponseException

We are new to Infinispan, so don't know much about configuring or
troubleshooting. We are using this in a clustered environment.

Thanks for any help anyone can give.

Lex

Denny

unread,
Feb 23, 2012, 7:39:23 PM2/23/12
to ra...@googlegroups.com
Hi Lex!

The "magic number" error (generally) happens when there is a non-hotrod
serialized object added to the cache.

Are you adding to the cache using other clients? It is possible to do
so, but you must use the JBoss marshaler so that the hotrod clients can
deserialize.

I'll see that error in testing when I forget to start the stand-alone
client in hot rod mode.

I don't know offhand if you can somehow evict the offending object
without kicking the node.

If you are not using other clients, I suspect that something incorrect
is sneaking in-- or perhaps I'm barking up the wrong tree (always
possible!) :)

:Denny


--
Railo Technologies: getrailo.com Professional Open Source
Skype: valliantster (505)510.1336 de...@getrailo.com
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62

Reply all
Reply to author
Forward
0 new messages