On 27 March 2013 14:54, Tristan Tarrant <ttarrant(a)redhat.com> wrote:
On 03/27/2013 02:50 PM, James Strachan wrote:
> On the hawtio server I emailed you off-list - can you enter any CLi
> statements without getting the NPE?
No. But I'll provide you with better debugging code soon.
> It'd be nice to get a nicer parser exception message than an NPE BTW
> :). "Incorrect character at 8,1, expected 'x'" or something would
> help; then we could highlight the dodgy bit of the CLI command in the
> UI
Yes, I'm working on that as we speak.
Awesome :)
> What state is there between commands? If the commands are
basically a
> "get" or a "put" and they execute immediately on the cache;
there's
> not much state to lose right?
the main one is "encoding", since the various protocols need different
"codecs" to read/write data correctly.
How about if we added a new JMX method which didn't take a session ID,
but allowed you to pass in the codec (e.g. in hawtio's case "json")?
Then from infinispan server side's perspective it can eagerly timeout
sessions?
--
James
-------
Red Hat
Email: jstracha(a)redhat.com
Web:
http://fusesource.com
Twitter: jstrachan, fusenews
Blog:
http://macstrac.blogspot.com/
Open Source Integration