https://issues.apache.org/bugzilla/show_bug.cgi?id=45704


Nick Ebbutt <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]




--- Comment #1 from Nick Ebbutt <[EMAIL PROTECTED]>  2008-09-26 13:43:12 PST ---
I think this can be solved just by modifying line 762 in DOMConfigurator, in
the method public void doConfigure(final URL url, LoggerRepository repository)

Instead of parser.parse(url.toString()) it seems to work OK if we use
parser.parse(url.openConnection().getInputStream()).

The reason is that the url obtained via URL.toString() was broken for webstart
apps in a jdk security patch for 1.5.0_16 and 1.6_07, to obscure the path to
jar files in the webstart cache. openConnection still works

I built a patch with this fix and it seemed to work OK for our webstart apps
See my blog for more details,
http://www.objectdefinitions.com/odblog/2008/fix-for-log4j-bug-45704-failed-to-load-loggingxml-for-jre-150_16-and-webstart/

Nick


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to