One likely cause of your troubles is that the member "m" in confserver is static, but it's assigned in the constructor. That means each time you create a confserver, any previous value of m is lost, and all confserver objects share the latest one.
If I may:
Java programmers universally use capital letters to name classes; for example "ConfServer". Using all-lowercase class names makes your code
exceedingly hard to read for an an experienced programmer.