BFILE Errors related to Directory

Hi,
For the code below related to BFILE operations, despite of showing the Directory path and the file name, ORA-22285 is thrown. Could some one help out resolving the problem.
Code:
DECLARE
VFile          BFILE;
NAME          VARCHAR2(2000);
UTL_DIR     VARCHAR2(2000);
BEGIN
SELECT XML_FILE
INTO VFile
FROM SPE_TXML;
DBMS_LOB.FILEGETNAME(VFile, UTL_DIR, NAME);
DBMS_OUTPUT.PUT_LINE('UTL_DIR '||UTL_DIR);
DBMS_OUTPUT.PUT_LINE('NAME '||NAME);
DBMS_LOB.FILEOPEN ( VFile , DBMS_LOB.FILE_READONLY);
DBMS_LOB.FILECLOSE ( VFile);
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('ERR '||SQLERRM);
END;
Output:
UTL_DIR F:\FLCCMS\PROD_UTL_DIR
NAME SPE.XML
ERR ORA-22285: non-existent directory or file for FILEOPEN operation
Thanks n Regds,
Jaikanth

I see that the output displayed UTL_DIR and NAME are all in CAPS. If the OS is Case Sensitive and if the DIRECTORY NAME and FILE NAME does not match, you are quite likely to the get 22285 error. Please check your Directory name and File name again.
Regards,
Murali Mohan

Similar Messages

  • ADT error "File [file] is not relative to directory [output]"

    Has anybody come accross this error before when adding files to include to via ADT?
    For example:
    adt -package -target ipa-test -storetype pkcs12 -keystore my.p12 -storepass mypass
    -provisioning-profile my.mobileprovision my.ipa my-app.xml
    my.swf icons Default.png  "../../../resources/fonts/FutuBd_.ttf"
    In this case I am trying to include a file in the archive that is relative to the output directory.
    My output directory is:
    c:\projects\game\repo\bin\ios\
    My font is in:
    c:\projects\game\resources\fonts\FutuBd_.ttf
    However I get the error:
    File ../../../resources/fonts/FutuBd_.ttf is not relative to directory c:\projects\game\resources\fonts\FutuBd_ttf
    But it actually is! 
    Anybody have any idea?

    Yeah, sorry Colin, that is indeed what happens (CD first to swf folder).  That isn't the exact command line either - I cobbled it as an example.  The main point is that at works absolutely fine without including external files (generates an IPA etc), but as soon as I do include files (other than icons or Default.png etc), it doesn't work anymore.  Some more info:
    - If the files are in the same folder as the swf, and included without a path (filename only) it works fine
    - If there is a relative path that is incorrect (i.e. there is no such file), the error is different (file does not exist)
    - However, if the relative path is correct (there is a file there) the error is as above
    - Quotes or no quotes makes no difference (quotes are there for the 'space in file path' problem)

  • Error related to FM LCR_LIST_BUSINESS_SYSTEMS

    Hi all,
    Friends, when i am running the FM "LCR_LIST_BUSINESS_SYSTEMS" without "bypassing_cache" parameter it is working fine it is showing me all the business systems defined in the SLD but when i am checking "bypassing_cache" parameter it is throwing an error message :
    Exception : LD_ERROR
    Message : Internal Error in Landscape Directory ..
    Actually i am running a ABAP proxy and on runtime this error message was thrown :
    System Fault :
    An error occurred when determining the business system (LD_ERROR)..
    What you guys feel are these two things related anyhow ?..Anyway i am expecting solutions for both .
    Points will be awarded

    Hi Krishna/Ahmad/Rajesh ,
    Krishna, i am already through with that blog :
    A RFC destination is already created of HTTP type by the name of XI_INTEGRATIONSERVER....i don't think that difference in the name of RFC destination will be the cause of error ?
    The RFC destination of HTTP type which i have created at Business System on checking shows me this message  " Empty HTTP Request Received "...and this..
    <faultcode>SOAP:Client</faultcode>
    <faultstring>Empty HTTP request received</faultstring>
    <faultactor>http://sap.com/xi/XI/Message/30</faultactor>
    Ahmad ,
    SLDCHECK is working fine and SLDAPICUST has the required details of PIAPPLUSER..but interesting thing is that our PIAPPLUSER is getting blocked very frequently.....can you help me to figure out why PIAPPLUSER is getting blocked that frequently ...but for this case i first unlocked PIAPPLUSER and then ran the scenario.
    Rajesh ,
    SLDCHECK is working fine...
    XI guru's Waiting for quick solution .

  • Time Machine Error - Back up Directory

    I have searched the forum but didn't see anything specific on this. I have recently purchased the Time Capsule to go along with Time Machine and am having problems backing up after the first back up. Was able to complete the first back up but subsequent backups gives me an error "Time Machine Error. Unable to complete backup. Can not create back up directory."
    Has anyone seen this and if so, have they determined a fix? I have unmounted and mounted drive. I looked for any .com.apple preferences that are related to Time Machine and found none. Might be the problem but I can't find solution.
    Thanks in advance.

    locmi01 wrote:
    Error: (-50) Creating directory 2009-02-02-085042.inProgress
    Failed to make snapshot container.
    Backup failed with error: 2
    This is fairly unusual. Here's other threads with what seems to be similar scenarios: http://discussions.apple.com/thread.jspa?messageID=8761039&#8761039
    http://discussions.apple.com/thread.jspa?messageID=8508064&#8508064
    As you'll see, the first one was a failing disk drive; the second never had a resolution posted (people often don't tell us what fixed their problems). So I'd be inclined to suspect your drive, since you've tried both USB and FW, pretty much ruling out cables, ports, loose connections, etc.
    How long did you use this disk before the problems started?
    Did you erase and format it, or use it as it came?
    Do you have any of the "heavy-duty" disk repair apps, like DiskWarrior? I'm not really familiar with them, but some are far more rigorous than DU.

  • Import Error: The root directory does not exist

    Hi,
    I have some isuuses with importing the extended page. When I try to Import it throws an error.
    Root Directory does not exist.
    I am using the following command.
    import c:\jdev\jdevhome\jdev\myprojects\oracle\apps\asn\opportunity\webui\EMCOpptyDetPG.xml -includeSubpackages -validate -rootdir c:\prabhat\Jdev\jdevhome\jdev\myprojects -mmddir C:\prabhat\Jdev\jdevhome\jdev\myhtml\OA_HTML\jrad -userId 1 -username apps -password apps -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp)(host =xxxx)(port =xxx)))(connect_data = (sid = xxxx)))" -jdk13
    Importing /oracle/apps/asn/opportunity/webui/EMCOpptyDetPG
    Validation warnings in document "/oracle/apps/asn/opportunity/webui/EMCOpptyDetP
    G":
    Importing /oracle/apps/asn/opportunity/webui/EMCOpptyDetPG
    Validation warnings in document "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG":
    Invalid value "/oracle/apps/pv/opportunity/webui/PvOpptyPartnerRN" for property
    "Extends" on component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubt
    abPrmRN". Component "/oracle/apps/pv/opportunity/webui/PvOpptyPartnerRN" cannot
    be referenced from "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabPr
    mRN" because it violates scope restrictions.
    Invalid value "/oracle/apps/jtf/cac/task/webui/CacTaskSummRN" for property "Exte
    nds" on component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabTas
    kRN". Component "/oracle/apps/jtf/cac/task/webui/CacTaskSummRN" cannot be refere
    nced from "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabTaskRN" bec
    ause it violates scope restrictions.
    The component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabTaskRN"
    cannot contain "/oracle/apps/jtf/cac/task/webui/CacTaskSummRN.CacSmrTable" of t
    able style because it is inside "tableLayout".
    The component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabTaskRN"
    cannot contain "/oracle/apps/jtf/cac/task/webui/CacTaskSummRN.CacSmrTaskButtonR
    N" of stackLayout style because it is inside "tableLayout".
    Invalid value "/oracle/apps/pv/opportunity/webui/PvAbandonOpptyRN" for property
    "Extends" on component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNPrmS
    tack". Component "/oracle/apps/pv/opportunity/webui/PvAbandonOpptyRN" cannot be
    referenced from "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNPrmStack" b
    ecause it violates scope restrictions.
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Import completed.
    But After this when I try to see from the server there is no file with name EMCOpptyDetPG.xml exist. So I think this file is not imported.
    Could suggest how to solve this problem.
    Thanks
    Prabhat

    Hi Tapash
    while deploying a page to mds Repository i m getting the same error that root Directory does not exist but it also says that import completed successfully.
    when i see the same using jdr_utils.listDocuments('xxxx/oracle/apps/ak/server/webui/xxxPG')
    it says printing /xxxx/oracle/apps/ak/server/webui/xxxPG thus page is available in the mds repository and i m able to access the page at run time
    my concern is why i m getting this error
    my import command looks like this
    java oracle.jrad.tools.xml.importer.XMLImporter $JAVA_TOP/xxxx/oracle/apps/ak/server/webui/xxxxPG.xml -jdk13 -mmddir $OA_HTML/jrad -username apps -password apps -rootdir $JAVA_TOP -validate -dbconnection " (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xyxyxyxyxy)(PORT = xyxyx)) (CONNECT_DATA = (SID =yyy)))"
    could u pls suggest some solution.

  • How to fix an error  (related to work schedule rule) in Time evaluation ?

    Hi experts,
    I am getting an error while running time evaluation - PT60.
    Find the log
    Log:TimeEvaluation                                                                                General data                                                                       
    Schema ZM04 Time Evaluation Without Clock Times
    00753402 Christoudas Natalie
    Customizing error in work schedule rule 1 VM 01 5MTWTF Person rejected: 00753402
    How to fix it? Its urgent.
    Be assured of points for useful answers.
    Rajesh

    Hi All,
    I have checked work schedules and work sc. rules. everything looks fine. Reason being fine, same work schrdule rule, i.e. 5MTWTF is used for other employees, whose payroll area, personnel area, personnel subarea, employee group and employee subgroups are same.
    Why it is throwing error for one employee 753402.
    I am providing you more information. In table V_T569r, if u select recalculation category as time evaluation, it is mentioned as 01.01.2003. Initially, one action called "Conversion take on" has been maintained as on 01.03.2002, where employee had payroll area -99 (payroll irrelevant) and personnel subarea - DAYY.
    Then on 17.03.2008, another action ran "Conversion initial reassignment" where payroll area changed to "MT - monthly", subarea changed to DAYF. At that time PDC recalculation date in infotype 0003 was 01.03.2002 which was before recalculation date, i.e. 01.01.2003.
    Time evaluation was throwing 2 error messages. one was solved by changing PDC recaluation date to 17.03.2008. But other error related to work sc rule 1 VM 01 5MTWTF still occurs. 
    Can some body now provide some useful information?
    Thanks
    Rajesh

  • The Microsoft Exchange Mailbox Replication service was unable to process a request due to an unexpected error. : Error: An Active Directory Constraint Violation error occurred

    Hello,
    We have a multi domain parent child AD domain infrastructure and now we upgraded our exchange from Exchange 2007 to Exchange 2013. Since last few days, we see the below error on the mailbox server event viewer.
    EVENT ID : 1121
    The Microsoft Exchange Mailbox Replication service was unable to process a request due to an unexpected error. 
    Request GUID: '93a7d1ca-68a1-4cd9-9edb-a4ce2f7bb4cd' 
    Database GUID: '83d028ec-439d-4904-a0e4-1d3bc0f58809' 
    Error: An Active Directory Constraint Violation error occurred on <domain controller FQDN>. Additional information: The name reference is invalid. 
    This may be caused by replication latency between Active Directory domain controllers. 
    Active directory response: 000020B5: AtrErr: DSID-0315286E, #1:
    Our Exchange setup is in parent domain, but we keep on getting this error for various domain controllers in each child domain in the same site. We then configured one of the parent domain domain controller on Exchange. Still we are getting this error for
    the configured parent domain DC.
    Verified the AD replication and there is no latency or pending stuffs.
    Any support  to resolve this issue will be highly appreciated. Thank you in advance.
    Regards,
    Jnana R Dash

    Hi,
    In addition to Ed's suggestion, I would like to clarify the following things for troubleshooting:
    1. Please restart IIS at first.
    2. If the issue persists, please ping your DC on your Exchange server to check if Exchange can communicate with DC.
    Hope it helps.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Input File repository server Error: The requested directory does not exist.

    Hi,
    Getting following error "The requested directory does not exist." for Input and Out put file repository server.
    The specfied directory exists and the user has local administrative privelges with full control of the IFRS and OFRS location.
    The location was earlier working and after trying to implement Windows AD the things stopped. Have tried reverting the things but the following issue still persists.
    Thanks,
    Manpreet

    @Siva,
    I am not using the defacult FRS, I have specfied a specfic location on which the user has full control.
    this was working prior to the Windows AD setup tried by me.

  • Backup failed with Error: (-50) Creating Directory

    Repeats ad nauseum.
    This is backing up to a second internal drive that is an exact duplicate (in terms of HD model and size).
    Does anyone know what Error -50 means? Lack of permissions? Invalid name (doesn't seem like it)?
    8/30/08 9:06:37 AM /System/Library/CoreServices/backupd Starting standard backup
    8/30/08 9:06:37 AM /System/Library/CoreServices/backupd Backing up to: /Volumes/Sliffy Time/Backups.backupdb
    8/30/08 9:06:58 AM /System/Library/CoreServices/backupd Error: (-50) Creating directory 2008-08-30-090658.inProgress
    8/30/08 9:06:58 AM /System/Library/CoreServices/backupd Failed to make snapshot container.
    8/30/08 9:07:03 AM /System/Library/CoreServices/backupd Backup failed with error: 2

    Hi Glenn,
    Thanks for the suggestion. Nope, it's not listed. The only thing listed is my Time Machine volume.
    After a reboot, Time Machine seems to be working. It's making backups on schedule and the logs look good, not reporting any strangeness.
    A bit bummed about these phantom errors that go away on reboot. I'll keep on eye on the error/reboot frequency.
    Rob

  • File Adapter - Error creating archive directory adapter file

    Hello,
    I've a interfase File to RFC. In sender CC i have Archive Directory.
    It occurs the follow error:
    Error creating archive directory adapter file
    The archive directory exists.
    any idea?
    thanks very much

    Hi Silvia,
    Check whether the user you are using for FTPing is having proper authorizations.
    Also, verify whether you have the archive directory in place.
    Regards,
    Neetesh

  • Error related to namespace mismatch in BPEL

    Hi All
    We are facing an error related to NameSpace of a variable in BPEL process.
    We are sending a SOAP XML request to a third-party web service and fetching the XML response in a variable. There is a mismatch in the namespace of the variables. The xml response is having ‘ns1:’ while the variable created in BPEL process is having ‘ns23:’. Thus the process is giving the following error when initiated:
    <part name="code" >
    <code>Server.userException</code>
    </part>
    <part name="summary" >
    <summary>when invoking endpointAddress 'https://cservice1.hrapply.com/WS/erp/ERPService', org.xml.sax.SAXParseException: The prefix "ns1" for element "ns1:newHireResponse" is not bound.</summary>
    </part>
    Complete error message is attached. We tried to rename the variable by changing the namespace in <process>.bpel file but that did not solve the issue. We have also tried to create a new process where the namespace given to the new output variable is ns1: But still he error persists.
    Any pointer/suggestion to solve this issue is highly appreciated.
    PS: We are using BPEL: 10.1.2.0.2

    java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServletYou don't know how to solve class not found errors? That's incredibly basic Java classpath stuff that you not only should know, you MUST know how to handle before you can even think about touching a web environment. You are lacking some really basic core Java knowledge here. Are you perhaps trying to learn Java by diving right into a web application? If so - you can give up now, you have to start from the beginning and that is learn Java. Not only the language, the platform and the tools too.

  • Error in iPlanet Directory Server documentation ?

    According the the Directory Server Schema Reference (http://docs.sun.com/db/coll/S1_ipDirectoryServer_51), a "Directory String indicates that values for this attribute are not case sensitive". Moreover, "IA5String indicates that values for this attribute are case sensitive".
    I thought a Directory String was a Unicode UTF-8 string, and could be made case sensitive or not case sensitive. As for IA5String, I thought it was just a 7-bits ASCII.
    Is this an error in the Directory Server documentation ?
    Christophe

    An error perhaps in that they do not conform with the standards, but that's how the DS treats them - DirString is case insensitive, and iA5String is case sensitive.

  • Error creating home directory - Access is denied.

    Hi,
    I am getting one issue on the task while provisioning homedrive and homedirectory on AD resource.
    Error creating home directory '\\rusehf06\home\rc9782rf': ': Access is denied
    Please help. Thanks in advance.

    These error messages are typically pretty obvious with permission errors. It's getting the correct permissions that is the challenge. I would suggest you start by adding the user whom is in your IT Resource for Active Directory into the local administrators group for the server you are trying to create the folder on. Also, consult with your AD Admins to get it resolved the quickest most likely. Their skill set will be better than what we can provide.
    -Kevin

  • Error: cannot access directory oracle\jsp\runtime

    I got this error when try to add a existing project to JDeveloper 9.0.3.4
    Error: cannot access directory oracle\jsp\runtime; verify that directory is reachable from classpath and/or sourcepath
    can someone help me?
    thanks

    Xinwei -
    Make sure you have added the correct libraries to your project; adding JSP Runtime to your project should alleviate this error.
    Hope this helps,
    Lynn
    Java Tools Team

  • I am getting errors related to a plant not in that plant range .

    I have created a costing run for company code 6000  and defined a plant number range in the Selection Parameters However, I am getting errors related to a plant not in that plant range .  Can you explain this?

    What does the error say?
    If you get this when you try to mark or release the Cost Estimate, you should be able to ignore the error. The system complaints that Marking has not been allowed for some plants etc. Nothing of significance.
    Else, check the transfer control. Either way, maybe we can answer better if we know what the error is.
    Cheers.

Maybe you are looking for