We lose the "subdirectory per partner" preferences settings when we restart the server

We checked the rights for the following file
-rw-r--r-- 1 root root 0 12 set 16:40 prefs.tmp
-rw-r--r-- 1 root root 497 12 set 16:32 prefs.xml
in the
/root/.java/.userPrefs/de/mendelson/comm/as2
We are running the server as root user so we did'not expect
rights problems.
We have the same problem when we try to change the language because the entry in the prefs.xml
is not updated by the X11 server interface.
If we change manually the value from "en" to "de" (by means the "vi" editor command) the server restart in the correct germany language.
QUESTION:
Which is the entry and its value to set permanently the "subdirectory for receipt messages per parner" ?
We can manually add it via file editor in the prefs.xml.
This should be the solution while we'll continue to investigate the problem
Thanks for your help and collaboration
Regards
openfor

Sorry but at the moment we don't use other java applications and we have not experiences.
Yesterday we made some other check with the following result: The prefs.xml was written by the previous version of mec-as2 that we had installed (the previous version without the "receiptpartnersubdir" option).
We removed all the
"/root/.java/.userPrefs/" and we restared the new server "m-e-c as2 1.0 build 17".
The new server created all the
"/root/.java/.userPrefs/de/mendelson/comm/as2" directory but it didn't create the prefs.xml file .
So the problem regards not only the update of the prefs.xml file but its creation too.
"m-e-c as2 1.0 build 17" seems only to read the file prefs.xml.
We copied manually the prefs.xml file into the "/root/.java/.userPrefs/de/mendelson/comm/as2".
We added manually the "receiptpartnersubdir" entry and now the server restart correctly configured.
Thanks to your aid we solved our restart problem
Now we'll investigate on the prefs.xml creation question.
Any idea and suggestion are welcomed.
We'll keep you updated
Thanks
openfor

openfor,
could this be a VM problem? The formerly version of m-e-c as2 has been shipped with a 1.5 VM, the m-e-c as2 b17 has been shipped and requires a 1.6 VM.
There is an issue with a xalan.jar being in your system classpath with VM 1.6 and the use of the java.util.Preferences API that prevents a write process on (only) linux. Could you please check this?
There is a way to enable the console for the server, please have a look at the thread http://www.mec-community.com/node/157.
This will help you on locating the problem.
Regards
Heller

© 1999-2008 mendelson-e-commerce GmbH. All right reserved.
We installed
m-e-c as2 1.0 build 17
build date 10.05.07 11:34
on linux system
CentOS release 5 (Final)
2.6.18-8.1.6.el5 #1 SMP Thu Jun 14 17:46:09 EDT 2007 i686 i686 i386 GNU/Linux
The problem is:
We set the option "Create subdirectory for receipt messages per partner" from the File->Preferences->Misc preferences menu.
When we stop and restart the mecas2 server we lose the "subdirectory per partner" setting.
So we have to re-setting manually the preference every time the mecas2 server comes down.
can someone help me ?
Thanks in advance for the help