axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <>
Subject [jira] Commented: (AXIS2-3883) file handles not being closed after successful call to webservice
Date Mon, 23 Feb 2009 07:47:01 GMT


Amila Chinthaka Suriarachchi commented on AXIS2-3883:

I had a chance to look at this issue.

If you deploy a mar (or aar) file first Axis2 copy this file to a temp file location. Then
extract each and every jar file in this mar (or aar) file in the the same folder. The reason
for doing this is it has to create a class loader for this archive file.

If you deployed in extracted form then it does not create any temp files and create the class
loader from there.

> file handles not being closed after successful call to webservice
> -----------------------------------------------------------------
>                 Key: AXIS2-3883
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Windows server 2003 (also Windows XP), axis 2.1.3, Websphere 6.1
>            Reporter: LEE
>            Assignee: Nandana Mihindukulasooriya
>            Priority: Blocker
>             Fix For: 1.5
>         Attachments:
> We have been regularly experiencing the following problem when trying to call an axis
2 webservice:
> Stack Dump = Too many open files D:\ibm\profiles\AppSrv02\....\xercesImpl-2.8.1.jar
> 	at Method)
> 	at<init>(
> 	at<init>(
> 	at$
> 	at
> 	at
> 	at
> 	at
> 	at
> 	at
> 	at javax.xml.parsers.SecuritySupport12$ Source)
> 	at
> 	at javax.xml.parsers.SecuritySupport12.getResourceAsStream(Unknown Source)
> 	at javax.xml.parsers.FactoryFinder.findJarServiceProvider(Unknown Source)
> 	at javax.xml.parsers.FactoryFinder.find(Unknown Source)
> 	at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
> 	at org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(
> 	at org.apache.rampart.handler.WSDoAllSender.processBasic(
> 	at org.apache.rampart.handler.WSDoAllSender.processMessage(
> 	at org.apache.rampart.handler.WSDoAllHandler.invoke(
> 	at org.apache.axis2.engine.Phase.invoke(
> 	at org.apache.axis2.engine.AxisEngine.invoke(
> 	at org.apache.axis2.engine.AxisEngine.send(
> 	at org.apache.axis2.description.OutInAxisOperationClient.send(
> 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
> 	at org.apache.axis2.client.OperationClient.execute(
> On closer inspection of the server we noticed that there are a great number of files
in the Windows/Temp directory with names such as C:\WINDOWS\Temp\_axis2\axis21568addressing-1.3.mar,
> C:\WINDOWS\Temp\_axis2\axis21574soapmonitor-1.3.mar,
> C:\WINDOWS\Temp\_axis2\axis21579rampart-1.3.mar,
> C:\WINDOWS\Temp\_axis2\axis21577ping-1.3.mar etc.
> The main concern (other than disk space is gradually being taken up) is that all these
files still have open file handles. This is a major problem for us as each time a call is
made to a webservice more of these files eventually resulting in the application failing due
to "too many open files" error.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message