There is a bug into Remoting leasing...
We are working into getting it fixed.
So.. if you restart your server, your client has to be restarted also.
If you restart your server but if you keep the client alive, Leasing will keep pinging the server while the server is still starting, and Remoting didn't have a proper isolation in one variable, hence the NPE.
On my tests if you always restart your client with your server, you never get this failure.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985844#3985844
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985844
Thanks for the quick reply Bela.
I think do understand the way the MuxChannels work. My problem was more specific to using MuxChannels with TreeCache. After further investigation, it turns out that in the following code:
TreeCache cache = new TreeCache(muxChannel);
PropertyConfigurator config = new PropertyConfigurator();
config.configure(cache, CACHE_CONFIG);
The PropertyConfigurator seems to be culprit. Somehow when I use the PropertyConfigurator my cache doesn't seem to start. If I get rid of the PropertyConfigurator, everything seems to work fine.
Am I missing something obvious here ...
Thanks,
Arun
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985843#3985843
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985843
I just now built 2.4 from source, worked fine. Try starting from scratch again (delete what you have an unzip from the tar.gz file again, and then run build).
When you run the build, you should first see the thirdparty directory being populated and then a series of compiles.
If the above still causes the same problem, re-install Ant (I am somewhat suspicious that it doesn't recognize 'target')
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985840#3985840
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985840