[
https://issues.apache.org/jira/browse/AXIS2-4072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jarek Gawor resolved AXIS2-4072.
--------------------------------
Resolution: Fixed
Fix Version/s: nightly
Committed the patch to trunk (revision 704201) with a minor change so that the
JarFileClassLoader is only used on Windows by default. The user can also
explicitly control whether JarFileClassLoader should be used or not (on any OS)
by setting org.apache.axis2.classloader.JarFileClassLoader=<boolean> system
property.
> URLClassloader locking jarfiles on Windows
> -------------------------------------------
>
> Key: AXIS2-4072
> URL: https://issues.apache.org/jira/browse/AXIS2-4072
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.4.1
> Environment: Windows XP, Geronimo 2.1.3
> Reporter: Tim McConnell
> Assignee: Jarek Gawor
> Fix For: nightly
>
> Attachments: 4072-2.patch, AXIS2-4072.patch
>
>
> There is at least one scenario using Axis2 and Geronimo that is causing
> jarfiles to get locked on Windows such that a deployed WAR cannot be either
> redeployed or uninstalled. Here is a brief description of the failing
> scenario:
> 1. A WAR file containing various jarfiles in the /lib directory is deployed
> on Geronimo 2.1.3
> 2. Navigate to the deployed app's address to generate the WSDL for the web
> service
> 3. Redeploy or uninstall of the WAR will now fail since all the jarfiles in
> the WAR /lib directory are locked by Windows and cannot be deleted.
> What appears to be happening is that there are three Axis2 URLClassLoaders in
> this scenario and at least two of them are creating their own ClassPath and
> URLClassPath$JarLoader objects that apparently are locking the jarfiles in
> the /lib directory.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]