Issue with file.execute()

Hi, i recently started learning photoshop scripts, i have a .bat file that needs to run at the end of java script, while looking for help online, the only hel was
var bat = new File("path\fileName.bat");
bat.execute();
but nothing happens when i run this script, or even if i try to wtire into a .bat file, nothing happens, it looks like, the file operations are not working and i might be missing something. Can some one please help me solve this issue?
im using photoshop CS6, windows7 and working on Java script.
Thank you in advance

Looks like your Oracle can't access the directory you are using. If you don't specify a directory data pump will use DATA_PUMP_DIR:
C:\Documents and Settings\User>sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sat May 8 18:44:52 2010
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
Connected to:
Oracle Database 10g Release 10.2.0.1.0 - Production
SQL> select * from all_directories where directory_name = 'DATA_PUMP_DIR';
OWNER                          DIRECTORY_NAME
DIRECTORY_PATH
SYS                            DATA_PUMP_DIR
C:\Oracle\admin\pts\dpdump\
SQL> exit
Disconnected from Oracle Database 10g Release 10.2.0.1.0 - Production
C:\Documents and Settings\User>move C:\Oracle\admin\pts\dpdump C:\Oracle\admin\pts\dpdump_oops
        1 file(s) moved.
C:\Documents and Settings\User>expdp andy/andy
Export: Release 10.2.0.1.0 - Production on Saturday, 08 May, 2010 18:44:30
Copyright (c) 2003, 2005, Oracle.  All rights reserved.
Connected to: Oracle Database 10g Release 10.2.0.1.0 - Production
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 475
ORA-29283: invalid file operationFor data pump you need priveleges to a directory on the Oracle server that Oracle has access to.
UTL_FILE you can either use a directory or utl_file_dir.
Edited by: Andy Klock on May 8, 2010 3:54 PM

Similar Messages

  • Issue with File Download(messageDownload) on Search Page.

    Hi,
    I created a custom OAF search page which fetches values from one table. The document in getting stored in my custom table in a BLOB colums and NOT in FND_LOBS.
    The table has 3 collumns along with others:
    1st is primary key (Record_Seq) ==> number data type
    2nd to store actual file name (File1Name) ==> varcahar2 data type
    3rd to store the actual uploaded data (File1Data) ==> BLOB data type
    The reason for having the “File1Name” is so that I can display the original file name of the document that was uploaded, instead of just the “view” in the search page results .
    On the File1Data BLOB and created a messageDownload for that under query results table with following details:
    ID : File1Data
    ItemStyle : messageDownload
    FileMIME Type : pdf
    Datatype : BLOB
    View Instance : LacEmpExposureVO1
    view Attribute : File1Name
    File View Attribute : File1Data
    When I click on the "File1Name" data hyperlink, it is opening only the first document corresponding to the first record in the search page results.
    For example, If my search page returns 10 rows then when I click on the file1name on any row, It is open the first row file name only.
    I have a primary key column(RECORD_SEQ) in the Table / EO / VO which is displayed in the search page results.
    Also one weird thing is happening:
    If I try to do this more than 2 times then it is opening the update page with the first record from the search page results…
    I tried to print the context and it is nul the first time, But the second time then context is changing to "update". Dont know how this is happening????
    Any advice is greatly appreciated as it is very crucial for me to get this resolved ASAP. I have looked at several forums and did a lot of things as advised in the forums . But nothing seems to work for me.
    Thanks,
    Mir
    CO code for the search page
    ===========================
    if (pageContext.getParameter("Create")!= null)
    System.out.println("Into LacEmpExposureCO in PROCESS FORM REQUEST with Context of CREATE");
    pageContext.setForwardURL
    ("OA.jsp?page=/lac/oracle/apps/lac/lacempexposure/webui/LacEmpExposureCreatePG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, //Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    else if ("update".equals(pageContext.getParameter(EVENT_PARAM)))
    System.out.println("Into LacEmpExposureCO in PROCESS FORM REQUEST with Context of UPDATE");
    System.out.println("LacEmpExposureCO ==> RecordSeq in PROCESS FORM REQUEST is: " + RecordSeq);
    HashMap params = new HashMap(1);
    params.put("RecordSeq", RecordSeq);
    pageContext.setForwardURL
    ("OA.jsp?page=/lac/oracle/apps/lac/lacempexposure/webui/LacEmpExposureUpdatePG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    params,
    true, //Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO, // Do not display breadcrumbs
    OAWebBeanConstants.IGNORE_MESSAGES);
    else {           
    String strEvent = pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM);
    System.out.println(strEvent);
    System.out.println("Into the last ELSE part in LacEmpExposureCO.java");

    Duplicate post -- Issue with File Download(messageDownload) on Search Page.

  • Issue with file to file in PI 7.3 (Splitting huge files)

    Hi All,
    Need your help in fixing the issue with file splitting
    We are doing some sample scenarios(file to file) on PI 7.3 server.
    We are trying to split a 10MB file by using the 'Advanced Mode' option in the sender file adapter. We gave max split file size as 2MB. The file got split into 5 chunks and was successfully sent to receiver file adapter. In receiver adapter we are able to see that. But in the target folder only 1 file was seen with size 2MB. All other chunks were missing. We need to have the whole data sent from source to target.
    How to fix this issue? please provide your inputs.
    Thanks and Regards,
    Lakshmi Narayana

    PI 7.3 has capable of processing larger size files.
    Questions:
    Have you picked EOIO quality of service? Hope you dont do mapping or content conversion for this file?
    have you seen this link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a06d79f3-d094-2e10-1a81-f4d802d0bcf1?QuickLink=index&overridelayout=true
    http://help.sap.com/saphelp_nw73/helpdata/en/44/682BCD7F2A6D12E10000000A1553F6/frameset.htm

  • Issue with file name in receiver Communication channel

    Hi Experts,
      I am sending the files from SAP Application server to third party Application server.
    In my source folder i have different types of files with different names.
    but i need to pickup the files which is coming as of type sss_3300_was.txt and sss_3400_was.txt.
    what would be the logic for this.what my understanding is if i put sss_* it will works.
    If suppose the file is Exist in the folder as sss_3300_was.txt , so it will picked up and places in target folder.
    and next time if the file type is sss_3400_was.txt then that will pick up and places in the target folder.
    my question is, in the receiver comm channel what would be the file name scheme. i have tried with * and / but system has not been accepted as * can not be given.
    Kindly suggest what should i put in Receiver CommChanne file name sheme.
    Appreciate your inputs
    Thanks,
    Bhaskar

    Hi Satish,
    Thanks for your valuable inputs.
    Actually i need to change the subjet when i am asking other question...
    first thing is suppose i have 10 files like sss_3100_was, sss_3300_was, sss_3400_was........sss_3900_was  in the sender application folder and should be moved to receiver [target] folder with the same name.
    as you said mentioned above below is my undertsanding, please correct me if i am wrong.
    In sender cc
    1.  i will give file name as sss_*
    2. i will flag ASMA and also check file name.
    In receiver cc
    1. I will give file name as sss_*
    2. i will flag ASMA and also check the file name
    The above is my understanding with respect to your inputs,  is it correct?
    in receiver cc i have tried file name scheme as sss_*  but when i see the receiver CC log its telling that * is not allowed.
    may be i have not flaged ASMA at that time, but now i will flag ASMA in receiver CC dose it works? just need to confirm from you.
    Regarding seconf issue.
    when file is picking up from the source folder from SAP Application server as i can see file is picking up well and posting in third party folder and even in the sender cc and receiver cc logs i could see all shown in success.But when i see in the SXMB_MONI in the inbound interface the data are coming in the special charater format like @$??? and so on.But when i checked in SAP Appl server the same file contains the three lines of data like material number purchase order number and so on and it is Text file.
    below mentioned are done configs for sender CC by me.
    MP: file
    TP: NFS [as  it is SAP appl server]
    filepath:/
    file name: sss_*
    file type :text
                   add time stamp
                   ..... and so on
    Kindly advise me if any changes are required and also provide me inputs in case any correction.
    Thanks,
    Bhaskar Reddy

  • Permission issues with files put on desktop by Vista

    Hi Folks,
    I posted this before and got no response so I'm trying again.
    Trying to finally solve an issue that has dogged me ever since upgrading to Lion in the summer. Since installing Lion 10.7 (clean install), I now seem to be having File Sharing issues with a fellow colleague who is on Vista. When trying to open a file placed on my desktop by this user (who has been set up as a "real" network user in Sys Prefs) I get the following message:
    "You do not have permission to open the document "Some_Image.jpg".
    Contact your computer or network administrator for assistance.
    I have to do the following In order to gain access:
    1. Unlock small lock icon in bottom right of Get Info Window
    2. Enter Password in dialog that says "Finder wants to make changes. Type your password to allow this."
    3. Click the now enabled plus sign below list
    4. Select my self from the list of users
    5. Change privilege to "Read & Write" in Privilege column adjacent to my user name.
    Both Vista Machines do this to me although Windows 7 does not. UPDATE: one user has updated his vista install to WIndows 7 and I have this problem again.
    I had hoped that the 10.7.3 update would have fixed this problem for me as I read that the update addresses some Networking issues, but it hasn't.
    Any thoughts here?
    Thank you,
    J.E. Flynn

    Oddly enough, I can't even seem to provide "Write Only (Drop Box)" access to the Windows clients.
    My limited understanding of Widows networking and sharing is starting to rear it's ugly head.
    If I set up File Sharing and give the windows client access to a shared folder. It can copy files but still I do not have access to those (as described above).
    The only way I can get a Windows machine to access my Mac is for them to type my computers local IP in the Explorer address bar " \\192.168.1.XX " and login as me. Obviously, this is not desirable
    All other attempts to login from a Windows client are now failing.

  • Issues with file upload in flex mobile application (sharepoint as backend)

    Hello,
    I am working on flex mobile application for android platform for which we are having sharepoint as a backend.
    (Flex SDK 4.6 and AIR 3.9)
    Issue which we are facing is as follows:
    We are communicating with the backend server using webservices: example:
    <s:WebService id="kWebService" wsdl="http://www.kservice.net/kdatabaseservice.asmx?WSDL" >
                <s:operation name="AddPost"
                             resultFormat="object"
                             result="addPostResult(event)"
                             fault="postsfaulterr(event)" />
    </s:WebService>
    Above services are working fine but we are facing issue with one service which is related to file upload.
    File upload for <10 MB is working fine but when we try to upload larger file on server it fails to process.
    We are sending bytearray to the backend and backend code is writing those bytearray into file.
    We have tried many ways to overcome from this situation. like we have checked configuration for file upload size on server , we have tried wcf services as well. Please help us on this criticle point as soon as possible
    Thanks
    Dhwani

    Prashant8809 wrote:
    Hi
    >
    > I have already gone through the video by Thomas Jung for multiple file upload but it saves the contents in server and not in >transparent table. So please suggest me alternative solutions.
    >
    >
    > Regards
    > Prashant Chauhan
    What do you mean that my video saves the contents int he server and not in transparent table?  I save the data into a temporary database table so it can be accessed by the parent WDA session. From there the WDA session can do whatever it wants with it.  What do you mean by transparent table - that would be a database table. Do you actually mean internal table?  if so, just read the data from the temporary database table into memory.

  • Please help! Issues with file permissions on the 'Edit' file created by LR for editing in Photoshop?

    I am running a Macbook Pro with Mountain Lion. I use a Netgear ReadyNas as my storage device. I can Save, Re Save, Delete and add files without any concern on the ReadyNas from within PS or LR. However when I use the 'Edit in Photoshop" command on LR. I chose the 'Edit a copy with edits', LR creates the new duplicate 'edit' file in the same directory as the original. It opens in PS, I edit as required, however when I save the file to return to LR, I am informed that the file is locked and that I need to edit settings on file or folder, even though the settings are working for all other edits etc. I have had Netgear on this for 3 hours this evening and they cannot see any issues with the setting on the ReadyNas. Does anyone know what permissions are changed or why they are changing when the file is being created by LR?
    Sorry bit of a long winded one - but I hope that all makes sense?

    h264 is highly compressed and might be the reason your skimming isn't smooth, it may also take a bit more time to convert. I don't have to worry all that much about space so I haven't particularly tried it and can't say whether there are any drawbacks of doing so.
    If you google 'mpegstreamclip tutorials', you will see quite a few tutorials you can look at, they do tend to be specific to one task which may not exactly fit in with what you are trying to do, but looking at a few might give you a better understanding of what some options do and when to use them if at all.

  • Any issues with file sharing between Windows and latest Mac client?

    We're running Lync 2013. My Windows client is 15.0.4551.1005. Mac client is version 14.0.8.
    I open a conversation with a coworker on his Mac. I then try to share a png file. He clicks accept but then my client says the attempt timed out, and his client says that I canceled the file transfer. The coworker then boots the Mac into Windows and we try
    again, and the file share works fine. When I jump on my Mac, I can send files to his Mac without issue. When he tries to send from his Mac to my PC it fails, but when he tries to send from Windows on his Mac to my PC, it works.
    I can't find anything specific in the logs that would indicate a firewall issue. Is there a bug with file sharing between the Mac and PC clients?
    Thanks,
    Matt

    No, There isn't a bug with file sharing between Mac and Pc client.
    2941640 Desktop sharing session stops in Lync 2013 when all screen data is updated
    Also you can check below links
    http://support.microsoft.com/kb/2952672/en-us
    http://support.microsoft.com/kb/2880474/en-gb
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • Issues with file sharing after changing password

    Last night I changed my system password on my MacBook Pro and for some reason it caused some issues with my file sharing with my windows PC.
    I was able to finally get the notebook to connect again to the XP PC shared documents by going through finder to go to network and then connected. But the PC would not see the notebook. Everything was communicating fine when I first got the system two weeks ago.
    Tech support did what they could tonight and I finally just decided to set up a connection to my notebook by entering the notebooks ip address on the pc.
    It's alte and sorry for the rambling, but does anyone know why the pc (as well as others in the house) no longer see the notebook?
    Jim

    No, There isn't a bug with file sharing between Mac and Pc client.
    2941640 Desktop sharing session stops in Lync 2013 when all screen data is updated
    Also you can check below links
    http://support.microsoft.com/kb/2952672/en-us
    http://support.microsoft.com/kb/2880474/en-gb
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • Issues with file locking when reading a file using RollingFile Appender

    Hi,
    I am facing a file Rotation Issue with log4j. I want a way to read one file from two diff apps.
    Intro: App A is writing a file F using log4j rolling file appender and app B is reading the same file F using “new BufferedReader(new InputStreamReader(new FileInputStream(_file)))”.
    Issue: App A is not able to roll the file. Because it is having a handle on the same file F.
    Please let me know how can I handle this issue.

    If you have the file open for reading when log4j tries to rename it, the rename will fail. Solution: don't have the file open for reading.
    I want to read the feed of such rolling logs without closing any handle.I gave you a solution to that too.
    If I am closing the handle after every read then there will be no way to determine where I left.Nobody suggested that.
    Is there any possible solution for this?What part of the solution I have already posted didn't you understand?

  • Permissions issues with files from a zip

    We've got five macs on a network, all on 10.5.6. Clients often send us folders with files in as a single zip. If the zip file is opened, the folder and files all have read/Write permission for the user that opened the zip, and all other macs have "no access". This happens with all the macs. The zip files are sent from PCs.
    Has anyone any idea as to why this should happen, and a possible fix?
    Cheers
    Steve

    im now trying this method instead, it kind of works, but reads in all files (I just wanted XML files), and Im sure its not the best method for this:
    public void readZipXMLFiles(String inFilename)
    try {
            // Open the ZIP file
            ZipInputStream in = new ZipInputStream(new FileInputStream(inFilename));
            // Get the first entry
            ZipEntry entry;
            entry = in.getNextEntry();
            while (entry != null){
            // Open the output file
            String entryName = entry.getName();
            String outFilename = entryName;
            OutputStream out = new FileOutputStream(outFilename);
            CheckExtension("xml", entry.getName());
            // this check the file extension, if correct FileType=true
            System.out.println(entry.getName()+ ":" + FileType);
            if (FileType == true){
            // Transfer bytes from the ZIP file to the output file
            byte[] buf = new byte[1024];
            int len;
            while ((len = in.read(buf)) > 0) {
                out.write(buf, 0, len);
            // Close the streams
            entry = in.getNextEntry();
            out.close();
            in.close();
        } catch (IOException e) {
            catch (Exception e)
                e.printStackTrace();
        }Because I'm using a ZipInputStream, its grabbing all files even if the files are not .xml,
    Edited by: Mr_Tuition on Dec 18, 2007 7:05 AM
    Edited by: Mr_Tuition on Dec 18, 2007 7:08 AM

  • Issue with file download from BLOB type data

    i have been using this for a while, with no problems, including on hosted machines.
    the upload to the database works fine.. not the issue, and the download script also works fine, on the local WAMP machine.
    but once moved to the server it fails.. the query does not work.
    i have a feeling that it is something to do with the managed hosting i am using, but they say no, i have tried it on 2 seperate hosted machines (different providers), with no joy.
    if i run the select query on the hoisting server via phpmyadmin, the query runs ok.
    any suggestions as to what may be causing the problem on the server compared to the local WAMP machine?
    i really don't know where to start looking, or where to point the hosting company.
    This is the php code to download the blob data, works fine on local WAMP setup, browser asks if you want to save the file/open etc. as expected.
    <?php require_once('Connections/connTracker.php'); ?>
    <?php
    // if id is set then get the file with the id from database
    if(isset($_GET['docindex']))
               {$id    = $_GET['docindex'];
            $query = "SELECT document_name, document_type, document_size, document_content " .
               "FROM tracker_documents WHERE document_index = ".$id;
    *** seems to be failing here when running the query ***
    $result = mysql_query($query) or die('Error, query failed');
               list($name, $type, $size, $content) = mysql_fetch_array($result);
         header("Cache-Control: maxage=1"); //In seconds
       header("Pragma: public");
         header("Content-length: $size");
               header("Content-type: $type");
               header("Content-Disposition: attachment; filename=$name");
               echo html_entity_decode ($content);}
    exit;
    ?>

    Hi Gun,
    You are the only one responded to my issue. I have allocated some points.
    Yes. I have checked the assignment in CRM organizational model.
    I did download the org. structure from ECC 5.0
    All objects including sales offices are activated for determination and I have verified with green light
    As per your suggestion if the sales area data is not matched between the two systems, then how come the error will not reappear during the bdoc reprocess?
    What is missing during the first time bdoc process? Looks something is missing for validation module?
    Any inputs?
    Thanks,
    Raj

  • Different issues with file browse item

    Hi everybody,
    I'm trying to create a file upload page using the file browse item. To achieve this I followed the how-to document :
    http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b16376/up_dn_files.htm.
    I've created my own table to store the documents as I store some extra information.
    When I test this functionality I discovered many issues.
    - If I upload a PDF file this gives me HTTP 404. When I go back, choose the same file with the browse button and upload again this will pass.
    - If I upload a file with spaces in it's name this file will be uploaded twice. (I see the same file two times in the table with 2 different names.
    - At random times I will just arrive at a blank page after clicking the upload button. It appears to me as this will happen more often when I use a double-click to select the file in the browser dialog compared to selecting the file and clicking open. However, I suppose this is just coincidence. It happens in both cases. I'm confronted with the problem with small files (1k, 4k) as well as with larger files (6m)
    - Like I said before, I store some extra information as well. In some cases this information is stored with the document. In some other cases he takes the description from a previous document to store along with the new document. I suppose this is some kind of session problem probably caused by the other problems I currently have and the fact I press back quite often in my browser (each time I arrive at a blank page)
    Version of HTML DB 2.1.0.00.05
    (Included with Oracle 10g express edition)
    I read several posts on this forum before creating my own thread.
    -> I found several discussions about the size of the file but the problem exists for files of 1K as well so I don't see a link with those discussions.
    -> I found several discussions about security and tablespace quota. I granted unlimited tablespace to each and every user : flows_020000, flows_020100, flows_files, htmldb_public_user and the user who is used in the application.
    Tx very much for your help!
    Kris

    Hi Kris,
    I think you're problem is coming from local session info... using the back button is not that good. Put a back button in your application ;-)
    An other thing I wonder is; are you developing and testing on the same machine and at the same time? - I did that before and that gave me some problems. Now I'm developing in Firefox and test with IE or vice-versa.
    Dimitri

  • Photoshop CS6 file permissions issue with file created with Photoshop CC

    In our studio we have several capture stations and work stations all connected to one file server. An issue occurs when a user of CC creates a file and saves it to the server and a user of CS6 opens the file. The CS6 user cannot save the changes he just made to the file that was created in CC. The CS6 user can do a Save As with no issue. There is also NO problem if the file that was created in CC is transferred to a new drive using the Finder in Mac OS X.
    Has anyone else had a similar issue or know of a solution?
    Here is a screen cap of the error:

    We have solved our issue.
    After running Adobe updates on machine that uses CS6 and then re-starting that machine, our issue seems to have disappeared.
    Hope this helps others.
    Best of luck.

  • Weird issues with file share using both SMB and AFP?

    I use my Xserve with 10.4 server primarily as a file server (with a huge RAID array attached via Ultra320 SCSI). I've served files from this server over SMB ("Windows" sharing) to both PCs and Macs for a few years now with no big issues. The files are being shared in a collaborative environment with extensive user accounts and ACLs set up.
    I would like to turn on AFP for these same file shares, so those accessing with a Mac can have the added benefits of AFP over SMB. However, I've heard some rumors of some complicated issues developing from the use of both AFP and SMB together on the same folders, in a mixed environment.
    The rumors I've heard are things that would happen rarely but enough for it to be significant. For example, a file created over SMB and then edited over AFP would have some problems being re-edited over SMB again, due to some complicated feature that the rumor is unable to explain (something with a resource fork or file locking?). Maybe something weird that just involves the Adobe Creative Suite?
    Anyway, I figured I'd throw this out there. Anyone who serves files over both protocols to a varied set of computers and applications having weird issues? Or is everything working for you? Thanks in advance.
    Message was edited by: dtemp

    Thanks for the responses!
    re:crop
    It's coming in as cropped with no way to fix it that I can see.
    Pressing space or opening in preview shows the full image but if it gets anywhere near Photoshop it comes in auto-cropped.
    I'm starting to this it's a bug and will be reporting it to Adobe.

Maybe you are looking for

  • How to identify an order generated by heuristics run or entered manually

    Hello Gurus,             Is there any way to identify an order in the distribution receipt keyfigure in SNP planning book is generated by heuristics run or entered manually. Thanks, Siva.

  • I want my flash video file NOT to load until I hit play...how can I do that?

    I am wanting this to improve the initial download speed of the page. I have already added a Poster Frame to video's, however it still seems to be loading the video file and just autoplaying.  Is there a way to NOT load the video file until the person

  • Web service - how to use it ?

    Hello expert, i have to send a file using web wervice (consuming) ( from sap system toward external system ). Could you provide me a basic exemple to do it ? tks a lot, bye.

  • Eth0 and eth1 are improperly configured [Solved]

    *Interfaces solved by reassigning Mac addresses for both interfaces and reflecting those changes in rc.conf DHCP is no longer working for me and my HP Mini-1125nr netbook is no longer able to get online via ifplugd.  This adds to my ongoing battle wi

  • Develop pre-populate adapter in request dataset in OIM 11G

    Hi Friends, I have a field say UD_TEMP_FORM_FIELDA on the process form which is going to be populated based on the value of a field SAY UD_TEMP_FORM_FIELDB on the request dataset. So my request dataset will have only one field which is UD_TEMP_FORM_F