You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "C. Brian Cox (JIRA)" <ji...@apache.org> on 2008/01/14 17:28:34 UTC

[jira] Commented: (AXIS2-3139) AxisClient creates large number of temporary files that never gets deleted in an appserver environment as long as the server is running

    [ https://issues.apache.org/jira/browse/AXIS2-3139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558656#action_12558656 ] 

C. Brian Cox commented on AXIS2-3139:
-------------------------------------

This issue also affects Axis2 version 1.1.  Tested with Tomcat 4.1.x in both an AIX and Solaris environment.  

The following is a small list of the accruing files in the /tmp directory:

-rw-rw-r--   1 xa21     xa           181694 Jan 14 11:25 axis264511XBeans-packaged.jar
-rw-rw-r--   1 xa21     xa           179147 Jan 14 11:25 axis264514XBeans-packaged.jar
-rw-rw-r--   1 xa21     xa           185051 Jan 14 11:25 axis264513XBeans-packaged.jar
-rw-rw-r--   1 xa21     xa           181948 Jan 14 11:25 axis264512XBeans-packaged.jar
-rw-rw-r--   1 xa21     xa           180337 Jan 14 11:25 axis264516XBeans-packaged.jar
-rw-rw-r--   1 xa21     xa           182007 Jan 14 11:25 axis264515XBeans-packaged.jar
-rw-rw-r--   1 xa21     xa           182195 Jan 14 11:25 axis264517XBeans-packaged.jar
-rw-rw-r--   1 xa21     xa           185051 Jan 14 11:25 axis264559XBeans-packaged.jar
-rw-rw-r--   1 xa21     xa           181948 Jan 14 11:25 axis264558XBeans-packaged.jar
-rw-rw-r--   1 xa21     xa           181694 Jan 14 11:25 axis264557XBeans-packaged.jar
-rw-rw-r--   1 xa21     xa           182195 Jan 14 11:25 axis264563XBeans-packaged.jar
-rw-rw-r--   1 xa21     xa           180337 Jan 14 11:25 axis264562XBeans-packaged.jar
-rw-rw-r--   1 xa21     xa           182007 Jan 14 11:25 axis264561XBeans-packaged.jar
-rw-rw-r--   1 xa21     xa           179147 Jan 14 11:25 axis264560XBeans-packaged.jar

Eventually this accumulation causes problem for the OS since there is no temp space.  

If it would help I can attach one of these files, please let me know.


Thanks,

Brian


> AxisClient creates large number of temporary files that never gets deleted in an appserver environment as long as the server is running
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3139
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3139
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.3, 1.2
>         Environment: WinXP, Axis2-1.2 on jboss4.0.5
>            Reporter: Shantanu Sen
>            Priority: Critical
>
> The org.apache.axis2.deployment.DeploymentEngine.loadRepositoryFromURL invoked org.apache.axis2.deployment.util.Utils.createClassLoader that calls Utils.getURLsForAllJars that invokes Utils.createTempFile
> When we use an AxisClient with a WarBasedAxisConfiguration/URLBasedAxisConfiguration then these temp files are created but not removed once the client invocation is complete. For a large number of invocations a large number of files are being created in the temp space and after many calls e.g. 5000, the temp space is filled up.
> The temp file is being create with deleteOnExit being invoked on the file, but when running in an appserver this is not good enough to remove the files. 
> There should be a mechanism to remove the temp files after a service invocation using axis client.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org