Originally posted by: repanzer
Sorry, in confused the slashes in my post. Yes, both machines are windows machines. Whether I connect the fileserver as a network drive or not does not make a difference. I can execute the map on the server on which it is deployed under launcher. I can launch it there also, but then it doesn't find the file it should read.
Well, I'm on Unix now, but my last enviroment was Windows and I had built a communcation system which used to sweep folders on other Windows boxes on the intranet.
We would either use a mapped network drive on the box;
X:\folder\input\inputfile.txt
or we'd reference the server by the univeral path name; (or what ever it's called)
\\servername\folder\input\inputfile.txt
The first thought was whether the username launcher is running under had access. I've hit that issue before. I believe you set up the username under "services".
But actually; when you log in an "double click" it, you have to log onto that box somehow, yeah? And the ID you log in with may carry over when you double click the map, which may not be the same as the ID launcher is running under, unless you log in under the same username?
Overall, if the input in the input card to the map is the same exact string in the input card for system file (msl), and the map will grab it when you run it, it should work fine with launcher running it. That's why my thinking is revolving around access and that being your problem. At this point, I would look at the audit log for both, the map when you run in manually and when you run it under launcher, then ensure that the input is the same. After that, I would check the log files under the WTX install\logs directory, which should show you exactly the file the msl is pointing too (below).
While I don't believe it's the problem, when accessing the folder using the universal method;
\\servername\folder\input\inputfile.txt
The folder may look like that, but if you were logged onto the file server you're getting the file from, it may look different, something like;
c:\program files\someotherfolder\folder\input\inputfile.txt.
And it's not gettig resolved correctly at run time.
WTX log file I would check;
-
WebSphere Transformation Extender Launcher for HP-UX(TM)
Version: 8.1(114)
Copyright (c) 2006 IBM Corporation. All rights reserved.
Started: Tue Nov 17 00:25:57 2009
Computer: nj008hps
Logging: Configuration, Start Up, Errors, Warnings
Note: This file views correctly under fixed font editors.
==============================================================================
Time: Tue Nov 17 00:25:57 2009
Watch: 1
MSL File: /opt/DataStageTX/Ascential/Communication/System/FTPTraceRead.msl
System: FTPTraceRead
Component: FTPTrace
Map: /opt/DataStageTX/Ascential/Communication/Maps/FTPTrace.mmc
Priority: Normal
Map Delay: 2000 ms.
Pending Exp.: <none>
Retries: <none>
Paging: 8 X 64K
Trace: <none>
Validation: Ignore: <none>
Stop On First Error: Yes
Work Area: Default - Delete -
Max Instances: 0
Init High: 0
Init Low: 0
Time Trigger: <none>
Input 1 (T): File: /opt/DataStageTX/Ascential/Communication/FTPTrace/*.*
Rollback: Yes, Delete: Yes, Reuse Work File: No
Retries: <none>
#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender#DataExchange