You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Zanelli Franco <fz...@tecnosens.it> on 2012/07/11 16:00:49 UTC

[Axis2] how to unlock and delete temporary files

I'm using axis2 1.6.1 with rampard and I experienced that my application 
creates many temporary files named "axis.....axis2-1.6.1.jar" on folder 
"...\Temp\axis2-tmp-....tmp" . These files are deleted only when I 
restart the application, but my application needs to be always running.
I checked in the mailing lists for a solution but I didn't find it.
Is there a way to delete these temporary files without close the 
application and avoid a disk full error?

thank you

Zanelli Franco

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


RE: [Axis2] how to unlock and delete temporary files

Posted by James Annesley <ja...@infoshare-is.com>.
Well done! – Excellent work.

 

From: Zanelli Franco [mailto:fzanelli@tecnosens.it] 
Sent: 24 July 2012 13:33
To: java-user@axis.apache.org
Subject: Re: [Axis2] how to unlock and delete temporary files

 

This is the case:
try this example code

public class TestAxis2 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        ServiceClient sc;
        do {
            try {
                String username = "username";
                String password = "password";
                ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(
                        null,
                        "./axis2.xml");

                sc = new ServiceClient(ctx, null);
            } catch (AxisFault ex) {
                ex.printStackTrace();
            }
        } while (true);
    }
}

Each time we call 'createConfigurationContextFromFileSystem' the application creates  in the java temporary subfolder 'axis2-tmp-5001083281273577053.tmp'  2 file named something like 'axis22790357567895202242axis2-1.6.1.jar' and  'axis27453134878645467217rampart-1.6.1.jar' that can't be deleted until the application is termined.
I'm working on windows7 and using axis2 1.6.1 a rampard.

Il 24/07/2012 10:39, James Annesley ha scritto:

>From what I gather from my experience is that it may have something to do with Rampart. The other thing to watch is whether or not a new context, i.e., ConfigurationContext, is created every time you make a call, e.g. create a context, then create a stub and make a SOAP call. 
 
HTH
 
-----Original Message-----
From: Sagara Gunathunga [mailto:sagara.gunathunga@gmail.com] 
Sent: 24 July 2012 08:41
To: java-user@axis.apache.org
Subject: Re: [Axis2] how to unlock and delete temporary files
 
Can you also monitor mentioned temp folder for sometime and identify under which conditions (actions) it create new temp Jar files ?
 
Thanks !
 
On Tue, Jul 24, 2012 at 1:05 PM, Zanelli Franco  <ma...@tecnosens.it> <fz...@tecnosens.it> wrote:

My application is a cctv management software for Onvif cameras, and I 
use to frequently connect and disconnect cameras. Each time I connect 
a camera I open a SOAP session and I use this code:
 
username = "username";
password = "password";
ConfigurationContext ctx =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(
                    null,
                    "./axis2.xml");
sc = new ServiceClient(ctx, null);
 
where axis2.xml is the following
 
<axisconfig name="AxisJava2.0">
    <module ref="rampart" />
    <parameter name="OutflowSecurity">
        <action>
            <items>UsernameToken</items>
        </action>
    </parameter>
 
    <parameter name="hotdeployment" locked="false">true</parameter>
    <parameter name="hotupdate" locked="false">true</parameter>
 
    <messageReceiver mep="INOUT"
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
 
    <transportSender name="http"
class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
        <parameter name="PROTOCOL" locked="false">HTTP/1.0</parameter>
    </transportSender>
 
    <phaseOrder type="InFlow">
        <!--  System pre defined phases       -->
        <phase name="Transport">
            <handler name="RequestURIBasedDispatcher"
 
class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>
            <handler name="SOAPActionBasedDispatcher"
 
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>
        </phase>
        <phase name="Security"/>
        <phase name="PreDispatch"/>
        <phase name="Dispatch"
class="org.apache.axis2.engine.DispatchPhase">
            <handler name="RequestURIBasedDispatcher"
 
class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
            <handler name="SOAPActionBasedDispatcher"
 
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
            <handler name="RequestURIOperationDispatcher"
 
class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
            <handler name="SOAPMessageBodyBasedDispatcher"
 
class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
 
            <handler name="HTTPLocationBasedDispatcher"
 
class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
        </phase>
        <!--  System pre defined phases       -->
        <!--   After Postdispatch phase module author or or service author
can add any phase he want      -->
        <phase name="OperationInPhase"/>
        <phase name="soapmonitorPhase"/>
    </phaseOrder>
    <phaseOrder type="OutFlow">
        <!--      user can add his own phases to this area  -->
        <phase name="soapmonitorPhase"/>
        <phase name="OperationOutPhase"/>
        <!--system predefined phase-->
        <!--these phase will run irrespective of the service-->
        <phase name="PolicyDetermination"/>
        <phase name="MessageOut"/>
        <phase name="Security"/>
    </phaseOrder>
    <phaseOrder type="InFaultFlow">
        <phase name="PreDispatch"/>
        <phase name="Dispatch"
class="org.apache.axis2.engine.DispatchPhase">
            <handler name="RequestURIBasedDispatcher"
 
class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
            <handler name="SOAPActionBasedDispatcher"
 
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
            <handler name="RequestURIOperationDispatcher"
 
class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
            <handler name="SOAPMessageBodyBasedDispatcher"
 
class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
 
            <handler name="HTTPLocationBasedDispatcher"
 
class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
        </phase>
        <!--      user can add his own phases to this area  -->
        <phase name="OperationInFaultPhase"/>
        <phase name="soapmonitorPhase"/>
        <phase name="Security"/>
    </phaseOrder>
    <phaseOrder type="OutFaultFlow">
        <!--      user can add his own phases to this area  -->
        <phase name="soapmonitorPhase"/>
        <phase name="OperationOutFaultPhase"/>
        <phase name="PolicyDetermination"/>
        <phase name="MessageOut"/>
        <phase name="Security"/>
    </phaseOrder>
 
</axisconfig>
 
It seems that everytime I call this code in a running application it 
creates a new file.
 
thanks
 
 
 
Il 21/07/2012 09:56, Sagara Gunathunga ha scritto:
 
I tried on both Ubuntu 12.04 and Windows 7 ( Java 6 u33,
apache-tomcat-7.0.26 and Axis2/Rampart 1.6.2 ) but I can't reproduce 
your original issue. During the server run I only can see same set of 
temp files and folder size also remains same. Could you provide exact 
and detailed description about your configuration so that I can try again.
 
FYI followings found on apache-tomcat-7.0.26\temp directory.
 
├── axis2-tmp-402461891410668354.tmp
│   ├── axis21314472422694690389sample02.aar
│   ├── axis21542750312318073943sample01.aar
│   ├── axis22272459040834308700ping-1.6.2-SNAPSHOT.mar
│   ├── axis22639826696280010430axis2-jaxws-mar-1.6.2-SNAPSHOT.mar
│   ├── axis23676318719154391135version-1.6.2-SNAPSHOT.aar
│   ├── axis2384307141943523944mex-1.6.2-SNAPSHOT.mar
│   ├── axis24170305247321540800addressing-1.6.2-SNAPSHOT.mar
│   ├── axis24691797839292807234scripting-1.6.2-SNAPSHOT.mar
│   ├── axis26364987682968736391soapmonitor-1.6.2-SNAPSHOT.mar
│   ├── axis26381918337066202975mtompolicy-1.6.2-SNAPSHOT.mar
│   ├── axis2643854423296824589rampart-1.6.2.mar
│   ├── axis28057310721759389693
│   └── axis28091149457053540894addressing-1.6.2.mar
└── axis2-tmp-402461891410668354.tmp.lck
 
Thanks !
 
On Mon, Jul 16, 2012 at 1:39 PM, Sagara Gunathunga 
 <ma...@gmail.com> <sa...@gmail.com> wrote:

 
Usually I work on Linux but will try on Windows7 to reproduce this 
issue, but I can't provide any exact time line. Most probably if this 
is reproducible will fix for 1.7.0 release.
 
Thanks !
 
On Thu, Jul 12, 2012 at 12:10 PM, Zanelli Franco 
 <ma...@tecnosens.it> <fz...@tecnosens.it>
wrote:

 
I'm working on Windows 7 and this is an example of list file names; 
they are locked until the application is running:
 
12/07/2012  08:34    <DIR>          .
12/07/2012  08:34    <DIR>          ..
11/07/2012  14:44             9.229
axis21416912558469186102rampart-1.6.1.jar
11/07/2012  14:32             9.229
axis21509415437238259318rampart-1.6.1.jar
11/07/2012  14:46             9.229
axis21966863075365099860rampart-1.6.1.jar
11/07/2012  14:14             9.229
axis22303908513742725464rampart-1.6.1.jar
11/07/2012  14:46             9.229
axis22424953883953097823rampart-1.6.1.jar
11/07/2012  14:13         2.285.245
axis22438746523922262446axis2-1.6.1.jar
11/07/2012  14:46             9.229
axis2304716139404310737rampart-1.6.1.jar
11/07/2012  13:34             9.229
axis23280640091967599099rampart-1.6.1.jar
11/07/2012  14:39             9.229
axis23289131501227431942rampart-1.6.1.jar
11/07/2012  14:32             9.229
axis23623477711224233594rampart-1.6.1.jar
11/07/2012  14:45             9.229
axis24064159888117717366rampart-1.6.1.jar
11/07/2012  14:46         2.285.245
axis24138362837334899395axis2-1.6.1.jar
11/07/2012  14:32             9.229
axis24169225200500972588rampart-1.6.1.jar
11/07/2012  14:12             9.229
axis24196920701274949215rampart-1.6.1.jar
11/07/2012  14:13             9.229
axis24312174956140386583rampart-1.6.1.jar
11/07/2012  14:32         2.285.245
axis24314571673869116798axis2-1.6.1.jar
11/07/2012  14:13         2.285.245
axis24506103510380709545axis2-1.6.1.jar
11/07/2012  14:13             9.229
axis24647890395603079538rampart-1.6.1.jar
11/07/2012  14:39             9.229
axis24690330867633166334rampart-1.6.1.jar
11/07/2012  14:13         2.285.245
axis24707312552747513185axis2-1.6.1.jar
11/07/2012  14:32         2.285.245
axis24752902450719382616axis2-1.6.1.jar
11/07/2012  14:32             9.229
axis2513921642284968659rampart-1.6.1.jar
11/07/2012  14:32         2.285.245
axis25144058483045372983axis2-1.6.1.jar
11/07/2012  14:44         2.285.245
axis25476714304412646090axis2-1.6.1.jar
11/07/2012  14:32         2.285.245
axis25503851350480281698axis2-1.6.1.jar
11/07/2012  14:13             9.229
axis25519301193443871234rampart-1.6.1.jar
11/07/2012  13:34         2.285.245
axis25524069298591810328axis2-1.6.1.jar
11/07/2012  14:13             9.229
axis25627308659529533243rampart-1.6.1.jar
11/07/2012  14:46         2.285.245
axis2568169813775070191axis2-1.6.1.jar
11/07/2012  14:13             9.229
axis25726694343012261384rampart-1.6.1.jar
11/07/2012  14:13         2.285.245
axis25834963843840517915axis2-1.6.1.jar
11/07/2012  14:32         2.285.245
axis26637531347642113441axis2-1.6.1.jar
11/07/2012  14:46             9.229
axis26752209726427078226rampart-1.6.1.jar
11/07/2012  14:46         2.285.245
axis26806424145360728047axis2-1.6.1.jar
11/07/2012  14:45         2.285.245
axis27145119278349429680axis2-1.6.1.jar
11/07/2012  14:39         2.285.245
axis2721928032583987680axis2-1.6.1.jar
11/07/2012  14:39             9.229
axis27291519028719687325rampart-1.6.1.jar
11/07/2012  14:13         2.285.245
axis27308655973731804611axis2-1.6.1.jar
11/07/2012  14:46             9.229
axis27445862635933375468rampart-1.6.1.jar
11/07/2012  14:42         2.285.245
axis27578542695752557570axis2-1.6.1.jar
11/07/2012  14:46         2.285.245
axis27638278631414098896axis2-1.6.1.jar
11/07/2012  14:32             9.229
axis27907547743081275382rampart-1.6.1.jar
11/07/2012  14:13             9.229
axis2791744208349861365rampart-1.6.1.jar
11/07/2012  14:12         2.285.245
axis2792995400271337688axis2-1.6.1.jar
11/07/2012  14:46             9.229
axis27993871858773185067rampart-1.6.1.jar
11/07/2012  14:39         2.285.245
axis28016023195092974008axis2-1.6.1.jar
11/07/2012  14:46         2.285.245
axis28364359533639293482axis2-1.6.1.jar
11/07/2012  14:13         2.285.245
axis28448109074789470944axis2-1.6.1.jar
11/07/2012  14:46         2.285.245
axis2846714489711230357axis2-1.6.1.jar
11/07/2012  14:32         2.285.245
axis28502070331645871025axis2-1.6.1.jar
11/07/2012  14:14         2.285.245
axis2852100564070407843axis2-1.6.1.jar
11/07/2012  14:32             9.229
axis28983640441331724657rampart-1.6.1.jar
11/07/2012  14:39         2.285.245
axis29071605408256628513axis2-1.6.1.jar
11/07/2012  14:42             9.229
axis29194904091299873891rampart-1.6.1.jar
 
thanks
 
Il 11/07/2012 18:14, Sagara Gunathunga ha scritto:
 
Can you provide list file names you found on temporary directory 
during runtime. In Linux tree utility provide nice list of content.
 
Thanks !
 
On Wed, Jul 11, 2012 at 7:30 PM, Zanelli Franco 
 <ma...@tecnosens.it> <fz...@tecnosens.it>
wrote:
 
I'm using axis2 1.6.1 with rampard and I experienced that my 
application creates many temporary files named 
"axis.....axis2-1.6.1.jar" on folder "...\Temp\axis2-tmp-....tmp" . 
These files are deleted only when I restart the application, but my application needs to be always running.
I checked in the mailing lists for a solution but I didn't find it.
Is there a way to delete these temporary files without close the 
application and avoid a disk full error?
 
thank you
 
Zanelli Franco
 
--------------------------------------------------------------------
- To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
 
 
 

 
 
 
--
Sagara Gunathunga
 
Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara

 
 
 
 
--
Sagara Gunathunga
 
Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara
 
 
 

 
 
 
--
Sagara Gunathunga
 
Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara
 
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
 
 
 
The content of this e-mail (and any attachment to it) is confidential. Any views or opinions do not represent the views or opinions of Infoshare Ltd.
If you have received this e-mail in error please notify the sender and delete it. You may not use, copy or disclose the information in any way. 
 
Infoshare Ltd monitors incoming and outgoing e-mails.
 
Please consider the environment. Do you really need to print this email?
 
 
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
 

 

-- 





Ing. Franco Zanelli
Sviluppo Software - Divisione Sistemi Videosorveglianza 
Software Engineer - Videosecurity System Division 

TECNOSENS S.P.A.
Via Vergnano, n.16, 25125 BRESCIA - ITALIA
Tel: +39 030.3534144 Fax: +39 030.3530815
Email: fzanelli@tecnosens.it
Web:  <http://www.tecnosens.it/> http://www.tecnosens.it 

 


The content of this e-mail (and any attachment to it) is confidential. Any views or opinions do not represent the views or opinions of Infoshare Ltd.
If you have received this e-mail in error please notify the sender and delete it. You may not use, copy or disclose the information in any way. 

Infoshare Ltd monitors incoming and outgoing e-mails.

Please consider the environment. Do you really need to print this email?

Re: [Axis2] how to unlock and delete temporary files

Posted by Zanelli Franco <fz...@tecnosens.it>.
This is the case:
try this example code

public class TestAxis2 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        ServiceClient sc;
        do {
            try {
                String username = "username";
                String password = "password";
                ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(
                        null,
                        "./axis2.xml");

                sc = new ServiceClient(ctx, null);
            } catch (AxisFault ex) {
                ex.printStackTrace();
            }
        } while (true);
    }
}

Each time we call 'createConfigurationContextFromFileSystem' the application creates  in the java temporary subfolder 'axis2-tmp-5001083281273577053.tmp'  2 file named something like 'axis22790357567895202242axis2-1.6.1.jar' and  'axis27453134878645467217rampart-1.6.1.jar' that can't be deleted until the application is termined.
I'm working on windows7 and using axis2 1.6.1 a rampard.

Il 24/07/2012 10:39, James Annesley ha scritto:


	From what I gather from my experience is that it may have something to do with Rampart. The other thing to watch is whether or not a new context, i.e., ConfigurationContext, is created every time you make a call, e.g. create a context, then create a stub and make a SOAP call. 
	
	HTH
	
	-----Original Message-----
	From: Sagara Gunathunga [mailto:sagara.gunathunga@gmail.com] 
	Sent: 24 July 2012 08:41
	To: java-user@axis.apache.org
	Subject: Re: [Axis2] how to unlock and delete temporary files
	
	Can you also monitor mentioned temp folder for sometime and identify under which conditions (actions) it create new temp Jar files ?
	
	Thanks !
	
	On Tue, Jul 24, 2012 at 1:05 PM, Zanelli Franco <fz...@tecnosens.it> <ma...@tecnosens.it>  wrote:

		My application is a cctv management software for Onvif cameras, and I 
		use to frequently connect and disconnect cameras. Each time I connect 
		a camera I open a SOAP session and I use this code:
		
		username = "username";
		password = "password";
		ConfigurationContext ctx =
		ConfigurationContextFactory.createConfigurationContextFromFileSystem(
		                    null,
		                    "./axis2.xml");
		sc = new ServiceClient(ctx, null);
		
		where axis2.xml is the following
		
		<axisconfig name="AxisJava2.0">
		    <module ref="rampart" />
		    <parameter name="OutflowSecurity">
		        <action>
		            <items>UsernameToken</items>
		        </action>
		    </parameter>
		
		    <parameter name="hotdeployment" locked="false">true</parameter>
		    <parameter name="hotupdate" locked="false">true</parameter>
		
		    <messageReceiver mep="INOUT"
		class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
		
		    <transportSender name="http"
		class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
		        <parameter name="PROTOCOL" locked="false">HTTP/1.0</parameter>
		    </transportSender>
		
		    <phaseOrder type="InFlow">
		        <!--  System pre defined phases       -->
		        <phase name="Transport">
		            <handler name="RequestURIBasedDispatcher"
		
		class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher">
		                <order phase="Dispatch"/>
		            </handler>
		            <handler name="SOAPActionBasedDispatcher"
		
		class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher">
		                <order phase="Dispatch"/>
		            </handler>
		        </phase>
		        <phase name="Security"/>
		        <phase name="PreDispatch"/>
		        <phase name="Dispatch"
		class="org.apache.axis2.engine.DispatchPhase">
		            <handler name="RequestURIBasedDispatcher"
		
		class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
		            <handler name="SOAPActionBasedDispatcher"
		
		class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
		            <handler name="RequestURIOperationDispatcher"
		
		class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
		            <handler name="SOAPMessageBodyBasedDispatcher"
		
		class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
		
		            <handler name="HTTPLocationBasedDispatcher"
		
		class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
		        </phase>
		        <!--  System pre defined phases       -->
		        <!--   After Postdispatch phase module author or or service author
		can add any phase he want      -->
		        <phase name="OperationInPhase"/>
		        <phase name="soapmonitorPhase"/>
		    </phaseOrder>
		    <phaseOrder type="OutFlow">
		        <!--      user can add his own phases to this area  -->
		        <phase name="soapmonitorPhase"/>
		        <phase name="OperationOutPhase"/>
		        <!--system predefined phase-->
		        <!--these phase will run irrespective of the service-->
		        <phase name="PolicyDetermination"/>
		        <phase name="MessageOut"/>
		        <phase name="Security"/>
		    </phaseOrder>
		    <phaseOrder type="InFaultFlow">
		        <phase name="PreDispatch"/>
		        <phase name="Dispatch"
		class="org.apache.axis2.engine.DispatchPhase">
		            <handler name="RequestURIBasedDispatcher"
		
		class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
		            <handler name="SOAPActionBasedDispatcher"
		
		class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
		            <handler name="RequestURIOperationDispatcher"
		
		class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
		            <handler name="SOAPMessageBodyBasedDispatcher"
		
		class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
		
		            <handler name="HTTPLocationBasedDispatcher"
		
		class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
		        </phase>
		        <!--      user can add his own phases to this area  -->
		        <phase name="OperationInFaultPhase"/>
		        <phase name="soapmonitorPhase"/>
		        <phase name="Security"/>
		    </phaseOrder>
		    <phaseOrder type="OutFaultFlow">
		        <!--      user can add his own phases to this area  -->
		        <phase name="soapmonitorPhase"/>
		        <phase name="OperationOutFaultPhase"/>
		        <phase name="PolicyDetermination"/>
		        <phase name="MessageOut"/>
		        <phase name="Security"/>
		    </phaseOrder>
		
		</axisconfig>
		
		It seems that everytime I call this code in a running application it 
		creates a new file.
		
		thanks
		
		
		
		Il 21/07/2012 09:56, Sagara Gunathunga ha scritto:
		
		I tried on both Ubuntu 12.04 and Windows 7 ( Java 6 u33,
		apache-tomcat-7.0.26 and Axis2/Rampart 1.6.2 ) but I can't reproduce 
		your original issue. During the server run I only can see same set of 
		temp files and folder size also remains same. Could you provide exact 
		and detailed description about your configuration so that I can try again.
		
		FYI followings found on apache-tomcat-7.0.26\temp directory.
		
		├── axis2-tmp-402461891410668354.tmp
		│   ├── axis21314472422694690389sample02.aar
		│   ├── axis21542750312318073943sample01.aar
		│   ├── axis22272459040834308700ping-1.6.2-SNAPSHOT.mar
		│   ├── axis22639826696280010430axis2-jaxws-mar-1.6.2-SNAPSHOT.mar
		│   ├── axis23676318719154391135version-1.6.2-SNAPSHOT.aar
		│   ├── axis2384307141943523944mex-1.6.2-SNAPSHOT.mar
		│   ├── axis24170305247321540800addressing-1.6.2-SNAPSHOT.mar
		│   ├── axis24691797839292807234scripting-1.6.2-SNAPSHOT.mar
		│   ├── axis26364987682968736391soapmonitor-1.6.2-SNAPSHOT.mar
		│   ├── axis26381918337066202975mtompolicy-1.6.2-SNAPSHOT.mar
		│   ├── axis2643854423296824589rampart-1.6.2.mar
		│   ├── axis28057310721759389693
		│   └── axis28091149457053540894addressing-1.6.2.mar
		└── axis2-tmp-402461891410668354.tmp.lck
		
		Thanks !
		
		On Mon, Jul 16, 2012 at 1:39 PM, Sagara Gunathunga 
		<sa...@gmail.com> <ma...@gmail.com>  wrote:

			
			Usually I work on Linux but will try on Windows7 to reproduce this 
			issue, but I can't provide any exact time line. Most probably if this 
			is reproducible will fix for 1.7.0 release.
			
			Thanks !
			
			On Thu, Jul 12, 2012 at 12:10 PM, Zanelli Franco 
			<fz...@tecnosens.it> <ma...@tecnosens.it> 
			wrote:

				
				I'm working on Windows 7 and this is an example of list file names; 
				they are locked until the application is running:
				
				12/07/2012  08:34    <DIR>          .
				12/07/2012  08:34    <DIR>          ..
				11/07/2012  14:44             9.229
				axis21416912558469186102rampart-1.6.1.jar
				11/07/2012  14:32             9.229
				axis21509415437238259318rampart-1.6.1.jar
				11/07/2012  14:46             9.229
				axis21966863075365099860rampart-1.6.1.jar
				11/07/2012  14:14             9.229
				axis22303908513742725464rampart-1.6.1.jar
				11/07/2012  14:46             9.229
				axis22424953883953097823rampart-1.6.1.jar
				11/07/2012  14:13         2.285.245
				axis22438746523922262446axis2-1.6.1.jar
				11/07/2012  14:46             9.229
				axis2304716139404310737rampart-1.6.1.jar
				11/07/2012  13:34             9.229
				axis23280640091967599099rampart-1.6.1.jar
				11/07/2012  14:39             9.229
				axis23289131501227431942rampart-1.6.1.jar
				11/07/2012  14:32             9.229
				axis23623477711224233594rampart-1.6.1.jar
				11/07/2012  14:45             9.229
				axis24064159888117717366rampart-1.6.1.jar
				11/07/2012  14:46         2.285.245
				axis24138362837334899395axis2-1.6.1.jar
				11/07/2012  14:32             9.229
				axis24169225200500972588rampart-1.6.1.jar
				11/07/2012  14:12             9.229
				axis24196920701274949215rampart-1.6.1.jar
				11/07/2012  14:13             9.229
				axis24312174956140386583rampart-1.6.1.jar
				11/07/2012  14:32         2.285.245
				axis24314571673869116798axis2-1.6.1.jar
				11/07/2012  14:13         2.285.245
				axis24506103510380709545axis2-1.6.1.jar
				11/07/2012  14:13             9.229
				axis24647890395603079538rampart-1.6.1.jar
				11/07/2012  14:39             9.229
				axis24690330867633166334rampart-1.6.1.jar
				11/07/2012  14:13         2.285.245
				axis24707312552747513185axis2-1.6.1.jar
				11/07/2012  14:32         2.285.245
				axis24752902450719382616axis2-1.6.1.jar
				11/07/2012  14:32             9.229
				axis2513921642284968659rampart-1.6.1.jar
				11/07/2012  14:32         2.285.245
				axis25144058483045372983axis2-1.6.1.jar
				11/07/2012  14:44         2.285.245
				axis25476714304412646090axis2-1.6.1.jar
				11/07/2012  14:32         2.285.245
				axis25503851350480281698axis2-1.6.1.jar
				11/07/2012  14:13             9.229
				axis25519301193443871234rampart-1.6.1.jar
				11/07/2012  13:34         2.285.245
				axis25524069298591810328axis2-1.6.1.jar
				11/07/2012  14:13             9.229
				axis25627308659529533243rampart-1.6.1.jar
				11/07/2012  14:46         2.285.245
				axis2568169813775070191axis2-1.6.1.jar
				11/07/2012  14:13             9.229
				axis25726694343012261384rampart-1.6.1.jar
				11/07/2012  14:13         2.285.245
				axis25834963843840517915axis2-1.6.1.jar
				11/07/2012  14:32         2.285.245
				axis26637531347642113441axis2-1.6.1.jar
				11/07/2012  14:46             9.229
				axis26752209726427078226rampart-1.6.1.jar
				11/07/2012  14:46         2.285.245
				axis26806424145360728047axis2-1.6.1.jar
				11/07/2012  14:45         2.285.245
				axis27145119278349429680axis2-1.6.1.jar
				11/07/2012  14:39         2.285.245
				axis2721928032583987680axis2-1.6.1.jar
				11/07/2012  14:39             9.229
				axis27291519028719687325rampart-1.6.1.jar
				11/07/2012  14:13         2.285.245
				axis27308655973731804611axis2-1.6.1.jar
				11/07/2012  14:46             9.229
				axis27445862635933375468rampart-1.6.1.jar
				11/07/2012  14:42         2.285.245
				axis27578542695752557570axis2-1.6.1.jar
				11/07/2012  14:46         2.285.245
				axis27638278631414098896axis2-1.6.1.jar
				11/07/2012  14:32             9.229
				axis27907547743081275382rampart-1.6.1.jar
				11/07/2012  14:13             9.229
				axis2791744208349861365rampart-1.6.1.jar
				11/07/2012  14:12         2.285.245
				axis2792995400271337688axis2-1.6.1.jar
				11/07/2012  14:46             9.229
				axis27993871858773185067rampart-1.6.1.jar
				11/07/2012  14:39         2.285.245
				axis28016023195092974008axis2-1.6.1.jar
				11/07/2012  14:46         2.285.245
				axis28364359533639293482axis2-1.6.1.jar
				11/07/2012  14:13         2.285.245
				axis28448109074789470944axis2-1.6.1.jar
				11/07/2012  14:46         2.285.245
				axis2846714489711230357axis2-1.6.1.jar
				11/07/2012  14:32         2.285.245
				axis28502070331645871025axis2-1.6.1.jar
				11/07/2012  14:14         2.285.245
				axis2852100564070407843axis2-1.6.1.jar
				11/07/2012  14:32             9.229
				axis28983640441331724657rampart-1.6.1.jar
				11/07/2012  14:39         2.285.245
				axis29071605408256628513axis2-1.6.1.jar
				11/07/2012  14:42             9.229
				axis29194904091299873891rampart-1.6.1.jar
				
				thanks
				
				Il 11/07/2012 18:14, Sagara Gunathunga ha scritto:
				
				Can you provide list file names you found on temporary directory 
				during runtime. In Linux tree utility provide nice list of content.
				
				Thanks !
				
				On Wed, Jul 11, 2012 at 7:30 PM, Zanelli Franco 
				<fz...@tecnosens.it> <ma...@tecnosens.it> 
				wrote:
				
				I'm using axis2 1.6.1 with rampard and I experienced that my 
				application creates many temporary files named 
				"axis.....axis2-1.6.1.jar" on folder "...\Temp\axis2-tmp-....tmp" . 
				These files are deleted only when I restart the application, but my application needs to be always running.
				I checked in the mailing lists for a solution but I didn't find it.
				Is there a way to delete these temporary files without close the 
				application and avoid a disk full error?
				
				thank you
				
				Zanelli Franco
				
				--------------------------------------------------------------------
				- To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
				For additional commands, e-mail: java-user-help@axis.apache.org
				
				
				

			
			
			
			--
			Sagara Gunathunga
			
			Blog      - http://ssagara.blogspot.com
			Web      - http://people.apache.org/~sagara/
			LinkedIn - http://www.linkedin.com/in/ssagara

		
		
		
		
		--
		Sagara Gunathunga
		
		Blog      - http://ssagara.blogspot.com
		Web      - http://people.apache.org/~sagara/
		LinkedIn - http://www.linkedin.com/in/ssagara
		
		
		

	
	
	
	--
	Sagara Gunathunga
	
	Blog      - http://ssagara.blogspot.com
	Web      - http://people.apache.org/~sagara/
	LinkedIn - http://www.linkedin.com/in/ssagara
	
	---------------------------------------------------------------------
	To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
	For additional commands, e-mail: java-user-help@axis.apache.org
	
	
	
	The content of this e-mail (and any attachment to it) is confidential. Any views or opinions do not represent the views or opinions of Infoshare Ltd.
	If you have received this e-mail in error please notify the sender and delete it. You may not use, copy or disclose the information in any way. 
	
	Infoshare Ltd monitors incoming and outgoing e-mails.
	
	Please consider the environment. Do you really need to print this email?
	
	
	---------------------------------------------------------------------
	To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
	For additional commands, e-mail: java-user-help@axis.apache.org
	



-- 


 

Ing. Franco Zanelli
Sviluppo Software - Divisione Sistemi Videosorveglianza 
Software Engineer - Videosecurity System Division 

TECNOSENS S.P.A.
Via Vergnano, n.16, 25125 BRESCIA - ITALIA
Tel: +39 030.3534144 Fax: +39 030.3530815
Email: fzanelli@tecnosens.it
Web: http://www.tecnosens.it <http://www.tecnosens.it/>  





RE: [Axis2] how to unlock and delete temporary files

Posted by James Annesley <ja...@infoshare-is.com>.
>From what I gather from my experience is that it may have something to do with Rampart. The other thing to watch is whether or not a new context, i.e., ConfigurationContext, is created every time you make a call, e.g. create a context, then create a stub and make a SOAP call. 

HTH

-----Original Message-----
From: Sagara Gunathunga [mailto:sagara.gunathunga@gmail.com] 
Sent: 24 July 2012 08:41
To: java-user@axis.apache.org
Subject: Re: [Axis2] how to unlock and delete temporary files

Can you also monitor mentioned temp folder for sometime and identify under which conditions (actions) it create new temp Jar files ?

Thanks !

On Tue, Jul 24, 2012 at 1:05 PM, Zanelli Franco <fz...@tecnosens.it> wrote:
> My application is a cctv management software for Onvif cameras, and I 
> use to frequently connect and disconnect cameras. Each time I connect 
> a camera I open a SOAP session and I use this code:
>
> username = "username";
> password = "password";
> ConfigurationContext ctx =
> ConfigurationContextFactory.createConfigurationContextFromFileSystem(
>                     null,
>                     "./axis2.xml");
> sc = new ServiceClient(ctx, null);
>
> where axis2.xml is the following
>
> <axisconfig name="AxisJava2.0">
>     <module ref="rampart" />
>     <parameter name="OutflowSecurity">
>         <action>
>             <items>UsernameToken</items>
>         </action>
>     </parameter>
>
>     <parameter name="hotdeployment" locked="false">true</parameter>
>     <parameter name="hotupdate" locked="false">true</parameter>
>
>     <messageReceiver mep="INOUT"
> class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>
>     <transportSender name="http"
> class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
>         <parameter name="PROTOCOL" locked="false">HTTP/1.0</parameter>
>     </transportSender>
>
>     <phaseOrder type="InFlow">
>         <!--  System pre defined phases       -->
>         <phase name="Transport">
>             <handler name="RequestURIBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher">
>                 <order phase="Dispatch"/>
>             </handler>
>             <handler name="SOAPActionBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher">
>                 <order phase="Dispatch"/>
>             </handler>
>         </phase>
>         <phase name="Security"/>
>         <phase name="PreDispatch"/>
>         <phase name="Dispatch"
> class="org.apache.axis2.engine.DispatchPhase">
>             <handler name="RequestURIBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
>             <handler name="SOAPActionBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
>             <handler name="RequestURIOperationDispatcher"
>
> class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
>             <handler name="SOAPMessageBodyBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
>
>             <handler name="HTTPLocationBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
>         </phase>
>         <!--  System pre defined phases       -->
>         <!--   After Postdispatch phase module author or or service author
> can add any phase he want      -->
>         <phase name="OperationInPhase"/>
>         <phase name="soapmonitorPhase"/>
>     </phaseOrder>
>     <phaseOrder type="OutFlow">
>         <!--      user can add his own phases to this area  -->
>         <phase name="soapmonitorPhase"/>
>         <phase name="OperationOutPhase"/>
>         <!--system predefined phase-->
>         <!--these phase will run irrespective of the service-->
>         <phase name="PolicyDetermination"/>
>         <phase name="MessageOut"/>
>         <phase name="Security"/>
>     </phaseOrder>
>     <phaseOrder type="InFaultFlow">
>         <phase name="PreDispatch"/>
>         <phase name="Dispatch"
> class="org.apache.axis2.engine.DispatchPhase">
>             <handler name="RequestURIBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
>             <handler name="SOAPActionBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
>             <handler name="RequestURIOperationDispatcher"
>
> class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
>             <handler name="SOAPMessageBodyBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
>
>             <handler name="HTTPLocationBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
>         </phase>
>         <!--      user can add his own phases to this area  -->
>         <phase name="OperationInFaultPhase"/>
>         <phase name="soapmonitorPhase"/>
>         <phase name="Security"/>
>     </phaseOrder>
>     <phaseOrder type="OutFaultFlow">
>         <!--      user can add his own phases to this area  -->
>         <phase name="soapmonitorPhase"/>
>         <phase name="OperationOutFaultPhase"/>
>         <phase name="PolicyDetermination"/>
>         <phase name="MessageOut"/>
>         <phase name="Security"/>
>     </phaseOrder>
>
> </axisconfig>
>
> It seems that everytime I call this code in a running application it 
> creates a new file.
>
> thanks
>
>
>
> Il 21/07/2012 09:56, Sagara Gunathunga ha scritto:
>
> I tried on both Ubuntu 12.04 and Windows 7 ( Java 6 u33,
> apache-tomcat-7.0.26 and Axis2/Rampart 1.6.2 ) but I can't reproduce 
> your original issue. During the server run I only can see same set of 
> temp files and folder size also remains same. Could you provide exact 
> and detailed description about your configuration so that I can try again.
>
> FYI followings found on apache-tomcat-7.0.26\temp directory.
>
> ├── axis2-tmp-402461891410668354.tmp
> │   ├── axis21314472422694690389sample02.aar
> │   ├── axis21542750312318073943sample01.aar
> │   ├── axis22272459040834308700ping-1.6.2-SNAPSHOT.mar
> │   ├── axis22639826696280010430axis2-jaxws-mar-1.6.2-SNAPSHOT.mar
> │   ├── axis23676318719154391135version-1.6.2-SNAPSHOT.aar
> │   ├── axis2384307141943523944mex-1.6.2-SNAPSHOT.mar
> │   ├── axis24170305247321540800addressing-1.6.2-SNAPSHOT.mar
> │   ├── axis24691797839292807234scripting-1.6.2-SNAPSHOT.mar
> │   ├── axis26364987682968736391soapmonitor-1.6.2-SNAPSHOT.mar
> │   ├── axis26381918337066202975mtompolicy-1.6.2-SNAPSHOT.mar
> │   ├── axis2643854423296824589rampart-1.6.2.mar
> │   ├── axis28057310721759389693
> │   └── axis28091149457053540894addressing-1.6.2.mar
> └── axis2-tmp-402461891410668354.tmp.lck
>
> Thanks !
>
> On Mon, Jul 16, 2012 at 1:39 PM, Sagara Gunathunga 
> <sa...@gmail.com> wrote:
>>
>> Usually I work on Linux but will try on Windows7 to reproduce this 
>> issue, but I can't provide any exact time line. Most probably if this 
>> is reproducible will fix for 1.7.0 release.
>>
>> Thanks !
>>
>> On Thu, Jul 12, 2012 at 12:10 PM, Zanelli Franco 
>> <fz...@tecnosens.it>
>> wrote:
>>>
>>> I'm working on Windows 7 and this is an example of list file names; 
>>> they are locked until the application is running:
>>>
>>> 12/07/2012  08:34    <DIR>          .
>>> 12/07/2012  08:34    <DIR>          ..
>>> 11/07/2012  14:44             9.229
>>> axis21416912558469186102rampart-1.6.1.jar
>>> 11/07/2012  14:32             9.229
>>> axis21509415437238259318rampart-1.6.1.jar
>>> 11/07/2012  14:46             9.229
>>> axis21966863075365099860rampart-1.6.1.jar
>>> 11/07/2012  14:14             9.229
>>> axis22303908513742725464rampart-1.6.1.jar
>>> 11/07/2012  14:46             9.229
>>> axis22424953883953097823rampart-1.6.1.jar
>>> 11/07/2012  14:13         2.285.245
>>> axis22438746523922262446axis2-1.6.1.jar
>>> 11/07/2012  14:46             9.229
>>> axis2304716139404310737rampart-1.6.1.jar
>>> 11/07/2012  13:34             9.229
>>> axis23280640091967599099rampart-1.6.1.jar
>>> 11/07/2012  14:39             9.229
>>> axis23289131501227431942rampart-1.6.1.jar
>>> 11/07/2012  14:32             9.229
>>> axis23623477711224233594rampart-1.6.1.jar
>>> 11/07/2012  14:45             9.229
>>> axis24064159888117717366rampart-1.6.1.jar
>>> 11/07/2012  14:46         2.285.245
>>> axis24138362837334899395axis2-1.6.1.jar
>>> 11/07/2012  14:32             9.229
>>> axis24169225200500972588rampart-1.6.1.jar
>>> 11/07/2012  14:12             9.229
>>> axis24196920701274949215rampart-1.6.1.jar
>>> 11/07/2012  14:13             9.229
>>> axis24312174956140386583rampart-1.6.1.jar
>>> 11/07/2012  14:32         2.285.245
>>> axis24314571673869116798axis2-1.6.1.jar
>>> 11/07/2012  14:13         2.285.245
>>> axis24506103510380709545axis2-1.6.1.jar
>>> 11/07/2012  14:13             9.229
>>> axis24647890395603079538rampart-1.6.1.jar
>>> 11/07/2012  14:39             9.229
>>> axis24690330867633166334rampart-1.6.1.jar
>>> 11/07/2012  14:13         2.285.245
>>> axis24707312552747513185axis2-1.6.1.jar
>>> 11/07/2012  14:32         2.285.245
>>> axis24752902450719382616axis2-1.6.1.jar
>>> 11/07/2012  14:32             9.229
>>> axis2513921642284968659rampart-1.6.1.jar
>>> 11/07/2012  14:32         2.285.245
>>> axis25144058483045372983axis2-1.6.1.jar
>>> 11/07/2012  14:44         2.285.245
>>> axis25476714304412646090axis2-1.6.1.jar
>>> 11/07/2012  14:32         2.285.245
>>> axis25503851350480281698axis2-1.6.1.jar
>>> 11/07/2012  14:13             9.229
>>> axis25519301193443871234rampart-1.6.1.jar
>>> 11/07/2012  13:34         2.285.245
>>> axis25524069298591810328axis2-1.6.1.jar
>>> 11/07/2012  14:13             9.229
>>> axis25627308659529533243rampart-1.6.1.jar
>>> 11/07/2012  14:46         2.285.245
>>> axis2568169813775070191axis2-1.6.1.jar
>>> 11/07/2012  14:13             9.229
>>> axis25726694343012261384rampart-1.6.1.jar
>>> 11/07/2012  14:13         2.285.245
>>> axis25834963843840517915axis2-1.6.1.jar
>>> 11/07/2012  14:32         2.285.245
>>> axis26637531347642113441axis2-1.6.1.jar
>>> 11/07/2012  14:46             9.229
>>> axis26752209726427078226rampart-1.6.1.jar
>>> 11/07/2012  14:46         2.285.245
>>> axis26806424145360728047axis2-1.6.1.jar
>>> 11/07/2012  14:45         2.285.245
>>> axis27145119278349429680axis2-1.6.1.jar
>>> 11/07/2012  14:39         2.285.245
>>> axis2721928032583987680axis2-1.6.1.jar
>>> 11/07/2012  14:39             9.229
>>> axis27291519028719687325rampart-1.6.1.jar
>>> 11/07/2012  14:13         2.285.245
>>> axis27308655973731804611axis2-1.6.1.jar
>>> 11/07/2012  14:46             9.229
>>> axis27445862635933375468rampart-1.6.1.jar
>>> 11/07/2012  14:42         2.285.245
>>> axis27578542695752557570axis2-1.6.1.jar
>>> 11/07/2012  14:46         2.285.245
>>> axis27638278631414098896axis2-1.6.1.jar
>>> 11/07/2012  14:32             9.229
>>> axis27907547743081275382rampart-1.6.1.jar
>>> 11/07/2012  14:13             9.229
>>> axis2791744208349861365rampart-1.6.1.jar
>>> 11/07/2012  14:12         2.285.245
>>> axis2792995400271337688axis2-1.6.1.jar
>>> 11/07/2012  14:46             9.229
>>> axis27993871858773185067rampart-1.6.1.jar
>>> 11/07/2012  14:39         2.285.245
>>> axis28016023195092974008axis2-1.6.1.jar
>>> 11/07/2012  14:46         2.285.245
>>> axis28364359533639293482axis2-1.6.1.jar
>>> 11/07/2012  14:13         2.285.245
>>> axis28448109074789470944axis2-1.6.1.jar
>>> 11/07/2012  14:46         2.285.245
>>> axis2846714489711230357axis2-1.6.1.jar
>>> 11/07/2012  14:32         2.285.245
>>> axis28502070331645871025axis2-1.6.1.jar
>>> 11/07/2012  14:14         2.285.245
>>> axis2852100564070407843axis2-1.6.1.jar
>>> 11/07/2012  14:32             9.229
>>> axis28983640441331724657rampart-1.6.1.jar
>>> 11/07/2012  14:39         2.285.245
>>> axis29071605408256628513axis2-1.6.1.jar
>>> 11/07/2012  14:42             9.229
>>> axis29194904091299873891rampart-1.6.1.jar
>>>
>>> thanks
>>>
>>> Il 11/07/2012 18:14, Sagara Gunathunga ha scritto:
>>>
>>> Can you provide list file names you found on temporary directory 
>>> during runtime. In Linux tree utility provide nice list of content.
>>>
>>> Thanks !
>>>
>>> On Wed, Jul 11, 2012 at 7:30 PM, Zanelli Franco 
>>> <fz...@tecnosens.it>
>>> wrote:
>>>
>>> I'm using axis2 1.6.1 with rampard and I experienced that my 
>>> application creates many temporary files named 
>>> "axis.....axis2-1.6.1.jar" on folder "...\Temp\axis2-tmp-....tmp" . 
>>> These files are deleted only when I restart the application, but my application needs to be always running.
>>> I checked in the mailing lists for a solution but I didn't find it.
>>> Is there a way to delete these temporary files without close the 
>>> application and avoid a disk full error?
>>>
>>> thank you
>>>
>>> Zanelli Franco
>>>
>>> --------------------------------------------------------------------
>>> - To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>>> For additional commands, e-mail: java-user-help@axis.apache.org
>>>
>>>
>>>
>>
>>
>>
>> --
>> Sagara Gunathunga
>>
>> Blog      - http://ssagara.blogspot.com
>> Web      - http://people.apache.org/~sagara/
>> LinkedIn - http://www.linkedin.com/in/ssagara
>
>
>
>
> --
> Sagara Gunathunga
>
> Blog      - http://ssagara.blogspot.com
> Web      - http://people.apache.org/~sagara/
> LinkedIn - http://www.linkedin.com/in/ssagara
>
>
>



--
Sagara Gunathunga

Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org



The content of this e-mail (and any attachment to it) is confidential. Any views or opinions do not represent the views or opinions of Infoshare Ltd.
If you have received this e-mail in error please notify the sender and delete it. You may not use, copy or disclose the information in any way. 

Infoshare Ltd monitors incoming and outgoing e-mails.

Please consider the environment. Do you really need to print this email?


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Re: [Axis2] how to unlock and delete temporary files

Posted by Sagara Gunathunga <sa...@gmail.com>.
Can you also monitor mentioned temp folder for sometime and identify
under which conditions (actions) it create new temp Jar files ?

Thanks !

On Tue, Jul 24, 2012 at 1:05 PM, Zanelli Franco <fz...@tecnosens.it> wrote:
> My application is a cctv management software for Onvif cameras, and I use to
> frequently connect and disconnect cameras. Each time I connect a camera I
> open a SOAP session and I use this code:
>
> username = "username";
> password = "password";
> ConfigurationContext ctx =
> ConfigurationContextFactory.createConfigurationContextFromFileSystem(
>                     null,
>                     "./axis2.xml");
> sc = new ServiceClient(ctx, null);
>
> where axis2.xml is the following
>
> <axisconfig name="AxisJava2.0">
>     <module ref="rampart" />
>     <parameter name="OutflowSecurity">
>         <action>
>             <items>UsernameToken</items>
>         </action>
>     </parameter>
>
>     <parameter name="hotdeployment" locked="false">true</parameter>
>     <parameter name="hotupdate" locked="false">true</parameter>
>
>     <messageReceiver mep="INOUT"
> class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>
>     <transportSender name="http"
> class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
>         <parameter name="PROTOCOL" locked="false">HTTP/1.0</parameter>
>     </transportSender>
>
>     <phaseOrder type="InFlow">
>         <!--  System pre defined phases       -->
>         <phase name="Transport">
>             <handler name="RequestURIBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher">
>                 <order phase="Dispatch"/>
>             </handler>
>             <handler name="SOAPActionBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher">
>                 <order phase="Dispatch"/>
>             </handler>
>         </phase>
>         <phase name="Security"/>
>         <phase name="PreDispatch"/>
>         <phase name="Dispatch"
> class="org.apache.axis2.engine.DispatchPhase">
>             <handler name="RequestURIBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
>             <handler name="SOAPActionBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
>             <handler name="RequestURIOperationDispatcher"
>
> class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
>             <handler name="SOAPMessageBodyBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
>
>             <handler name="HTTPLocationBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
>         </phase>
>         <!--  System pre defined phases       -->
>         <!--   After Postdispatch phase module author or or service author
> can add any phase he want      -->
>         <phase name="OperationInPhase"/>
>         <phase name="soapmonitorPhase"/>
>     </phaseOrder>
>     <phaseOrder type="OutFlow">
>         <!--      user can add his own phases to this area  -->
>         <phase name="soapmonitorPhase"/>
>         <phase name="OperationOutPhase"/>
>         <!--system predefined phase-->
>         <!--these phase will run irrespective of the service-->
>         <phase name="PolicyDetermination"/>
>         <phase name="MessageOut"/>
>         <phase name="Security"/>
>     </phaseOrder>
>     <phaseOrder type="InFaultFlow">
>         <phase name="PreDispatch"/>
>         <phase name="Dispatch"
> class="org.apache.axis2.engine.DispatchPhase">
>             <handler name="RequestURIBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
>             <handler name="SOAPActionBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
>             <handler name="RequestURIOperationDispatcher"
>
> class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
>             <handler name="SOAPMessageBodyBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
>
>             <handler name="HTTPLocationBasedDispatcher"
>
> class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
>         </phase>
>         <!--      user can add his own phases to this area  -->
>         <phase name="OperationInFaultPhase"/>
>         <phase name="soapmonitorPhase"/>
>         <phase name="Security"/>
>     </phaseOrder>
>     <phaseOrder type="OutFaultFlow">
>         <!--      user can add his own phases to this area  -->
>         <phase name="soapmonitorPhase"/>
>         <phase name="OperationOutFaultPhase"/>
>         <phase name="PolicyDetermination"/>
>         <phase name="MessageOut"/>
>         <phase name="Security"/>
>     </phaseOrder>
>
> </axisconfig>
>
> It seems that everytime I call this code in a running application it creates
> a new file.
>
> thanks
>
>
>
> Il 21/07/2012 09:56, Sagara Gunathunga ha scritto:
>
> I tried on both Ubuntu 12.04 and Windows 7 ( Java 6 u33,
> apache-tomcat-7.0.26 and Axis2/Rampart 1.6.2 ) but I can't reproduce your
> original issue. During the server run I only can see same set of temp files
> and folder size also remains same. Could you provide exact and detailed
> description about your configuration so that I can try again.
>
> FYI followings found on apache-tomcat-7.0.26\temp directory.
>
> ├── axis2-tmp-402461891410668354.tmp
> │   ├── axis21314472422694690389sample02.aar
> │   ├── axis21542750312318073943sample01.aar
> │   ├── axis22272459040834308700ping-1.6.2-SNAPSHOT.mar
> │   ├── axis22639826696280010430axis2-jaxws-mar-1.6.2-SNAPSHOT.mar
> │   ├── axis23676318719154391135version-1.6.2-SNAPSHOT.aar
> │   ├── axis2384307141943523944mex-1.6.2-SNAPSHOT.mar
> │   ├── axis24170305247321540800addressing-1.6.2-SNAPSHOT.mar
> │   ├── axis24691797839292807234scripting-1.6.2-SNAPSHOT.mar
> │   ├── axis26364987682968736391soapmonitor-1.6.2-SNAPSHOT.mar
> │   ├── axis26381918337066202975mtompolicy-1.6.2-SNAPSHOT.mar
> │   ├── axis2643854423296824589rampart-1.6.2.mar
> │   ├── axis28057310721759389693
> │   └── axis28091149457053540894addressing-1.6.2.mar
> └── axis2-tmp-402461891410668354.tmp.lck
>
> Thanks !
>
> On Mon, Jul 16, 2012 at 1:39 PM, Sagara Gunathunga
> <sa...@gmail.com> wrote:
>>
>> Usually I work on Linux but will try on Windows7 to reproduce this issue,
>> but I can't provide any exact time line. Most probably if this is
>> reproducible will fix for 1.7.0 release.
>>
>> Thanks !
>>
>> On Thu, Jul 12, 2012 at 12:10 PM, Zanelli Franco <fz...@tecnosens.it>
>> wrote:
>>>
>>> I'm working on Windows 7 and this is an example of list file names; they
>>> are locked until the application is running:
>>>
>>> 12/07/2012  08:34    <DIR>          .
>>> 12/07/2012  08:34    <DIR>          ..
>>> 11/07/2012  14:44             9.229
>>> axis21416912558469186102rampart-1.6.1.jar
>>> 11/07/2012  14:32             9.229
>>> axis21509415437238259318rampart-1.6.1.jar
>>> 11/07/2012  14:46             9.229
>>> axis21966863075365099860rampart-1.6.1.jar
>>> 11/07/2012  14:14             9.229
>>> axis22303908513742725464rampart-1.6.1.jar
>>> 11/07/2012  14:46             9.229
>>> axis22424953883953097823rampart-1.6.1.jar
>>> 11/07/2012  14:13         2.285.245
>>> axis22438746523922262446axis2-1.6.1.jar
>>> 11/07/2012  14:46             9.229
>>> axis2304716139404310737rampart-1.6.1.jar
>>> 11/07/2012  13:34             9.229
>>> axis23280640091967599099rampart-1.6.1.jar
>>> 11/07/2012  14:39             9.229
>>> axis23289131501227431942rampart-1.6.1.jar
>>> 11/07/2012  14:32             9.229
>>> axis23623477711224233594rampart-1.6.1.jar
>>> 11/07/2012  14:45             9.229
>>> axis24064159888117717366rampart-1.6.1.jar
>>> 11/07/2012  14:46         2.285.245
>>> axis24138362837334899395axis2-1.6.1.jar
>>> 11/07/2012  14:32             9.229
>>> axis24169225200500972588rampart-1.6.1.jar
>>> 11/07/2012  14:12             9.229
>>> axis24196920701274949215rampart-1.6.1.jar
>>> 11/07/2012  14:13             9.229
>>> axis24312174956140386583rampart-1.6.1.jar
>>> 11/07/2012  14:32         2.285.245
>>> axis24314571673869116798axis2-1.6.1.jar
>>> 11/07/2012  14:13         2.285.245
>>> axis24506103510380709545axis2-1.6.1.jar
>>> 11/07/2012  14:13             9.229
>>> axis24647890395603079538rampart-1.6.1.jar
>>> 11/07/2012  14:39             9.229
>>> axis24690330867633166334rampart-1.6.1.jar
>>> 11/07/2012  14:13         2.285.245
>>> axis24707312552747513185axis2-1.6.1.jar
>>> 11/07/2012  14:32         2.285.245
>>> axis24752902450719382616axis2-1.6.1.jar
>>> 11/07/2012  14:32             9.229
>>> axis2513921642284968659rampart-1.6.1.jar
>>> 11/07/2012  14:32         2.285.245
>>> axis25144058483045372983axis2-1.6.1.jar
>>> 11/07/2012  14:44         2.285.245
>>> axis25476714304412646090axis2-1.6.1.jar
>>> 11/07/2012  14:32         2.285.245
>>> axis25503851350480281698axis2-1.6.1.jar
>>> 11/07/2012  14:13             9.229
>>> axis25519301193443871234rampart-1.6.1.jar
>>> 11/07/2012  13:34         2.285.245
>>> axis25524069298591810328axis2-1.6.1.jar
>>> 11/07/2012  14:13             9.229
>>> axis25627308659529533243rampart-1.6.1.jar
>>> 11/07/2012  14:46         2.285.245
>>> axis2568169813775070191axis2-1.6.1.jar
>>> 11/07/2012  14:13             9.229
>>> axis25726694343012261384rampart-1.6.1.jar
>>> 11/07/2012  14:13         2.285.245
>>> axis25834963843840517915axis2-1.6.1.jar
>>> 11/07/2012  14:32         2.285.245
>>> axis26637531347642113441axis2-1.6.1.jar
>>> 11/07/2012  14:46             9.229
>>> axis26752209726427078226rampart-1.6.1.jar
>>> 11/07/2012  14:46         2.285.245
>>> axis26806424145360728047axis2-1.6.1.jar
>>> 11/07/2012  14:45         2.285.245
>>> axis27145119278349429680axis2-1.6.1.jar
>>> 11/07/2012  14:39         2.285.245
>>> axis2721928032583987680axis2-1.6.1.jar
>>> 11/07/2012  14:39             9.229
>>> axis27291519028719687325rampart-1.6.1.jar
>>> 11/07/2012  14:13         2.285.245
>>> axis27308655973731804611axis2-1.6.1.jar
>>> 11/07/2012  14:46             9.229
>>> axis27445862635933375468rampart-1.6.1.jar
>>> 11/07/2012  14:42         2.285.245
>>> axis27578542695752557570axis2-1.6.1.jar
>>> 11/07/2012  14:46         2.285.245
>>> axis27638278631414098896axis2-1.6.1.jar
>>> 11/07/2012  14:32             9.229
>>> axis27907547743081275382rampart-1.6.1.jar
>>> 11/07/2012  14:13             9.229
>>> axis2791744208349861365rampart-1.6.1.jar
>>> 11/07/2012  14:12         2.285.245
>>> axis2792995400271337688axis2-1.6.1.jar
>>> 11/07/2012  14:46             9.229
>>> axis27993871858773185067rampart-1.6.1.jar
>>> 11/07/2012  14:39         2.285.245
>>> axis28016023195092974008axis2-1.6.1.jar
>>> 11/07/2012  14:46         2.285.245
>>> axis28364359533639293482axis2-1.6.1.jar
>>> 11/07/2012  14:13         2.285.245
>>> axis28448109074789470944axis2-1.6.1.jar
>>> 11/07/2012  14:46         2.285.245
>>> axis2846714489711230357axis2-1.6.1.jar
>>> 11/07/2012  14:32         2.285.245
>>> axis28502070331645871025axis2-1.6.1.jar
>>> 11/07/2012  14:14         2.285.245
>>> axis2852100564070407843axis2-1.6.1.jar
>>> 11/07/2012  14:32             9.229
>>> axis28983640441331724657rampart-1.6.1.jar
>>> 11/07/2012  14:39         2.285.245
>>> axis29071605408256628513axis2-1.6.1.jar
>>> 11/07/2012  14:42             9.229
>>> axis29194904091299873891rampart-1.6.1.jar
>>>
>>> thanks
>>>
>>> Il 11/07/2012 18:14, Sagara Gunathunga ha scritto:
>>>
>>> Can you provide list file names you found on temporary directory
>>> during runtime. In Linux tree utility provide nice list of content.
>>>
>>> Thanks !
>>>
>>> On Wed, Jul 11, 2012 at 7:30 PM, Zanelli Franco <fz...@tecnosens.it>
>>> wrote:
>>>
>>> I'm using axis2 1.6.1 with rampard and I experienced that my application
>>> creates many temporary files named "axis.....axis2-1.6.1.jar" on folder
>>> "...\Temp\axis2-tmp-....tmp" . These files are deleted only when I
>>> restart the application, but my application needs to be always running.
>>> I checked in the mailing lists for a solution but I didn't find it.
>>> Is there a way to delete these temporary files without close the
>>> application and avoid a disk full error?
>>>
>>> thank you
>>>
>>> Zanelli Franco
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>>> For additional commands, e-mail: java-user-help@axis.apache.org
>>>
>>>
>>>
>>
>>
>>
>> --
>> Sagara Gunathunga
>>
>> Blog      - http://ssagara.blogspot.com
>> Web      - http://people.apache.org/~sagara/
>> LinkedIn - http://www.linkedin.com/in/ssagara
>
>
>
>
> --
> Sagara Gunathunga
>
> Blog      - http://ssagara.blogspot.com
> Web      - http://people.apache.org/~sagara/
> LinkedIn - http://www.linkedin.com/in/ssagara
>
>
>



-- 
Sagara Gunathunga

Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Re: [Axis2] how to unlock and delete temporary files

Posted by Zanelli Franco <fz...@tecnosens.it>.
My application is a cctv management software for Onvif cameras, and I use to frequently connect and disconnect cameras. Each time I connect a camera I open a SOAP session and I use this code:

username = "username";
password = "password";
ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(
                    null,
                    "./axis2.xml");                    
sc = new ServiceClient(ctx, null);

where axis2.xml is the following

<axisconfig name="AxisJava2.0">
    <module ref="rampart" />    
    <parameter name="OutflowSecurity">
        <action>
            <items>UsernameToken</items>
        </action>
    </parameter>
    
    <parameter name="hotdeployment" locked="false">true</parameter>
    <parameter name="hotupdate" locked="false">true</parameter>

    <messageReceiver mep="INOUT" class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>

    <transportSender name="http" class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
        <parameter name="PROTOCOL" locked="false">HTTP/1.0</parameter>
    </transportSender>

    <phaseOrder type="InFlow">
        <!--  System pre defined phases       -->
        <phase name="Transport">
            <handler name="RequestURIBasedDispatcher"
                     class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>
            <handler name="SOAPActionBasedDispatcher"
                     class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher">
                <order phase="Dispatch"/>
            </handler>
        </phase>
        <phase name="Security"/>
        <phase name="PreDispatch"/>
        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
            <handler name="RequestURIBasedDispatcher"
                     class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
            <handler name="SOAPActionBasedDispatcher"
                     class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
            <handler name="RequestURIOperationDispatcher"
                     class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
            <handler name="SOAPMessageBodyBasedDispatcher"
                     class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>

            <handler name="HTTPLocationBasedDispatcher"
                     class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
        </phase>
        <!--  System pre defined phases       -->
        <!--   After Postdispatch phase module author or or service author can add any phase he want      -->
        <phase name="OperationInPhase"/>
        <phase name="soapmonitorPhase"/>        
    </phaseOrder>
    <phaseOrder type="OutFlow">
        <!--      user can add his own phases to this area  -->
        <phase name="soapmonitorPhase"/>
        <phase name="OperationOutPhase"/>
        <!--system predefined phase-->
        <!--these phase will run irrespective of the service-->
        <phase name="PolicyDetermination"/>
        <phase name="MessageOut"/>
        <phase name="Security"/>
    </phaseOrder>
    <phaseOrder type="InFaultFlow">
        <phase name="PreDispatch"/>
        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
            <handler name="RequestURIBasedDispatcher"
                     class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
            <handler name="SOAPActionBasedDispatcher"
                     class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
            <handler name="RequestURIOperationDispatcher"
                     class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
            <handler name="SOAPMessageBodyBasedDispatcher"
                     class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>

            <handler name="HTTPLocationBasedDispatcher"
                     class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
        </phase>
        <!--      user can add his own phases to this area  -->
        <phase name="OperationInFaultPhase"/>
        <phase name="soapmonitorPhase"/>
        <phase name="Security"/>
    </phaseOrder>
    <phaseOrder type="OutFaultFlow">
        <!--      user can add his own phases to this area  -->
        <phase name="soapmonitorPhase"/>
        <phase name="OperationOutFaultPhase"/>
        <phase name="PolicyDetermination"/>
        <phase name="MessageOut"/>
        <phase name="Security"/>
    </phaseOrder>

</axisconfig>

It seems that everytime I call this code in a running application it creates a new file.

thanks



Il 21/07/2012 09:56, Sagara Gunathunga ha scritto:


	I tried on both Ubuntu 12.04 and Windows 7 ( Java 6 u33, apache-tomcat-7.0.26 and Axis2/Rampart 1.6.2 ) but I can't reproduce your original issue. During the server run I only can see same set of temp files and folder size also remains same. Could you provide exact and detailed description about your configuration so that I can try again. 
	
	FYI followings found on apache-tomcat-7.0.26\temp directory. 
	
	├── axis2-tmp-402461891410668354.tmp
	│   ├── axis21314472422694690389sample02.aar
	│   ├── axis21542750312318073943sample01.aar
	│   ├── axis22272459040834308700ping-1.6.2-SNAPSHOT.mar
	│   ├── axis22639826696280010430axis2-jaxws-mar-1.6.2-SNAPSHOT.mar
	│   ├── axis23676318719154391135version-1.6.2-SNAPSHOT.aar
	│   ├── axis2384307141943523944mex-1.6.2-SNAPSHOT.mar
	│   ├── axis24170305247321540800addressing-1.6.2-SNAPSHOT.mar
	│   ├── axis24691797839292807234scripting-1.6.2-SNAPSHOT.mar
	│   ├── axis26364987682968736391soapmonitor-1.6.2-SNAPSHOT.mar
	│   ├── axis26381918337066202975mtompolicy-1.6.2-SNAPSHOT.mar
	│   ├── axis2643854423296824589rampart-1.6.2.mar
	│   ├── axis28057310721759389693
	│   └── axis28091149457053540894addressing-1.6.2.mar
	└── axis2-tmp-402461891410668354.tmp.lck
	
	Thanks !  
	
	
	On Mon, Jul 16, 2012 at 1:39 PM, Sagara Gunathunga <sa...@gmail.com> wrote:
	

		Usually I work on Linux but will try on Windows7 to reproduce this issue, but I can't provide any exact time line. Most probably if this is reproducible will fix for 1.7.0 release. 
		
		Thanks !   
		

		On Thu, Jul 12, 2012 at 12:10 PM, Zanelli Franco <fz...@tecnosens.it> wrote:
		

			I'm working on Windows 7 and this is an example of list file names; they are locked until the application is running:
			
			12/07/2012  08:34    <DIR>          .
			12/07/2012  08:34    <DIR>          ..
			11/07/2012  14:44             9.229 axis21416912558469186102rampart-1.6.1.jar
			11/07/2012  14:32             9.229 axis21509415437238259318rampart-1.6.1.jar
			11/07/2012  14:46             9.229 axis21966863075365099860rampart-1.6.1.jar
			11/07/2012  14:14             9.229 axis22303908513742725464rampart-1.6.1.jar
			11/07/2012  14:46             9.229 axis22424953883953097823rampart-1.6.1.jar
			11/07/2012  14:13         2.285.245 axis22438746523922262446axis2-1.6.1.jar
			11/07/2012  14:46             9.229 axis2304716139404310737rampart-1.6.1.jar
			11/07/2012  13:34             9.229 axis23280640091967599099rampart-1.6.1.jar
			11/07/2012  14:39             9.229 axis23289131501227431942rampart-1.6.1.jar
			11/07/2012  14:32             9.229 axis23623477711224233594rampart-1.6.1.jar
			11/07/2012  14:45             9.229 axis24064159888117717366rampart-1.6.1.jar
			11/07/2012  14:46         2.285.245 axis24138362837334899395axis2-1.6.1.jar
			11/07/2012  14:32             9.229 axis24169225200500972588rampart-1.6.1.jar
			11/07/2012  14:12             9.229 axis24196920701274949215rampart-1.6.1.jar
			11/07/2012  14:13             9.229 axis24312174956140386583rampart-1.6.1.jar
			11/07/2012  14:32         2.285.245 axis24314571673869116798axis2-1.6.1.jar
			11/07/2012  14:13         2.285.245 axis24506103510380709545axis2-1.6.1.jar
			11/07/2012  14:13             9.229 axis24647890395603079538rampart-1.6.1.jar
			11/07/2012  14:39             9.229 axis24690330867633166334rampart-1.6.1.jar
			11/07/2012  14:13         2.285.245 axis24707312552747513185axis2-1.6.1.jar
			11/07/2012  14:32         2.285.245 axis24752902450719382616axis2-1.6.1.jar
			11/07/2012  14:32             9.229 axis2513921642284968659rampart-1.6.1.jar
			11/07/2012  14:32         2.285.245 axis25144058483045372983axis2-1.6.1.jar
			11/07/2012  14:44         2.285.245 axis25476714304412646090axis2-1.6.1.jar
			11/07/2012  14:32         2.285.245 axis25503851350480281698axis2-1.6.1.jar
			11/07/2012  14:13             9.229 axis25519301193443871234rampart-1.6.1.jar
			11/07/2012  13:34         2.285.245 axis25524069298591810328axis2-1.6.1.jar
			11/07/2012  14:13             9.229 axis25627308659529533243rampart-1.6.1.jar
			11/07/2012  14:46         2.285.245 axis2568169813775070191axis2-1.6.1.jar
			11/07/2012  14:13             9.229 axis25726694343012261384rampart-1.6.1.jar
			11/07/2012  14:13         2.285.245 axis25834963843840517915axis2-1.6.1.jar
			11/07/2012  14:32         2.285.245 axis26637531347642113441axis2-1.6.1.jar
			11/07/2012  14:46             9.229 axis26752209726427078226rampart-1.6.1.jar
			11/07/2012  14:46         2.285.245 axis26806424145360728047axis2-1.6.1.jar
			11/07/2012  14:45         2.285.245 axis27145119278349429680axis2-1.6.1.jar
			11/07/2012  14:39         2.285.245 axis2721928032583987680axis2-1.6.1.jar
			11/07/2012  14:39             9.229 axis27291519028719687325rampart-1.6.1.jar
			11/07/2012  14:13         2.285.245 axis27308655973731804611axis2-1.6.1.jar
			11/07/2012  14:46             9.229 axis27445862635933375468rampart-1.6.1.jar
			11/07/2012  14:42         2.285.245 axis27578542695752557570axis2-1.6.1.jar
			11/07/2012  14:46         2.285.245 axis27638278631414098896axis2-1.6.1.jar
			11/07/2012  14:32             9.229 axis27907547743081275382rampart-1.6.1.jar
			11/07/2012  14:13             9.229 axis2791744208349861365rampart-1.6.1.jar
			11/07/2012  14:12         2.285.245 axis2792995400271337688axis2-1.6.1.jar
			11/07/2012  14:46             9.229 axis27993871858773185067rampart-1.6.1.jar
			11/07/2012  14:39         2.285.245 axis28016023195092974008axis2-1.6.1.jar
			11/07/2012  14:46         2.285.245 axis28364359533639293482axis2-1.6.1.jar
			11/07/2012  14:13         2.285.245 axis28448109074789470944axis2-1.6.1.jar
			11/07/2012  14:46         2.285.245 axis2846714489711230357axis2-1.6.1.jar
			11/07/2012  14:32         2.285.245 axis28502070331645871025axis2-1.6.1.jar
			11/07/2012  14:14         2.285.245 axis2852100564070407843axis2-1.6.1.jar
			11/07/2012  14:32             9.229 axis28983640441331724657rampart-1.6.1.jar
			11/07/2012  14:39         2.285.245 axis29071605408256628513axis2-1.6.1.jar
			11/07/2012  14:42             9.229 axis29194904091299873891rampart-1.6.1.jar
			
			thanks
			
			Il 11/07/2012 18:14, Sagara Gunathunga ha scritto:
			

				Can you provide list file names you found on temporary directory
				during runtime. In Linux tree utility provide nice list of content.
				
				Thanks !
				
				On Wed, Jul 11, 2012 at 7:30 PM, Zanelli Franco <fz...@tecnosens.it> <ma...@tecnosens.it>  wrote:

					I'm using axis2 1.6.1 with rampard and I experienced that my application
					creates many temporary files named "axis.....axis2-1.6.1.jar" on folder
					"...\Temp\axis2-tmp-....tmp" . These files are deleted only when I
					restart the application, but my application needs to be always running.
					I checked in the mailing lists for a solution but I didn't find it.
					Is there a way to delete these temporary files without close the
					application and avoid a disk full error?
					
					thank you
					
					Zanelli Franco
					
					---------------------------------------------------------------------
					To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
					For additional commands, e-mail: java-user-help@axis.apache.org
					


			
			




		-- 
		Sagara Gunathunga
		
		Blog      - http://ssagara.blogspot.com
		Web      - http://people.apache.org/~sagara/ <http://people.apache.org/%7Esagara/> 
		LinkedIn - http://www.linkedin.com/in/ssagara
		




	-- 
	Sagara Gunathunga
	
	Blog      - http://ssagara.blogspot.com
	Web      - http://people.apache.org/~sagara/ <http://people.apache.org/%7Esagara/> 
	LinkedIn - http://www.linkedin.com/in/ssagara
	




Re: [Axis2] how to unlock and delete temporary files

Posted by Sagara Gunathunga <sa...@gmail.com>.
I tried on both Ubuntu 12.04 and Windows 7 ( Java 6 u33,
apache-tomcat-7.0.26 and Axis2/Rampart 1.6.2 ) but I can't reproduce your
original issue. During the server run I only can see same set of temp files
and folder size also remains same. Could you provide exact and detailed
description about your configuration so that I can try again.

FYI followings found on apache-tomcat-7.0.26\temp directory.

├── axis2-tmp-402461891410668354.tmp
│   ├── axis21314472422694690389sample02.aar
│   ├── axis21542750312318073943sample01.aar
│   ├── axis22272459040834308700ping-1.6.2-SNAPSHOT.mar
│   ├── axis22639826696280010430axis2-jaxws-mar-1.6.2-SNAPSHOT.mar
│   ├── axis23676318719154391135version-1.6.2-SNAPSHOT.aar
│   ├── axis2384307141943523944mex-1.6.2-SNAPSHOT.mar
│   ├── axis24170305247321540800addressing-1.6.2-SNAPSHOT.mar
│   ├── axis24691797839292807234scripting-1.6.2-SNAPSHOT.mar
│   ├── axis26364987682968736391soapmonitor-1.6.2-SNAPSHOT.mar
│   ├── axis26381918337066202975mtompolicy-1.6.2-SNAPSHOT.mar
│   ├── axis2643854423296824589rampart-1.6.2.mar
│   ├── axis28057310721759389693
│   └── axis28091149457053540894addressing-1.6.2.mar
└── axis2-tmp-402461891410668354.tmp.lck

Thanks !

On Mon, Jul 16, 2012 at 1:39 PM, Sagara Gunathunga <
sagara.gunathunga@gmail.com> wrote:

> Usually I work on Linux but will try on Windows7 to reproduce this issue,
> but I can't provide any exact time line. Most probably if this is
> reproducible will fix for 1.7.0 release.
>
> Thanks !
>
> On Thu, Jul 12, 2012 at 12:10 PM, Zanelli Franco <fz...@tecnosens.it>wrote:
>
>>  I'm working on Windows 7 and this is an example of list file names;
>> they are locked until the application is running:
>>
>> 12/07/2012  08:34    <DIR>          .
>> 12/07/2012  08:34    <DIR>          ..
>> 11/07/2012  14:44             9.229
>> axis21416912558469186102rampart-1.6.1.jar
>> 11/07/2012  14:32             9.229
>> axis21509415437238259318rampart-1.6.1.jar
>> 11/07/2012  14:46             9.229
>> axis21966863075365099860rampart-1.6.1.jar
>> 11/07/2012  14:14             9.229
>> axis22303908513742725464rampart-1.6.1.jar
>> 11/07/2012  14:46             9.229
>> axis22424953883953097823rampart-1.6.1.jar
>> 11/07/2012  14:13         2.285.245
>> axis22438746523922262446axis2-1.6.1.jar
>> 11/07/2012  14:46             9.229
>> axis2304716139404310737rampart-1.6.1.jar
>> 11/07/2012  13:34             9.229
>> axis23280640091967599099rampart-1.6.1.jar
>> 11/07/2012  14:39             9.229
>> axis23289131501227431942rampart-1.6.1.jar
>> 11/07/2012  14:32             9.229
>> axis23623477711224233594rampart-1.6.1.jar
>> 11/07/2012  14:45             9.229
>> axis24064159888117717366rampart-1.6.1.jar
>> 11/07/2012  14:46         2.285.245
>> axis24138362837334899395axis2-1.6.1.jar
>> 11/07/2012  14:32             9.229
>> axis24169225200500972588rampart-1.6.1.jar
>> 11/07/2012  14:12             9.229
>> axis24196920701274949215rampart-1.6.1.jar
>> 11/07/2012  14:13             9.229
>> axis24312174956140386583rampart-1.6.1.jar
>> 11/07/2012  14:32         2.285.245
>> axis24314571673869116798axis2-1.6.1.jar
>> 11/07/2012  14:13         2.285.245
>> axis24506103510380709545axis2-1.6.1.jar
>> 11/07/2012  14:13             9.229
>> axis24647890395603079538rampart-1.6.1.jar
>> 11/07/2012  14:39             9.229
>> axis24690330867633166334rampart-1.6.1.jar
>> 11/07/2012  14:13         2.285.245
>> axis24707312552747513185axis2-1.6.1.jar
>> 11/07/2012  14:32         2.285.245
>> axis24752902450719382616axis2-1.6.1.jar
>> 11/07/2012  14:32             9.229
>> axis2513921642284968659rampart-1.6.1.jar
>> 11/07/2012  14:32         2.285.245
>> axis25144058483045372983axis2-1.6.1.jar
>> 11/07/2012  14:44         2.285.245
>> axis25476714304412646090axis2-1.6.1.jar
>> 11/07/2012  14:32         2.285.245
>> axis25503851350480281698axis2-1.6.1.jar
>> 11/07/2012  14:13             9.229
>> axis25519301193443871234rampart-1.6.1.jar
>> 11/07/2012  13:34         2.285.245
>> axis25524069298591810328axis2-1.6.1.jar
>> 11/07/2012  14:13             9.229
>> axis25627308659529533243rampart-1.6.1.jar
>> 11/07/2012  14:46         2.285.245 axis2568169813775070191axis2-1.6.1.jar
>> 11/07/2012  14:13             9.229
>> axis25726694343012261384rampart-1.6.1.jar
>> 11/07/2012  14:13         2.285.245
>> axis25834963843840517915axis2-1.6.1.jar
>> 11/07/2012  14:32         2.285.245
>> axis26637531347642113441axis2-1.6.1.jar
>> 11/07/2012  14:46             9.229
>> axis26752209726427078226rampart-1.6.1.jar
>> 11/07/2012  14:46         2.285.245
>> axis26806424145360728047axis2-1.6.1.jar
>> 11/07/2012  14:45         2.285.245
>> axis27145119278349429680axis2-1.6.1.jar
>> 11/07/2012  14:39         2.285.245 axis2721928032583987680axis2-1.6.1.jar
>> 11/07/2012  14:39             9.229
>> axis27291519028719687325rampart-1.6.1.jar
>> 11/07/2012  14:13         2.285.245
>> axis27308655973731804611axis2-1.6.1.jar
>> 11/07/2012  14:46             9.229
>> axis27445862635933375468rampart-1.6.1.jar
>> 11/07/2012  14:42         2.285.245
>> axis27578542695752557570axis2-1.6.1.jar
>> 11/07/2012  14:46         2.285.245
>> axis27638278631414098896axis2-1.6.1.jar
>> 11/07/2012  14:32             9.229
>> axis27907547743081275382rampart-1.6.1.jar
>> 11/07/2012  14:13             9.229
>> axis2791744208349861365rampart-1.6.1.jar
>> 11/07/2012  14:12         2.285.245 axis2792995400271337688axis2-1.6.1.jar
>> 11/07/2012  14:46             9.229
>> axis27993871858773185067rampart-1.6.1.jar
>> 11/07/2012  14:39         2.285.245
>> axis28016023195092974008axis2-1.6.1.jar
>> 11/07/2012  14:46         2.285.245
>> axis28364359533639293482axis2-1.6.1.jar
>> 11/07/2012  14:13         2.285.245
>> axis28448109074789470944axis2-1.6.1.jar
>> 11/07/2012  14:46         2.285.245 axis2846714489711230357axis2-1.6.1.jar
>> 11/07/2012  14:32         2.285.245
>> axis28502070331645871025axis2-1.6.1.jar
>> 11/07/2012  14:14         2.285.245 axis2852100564070407843axis2-1.6.1.jar
>> 11/07/2012  14:32             9.229
>> axis28983640441331724657rampart-1.6.1.jar
>> 11/07/2012  14:39         2.285.245
>> axis29071605408256628513axis2-1.6.1.jar
>> 11/07/2012  14:42             9.229
>> axis29194904091299873891rampart-1.6.1.jar
>>
>> thanks
>>
>> Il 11/07/2012 18:14, Sagara Gunathunga ha scritto:
>>
>> Can you provide list file names you found on temporary directory
>> during runtime. In Linux tree utility provide nice list of content.
>>
>> Thanks !
>>
>> On Wed, Jul 11, 2012 at 7:30 PM, Zanelli Franco <fz...@tecnosens.it> <fz...@tecnosens.it> wrote:
>>
>>  I'm using axis2 1.6.1 with rampard and I experienced that my application
>> creates many temporary files named "axis.....axis2-1.6.1.jar" on folder
>> "...\Temp\axis2-tmp-....tmp" . These files are deleted only when I
>> restart the application, but my application needs to be always running.
>> I checked in the mailing lists for a solution but I didn't find it.
>> Is there a way to delete these temporary files without close the
>> application and avoid a disk full error?
>>
>> thank you
>>
>> Zanelli Franco
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>>
>>
>> --
>>
>> *Ing. Franco Zanelli*
>> Sviluppo Software - Divisione Sistemi Videosorveglianza
>> *Software Engineer - Videosecurity System Division*
>>
>> *TECNO**SENS** **S.P.A.*
>> Via Vergnano, n.16, 25125 BRESCIA - ITALIA
>> *Tel**:* +39 030.3534144* **Fax**:* +39 030.3530815
>> *Email:** **fzanelli@tecnosens.it*
>> *Web:** **http://www.tecnosens.it*
>>
>>
>>
>
>
> --
> Sagara Gunathunga
>
> Blog      - http://ssagara.blogspot.com
> Web      - http://people.apache.org/~sagara/
> LinkedIn - http://www.linkedin.com/in/ssagara
>



-- 
Sagara Gunathunga

Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara

RE: [Axis2] how to unlock and delete temporary files

Posted by James Annesley <ja...@infoshare-is.com>.
I was wondering whether any web application settings might help this. Anyone
fancy trying some out:

In your context.xml:

1)      antiJARLocking

2)      antiResourceLocking

 

I doubt 1.7.0 will fix it. I believe the developers can't reproduce the
problem.

James

 

From: Zanelli Franco [mailto:fzanelli@tecnosens.it] 
Sent: 16 July 2012 10:29
To: java-user@axis.apache.org
Subject: Re: [Axis2] how to unlock and delete temporary files

 

Yes, I read that blog.
I managed to delete temp files at application start, but this is not
sufficient because my application need to be always alive. In that status
temp files and folders are locked, so it's impossible to delete them.

I want to try a 1.7.0 release candidate, how can I install it on my
application using maven?

thanks

Il 16/07/2012 10:47, James Annesley ha scritto:

Hi,

 

I have the same problem - I wrote a message to this forum on this subject
earlier this year. Unfortunately the problem is hard to reproduce. I have
found this entry on the web which may help:

 

http://amilachinthaka.blogspot.co.uk/2010/03/axis2-temp-files.html

 

It is fairly serious because we have noticed that Tomcat severely slows down
with time and that deleting these .tmp files restores its speed.

 

James

 

From: Sagara Gunathunga [mailto:sagara.gunathunga@gmail.com] 
Sent: 16 July 2012 09:10
To: java-user@axis.apache.org
Subject: Re: [Axis2] how to unlock and delete temporary files

 

Usually I work on Linux but will try on Windows7 to reproduce this issue,
but I can't provide any exact time line. Most probably if this is
reproducible will fix for 1.7.0 release. 

Thanks !   

On Thu, Jul 12, 2012 at 12:10 PM, Zanelli Franco <fz...@tecnosens.it>
wrote:

I'm working on Windows 7 and this is an example of list file names; they are
locked until the application is running:

12/07/2012  08:34    <DIR>          .
12/07/2012  08:34    <DIR>          ..
11/07/2012  14:44             9.229
axis21416912558469186102rampart-1.6.1.jar
11/07/2012  14:32             9.229
axis21509415437238259318rampart-1.6.1.jar
11/07/2012  14:46             9.229
axis21966863075365099860rampart-1.6.1.jar
11/07/2012  14:14             9.229
axis22303908513742725464rampart-1.6.1.jar
11/07/2012  14:46             9.229
axis22424953883953097823rampart-1.6.1.jar
11/07/2012  14:13         2.285.245 axis22438746523922262446axis2-1.6.1.jar
11/07/2012  14:46             9.229 axis2304716139404310737rampart-1.6.1.jar
11/07/2012  13:34             9.229
axis23280640091967599099rampart-1.6.1.jar
11/07/2012  14:39             9.229
axis23289131501227431942rampart-1.6.1.jar
11/07/2012  14:32             9.229
axis23623477711224233594rampart-1.6.1.jar
11/07/2012  14:45             9.229
axis24064159888117717366rampart-1.6.1.jar
11/07/2012  14:46         2.285.245 axis24138362837334899395axis2-1.6.1.jar
11/07/2012  14:32             9.229
axis24169225200500972588rampart-1.6.1.jar
11/07/2012  14:12             9.229
axis24196920701274949215rampart-1.6.1.jar
11/07/2012  14:13             9.229
axis24312174956140386583rampart-1.6.1.jar
11/07/2012  14:32         2.285.245 axis24314571673869116798axis2-1.6.1.jar
11/07/2012  14:13         2.285.245 axis24506103510380709545axis2-1.6.1.jar
11/07/2012  14:13             9.229
axis24647890395603079538rampart-1.6.1.jar
11/07/2012  14:39             9.229
axis24690330867633166334rampart-1.6.1.jar
11/07/2012  14:13         2.285.245 axis24707312552747513185axis2-1.6.1.jar
11/07/2012  14:32         2.285.245 axis24752902450719382616axis2-1.6.1.jar
11/07/2012  14:32             9.229 axis2513921642284968659rampart-1.6.1.jar
11/07/2012  14:32         2.285.245 axis25144058483045372983axis2-1.6.1.jar
11/07/2012  14:44         2.285.245 axis25476714304412646090axis2-1.6.1.jar
11/07/2012  14:32         2.285.245 axis25503851350480281698axis2-1.6.1.jar
11/07/2012  14:13             9.229
axis25519301193443871234rampart-1.6.1.jar
11/07/2012  13:34         2.285.245 axis25524069298591810328axis2-1.6.1.jar
11/07/2012  14:13             9.229
axis25627308659529533243rampart-1.6.1.jar
11/07/2012  14:46         2.285.245 axis2568169813775070191axis2-1.6.1.jar
11/07/2012  14:13             9.229
axis25726694343012261384rampart-1.6.1.jar
11/07/2012  14:13         2.285.245 axis25834963843840517915axis2-1.6.1.jar
11/07/2012  14:32         2.285.245 axis26637531347642113441axis2-1.6.1.jar
11/07/2012  14:46             9.229
axis26752209726427078226rampart-1.6.1.jar
11/07/2012  14:46         2.285.245 axis26806424145360728047axis2-1.6.1.jar
11/07/2012  14:45         2.285.245 axis27145119278349429680axis2-1.6.1.jar
11/07/2012  14:39         2.285.245 axis2721928032583987680axis2-1.6.1.jar
11/07/2012  14:39             9.229
axis27291519028719687325rampart-1.6.1.jar
11/07/2012  14:13         2.285.245 axis27308655973731804611axis2-1.6.1.jar
11/07/2012  14:46             9.229
axis27445862635933375468rampart-1.6.1.jar
11/07/2012  14:42         2.285.245 axis27578542695752557570axis2-1.6.1.jar
11/07/2012  14:46         2.285.245 axis27638278631414098896axis2-1.6.1.jar
11/07/2012  14:32             9.229
axis27907547743081275382rampart-1.6.1.jar
11/07/2012  14:13             9.229 axis2791744208349861365rampart-1.6.1.jar
11/07/2012  14:12         2.285.245 axis2792995400271337688axis2-1.6.1.jar
11/07/2012  14:46             9.229
axis27993871858773185067rampart-1.6.1.jar
11/07/2012  14:39         2.285.245 axis28016023195092974008axis2-1.6.1.jar
11/07/2012  14:46         2.285.245 axis28364359533639293482axis2-1.6.1.jar
11/07/2012  14:13         2.285.245 axis28448109074789470944axis2-1.6.1.jar
11/07/2012  14:46         2.285.245 axis2846714489711230357axis2-1.6.1.jar
11/07/2012  14:32         2.285.245 axis28502070331645871025axis2-1.6.1.jar
11/07/2012  14:14         2.285.245 axis2852100564070407843axis2-1.6.1.jar
11/07/2012  14:32             9.229
axis28983640441331724657rampart-1.6.1.jar
11/07/2012  14:39         2.285.245 axis29071605408256628513axis2-1.6.1.jar
11/07/2012  14:42             9.229
axis29194904091299873891rampart-1.6.1.jar

thanks

Il 11/07/2012 18:14, Sagara Gunathunga ha scritto:

Can you provide list file names you found on temporary directory
during runtime. In Linux tree utility provide nice list of content.
 
Thanks !
 
On Wed, Jul 11, 2012 at 7:30 PM, Zanelli Franco
<ma...@tecnosens.it> <fz...@tecnosens.it> wrote:

I'm using axis2 1.6.1 with rampard and I experienced that my application
creates many temporary files named "axis.....axis2-1.6.1.jar" on folder
"...\Temp\axis2-tmp-....tmp" . These files are deleted only when I
restart the application, but my application needs to be always running.
I checked in the mailing lists for a solution but I didn't find it.
Is there a way to delete these temporary files without close the
application and avoid a disk full error?
 
thank you
 
Zanelli Franco
 
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
 

 

-- 

Description:
cid:part1.04070209.02030009@tecnosens.it

Ing. Franco Zanelli
Sviluppo Software - Divisione Sistemi Videosorveglianza 
Software Engineer - Videosecurity System Division 

TECNOSENS S.P.A.
Via Vergnano, n.16, 25125 BRESCIA - ITALIA
Tel: +39 030.3534144 <tel:%2B39%20030.3534144>  Fax: +39 030.3530815
<tel:%2B39%20030.3530815> 
Email: fzanelli@tecnosens.it
Web:  <http://www.tecnosens.it/> http://www.tecnosens.it 

 




-- 
Sagara Gunathunga

Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
<http://people.apache.org/%7Esagara/> 
LinkedIn - http://www.linkedin.com/in/ssagara

  _____  

The content of this e-mail (and any attachment to it) is confidential. Any
views or opinions do not represent the views or opinions of Infoshare Ltd.
If you have received this e-mail in error please notify the sender and
delete it. You may not use, copy or disclose the information in any way.
Infoshare Ltd monitors incoming and outgoing e-mails. Please consider the
environment. Do you really need to print this email? 

 

-- 





Ing. Franco Zanelli
Sviluppo Software - Divisione Sistemi Videosorveglianza 
Software Engineer - Videosecurity System Division 

TECNOSENS S.P.A.
Via Vergnano, n.16, 25125 BRESCIA - ITALIA
Tel: +39 030.3534144 Fax: +39 030.3530815
Email: fzanelli@tecnosens.it
Web:  <http://www.tecnosens.it/> http://www.tecnosens.it 

 


The content of this e-mail (and any attachment to it) is confidential. 
Any views or opinions do not represent the views or opinions 
of Infoshare Ltd.
If you have received this e-mail in error please notify the sender 
and delete it. You may not use, copy or disclose the information 
in any way. 

Infoshare Ltd monitors incoming and outgoing e-mails.

Please consider the environment. Do you really need to print 
this email?

Re: [Axis2] how to unlock and delete temporary files

Posted by Zanelli Franco <fz...@tecnosens.it>.
Yes, I read that blog.
I managed to delete temp files at application start, but this is not sufficient because my application need to be always alive. In that status temp files and folders are locked, so it's impossible to delete them.

I want to try a 1.7.0 release candidate, how can I install it on my application using maven?

thanks

Il 16/07/2012 10:47, James Annesley ha scritto:


	Hi,

	 

	I have the same problem - I wrote a message to this forum on this subject earlier this year. Unfortunately the problem is hard to reproduce. I have found this entry on the web which may help:

	 

	http://amilachinthaka.blogspot.co.uk/2010/03/axis2-temp-files.html

	 

	It is fairly serious because we have noticed that Tomcat severely slows down with time and that deleting these .tmp files restores its speed.

	 

	James

	 

	From: Sagara Gunathunga [mailto:sagara.gunathunga@gmail.com] 
	Sent: 16 July 2012 09:10
	To: java-user@axis.apache.org
	Subject: Re: [Axis2] how to unlock and delete temporary files

	 

	Usually I work on Linux but will try on Windows7 to reproduce this issue, but I can't provide any exact time line. Most probably if this is reproducible will fix for 1.7.0 release. 
	
	Thanks !   

	On Thu, Jul 12, 2012 at 12:10 PM, Zanelli Franco <fz...@tecnosens.it> wrote:

	I'm working on Windows 7 and this is an example of list file names; they are locked until the application is running:
	
	12/07/2012  08:34    <DIR>          .
	12/07/2012  08:34    <DIR>          ..
	11/07/2012  14:44             9.229 axis21416912558469186102rampart-1.6.1.jar
	11/07/2012  14:32             9.229 axis21509415437238259318rampart-1.6.1.jar
	11/07/2012  14:46             9.229 axis21966863075365099860rampart-1.6.1.jar
	11/07/2012  14:14             9.229 axis22303908513742725464rampart-1.6.1.jar
	11/07/2012  14:46             9.229 axis22424953883953097823rampart-1.6.1.jar
	11/07/2012  14:13         2.285.245 axis22438746523922262446axis2-1.6.1.jar
	11/07/2012  14:46             9.229 axis2304716139404310737rampart-1.6.1.jar
	11/07/2012  13:34             9.229 axis23280640091967599099rampart-1.6.1.jar
	11/07/2012  14:39             9.229 axis23289131501227431942rampart-1.6.1.jar
	11/07/2012  14:32             9.229 axis23623477711224233594rampart-1.6.1.jar
	11/07/2012  14:45             9.229 axis24064159888117717366rampart-1.6.1.jar
	11/07/2012  14:46         2.285.245 axis24138362837334899395axis2-1.6.1.jar
	11/07/2012  14:32             9.229 axis24169225200500972588rampart-1.6.1.jar
	11/07/2012  14:12             9.229 axis24196920701274949215rampart-1.6.1.jar
	11/07/2012  14:13             9.229 axis24312174956140386583rampart-1.6.1.jar
	11/07/2012  14:32         2.285.245 axis24314571673869116798axis2-1.6.1.jar
	11/07/2012  14:13         2.285.245 axis24506103510380709545axis2-1.6.1.jar
	11/07/2012  14:13             9.229 axis24647890395603079538rampart-1.6.1.jar
	11/07/2012  14:39             9.229 axis24690330867633166334rampart-1.6.1.jar
	11/07/2012  14:13         2.285.245 axis24707312552747513185axis2-1.6.1.jar
	11/07/2012  14:32         2.285.245 axis24752902450719382616axis2-1.6.1.jar
	11/07/2012  14:32             9.229 axis2513921642284968659rampart-1.6.1.jar
	11/07/2012  14:32         2.285.245 axis25144058483045372983axis2-1.6.1.jar
	11/07/2012  14:44         2.285.245 axis25476714304412646090axis2-1.6.1.jar
	11/07/2012  14:32         2.285.245 axis25503851350480281698axis2-1.6.1.jar
	11/07/2012  14:13             9.229 axis25519301193443871234rampart-1.6.1.jar
	11/07/2012  13:34         2.285.245 axis25524069298591810328axis2-1.6.1.jar
	11/07/2012  14:13             9.229 axis25627308659529533243rampart-1.6.1.jar
	11/07/2012  14:46         2.285.245 axis2568169813775070191axis2-1.6.1.jar
	11/07/2012  14:13             9.229 axis25726694343012261384rampart-1.6.1.jar
	11/07/2012  14:13         2.285.245 axis25834963843840517915axis2-1.6.1.jar
	11/07/2012  14:32         2.285.245 axis26637531347642113441axis2-1.6.1.jar
	11/07/2012  14:46             9.229 axis26752209726427078226rampart-1.6.1.jar
	11/07/2012  14:46         2.285.245 axis26806424145360728047axis2-1.6.1.jar
	11/07/2012  14:45         2.285.245 axis27145119278349429680axis2-1.6.1.jar
	11/07/2012  14:39         2.285.245 axis2721928032583987680axis2-1.6.1.jar
	11/07/2012  14:39             9.229 axis27291519028719687325rampart-1.6.1.jar
	11/07/2012  14:13         2.285.245 axis27308655973731804611axis2-1.6.1.jar
	11/07/2012  14:46             9.229 axis27445862635933375468rampart-1.6.1.jar
	11/07/2012  14:42         2.285.245 axis27578542695752557570axis2-1.6.1.jar
	11/07/2012  14:46         2.285.245 axis27638278631414098896axis2-1.6.1.jar
	11/07/2012  14:32             9.229 axis27907547743081275382rampart-1.6.1.jar
	11/07/2012  14:13             9.229 axis2791744208349861365rampart-1.6.1.jar
	11/07/2012  14:12         2.285.245 axis2792995400271337688axis2-1.6.1.jar
	11/07/2012  14:46             9.229 axis27993871858773185067rampart-1.6.1.jar
	11/07/2012  14:39         2.285.245 axis28016023195092974008axis2-1.6.1.jar
	11/07/2012  14:46         2.285.245 axis28364359533639293482axis2-1.6.1.jar
	11/07/2012  14:13         2.285.245 axis28448109074789470944axis2-1.6.1.jar
	11/07/2012  14:46         2.285.245 axis2846714489711230357axis2-1.6.1.jar
	11/07/2012  14:32         2.285.245 axis28502070331645871025axis2-1.6.1.jar
	11/07/2012  14:14         2.285.245 axis2852100564070407843axis2-1.6.1.jar
	11/07/2012  14:32             9.229 axis28983640441331724657rampart-1.6.1.jar
	11/07/2012  14:39         2.285.245 axis29071605408256628513axis2-1.6.1.jar
	11/07/2012  14:42             9.229 axis29194904091299873891rampart-1.6.1.jar
	
	thanks
	
	Il 11/07/2012 18:14, Sagara Gunathunga ha scritto:

		Can you provide list file names you found on temporary directory
		during runtime. In Linux tree utility provide nice list of content.
		 
		Thanks !
		 
		On Wed, Jul 11, 2012 at 7:30 PM, Zanelli Franco <fz...@tecnosens.it> <ma...@tecnosens.it>  wrote:

			I'm using axis2 1.6.1 with rampard and I experienced that my application
			creates many temporary files named "axis.....axis2-1.6.1.jar" on folder
			"...\Temp\axis2-tmp-....tmp" . These files are deleted only when I
			restart the application, but my application needs to be always running.
			I checked in the mailing lists for a solution but I didn't find it.
			Is there a way to delete these temporary files without close the
			application and avoid a disk full error?
			 
			thank you
			 
			Zanelli Franco
			 
			---------------------------------------------------------------------
			To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
			For additional commands, e-mail: java-user-help@axis.apache.org
			 

	 

	-- 

	 

	Ing. Franco Zanelli
	Sviluppo Software - Divisione Sistemi Videosorveglianza 
	Software Engineer - Videosecurity System Division 

	TECNOSENS S.P.A.
	Via Vergnano, n.16, 25125 BRESCIA - ITALIA
	Tel: +39 030.3534144 <tel:%2B39%20030.3534144>  Fax: +39 030.3530815 <tel:%2B39%20030.3530815> 
	Email: fzanelli@tecnosens.it
	Web: http://www.tecnosens.it <http://www.tecnosens.it/>  

	 

	
	
	
	-- 
	Sagara Gunathunga
	
	Blog      - http://ssagara.blogspot.com
	Web      - http://people.apache.org/~sagara/ <http://people.apache.org/%7Esagara/> 
	LinkedIn - http://www.linkedin.com/in/ssagara

________________________________

	The content of this e-mail (and any attachment to it) is confidential. Any views or opinions do not represent the views or opinions of Infoshare Ltd. If you have received this e-mail in error please notify the sender and delete it. You may not use, copy or disclose the information in any way. Infoshare Ltd monitors incoming and outgoing e-mails. Please consider the environment. Do you really need to print this email? 



-- 


 

Ing. Franco Zanelli
Sviluppo Software - Divisione Sistemi Videosorveglianza 
Software Engineer - Videosecurity System Division 

TECNOSENS S.P.A.
Via Vergnano, n.16, 25125 BRESCIA - ITALIA
Tel: +39 030.3534144 Fax: +39 030.3530815
Email: fzanelli@tecnosens.it
Web: http://www.tecnosens.it <http://www.tecnosens.it/>  





RE: [Axis2] how to unlock and delete temporary files

Posted by James Annesley <ja...@infoshare-is.com>.
Hi,

 

I have the same problem - I wrote a message to this forum on this subject
earlier this year. Unfortunately the problem is hard to reproduce. I have
found this entry on the web which may help:

 

http://amilachinthaka.blogspot.co.uk/2010/03/axis2-temp-files.html

 

It is fairly serious because we have noticed that Tomcat severely slows down
with time and that deleting these .tmp files restores its speed.

 

James

 

From: Sagara Gunathunga [mailto:sagara.gunathunga@gmail.com] 
Sent: 16 July 2012 09:10
To: java-user@axis.apache.org
Subject: Re: [Axis2] how to unlock and delete temporary files

 

Usually I work on Linux but will try on Windows7 to reproduce this issue,
but I can't provide any exact time line. Most probably if this is
reproducible will fix for 1.7.0 release. 

Thanks !   

On Thu, Jul 12, 2012 at 12:10 PM, Zanelli Franco <fz...@tecnosens.it>
wrote:

I'm working on Windows 7 and this is an example of list file names; they are
locked until the application is running:

12/07/2012  08:34    <DIR>          .
12/07/2012  08:34    <DIR>          ..
11/07/2012  14:44             9.229
axis21416912558469186102rampart-1.6.1.jar
11/07/2012  14:32             9.229
axis21509415437238259318rampart-1.6.1.jar
11/07/2012  14:46             9.229
axis21966863075365099860rampart-1.6.1.jar
11/07/2012  14:14             9.229
axis22303908513742725464rampart-1.6.1.jar
11/07/2012  14:46             9.229
axis22424953883953097823rampart-1.6.1.jar
11/07/2012  14:13         2.285.245 axis22438746523922262446axis2-1.6.1.jar
11/07/2012  14:46             9.229 axis2304716139404310737rampart-1.6.1.jar
11/07/2012  13:34             9.229
axis23280640091967599099rampart-1.6.1.jar
11/07/2012  14:39             9.229
axis23289131501227431942rampart-1.6.1.jar
11/07/2012  14:32             9.229
axis23623477711224233594rampart-1.6.1.jar
11/07/2012  14:45             9.229
axis24064159888117717366rampart-1.6.1.jar
11/07/2012  14:46         2.285.245 axis24138362837334899395axis2-1.6.1.jar
11/07/2012  14:32             9.229
axis24169225200500972588rampart-1.6.1.jar
11/07/2012  14:12             9.229
axis24196920701274949215rampart-1.6.1.jar
11/07/2012  14:13             9.229
axis24312174956140386583rampart-1.6.1.jar
11/07/2012  14:32         2.285.245 axis24314571673869116798axis2-1.6.1.jar
11/07/2012  14:13         2.285.245 axis24506103510380709545axis2-1.6.1.jar
11/07/2012  14:13             9.229
axis24647890395603079538rampart-1.6.1.jar
11/07/2012  14:39             9.229
axis24690330867633166334rampart-1.6.1.jar
11/07/2012  14:13         2.285.245 axis24707312552747513185axis2-1.6.1.jar
11/07/2012  14:32         2.285.245 axis24752902450719382616axis2-1.6.1.jar
11/07/2012  14:32             9.229 axis2513921642284968659rampart-1.6.1.jar
11/07/2012  14:32         2.285.245 axis25144058483045372983axis2-1.6.1.jar
11/07/2012  14:44         2.285.245 axis25476714304412646090axis2-1.6.1.jar
11/07/2012  14:32         2.285.245 axis25503851350480281698axis2-1.6.1.jar
11/07/2012  14:13             9.229
axis25519301193443871234rampart-1.6.1.jar
11/07/2012  13:34         2.285.245 axis25524069298591810328axis2-1.6.1.jar
11/07/2012  14:13             9.229
axis25627308659529533243rampart-1.6.1.jar
11/07/2012  14:46         2.285.245 axis2568169813775070191axis2-1.6.1.jar
11/07/2012  14:13             9.229
axis25726694343012261384rampart-1.6.1.jar
11/07/2012  14:13         2.285.245 axis25834963843840517915axis2-1.6.1.jar
11/07/2012  14:32         2.285.245 axis26637531347642113441axis2-1.6.1.jar
11/07/2012  14:46             9.229
axis26752209726427078226rampart-1.6.1.jar
11/07/2012  14:46         2.285.245 axis26806424145360728047axis2-1.6.1.jar
11/07/2012  14:45         2.285.245 axis27145119278349429680axis2-1.6.1.jar
11/07/2012  14:39         2.285.245 axis2721928032583987680axis2-1.6.1.jar
11/07/2012  14:39             9.229
axis27291519028719687325rampart-1.6.1.jar
11/07/2012  14:13         2.285.245 axis27308655973731804611axis2-1.6.1.jar
11/07/2012  14:46             9.229
axis27445862635933375468rampart-1.6.1.jar
11/07/2012  14:42         2.285.245 axis27578542695752557570axis2-1.6.1.jar
11/07/2012  14:46         2.285.245 axis27638278631414098896axis2-1.6.1.jar
11/07/2012  14:32             9.229
axis27907547743081275382rampart-1.6.1.jar
11/07/2012  14:13             9.229 axis2791744208349861365rampart-1.6.1.jar
11/07/2012  14:12         2.285.245 axis2792995400271337688axis2-1.6.1.jar
11/07/2012  14:46             9.229
axis27993871858773185067rampart-1.6.1.jar
11/07/2012  14:39         2.285.245 axis28016023195092974008axis2-1.6.1.jar
11/07/2012  14:46         2.285.245 axis28364359533639293482axis2-1.6.1.jar
11/07/2012  14:13         2.285.245 axis28448109074789470944axis2-1.6.1.jar
11/07/2012  14:46         2.285.245 axis2846714489711230357axis2-1.6.1.jar
11/07/2012  14:32         2.285.245 axis28502070331645871025axis2-1.6.1.jar
11/07/2012  14:14         2.285.245 axis2852100564070407843axis2-1.6.1.jar
11/07/2012  14:32             9.229
axis28983640441331724657rampart-1.6.1.jar
11/07/2012  14:39         2.285.245 axis29071605408256628513axis2-1.6.1.jar
11/07/2012  14:42             9.229
axis29194904091299873891rampart-1.6.1.jar

thanks

Il 11/07/2012 18:14, Sagara Gunathunga ha scritto:

Can you provide list file names you found on temporary directory
during runtime. In Linux tree utility provide nice list of content.
 
Thanks !
 
On Wed, Jul 11, 2012 at 7:30 PM, Zanelli Franco
<ma...@tecnosens.it> <fz...@tecnosens.it> wrote:

I'm using axis2 1.6.1 with rampard and I experienced that my application
creates many temporary files named "axis.....axis2-1.6.1.jar" on folder
"...\Temp\axis2-tmp-....tmp" . These files are deleted only when I
restart the application, but my application needs to be always running.
I checked in the mailing lists for a solution but I didn't find it.
Is there a way to delete these temporary files without close the
application and avoid a disk full error?
 
thank you
 
Zanelli Franco
 
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
 

 

-- 

Description: cid:part1.04070209.02030009@tecnosens.it

Ing. Franco Zanelli
Sviluppo Software - Divisione Sistemi Videosorveglianza 
Software Engineer - Videosecurity System Division 

TECNOSENS S.P.A.
Via Vergnano, n.16, 25125 BRESCIA - ITALIA
Tel: +39 030.3534144 <tel:%2B39%20030.3534144>  Fax: +39 030.3530815
<tel:%2B39%20030.3530815> 
Email: fzanelli@tecnosens.it
Web:  <http://www.tecnosens.it/> http://www.tecnosens.it 

 




-- 
Sagara Gunathunga

Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
<http://people.apache.org/%7Esagara/> 
LinkedIn - http://www.linkedin.com/in/ssagara


The content of this e-mail (and any attachment to it) is confidential. 
Any views or opinions do not represent the views or opinions 
of Infoshare Ltd.
If you have received this e-mail in error please notify the sender 
and delete it. You may not use, copy or disclose the information 
in any way. 

Infoshare Ltd monitors incoming and outgoing e-mails.

Please consider the environment. Do you really need to print 
this email?

Re: [Axis2] how to unlock and delete temporary files

Posted by Sagara Gunathunga <sa...@gmail.com>.
Usually I work on Linux but will try on Windows7 to reproduce this issue,
but I can't provide any exact time line. Most probably if this is
reproducible will fix for 1.7.0 release.

Thanks !

On Thu, Jul 12, 2012 at 12:10 PM, Zanelli Franco <fz...@tecnosens.it>wrote:

>  I'm working on Windows 7 and this is an example of list file names; they
> are locked until the application is running:
>
> 12/07/2012  08:34    <DIR>          .
> 12/07/2012  08:34    <DIR>          ..
> 11/07/2012  14:44             9.229
> axis21416912558469186102rampart-1.6.1.jar
> 11/07/2012  14:32             9.229
> axis21509415437238259318rampart-1.6.1.jar
> 11/07/2012  14:46             9.229
> axis21966863075365099860rampart-1.6.1.jar
> 11/07/2012  14:14             9.229
> axis22303908513742725464rampart-1.6.1.jar
> 11/07/2012  14:46             9.229
> axis22424953883953097823rampart-1.6.1.jar
> 11/07/2012  14:13         2.285.245 axis22438746523922262446axis2-1.6.1.jar
> 11/07/2012  14:46             9.229
> axis2304716139404310737rampart-1.6.1.jar
> 11/07/2012  13:34             9.229
> axis23280640091967599099rampart-1.6.1.jar
> 11/07/2012  14:39             9.229
> axis23289131501227431942rampart-1.6.1.jar
> 11/07/2012  14:32             9.229
> axis23623477711224233594rampart-1.6.1.jar
> 11/07/2012  14:45             9.229
> axis24064159888117717366rampart-1.6.1.jar
> 11/07/2012  14:46         2.285.245 axis24138362837334899395axis2-1.6.1.jar
> 11/07/2012  14:32             9.229
> axis24169225200500972588rampart-1.6.1.jar
> 11/07/2012  14:12             9.229
> axis24196920701274949215rampart-1.6.1.jar
> 11/07/2012  14:13             9.229
> axis24312174956140386583rampart-1.6.1.jar
> 11/07/2012  14:32         2.285.245 axis24314571673869116798axis2-1.6.1.jar
> 11/07/2012  14:13         2.285.245 axis24506103510380709545axis2-1.6.1.jar
> 11/07/2012  14:13             9.229
> axis24647890395603079538rampart-1.6.1.jar
> 11/07/2012  14:39             9.229
> axis24690330867633166334rampart-1.6.1.jar
> 11/07/2012  14:13         2.285.245 axis24707312552747513185axis2-1.6.1.jar
> 11/07/2012  14:32         2.285.245 axis24752902450719382616axis2-1.6.1.jar
> 11/07/2012  14:32             9.229
> axis2513921642284968659rampart-1.6.1.jar
> 11/07/2012  14:32         2.285.245 axis25144058483045372983axis2-1.6.1.jar
> 11/07/2012  14:44         2.285.245 axis25476714304412646090axis2-1.6.1.jar
> 11/07/2012  14:32         2.285.245 axis25503851350480281698axis2-1.6.1.jar
> 11/07/2012  14:13             9.229
> axis25519301193443871234rampart-1.6.1.jar
> 11/07/2012  13:34         2.285.245 axis25524069298591810328axis2-1.6.1.jar
> 11/07/2012  14:13             9.229
> axis25627308659529533243rampart-1.6.1.jar
> 11/07/2012  14:46         2.285.245 axis2568169813775070191axis2-1.6.1.jar
> 11/07/2012  14:13             9.229
> axis25726694343012261384rampart-1.6.1.jar
> 11/07/2012  14:13         2.285.245 axis25834963843840517915axis2-1.6.1.jar
> 11/07/2012  14:32         2.285.245 axis26637531347642113441axis2-1.6.1.jar
> 11/07/2012  14:46             9.229
> axis26752209726427078226rampart-1.6.1.jar
> 11/07/2012  14:46         2.285.245 axis26806424145360728047axis2-1.6.1.jar
> 11/07/2012  14:45         2.285.245 axis27145119278349429680axis2-1.6.1.jar
> 11/07/2012  14:39         2.285.245 axis2721928032583987680axis2-1.6.1.jar
> 11/07/2012  14:39             9.229
> axis27291519028719687325rampart-1.6.1.jar
> 11/07/2012  14:13         2.285.245 axis27308655973731804611axis2-1.6.1.jar
> 11/07/2012  14:46             9.229
> axis27445862635933375468rampart-1.6.1.jar
> 11/07/2012  14:42         2.285.245 axis27578542695752557570axis2-1.6.1.jar
> 11/07/2012  14:46         2.285.245 axis27638278631414098896axis2-1.6.1.jar
> 11/07/2012  14:32             9.229
> axis27907547743081275382rampart-1.6.1.jar
> 11/07/2012  14:13             9.229
> axis2791744208349861365rampart-1.6.1.jar
> 11/07/2012  14:12         2.285.245 axis2792995400271337688axis2-1.6.1.jar
> 11/07/2012  14:46             9.229
> axis27993871858773185067rampart-1.6.1.jar
> 11/07/2012  14:39         2.285.245 axis28016023195092974008axis2-1.6.1.jar
> 11/07/2012  14:46         2.285.245 axis28364359533639293482axis2-1.6.1.jar
> 11/07/2012  14:13         2.285.245 axis28448109074789470944axis2-1.6.1.jar
> 11/07/2012  14:46         2.285.245 axis2846714489711230357axis2-1.6.1.jar
> 11/07/2012  14:32         2.285.245 axis28502070331645871025axis2-1.6.1.jar
> 11/07/2012  14:14         2.285.245 axis2852100564070407843axis2-1.6.1.jar
> 11/07/2012  14:32             9.229
> axis28983640441331724657rampart-1.6.1.jar
> 11/07/2012  14:39         2.285.245 axis29071605408256628513axis2-1.6.1.jar
> 11/07/2012  14:42             9.229
> axis29194904091299873891rampart-1.6.1.jar
>
> thanks
>
> Il 11/07/2012 18:14, Sagara Gunathunga ha scritto:
>
> Can you provide list file names you found on temporary directory
> during runtime. In Linux tree utility provide nice list of content.
>
> Thanks !
>
> On Wed, Jul 11, 2012 at 7:30 PM, Zanelli Franco <fz...@tecnosens.it> <fz...@tecnosens.it> wrote:
>
>  I'm using axis2 1.6.1 with rampard and I experienced that my application
> creates many temporary files named "axis.....axis2-1.6.1.jar" on folder
> "...\Temp\axis2-tmp-....tmp" . These files are deleted only when I
> restart the application, but my application needs to be always running.
> I checked in the mailing lists for a solution but I didn't find it.
> Is there a way to delete these temporary files without close the
> application and avoid a disk full error?
>
> thank you
>
> Zanelli Franco
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>
>
> --
>
> *Ing. Franco Zanelli*
> Sviluppo Software - Divisione Sistemi Videosorveglianza
> *Software Engineer - Videosecurity System Division*
>
> *TECNO**SENS** **S.P.A.*
> Via Vergnano, n.16, 25125 BRESCIA - ITALIA
> *Tel**:* +39 030.3534144* **Fax**:* +39 030.3530815
> *Email:** **fzanelli@tecnosens.it*
> *Web:** **http://www.tecnosens.it*
>
>
>


-- 
Sagara Gunathunga

Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara

Re: [Axis2] how to unlock and delete temporary files

Posted by Zanelli Franco <fz...@tecnosens.it>.
I'm working on Windows 7 and this is an example of list file names; they are locked until the application is running:

12/07/2012  08:34    <DIR>          .
12/07/2012  08:34    <DIR>          ..
11/07/2012  14:44             9.229 axis21416912558469186102rampart-1.6.1.jar
11/07/2012  14:32             9.229 axis21509415437238259318rampart-1.6.1.jar
11/07/2012  14:46             9.229 axis21966863075365099860rampart-1.6.1.jar
11/07/2012  14:14             9.229 axis22303908513742725464rampart-1.6.1.jar
11/07/2012  14:46             9.229 axis22424953883953097823rampart-1.6.1.jar
11/07/2012  14:13         2.285.245 axis22438746523922262446axis2-1.6.1.jar
11/07/2012  14:46             9.229 axis2304716139404310737rampart-1.6.1.jar
11/07/2012  13:34             9.229 axis23280640091967599099rampart-1.6.1.jar
11/07/2012  14:39             9.229 axis23289131501227431942rampart-1.6.1.jar
11/07/2012  14:32             9.229 axis23623477711224233594rampart-1.6.1.jar
11/07/2012  14:45             9.229 axis24064159888117717366rampart-1.6.1.jar
11/07/2012  14:46         2.285.245 axis24138362837334899395axis2-1.6.1.jar
11/07/2012  14:32             9.229 axis24169225200500972588rampart-1.6.1.jar
11/07/2012  14:12             9.229 axis24196920701274949215rampart-1.6.1.jar
11/07/2012  14:13             9.229 axis24312174956140386583rampart-1.6.1.jar
11/07/2012  14:32         2.285.245 axis24314571673869116798axis2-1.6.1.jar
11/07/2012  14:13         2.285.245 axis24506103510380709545axis2-1.6.1.jar
11/07/2012  14:13             9.229 axis24647890395603079538rampart-1.6.1.jar
11/07/2012  14:39             9.229 axis24690330867633166334rampart-1.6.1.jar
11/07/2012  14:13         2.285.245 axis24707312552747513185axis2-1.6.1.jar
11/07/2012  14:32         2.285.245 axis24752902450719382616axis2-1.6.1.jar
11/07/2012  14:32             9.229 axis2513921642284968659rampart-1.6.1.jar
11/07/2012  14:32         2.285.245 axis25144058483045372983axis2-1.6.1.jar
11/07/2012  14:44         2.285.245 axis25476714304412646090axis2-1.6.1.jar
11/07/2012  14:32         2.285.245 axis25503851350480281698axis2-1.6.1.jar
11/07/2012  14:13             9.229 axis25519301193443871234rampart-1.6.1.jar
11/07/2012  13:34         2.285.245 axis25524069298591810328axis2-1.6.1.jar
11/07/2012  14:13             9.229 axis25627308659529533243rampart-1.6.1.jar
11/07/2012  14:46         2.285.245 axis2568169813775070191axis2-1.6.1.jar
11/07/2012  14:13             9.229 axis25726694343012261384rampart-1.6.1.jar
11/07/2012  14:13         2.285.245 axis25834963843840517915axis2-1.6.1.jar
11/07/2012  14:32         2.285.245 axis26637531347642113441axis2-1.6.1.jar
11/07/2012  14:46             9.229 axis26752209726427078226rampart-1.6.1.jar
11/07/2012  14:46         2.285.245 axis26806424145360728047axis2-1.6.1.jar
11/07/2012  14:45         2.285.245 axis27145119278349429680axis2-1.6.1.jar
11/07/2012  14:39         2.285.245 axis2721928032583987680axis2-1.6.1.jar
11/07/2012  14:39             9.229 axis27291519028719687325rampart-1.6.1.jar
11/07/2012  14:13         2.285.245 axis27308655973731804611axis2-1.6.1.jar
11/07/2012  14:46             9.229 axis27445862635933375468rampart-1.6.1.jar
11/07/2012  14:42         2.285.245 axis27578542695752557570axis2-1.6.1.jar
11/07/2012  14:46         2.285.245 axis27638278631414098896axis2-1.6.1.jar
11/07/2012  14:32             9.229 axis27907547743081275382rampart-1.6.1.jar
11/07/2012  14:13             9.229 axis2791744208349861365rampart-1.6.1.jar
11/07/2012  14:12         2.285.245 axis2792995400271337688axis2-1.6.1.jar
11/07/2012  14:46             9.229 axis27993871858773185067rampart-1.6.1.jar
11/07/2012  14:39         2.285.245 axis28016023195092974008axis2-1.6.1.jar
11/07/2012  14:46         2.285.245 axis28364359533639293482axis2-1.6.1.jar
11/07/2012  14:13         2.285.245 axis28448109074789470944axis2-1.6.1.jar
11/07/2012  14:46         2.285.245 axis2846714489711230357axis2-1.6.1.jar
11/07/2012  14:32         2.285.245 axis28502070331645871025axis2-1.6.1.jar
11/07/2012  14:14         2.285.245 axis2852100564070407843axis2-1.6.1.jar
11/07/2012  14:32             9.229 axis28983640441331724657rampart-1.6.1.jar
11/07/2012  14:39         2.285.245 axis29071605408256628513axis2-1.6.1.jar
11/07/2012  14:42             9.229 axis29194904091299873891rampart-1.6.1.jar

thanks

Il 11/07/2012 18:14, Sagara Gunathunga ha scritto:


	Can you provide list file names you found on temporary directory
	during runtime. In Linux tree utility provide nice list of content.
	
	Thanks !
	
	On Wed, Jul 11, 2012 at 7:30 PM, Zanelli Franco <fz...@tecnosens.it> <ma...@tecnosens.it>  wrote:

		I'm using axis2 1.6.1 with rampard and I experienced that my application
		creates many temporary files named "axis.....axis2-1.6.1.jar" on folder
		"...\Temp\axis2-tmp-....tmp" . These files are deleted only when I
		restart the application, but my application needs to be always running.
		I checked in the mailing lists for a solution but I didn't find it.
		Is there a way to delete these temporary files without close the
		application and avoid a disk full error?
		
		thank you
		
		Zanelli Franco
		
		---------------------------------------------------------------------
		To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
		For additional commands, e-mail: java-user-help@axis.apache.org
		

	
	
	



-- 


 

Ing. Franco Zanelli
Sviluppo Software - Divisione Sistemi Videosorveglianza 
Software Engineer - Videosecurity System Division 

TECNOSENS S.P.A.
Via Vergnano, n.16, 25125 BRESCIA - ITALIA
Tel: +39 030.3534144 Fax: +39 030.3530815
Email: fzanelli@tecnosens.it
Web: http://www.tecnosens.it <http://www.tecnosens.it/>  





Re: [Axis2] how to unlock and delete temporary files

Posted by Sagara Gunathunga <sa...@gmail.com>.
Can you provide list file names you found on temporary directory
during runtime. In Linux tree utility provide nice list of content.

Thanks !

On Wed, Jul 11, 2012 at 7:30 PM, Zanelli Franco <fz...@tecnosens.it> wrote:
> I'm using axis2 1.6.1 with rampard and I experienced that my application
> creates many temporary files named "axis.....axis2-1.6.1.jar" on folder
> "...\Temp\axis2-tmp-....tmp" . These files are deleted only when I
> restart the application, but my application needs to be always running.
> I checked in the mailing lists for a solution but I didn't find it.
> Is there a way to delete these temporary files without close the
> application and avoid a disk full error?
>
> thank you
>
> Zanelli Franco
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>



-- 
Sagara Gunathunga

Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


[Axis2] how to unlock and delete temporary files

Posted by Zanelli Franco <fz...@tecnosens.it>.
Anybody knows how to solve this problem? I can provide you more details 
if you need.

Thank you

Il 11/07/2012 16:00, Zanelli Franco ha scritto:
> I'm using axis2 1.6.1 with rampard and I experienced that my application
> creates many temporary files named "axis.....axis2-1.6.1.jar" on folder
> "...\Temp\axis2-tmp-....tmp" . These files are deleted only when I
> restart the application, but my application needs to be always running.
> I checked in the mailing lists for a solution but I didn't find it.
> Is there a way to delete these temporary files without close the
> application and avoid a disk full error?
>
> thank you
>
> Zanelli Franco
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org