[
https://issues.apache.org/jira/browse/GERONIMO-6429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13549399#comment-13549399
]
John Sisson commented on GERONIMO-6429:
---------------------------------------
This was a very long time ago... Did a bit of googling for GERONIMO-2095 and
found this:
http://mail-archives.apache.org/mod_mbox/geronimo-scm/200606.mbox/%[email protected]%3E
The changes seem to be related to ensuring the file is properly closed when
exceptions occur.
Sorry, I don't have the time to investigate further. I haven't looked at the
code, but might be worth investigating whether there could be anything else
running on the system opening files that may cause it to be in use and prevent
it from being renamed (e.g. antivirus, file indexer, backup).
> CLONE - Problem with attribute manager
> --------------------------------------
>
> Key: GERONIMO-6429
> URL: https://issues.apache.org/jira/browse/GERONIMO-6429
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: core
> Environment:
> http://people.apache.org/~hogstrom/20060607/geronimo-jetty-j2ee-1.1-20060607.tar.gz
> Windows XP, cygwin
> Command line: java -jar bin/server.jar
> Free disk space: 3 Gb
> Reporter: Amit S
> Assignee: John Sisson
> Priority: Critical
>
> gnodet@guillaumes /cygdrive/c/tmp/geronimo-1.1-20060607
> $ java -jar bin/server.jar
> Booting Geronimo Kernel (in Java 1.5.0_06)...
> Starting Geronimo Application Server v1.1-20060607
> [******> ] 30% 21s Starting
> geronimo/system-database...20:32:49,484 ERROR [LocalAttributeManager] Error
> saving attributes
> java.io.IOException: EXTREMELY CRITICAL! Unable to move manageable
> attributes working file to proper file name! Configuration will revert to
> defaults unless t
> his is manually corrected! (could not rename
> C:\tmp\geronimo-1.1-20060607\var\config\config.xml.working to
> C:\tmp\geronimo-1.1-20060607\var\config\config.xml)
> at
> org.apache.geronimo.system.configuration.LocalAttributeManager.save(LocalAttributeManager.java:449)
> at
> org.apache.geronimo.system.configuration.LocalAttributeManager$2.run(LocalAttributeManager.java:618)
> at java.util.TimerThread.mainLoop(Unknown Source)
> at java.util.TimerThread.run(Unknown Source)
> [******************> ] 84% 39s Starting
> geronimo/webconsole-jett...20:33:07,890 ERROR [LocalAttributeManager] Error
> saving attributes
> java.io.IOException: EXTREMELY CRITICAL! Unable to move manageable
> attributes working file to proper file name! Configuration will revert to
> defaults unless t
> his is manually corrected! (could not rename
> C:\tmp\geronimo-1.1-20060607\var\config\config.xml.working to
> C:\tmp\geronimo-1.1-20060607\var\config\config.xml)
> at
> org.apache.geronimo.system.configuration.LocalAttributeManager.save(LocalAttributeManager.java:449)
> at
> org.apache.geronimo.system.configuration.LocalAttributeManager$2.run(LocalAttributeManager.java:618)
> at java.util.TimerThread.mainLoop(Unknown Source)
> at java.util.TimerThread.run(Unknown Source)
> [**********************] 100% 45s Startup complete
> Listening on Ports:
> 1099 0.0.0.0 RMI Naming
> 1527 0.0.0.0 Derby Connector
> 4201 0.0.0.0 ActiveIO Connector EJB
> 4242 0.0.0.0 Remote Login Listener
> 8009 0.0.0.0 Jetty Connector AJP13
> 8080 0.0.0.0 Jetty Connector HTTP
> 8443 0.0.0.0 Jetty Connector HTTPS
> 9999 0.0.0.0 JMX Remoting Connector
> 61616 0.0.0.0 ActiveMQ Message Broker Connector
> Started Application Modules:
> EAR: geronimo/webconsole-jetty/1.1-20060607/car
> RAR: geronimo/activemq/1.1-20060607/car
> RAR: geronimo/system-database/1.1-20060607/car
> WAR: geronimo/remote-deploy-jetty/1.1-20060607/car
> WAR: geronimo/welcome-jetty/1.1-20060607/car
> Web Applications:
> http://guillaumes:8080/
> http://guillaumes:8080/console
> http://guillaumes:8080/console-standard
> http://guillaumes:8080/remote-deploy
> Geronimo Application Server started
> 20:33:18,718 ERROR [LocalAttributeManager] Error saving attributes
> java.io.IOException: EXTREMELY CRITICAL! Unable to move manageable
> attributes working file to proper file name! Configuration will revert to
> defaults unless t
> his is manually corrected! (could not rename
> C:\tmp\geronimo-1.1-20060607\var\config\config.xml.working to
> C:\tmp\geronimo-1.1-20060607\var\config\config.xml)
> at
> org.apache.geronimo.system.configuration.LocalAttributeManager.save(LocalAttributeManager.java:449)
> at
> org.apache.geronimo.system.configuration.LocalAttributeManager$2.run(LocalAttributeManager.java:618)
> at java.util.TimerThread.mainLoop(Unknown Source)
> at java.util.TimerThread.run(Unknown Source)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira