cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to change a work directory?

Former Member
0 Kudos

Hi all,

I am analzying the Java dump stack trace file.

The stack dump is written to the std_<component name>.out file located in the /usr/sap/<SID>/<inst_name>/work directory.

Is it possible to change this path of this work directory?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

I am really unable to understand, why you want to change the work directory? If the reason, because of filesize, then try to schedule some job which will clean the old log files etc.

I guess, you are working on UNIX servers, so create a symbolic link of work directory as follows.

[before doing this, stop SAP and move work directory to a new location]

under <sid>/

ln -s <new location> work

but I don;t recommend you to change the default directory structure.

hope this info helps you,

with regards,

Rajesh

Answers (4)

Answers (4)

Former Member
0 Kudos

Dear all,

Thanks for your suggestions. As vamsi mentioned how can i change the std<comp>.out file location path alone in admin tools.

Thanks

Raj

Former Member
0 Kudos

Hai,

Check the below link.....

http://help.sap.com/saphelp_nw04/helpdata/EN/ef/8cd7f51dfead42ab90537886104269/frameset.htm

Usually there is no need to change the default settings. If you need to change logging settings you should contact the SAP support first. For example it is strongly recommended not to change the location of log files.

Regards,

Yoganand.V

Former Member
0 Kudos

Hi,

If I understood your question that you want to change the path for the file std_<component name>.out

If this is the question then :

Rather changing the complete work folder you can change the path as per your needs for the java log fils and trace file use the visual admin to congifure the log and trace destinations .

Regards,

Vamshi.

former_member603052
Contributor
0 Kudos

Hi Gopal,

As per my knowledge,there is no chance to change the work directory.

Regards,

Kalyan

Former Member
0 Kudos

As far as i know, there is no option to change this, although this is depending on the version of your Java VM (could be SUN, IBM or SAP).

There is an option for full heap dumps, but it doesn't affect the stack traces: -XX:HeapDumpPath

But the stack traces are not very large, so if possible just leave it like it is.

Best regards, Michael