Author |
Message
|
vijayakumar |
Posted: Wed Sep 29, 2010 9:50 am Post subject: File path |
|
|
Centurion
Joined: 01 Aug 2010 Posts: 101
|
I created a msgflow which is having trace node in it . I just mentioned the FilePath as Actbase.log and deployed the flow in unix environment . I didnt mentioned any full path .
May i know where it will be created and available by default .
And my general question is where the files will be created by default if we did nt mentioned the full path .
Please help me on this . |
|
Back to top |
|
 |
Vitor |
Posted: Wed Sep 29, 2010 10:16 am Post subject: Re: File path |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
vijayakumar wrote: |
May i know where it will be created and available by default . |
Same as for any other Unix app that doesn't mention a path.
vijayakumar wrote: |
And my general question is where the files will be created by default if we did nt mentioned the full path . |
This general question is the same as your specific question.
Why specify a file path anyway? Why use a file trace?
(The wrong answer is, "because I wish to log broker activities for audit purposes") _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Wed Sep 29, 2010 11:13 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
And if the worst comes to the worst, how about using the "find" command to help find the file - you already know its name! |
|
Back to top |
|
 |
Gaya3 |
Posted: Wed Sep 29, 2010 11:19 am Post subject: Re: File path |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
vijayakumar wrote: |
I created a msgflow which is having trace node in it . I just mentioned the FilePath as Actbase.log and deployed the flow in unix environment . I didnt mentioned any full path .
May i know where it will be created and available by default .
And my general question is where the files will be created by default if we did nt mentioned the full path .
Please help me on this . |
it looks like an interview question......why cant you try it and see whats happening.. _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
vijayakumar |
Posted: Wed Sep 29, 2010 11:20 pm Post subject: |
|
|
Centurion
Joined: 01 Aug 2010 Posts: 101
|
i checked and i didn t find the file created .
Can anyone please suggest whether the file will create ? . If so ,where it will be available . |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Sep 30, 2010 1:39 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
How did you check?
If the trace node is configured to use a File trace, and the pattern that is given produces data, then the file will get written.
But it won't exist until there is some data sent through it. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 30, 2010 6:06 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
vijayakumar wrote: |
i checked and i didn t find the file created .
Can anyone please suggest whether the file will create ? . If so ,where it will be available . |
Are you sure that the service user has rights to create/modify a file in the location you specified?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|