on 03-13-2007 10:48 AM
hi,
I have created a Web application using Webdynpro.
It uses models and RFCs to enter/fetch values into the R/3 tables.
<b>The problem i am facing is that, due to some settings, around 15GB of Temporary files and log files are getting created on the server harddisk.</b>
I think the server is creating Backup files of the tables, but is creating a new backup of the entire table;everytime a new row gets added to it
The server has ECC6.0 on it.
Is there a way to change the settings at the Server end or at the NWDS end, so that so much junk data doesnt get created??
Message was edited by:
Hanoz Tarapore
hi hanoz,
File file = new File("temp.txt");
String server_path = file.getAbsolutePath();
use the above code, it will get you the absolute path. This path can be modified according your need(using substring() and concat() functions) so as to reach to the particular folder.
regards,
abhijeet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ,
if you know the extension of the files created (ofcourse they must be of some common source) then use following code
File fl = new File(file_path);
File fl_d;
String str_file[] = fl.list();
for(int i = 0; i<str_file.length;i++)
{
if((file_path"
"str_file<i>).substring((file_path"
"str_file<i>).lastIndexOf(".")1,(file_path"
"+str_file<i>).length()).equalsIgnoreCase("xml"))
{ fl_d = new File(file_path"
"str_file<i>);
fl_d.delete();
}
}
here you should know the path of the folder where the files are getting created.
get that path in variable 'file_path' and follow the code.
hope it helps.
regards,
Abhijeet
Message was edited by:
abhijeet mukkawar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.