Temporary Files? / Debugging Application?

:_|
Hy there,
a few days ago one of our productmanagers came to me and described me a production problem they have with one bought application on our terminalservers. I traced the problem with filemon and regmon and it showed that the app wants to write a temporary file under c:\program files\appname. I dont want this because there are many customers on our terminal server farm and they dont have to write anything under c:\. The company which programmed the application told me that this is impossible. They dont write temporary files. Indeed these files are created only under very special conditions but once you found a condition, you can reproduce it.
So if they dont write that file (I dont believe them) - who writes it then? After the creation of the file (which gives an access denied), the application looks after a file called libwsc_cat - but its not there. So the error messages in the eventlog look like "unknown error number xxxx".
I tried to copy a libwsc_cat from the actual tuxedo distribution but this wont work.
Now my questions:
Where do I get a matching libwsc_cat file? Where do I have to check out to find which version of tuxedo we have with that application? Could it be that tuxedo itself writes temporary files (called w01178000.000 or something like that)? How can I trace the application?
Greetings and thanx in advance
Roger

Roger,
I'm pretty sure that these are files that Tuxedo creates to pass information between processes on the same machine. According to the documentation Tuxedo decides to use these when the IPC queues can't be used due to message size. (Experiance shows that every now and then Tuxedo starts to use this mechanism for no apparent reason - and stops using it for no apparent reason as well ) Documentation is sketchy on this subject.
However what little there is points to the following environemnt variables being of importance:
TMPDIR - The pathname of a directory in which temporary files may be written. Temporary files may also be written to a location specific to an operating system, as specified with the tmpnam() function, which is called by the BEA Tuxedo MIB and other BEA Tuxedo code. When a call is made to tmpnam(), the BEA Tuxedo system ignores the TMPDIR variable.
Under Windows tmpnam() looks for an environment variable called TMP to decide where the files go.
So - I'd try setting these two variables and seeing if they changed the location of the temp files.
Regards Jackson:-)

Similar Messages

  • ESO application creates a large number of temporary file

    Hello,
    To summarize, when users run large queries, use attachments, of generate PDFs, etc, temporary files are created in /sourcing/tmp folder. Files older than 24 hours are cleared from this folder when logs roll over.
    Our /sourcing filesystem is not sized to handle this u2018featureu2019 and I want to look for options. I am not keen on having the application filesystem /sourcing have a large quantity of temporary files going through it. The option that I can think of to get around it is to create a new filesystem or reuse an existing one and softlink /sourcing/tmp to it. Weu2019ll have to do this for each application server.
    Does anybody have any suggestions as to how to avoid this problem?
    Does anybody have any sizing inputs for sizing /sourcing/tmp.
    Thanks,
    Dnyandev

    All,
    The number of .blob and .bin files that get generated are large when u run volume testing. SAP has indentified it as a bug in the problem.
    Does anybody have any solution.
    We are currently using SAP ESourcing CLM 5.1
    Thanks,
    Dnyandev Kondekar

  • Windows 7 - annoying can't create temporary file popup

    Hallo,
    sorry for my weird question - but after upgrading to Windows 7 (new computer) I'm still bothered by this error message (see picture) - even though I have (checked several times) the rights on the folder set correctly (ownership by my account, full access). Have anyone some hints? This popup is very annoying. Thank you,
    George
    Attachments:
    CVI Error.png ‏8 KB

    DocRabbit wrote:
    Hi,
    Unfortunately I have no success with beating this - even when building an application from scratch (also in different location). To be honest, I'm not expert on W7, english is not my mother tongue and the documentation is due the translation of terminology hard to understand. The hint to edit "user rights assignment" does not give me any guidance how to check/edit, because the I don't know what is the root process, which need to write the temporary file (any other files are successfully written).
    But I can't agree that this is not a problem CVI, because popup window (having the meaning to inform user of some internal IDE problem) blocks the run of developed application.
    Cheers,
    George
    I forgot to add this: in the referenced directory (see attachement above - "...\cvibuild.Terno") CVI IDE stores other files - like build.ini, dependencies.bri - and also creates additional subdirectories debug, release. I think that the error message displays invalid information ... and I'm digging in the wrong grave ...

  • Read Tab delimited File from Application server

    Hi Experts,
    I am facing problem while reading file from Application server.
    File in Application server is stored as follows, The below file is a tab delimited file.
    ##K#U#N#N#R###T#I#T#L#E###N#A#M#E#1###N#A#M#E#2###N#A#M#E#3###N#A#M#E#4###S#O#R#T#1###S#O#R#T#2###N#A#M#E#_#C#O###S#T#R#_#S#U#P#P#L#1###S#T#R#_#S#U#P#P#L#2###S#T#R#E#E#T###H#O#U#S#E#_#N#U#M#1
    i have downloaded this file from Application server using Transaction CG3Y. the Downloaded file is a tab delimited file and i could not see "#' in the file,
    The code is as Below.
    c_split  TYPE abap_char1 VALUE cl_abap_char_utilities=>horizontal_tab.
    here i am using IGNORING CONVERSION ERRORS in order to avoid Conversion Error Short Dump.
    OPEN DATASET wa_filename-file FOR INPUT IN TEXT MODE ENCODING DEFAULT IGNORING CONVERSION ERRORS.
          IF sy-subrc = 0.
            WRITE : /,'...Processing file - ', wa_filename-file.   
           DO.
          Read the contents of file
              READ DATASET wa_filename-file INTO wa_file-data.
              IF sy-subrc = 0.
                SPLIT wa_file-data AT c_split INTO wa_adrc_2-kunnr
                                                   wa_adrc_2-title
                                                   wa_adrc_2-name1
                                                   wa_adrc_2-name2
                                                   wa_adrc_2-name3
                                                   wa_adrc_2-name4
                                                   wa_adrc_2-name_co
                                                   wa_adrc_2-city1
                                                   wa_adrc_2-city2
                                                   wa_adrc_2-regiogroup
                                                   wa_adrc_2-post_code1
                                                   wa_adrc_2-post_code2
                                                   wa_adrc_2-po_box
                                                   wa_adrc_2-po_box_loc
                                                   wa_adrc_2-transpzone
                                                   wa_adrc_2-street
                                                   wa_adrc_2-house_num1
                                                   wa_adrc_2-house_num2
                                                   wa_adrc_2-str_suppl1
                                                   wa_adrc_2-str_suppl2
                                                   wa_adrc_2-country
                                                   wa_adrc_2-langu
                                                   wa_adrc_2-region
                                                   wa_adrc_2-sort1
                                                   wa_adrc_2-sort2
                                                   wa_adrc_2-deflt_comm
                                                   wa_adrc_2-tel_number
                                                   wa_adrc_2-tel_extens
                                                   wa_adrc_2-fax_number
                                                   wa_adrc_2-fax_extens
                                                   wa_adrc_2-taxjurcode.
    WA_FILE-DATA is having below values
    ##K#U#N#N#R###T#I#T#L#E###N#A#M#E#1###N#A#M#E#2###N#A#M#E#3###N#A#M#E#4###S#O#R#T#1###S#O#R#T#2###N#A#M#E#_#C#O###S#T#R#_#S#U#P#P#L#1###S#T#R#_#S#U#P#P#L#2###S#T#R#E#E#T###H#O#U#S#E#_#N#U#M#1
    And this is split by tab delimited and moved to other variables as shown above.
    Please guide me how to read the contents without "#' from the file.
    I have tried all possible ways and unable to get solution.
    Thanks,
    Shrikanth

    Hi ,
    In ECC 6 if all the unicode patches are applied then UTF 16 will defintly work..
    More over i would suggest you to ist replace # with some other  * or , and then try to see in debugging if any further  # appears..
    and no # appears then try to split now.
    if even now the # appears after replace statement then try to find out what exactly is it... wheather it is a horizantal tab etc....
    and then again try to replace it and then split..
    Please follow the process untill all the # are replaced...
    This should work for you..
    Let me know if you further face any issue...
    Regards
    Satish Boguda

  • 'Use Temporary File' in Receiver File channel

    hi all,
    I am facing a strange issue with receiver file channel which I am not sure if somene had already faced. I couldnt find any help from blogs..!
    I have configured the Receiver File channel with Write mode as  'Use Temporary File'  with a temporary file name(say tmp.xml)  scheme and Empty-Message Handling set to 'Write Empty File'
    When the scenario is executed, its so happening that the temporary file of 0 bytes(empty file) is being created as tmp<msgID>.xml before the actual file is being completely written. It is expected that once the Actual file is completely written, the tmp file should be deleted, but here is not the case.Thus causing both the files being present in the target location. This is not happening often though.
    As the receiving application is processing all files from the target direcotry, the file is getting errored out in the target application.
    I think the 'Write Empty File' has nothing to do with this as the option 'Write Empty File' is for empty payloads resulting from the message mapping.
    Please correct me if am wrong and also provide me the inputs on my issue. Am on PI7.0
    thanks in advance,

    Hi Tilak,
    this is real time interface
    real time by using a file... that's a non-sens according to me. You should use a non physical solution (web service, JMS, JDBC, etc...) but a not a file. well... Anyway, you can image that the receiver application schedule the folder every 30s or every 1min, that's almost a real time. Real time is mainly a conceptual view (only synchronous exchange needs really real time). Morevoer, if you really wanted a real time, you should not add a tool like PI (or other) between your source and your target system, the more we have systems, the less it's efficient (in term of delay and response time!).
    Even if we propose that the receiver application should have a condition to its script to avoid picking the tmp*.xml files, after a period of time there would be a chance that the *tmp files may increase in number..
    No ! coz if my theory is good, if your receiver application does not pick-up tmp.xml, that means this file is not currently treated and so PI is authorized to delete it. So no increase of tmp.xml files in this folder.
    Another solution: to create the target file without option "temporary", but to create it in another folder than this one scheduled by your receiver application, and use an OS command AFTER processing, in your receiver CC, which move the created file from the "temp" folder to the target folder.
    [http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature]
    regards.
    Mickael

  • Cannot install PhotoShop CC "Error writing to temporary file location", how do I fix this?

         I am working on a Mac OS X Server, version 10.6.8
         I use my Adobe applications - Indesign, PhotoShop, Illustrator, and a couple of others - primarily for school work (graphic design). I download the applications from my Adobe Application Manager, but they recently stopped working. I didn't know if this was due to recent updates or the fact that I had just changed out my hard drive when the original one failed. I uninstalled the applications, and am trying to re-install them, but am receiving the error message, "Error writing to temporary file location".
         Does anyone know how to fix this? Is it just because I'm running 10.6.8? If so, can I make my applications work without getting a whole new computer?

    Please refer PS system requirements from this link:
    http://helpx.adobe.com/photoshop/system-requirements.html#Photoshop CC system requirements/
    Regards,
    Ashutosh

  • Use temporary file in FTP receiver adapter

    Hi guys,
    I'm not getting the purpose of "use temporary file" in FTP receiver adapter. Can you describe any situation, where this should be used?
    What is the location of this temporary file?
    Is it deleted after "normal" file is created?
    Thanks a lot,
    Olian

    > I'm not getting the purpose of "use temporary file" in FTP receiver adapter. Can you describe any situation, where this should be used?
    Some times when you create the file on your target dir then if there is another application looking for same file is quite faster to pick the file before it is complety written on target dir then in this situation using temporary file option is very helpful. What it does, it simply creates the file first by using temporary name once all bytes or bits has been transfered then it creates the original name and the temp file get deleted.
    > What is the location of this temporary file?
    Same location, where your original file is suppose to be written.
    > Is it deleted after "normal" file is created?
    Yes.
    Regards,
    Sarvesh

  • Import failure and temporary files

    Hi, I'm trying to import my photos from my iPhone into Aperture using the Import function. During the import process, it creates a temporary file, like "..importing.IMG1721.JPG" onto my photo folder, and then continues to say "Importing" indefinitely, so I need to do a force quit on the application. So now two problems:
    1) how can I remove these temporary files Aperture has created? When I do a Get Info on them, the permissons say Unknown Access. I can't drag them to Trash or rename these files either?
    2) is the iPhone importing a known bug? Note my setup is as follows:
    - my files in Aperture are referenced instead of managed
    - my photo files are stored on an external drive connected thru my Airport Extreme
    - I have no problem importing photos from an SD card to my external drive using Aperture's Import
    - as a workaround, I can tell Aperture to import the photos from the iPhone to a local folder, then manually copy the files from the local folder to my external drive and then do a "reconnect all" in Aperture, though this process is time-consuming and something I want to avoid.
    Any help is much appreciated.
    Thanks,
    Tim

    The m4v can be converted using Compressor. The Unix file is more of a problem. See if you can fnd something that opens it. Try the QT player first. If not you'll need to get it in a proper video format.
    Can't tell you what to convert it to without knowing complete and exact specifications of the media.

  • NetUI file upload creates temporary files without cleanup

    When using the NetUI File Upload in my web application, I notice that it
    stores temporary files in the server config directory. The file names
    are netxxxxx.tmp and they are never deleted on server startup/shutdown,
    etc. I am uploading large files (about 500k) so these temporary files
    start to take up space very quickly and I have to manually delete them.
    Is there a way to disable this or what? I suppose I could edit a
    startup/shutdown script to delete them, but I'd rather not have to
    change the provided software.
    Thanks

    Bumping this up... any BEA reps read this NG?
    Steven Ostrowski wrote:
    When using the NetUI File Upload in my web application, I notice that it
    stores temporary files in the server config directory. The file names
    are netxxxxx.tmp and they are never deleted on server startup/shutdown,
    etc. I am uploading large files (about 500k) so these temporary files
    start to take up space very quickly and I have to manually delete them.
    Is there a way to disable this or what? I suppose I could edit a
    startup/shutdown script to delete them, but I'd rather not have to
    change the provided software.
    Thanks

  • Temporary files and buffersize limit question

    Hello,
    I have two questions :
    1. Buffer limit
    Is there a limit for the buffer to return to a client. I have
    a conversational service routine. If I want to return 50 record ( i.e. view structures
    ) my service routine hangs. If I do 10 records than it is ok. Is there a limit
    size to return. Is there a parameter in UBBconfig to fix this.
    2. Temporary files on conversational client / services
    My service routine creates temporary files in the /tmp directory. Unfortunately
    the mode for /tmp has 't'bit on so users can not delete files from other users.
    The problem is I have a lot of temporary files in /tmp. Does anyone know how to
    fix this or where can you specify not to use temp files or where can you specify
    the directory to create tempfile. de name of files are /tmp/TUXxxxxxx where xxxxxx
    is a random serie of characters.
    Thanks a lot
    Johan den Boer
    email : [email protected]
    [email protected]

    Buffers that are larger than 3/4 of MSGMNB are sent through a file. The name is
    generated with tmpnam(), so you should be able to specify a different directory by
    setting TMPDIR in the environment.
    The preferred solution is to not use file transfer, by setting your IPC parameters
    high enough to pass all of your application messages.
    If your service routine hangs, you should look at a possible application problem.
    How are you packing the VIEWs into a buffer? Are you using embedded FML with
    FLD_VIEW32 fields? That would be the best way.
    Remember that VIEWs are binary structures that are unique to a particular machine
    type. If you pack Views together into your own buffer format, and try to use them
    on a different machine type, then they won't work properly.
         Scott Orshan
    Johan den Boer wrote:
    Hello,
    I have two questions :
    1. Buffer limit
    Is there a limit for the buffer to return to a client. I have
    a conversational service routine. If I want to return 50 record ( i.e. view structures
    ) my service routine hangs. If I do 10 records than it is ok. Is there a limit
    size to return. Is there a parameter in UBBconfig to fix this.
    2. Temporary files on conversational client / services
    My service routine creates temporary files in the /tmp directory. Unfortunately
    the mode for /tmp has 't'bit on so users can not delete files from other users.
    The problem is I have a lot of temporary files in /tmp. Does anyone know how to
    fix this or where can you specify not to use temp files or where can you specify
    the directory to create tempfile. de name of files are /tmp/TUXxxxxxx where xxxxxx
    is a random serie of characters.
    Thanks a lot
    Johan den Boer
    email : [email protected]
    [email protected]

  • What are the temporary files created by Tuxedo 8.1 in /tmp

    Hello there,
    I've noticed that Tuxedo is storing files into /tmp/tx000XCi002W08 !!??
    Does anybody know when and why tuxedo is doing this ?
    By the way is it possible to move the location of these temporary files somewhere else ?
    My config infos:
    - Tuxedo 8.1
    - OS AIX 5.3TL6
    - Domain is run using MP mode
    - Domain is made of two LMIDs
    Edited by [email protected] at 11/27/2007 9:03 AM

    Herbert,
    The temporary files stored in directories similar to /tmp/tx000XCi002W08 are
    used to lock the Tuxedo VTOC (Virtual Table Of Contents) when it is updated.
    This occurs when a TUXCONFIG, BDMCONFIG, or TLOG file is created, but does
    not occur when the MIB updates one of these files or when a TLOG record is
    written. These lock files are used to protect against two process creating,
    destroying, or modifying the file list in a particular VTOC at the same
    time.
    As long as your application does not continually vary the location of the
    TUXCONFIG, BDMCONFIG, or TLOG files, there should be only a small number of
    such directories under /tmp. When Tuxedo is shut down, any such directories
    can be safely removed.
    Although the location of most temporary files in Tuxedo can be changed using
    the TMPDIR environment variable, the location of the VTOC lock files cannot
    be changed, since different processes could have different values of TMPDIR
    Ed
    <herbert koelman> wrote in message news:[email protected]..
    Hello there,
    I've noticed that Tuxedo is storing files into /tmp/tx000XCi002W08 !!??
    Does anybody know when and why tuxedo is doing this ?
    By the way is it possible to move the location of these temporary files
    somewhere else ?
    My config infos:
    - Tuxedo 8.1
    - OS AIX 5.3TL6
    - Domain is run using MP mode
    - Domain is made of two LMIDs
    Edited by [email protected] at 11/27/2007 9:03 AM

  • "Couldn't create destination temporary file:Permission denied"

    I am running the latest version of Final Cut Server on a Mac Pro Tower running Mac Server 10.6.X.
    I keep getting 2 Error messages every time my users are trying to send content to the server via Final Cut Server client application:
    (1) "Broken Pipe" and (2) "Couldn't create destination temporary file:Permission denied"
    Anybody have any Ideas on how I could correct this?
    Thanks

    Can you elaborate on what you did to fix this? I am getting the same error. Everything was fine about a week ago. I tried repairing the disk permission in Disk Utility.

  • Is There Any Suggestion To Clear Temporary Files As Well As Recent Documents From The Desktop

    Please Provide Any Suggestions That Could Solve The Problem Of Clearing Temporary Files As Well As Recent Document With Or Without Closing The Firefox Application!!!!!

    you can try [http://piriform.com/CCLEANER Ccleaner]

  • Space for temporary files

    Hi,
    how much of free space should be provided for temporary files. Is it depends on the app's ? If yes, any estimation ?
    Thanks.

    How much space is your Other using? You may be able to reduce.
    How Do I Get Rid Of The “Other” Data Stored On My iPad Or iPhone?
    http://tinyurl.com/85w6xwn
    With an iOS device, the “Other” space in iTunes is used to store things like documents, settings, caches, and a few other important items. If you sync lots of documents to apps like GoodReader, DropCopy, or anything else that reads external files, your storage use can skyrocket. With iOS 5/6, you can see exactly which applications are taking up the most space. Just head to Settings > General > Usage, and tap the button labeled Show All Apps. The storage section will show you the app and how much storage space it is taking up. Tap on the app name to get a description of the additional storage space being used by the app’s documents and data. You can remove the storage-hogging application and all of its data directly from this screen, or manually remove the data by opening the app. Some applications, especially those designed by Apple, will allow you to remove stored data by swiping from left to right on the item to reveal a Delete button.
     Cheers, Tom

  • TS4272 erase free space stuck on creating temporary file

    I upgraded to 10.7.4 and followed instructions in http://support.apple.com/kb/TS4272
    At step 9 Disk Utility is stuck on 'creating temporary file' for the last 24 hours. I have canceled and tried more than once.

    This may be a problem with Disk Utility on your boot drive. Try rebooting to the Recovery HD and using Disk Utility on that partition (it should appear in the OS X Tools menu). You might also try running a disk verification and repair to ensure the filesystem and partition structure are intact.
    Alternatively you can also bypass the disk utility application by using the Terminal to erase free space, which can be done with the following command:
    sudo diskutil secureErase freespace 0 disk0s2
    Note that while the device "disk0s2" is commonly the boot drive for systems with a single hard drive, this may be different for you system. Check the device by opening Disk Utility and getting information on your boot volume, and you should see the proper device name listed as "device identifier."

Maybe you are looking for