Hi,

On Windows you most likely killed the application with sig-kill. The Shutdown-Thread that writes
the persistent data to disk could not be called this way.
On Windows you could, for example, use the SNMP4J-CONFIG-MIB to write the data while the
agent is running or implement your own method.
And of course you could shutdown the application nicely (with sig-term).

Best regards,
Frank

Am 26.02.2013 15:43, schrieb m k:
Hello,

I'm having an issue. Starting with neither file existing in my project folder, 
I run TestAgent.java, perform a set on the sysLocation (successfully), but upon 
shutting down and restarting the agent, the value is gone. I noticed that the 
configuration file that (as I understand it) holds the persistence data was 
never created. The bootcounter file was created, however, so it doesn't seem 
like a matter of permissions. I did this on a windows box, and what I found 
really funny is that I tried it at home on my linux box and it worked just 
fine. I used Netbeans both times. I temporarily ran my IDE as an administrator 
on linux because it didn't like my binding to a low port, but I also tried to 
run as admin on the windows box just to be sure--with no success.

I'm wondering if there is anything obvious that I'm missing, or any suggested 
sanity-check I might do?
                                        
_______________________________________________
SNMP4J mailing list
SNMP4J@agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j

--
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231

_______________________________________________
SNMP4J mailing list
SNMP4J@agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to