jboss custom URLStreamHandler is defeated when TC in the mix
------------------------------------------------------------
Key: CDV-441
URL: https://jira.terracotta.org/jira//browse/CDV-441
Project: Community Development
Issue Type: Bug
Components: DSO:L1
Affects Versions: 2.4.3
Reporter: Tim Eck
Assignee: Issue Review Board
>From the forums: http://forums.terracotta.org/forums/posts/list/496.page
Looking at the attached stack trace, we cause
org.jboss.net.protocol.URLStreamHandlerFactory.createURLStreamHandler() to be
re-entered. That JBoss code uses a thread local to try to deal with
re-entrancy, but in the end the effect is that the VM falls back to using the
sun.* stream handler types instead of JBoss' internal handlers.
There doesn't seem to be a huge impact to this, but it does dramatically
increase the number of simultaneous open file handles when the
URLDeploymentScanner runs. It ends up using sun's file:// handler and doesn't
close them. The file handles are eventually closed, but only after a GC runs
and some finalizers get kicked off.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev