[
https://jira.jboss.org/browse/EMBJOPR-317?page=com.atlassian.jira.plugin....
]
John Mazzitelli commented on EMBJOPR-317:
-----------------------------------------
deleting of the classloaders should be one of the very last things we do, but probably not
before we clean up memory like that commons logging stuff (which is done after the PC is
fully shutdown - but that's done in the agent core - which isn't in the picture
for embedded).
There is a sun bug that documented the fact that JarFile file descriptors remain open even
after throwing away classloaders. which is why on windows the lock never goes away.
WARN: [PluginClassLoader] Failed to delete
server/all/tmp/embjopr/jopr-jboss-cache-v3-plugin-3.0.0.B06.jar.XXX.classloader
--------------------------------------------------------------------------------------------------------------------------
Key: EMBJOPR-317
URL:
https://jira.jboss.org/browse/EMBJOPR-317
Project: Embedded Jopr
Issue Type: Bug
Components: Plugin
Affects Versions: 1.3.4
Environment: EAP 510CR2
Reporter: Ondrej Žižka
Priority: Minor
STR:
1) Start EAP 510CR2 -c all
2) Log in to admin console - admin/admin
3) Shut down EAP ^C,
4) See the log containing:
17:38:26,847 WARN [PluginClassLoader] Failed to purge embedded jars directory. Cause:
java.io.IOException: Failed to delete file or directory:
/home/ondra/work/perf-eap/EAP-510CR2/server/all/tmp/embjopr/jopr-jboss-cache-v3-plugin-3.0.0.B06.jar4996989740957060628.classloader
17:38:26,847 WARN [PluginClassLoader] Failed to purge embedded jars directory. Cause:
java.io.IOException: Failed to delete file or directory:
/home/ondra/work/perf-eap/EAP-510CR2/server/all/tmp/embjopr/jopr-jboss-as-5-plugin-3.0.0.B06.jar2013583401502244416.classloader
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira