Author |
Message
|
yaakovd |
Posted: Wed Jan 25, 2012 5:42 am Post subject: urgent: MQSI_FILENODES_ROOT_DIRECTORY |
|
|
Partisan
Joined: 20 Jan 2003 Posts: 319 Location: Israel
|
We working in WMB 7.0.0.2 in WIN.
'MQSI_FILENODES_ROOT_DIRECTORY' environment variable set to
\\myserver\public
when Input Directory in FIle Input node set to \delivery it reads files
from \\myserver\public\delivery folder.
same working with \test etc....
Now I need to read files directly from root (\\myserver\public). I changed
Input Directory to '.'
and it doesn't works
any idea?  _________________ Best regards.
Yaakov
SWG, IBM Commerce, Israel |
|
Back to top |
|
 |
Esa |
Posted: Wed Jan 25, 2012 5:52 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Jan 25, 2012 5:56 am Post subject: Re: urgent: MQSI_FILENODES_ROOT_DIRECTORY |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
yaakovd wrote: |
We working in WMB 7.0.0.2 in WIN.
'MQSI_FILENODES_ROOT_DIRECTORY' environment variable set to
\\myserver\public
when Input Directory in FIle Input node set to \delivery it reads files
from \\myserver\public\delivery folder.
same working with \test etc....
Now I need to read files directly from root (\\myserver\public). I changed
Input Directory to '.'
and it doesn't works
any idea?  |
What does your user trace reveal? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
zpat |
Posted: Wed Jan 25, 2012 6:11 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Leave out the leading slash in the file node property. It is added automatically, that's how WMB knows when to use this environment variable and when not to.
Read the documentation. |
|
Back to top |
|
 |
yaakovd |
Posted: Wed Jan 25, 2012 6:28 am Post subject: |
|
|
Partisan
Joined: 20 Jan 2003 Posts: 319 Location: Israel
|
zpat wrote: |
Leave out the leading slash in the file node property. It is added automatically, that's how WMB knows when to use this environment variable and when not to.
Read the documentation. |
tried: "\." - doesn't read
with "\" or "" - deploy failed
now I have "." only - doesn't read _________________ Best regards.
Yaakov
SWG, IBM Commerce, Israel |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Jan 25, 2012 6:50 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Jan 25, 2012 6:56 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
lancelotlinc wrote: |
User trace? |
Your pleas seem to be falling on deaf ears these past few days.
As an aside, I wonder if using usertrace is still taught in the classes?
Everyone seems to be ignoring this facility in favour of the debugger.
Granted that there are some here that don't care for these new fangled things called debuggers. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
yaakovd |
Posted: Thu Jan 26, 2012 4:35 am Post subject: |
|
|
Partisan
Joined: 20 Jan 2003 Posts: 319 Location: Israel
|
FileInput node throwing error in event viewer:
unable to process file in input directory "\\myserver\public\."
The interesting thing that File Get node working fine with same definitions... _________________ Best regards.
Yaakov
SWG, IBM Commerce, Israel |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jan 26, 2012 5:38 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
yaakovd wrote: |
FileInput node throwing error in event viewer: |
When did the event viewer turn into the user trace? Was that a change in WMBv7.0.0.4...?  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Jan 26, 2012 5:47 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Vitor wrote: |
yaakovd wrote: |
FileInput node throwing error in event viewer:
Best regards.
Yaakov
Global Business Services, IBM Israel
|
When did the event viewer turn into the user trace? Was that a change in WMBv7.0.0.4...?
|
Yaakov - if you would kindly take a user trace we could offer you more insight. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
yaakovd |
Posted: Fri Jan 27, 2012 2:44 am Post subject: |
|
|
Partisan
Joined: 20 Jan 2003 Posts: 319 Location: Israel
|
Vitor wrote: |
When did the event viewer turn into the user trace? |
it happen after deploy - then message flow trying to open listener to directory.
Regarding usertrace... not clear to me how usertrace will show anything when flow was not initiated - file wasn't taken from folder. My understanding that usertrace shows what happen - in my case NOTHING happen in the flow.
just remind - fileget node working fine in same flow with same definitions...
of course I can do some workarround - such use "\\myserver" in environment and "\public" as input directory... but still wondering why it is not working as designed and described. _________________ Best regards.
Yaakov
SWG, IBM Commerce, Israel |
|
Back to top |
|
 |
kimbert |
Posted: Fri Jan 27, 2012 3:38 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
Regarding usertrace... not clear to me how usertrace will show anything when flow was not initiated - file wasn't taken from folder. My understanding that usertrace shows what happen - in my case NOTHING happen in the flow. |
You're making a big assumption there, and it's not true. User trace is not *only* for debugging message flow logic. It contains information logged by input nodes, and by other components in the product. Why not try it? |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Jan 27, 2012 4:29 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
kimbert wrote: |
Quote: |
Regarding usertrace... not clear to me how usertrace will show anything when flow was not initiated - file wasn't taken from folder. My understanding that usertrace shows what happen - in my case NOTHING happen in the flow. |
You're making a big assumption there, and it's not true. User trace is not *only* for debugging message flow logic. It contains information logged by input nodes, and by other components in the product. Why not try it? |
Among other things, it's good practice for the next step, which is running *service* trace and then opening a PMR. |
|
Back to top |
|
 |
yaakovd |
Posted: Fri Jan 27, 2012 4:30 am Post subject: |
|
|
Partisan
Joined: 20 Jan 2003 Posts: 319 Location: Israel
|
Oh! thanks for correction...
of course I'll try it as soon as I'll get access to client environment. hope within 2-3 days.
thank a lot! _________________ Best regards.
Yaakov
SWG, IBM Commerce, Israel |
|
Back to top |
|
 |
yaakovd |
Posted: Fri Jan 27, 2012 4:37 am Post subject: |
|
|
Partisan
Joined: 20 Jan 2003 Posts: 319 Location: Israel
|
BTW, what is correct setting for MQSI_FILENODES_ROOT_DIRECTORY environment variable:
"\\myserver\public" or "\\myserver\public\"?
or it should be the same? _________________ Best regards.
Yaakov
SWG, IBM Commerce, Israel |
|
Back to top |
|
 |
|