Determining the BFile name

I was going through Steve Muench's book titled: "Building Oracle XML applications" and i was trying to refer to the file claim77804.xml in the xml directory which i created. I followed the book and i typed in the following code and the error came up:
SQL> SELECT DBMS_LOB.getLenght ( BFileName ('XMLFILES', 'claim77804.xml
2 AS length
3 FROM dual;
SELECT DBMS_LOB.getLenght ( BFileName ('XMLFILES', 'claim77804.xml'))
ERROR at line 1:
ORA-00904: invalid column name
I was working on CLOBs and i created the basic CLOB table:
CREATE TABLE xml_documents (
docname VARCHAR2(200) PRIMARY KEY,
xmldoc CLOB,
timestamp DATE
This worked fine but when i tried adding a database trigger, the following happened:
SQL> CREATE TRIGGER xml_documents_timestamp
2 BEFORE INSERT OR UPDATE ON xml_documents
3 FOR EACH ROW
4 BEGIN
5 :new.timestamp := SYSDATE;
6 END;
7
8
9
10
The numbers just keep coming. I have installed the PL/SQL XDK which includes the XMldom and XMLParser etc.
Thanks for your cooperation

Is it using a local interface and NOT a remote interface? I found that local interfaces
were not found even though they appear in the list of EJB jndi names.
Matthew Summers <[email protected]> wrote:
I'm using JBuilder9's EJB Designer to create CMP Entity Beans. After
successful deployment to WLS8.1, I use the mydomain> EJB Deployments>
myEJB>Testing>Test This EJB tool, I get the following error:
"The EJB myEJB has not been tested successfully. There was a problem
determining the JNDI Name of the given bean."
I didn't have this issue when I was running WLS7.1. I'm not doing
anything differently in JBuilder9 than when I was running WLS7.1.
Any Ideas? Help? Please?

Similar Messages

  • A problem determining the JNDI Name of a local EJB with WL 8.1

    Hi,
    I created a very simple local EJB and deployed it with Weblogic8.1. When I test
    it in the Weblogic server admin page, I got the following message:
    "The EJB MyLocal has not been tested successfully. There was a problem determining
    the JNDI Name of the given bean."
    Can anyone help figure out the problem?
    Thanks
    Henry

    Does the ejb have a target server specified?
    Does the Ejb have a Jndi binding as specified in the <local-jndi-name></local-jndi-name>
    element of weblogic-ejb-jar.xml?
    thanks,
    Deepak
    "Henry" <[email protected]> wrote:
    >
    >
    Hi,
    I created a very simple local EJB and deployed it with Weblogic8.1. When
    I test
    it in the Weblogic server admin page, I got the following message:
    "The EJB MyLocal has not been tested successfully. There was a problem
    determining
    the JNDI Name of the given bean."
    Can anyone help figure out the problem?
    Thanks
    Henry

  • How can IC WebClient determine the host name for free seating?

    Hi,
    I want to determine the host name at CRM application server by ICI interface for free seating scenario.
    There is a TCODE CRMM_IC_GFS to set 'Host Name Identification Applet'.  But when I check on it, all buttions in IC Webclient disappeared. I followed the note 812399 to change Java security configuration, but the synptom still exist. Do anybody now how to? Thanks!
    BR,
    Hao

    To run a public VPN server, you need to do the following:
    1. Give the gateway either a static external address or a dynamic DNS name. The latter must be a DNS record on a public DNS registrar, not on the server itself. Also in the latter case, you must run a background process to keep the DNS record up to date when your IP address changes.
    2. Give the VPN server a static address on the local network.
    3. Forward external UDP ports 500, 1701, and 4500 (for L2TP) and TCP port 1723 (for PPTP) to the corresponding ports on the VPN server.
    4. Configure any firewall in use to pass this traffic.

  • How to determine the Cluster name ?

    Grid version : 11.2.0.3 on Solaris 10
    When we start installing Grid Infrastructure, we specify a Cluster Name.
    Question1.
    How can I determine the cluster name of a 11.2 RAC Cluster ? We maintain a DB inventory. For each cluster , we want to specify the Cluster name.Hence we require the cluster name .
    Question2.
    The cluster name is of no functional importance. Right ? I don't remember using Cluster Name in any commands (srvctl, crsctl,...)

    To determine the cluster name,[oracle@iron1 ~]$ olsnodes -c
    ironcluster
    [oracle@iron1 ~]$I wouldn't say it has much technical significance, though it is used as a default in a few other names.
    John Watson
    Oracle Certified Master DBA
    http://skillbuilders.com

  • Error when determining the PSA name

    I am on BW3.5, trying to load a delta that has been loading for 2+ years with no problems.  The load today is getting the error message:  "RSAODS 132 Error when determining the PSA name"
    I've looked in OSS Notes and there is nothing with this error message.  This is CCA Actual data that loads to PSA > ODS > Cube.  The PSA load is red and the entry in the ODS is also red.  Thanks

    Hello Keith,
    Not sure just check following, might help.
    This might be because of insufficent authorization ( did you changed anything on authorization company wide decision?)
    Or this might be brcause of insufficent tablespace or something?
    Sarhan.

  • How to determine the schema name from stored function or procedure

    Hi all
    I need to find the way to determine the name of shema in which the given stored procedure residing. This SP is created with AUTHID CURRENT_USER what means that expression like SYS_CONTEXT('USERENV','CURRENT_USER') or SYS_CONTEXT('USERENV','CURRENT_SCHEMA') will be return the name of user or schema of user which calls given SP.
    can somebody help me?

    What is the problem you are trying to solve?
    Presumably, when you're creating a stored procedure, you know what schema owns it. So it's pretty trivial to simply create a local variable L_OWNER in your procedure, assign it the value of the schema owner, and then use that owner. Most people don't really need to figure out at runtime what they already knew at compile time.
    Barring that, you could inspect the data dictionary as user130038 suggested. That requires that you know the name of the procedure (which would likely also have to be a local variable that is initialized to a hard-coded value. And if there are multiple users that own procedures with the same name, it may not be reliable.
    Inspecting the call stack is the most reliable and dynamic approach. But it is also the most costly in terms or runtime performance and in terms of code complexity.
    Justin

  • E4x syntax and determining the attribute name at runtime

    I'd like to be able to determine the attribute to use to say
    assign to a <mx:Label> in my ItemRenderer at runtime.
    The dataProvider is an XMLList. My ItemRenderer (partially)
    looks like this:
    <mx:Repeater id="ItemRepeater">
    <mx:Text text="{ItemRepeater.currentItem.@[labelField]}"
    width="100%" height="100%"/>
    </mx:Repeater>
    labelField is a property of the ItemRender and is set from
    the "outside".
    If the text property is is set to be
    <mx:Text text="{ItemRepeater.currentItem.@area_name}"
    width="100%" height="100%"/>
    (where area_name is an attribute of the currentItem) it works
    just fine.
    But as it stands now:
    <mx:Text text="{ItemRepeater.currentItem.@[labelField]}"
    width="100%" height="100%"/>
    I get an Internal Build Error and am unable to proceed.
    So my question is, is there another way to extract an
    attribute whose name is only known at runtime? I know that this
    syntax works in other cases, just not in an ItemRenderer situation.
    Thanks.
    In an ItemRenderer

    I think it's something to do with a repeater. I have an
    mx:Label inside the repeater and when I use this (the value of the
    labelField property is set to "area_name"):
    <mx:Label id="itemLabel"
    text="{ItemRepeater.currentItem['@' + labelField]}"/>
    I get a runtime error
    Error: Unknown Property: '@area_name'.
    However, continuing on eventually reveals that the text
    property of the label's are in fact being set correctly!
    So barring the weird runtime errors, it's actually working
    the way I'd like it to.

  • Determining the browser name and version using an applet

    hi all,
    can we determine the version and the name of the browser using an applet. If it can be done then plz can anyone tell me how to do it.
    Thanx

    Hello trogan,
    >>How do I access the class name and method of an exception within my program? Pretty basic stufff I know, but can't seem to do so.
    Since you post your question to this forum, I assume that the exception is thrown by your .NET application, in .NET, as far as I know, an exception is represented by a Type in actual, since it is a type and I assume that you catch the exception as :
    try
    catch(exceptionobject e)
    //process excetion
    we can use
    reflection to get all information from the instance “e”of the exception.
    For your second question, it seems to be related the usage of Visual Studio, I suggest that you could post it to
    Visual Studio forum.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to determine the RDT name generated by sdo_geor.init()?

    I've done the following in a stored procedure:
    insert into ... values(sdo_geor.init()) returning newcol into gr;
    Now, before I do anything with gr, I have to create the rdt whose name was generated by sdo_geor.init. How do I get that name? There doesn't seem to be a sdo_geor.get* procedure or function for returning this.
    What I'm trying to do is implement this example of using sdo_geor.copy, but without specifying an rdt in sdo_geor.init():
    DECLARE
    gr1 sdo_georaster;
    gr2 sdo_georaster;
    BEGIN
    INSERT INTO georaster_table VALUES (11, sdo_geor.init('RDT_11', 1))
    RETURNING georaster INTO gr2;
    SELECT georaster INTO gr1 from georaster_table WHERE georid=1;
    sdo_geor.copy(gr1, gr2);
    UPDATE georaster_table SET georaster=gr2 WHERE georid=11;
    COMMIT;
    END;
    Alternatively, is there a way to generate a unique RDT name myself so that I can specify it in the call to sdo_geor.init?
    Many thanks,
    Mike

    Mike,
    the RDT table name is in the georaster object (gr) you just created. It's an attribute of sdo_georaster object, i.e., gr.RASTERDATATABLE in your case.
    generally, automatically generating the RDT name thru sdo_geor.init is not recommended because that would generate an RDT for each GeoRaster object. An RDT table should be used to contain the raster blocks of many smaller GeoRaster objects while you devote a single RDT table for a huge GeoRaster object (an image with a size over tens of GB to many terabytes for example). Even though the RDT tables are internal to GeoRaster, the creation of the RDT table is done by users, which is intentional, so that you can fully leverage the configuration and tuning power of oracle database (for example, if ASM is not used, RDT tables may be created on different tablespaces so that the raster blocks are distributed to different disks to improve performance).
    to generate unique RDT names, you can leverage the SEQUENCE object to create sequence numbers and then attach them to a special table name you picked up.
    Regards,
    Jeffrey

  • Is there an easy way to run an Ajax function from input type=file to test the file name in DB?

    I've had the <input type="file">  ... <cffile ...> thing going for a few years now. 
    There is a database where the uploaded file names are stored once the files are uploaded to the server.  It sees things in terms of problems and stores uploaded file name accordingly with the ProbID prepended onto the file name; e.g., MyPicture.jpg would end up in the designated directory and databawe as P416_MyPicture.jpg.  This allows user to store pictures with the same name in different problems without a conflict.  There has been an issue with certain characters (e.g., spaces, +, #, etc.) causing problems when they are in file names so we have come up with a way using the <cffile ... rename> to replace these chars with _.  This means that MyPic+.jpg would end up being P416_MyPic_.jpg. 
         This is where the problem appears.  If someone were to upload MyPic+.jpg after someone else uploaded MyPic_.jpg in the same problem, then the + file would overwrite the _ file before the system knew they had a problem.  And there is now way to restore the original file without going to the system backup and doing so – which is a whole other story … especially, if the person doesn’t tell anyone.
         The logical solution would be to be able to test the new final file name (the name after making the substitutions mentioned above) against the existing files in the database before you went from the page where the <input type=file> control to the associated _action.cfm page where the <cffile> object is located.  Given that this seems to be the province of Ajax, this would seem like a natural use of the really interesting technology.  I have can determine the file name from the onChange action on the <input type=File> so that this would be the place for Ajax to come to the rescue by looking up the final file name and then letting the user know whether the resultant name is a unique within the database or not.  If so, I'll just enable the Add button which sets right next to the <input > control and let them upload it.  If not, I'll put up an error message telling them that this file already exists in the system.
         This would be the perfect solution.  It would let me do some Ajax stuff like I've wanted to do for the past year, but never have had the time to do because this is the project that won't go away.  This is, in fact, the last thing of any consequence that remains to do on this 2-1/2 year nightmare – be careful what you wish for.  If I can get this done this week, then maybe I can finally take a weekend off … maybe it will finally come to an end.
         Which finally leads to my question:  I'm looking for some tips on how to get this thing going since I can barely spell Ajax.  I've got a book and looked at some stuff online about CF and Ajax, but a good example or two or three would be worth a day's worth of poking around on the web and in my books.
         Thanks in advance for any suggestions, ideas, help, whatever.
    Len

    Adam,
         Thank you for your suggestion, but, after spending the night working with Ben Forta's CF8, vol 2, Chap 34, working with <cfajaxproxy>, I was able to do exactly what I wanted and it appears, after some testing, to work exactly as I had envisoned it should. 
         I am now calling a JavaScript function (testFileName) from the onChage event on the <input type="file"> or Browse button, which calls my proxy.cfc that contains the server side of the equation.  This funciton testFileName (I've run out of cleaver function/file names).  The query contained therein hits the database to see if the passed in parameters can pull up an existing file.  If they do, the particulars (file name, data attahced, etc.) are returned to the JavaScipt procedure that puts up the error notice.  The user can then chose to either overwrite the file or quit.  Quiting leaves the your on the Attachment PopUp where he/she started with nothing being uploaded. 
         Thanks again for your suggestion.  I appreciate your taking the time to do so.
    Len

  • Determine LVOOP class name? - of a child class...

    Hi,
    I have a number of modules (classes) that inherit from a base class called "Module".  I have these all in an array of type "Module", I would like to log some information from each of these modules, but I need to distinguish between each module.
    Is there a way to determine the class name from the data wire?
    I can use varient to flattened string, but I was just wondering if there was a built in property node/function for this?
    Thanks,
    Jonathan
    Examples Attached:
    Message Edited by malkier on 03-20-2009 12:39 PM
    LV 8.2/8.5/8.6 - WinXP
    Solved!
    Go to Solution.
    Attachments:
    Use_Module_BD.png ‏4 KB
    Modname_BD.png ‏4 KB
    ArrayResults_FP.png ‏3 KB

    malkier,
    There is no build in function that does exactly what you are looking for, but you can use the 'Get LV Class Path' VI to return the *.lvclass path of a given object.  Using this path, you can either parse out the name, or you can use VI server to get the name of the class, as shown in the attached image.
     Chris M
    Attachments:
    GetClassName.png ‏4 KB

  • What is the canonical name of icloud applet for windows?

    Hi, I am trying to determing the canonical name of the icloud applet for windows.  Does anyone know it?

    To expound a bit, within win7 control panel sits "iCloud".  I am attempting to hide the applet from being visible in control panel using group policy editor.  No big deal really, the hard part is determining the cononical name.  I have tried it in ways akin to other names, but no dice.  Here are some samples:
    Control Panel Item
    Canonical name
    GUID
    Action Center
    Microsoft.ActionCenter (Windows 7 and later only)
    {BB64F8A7-BEE7-4E1A-AB8D-7D8273F7FDB6}
    Administrative Tools
    Microsoft.AdministrativeTools
    {D20EA4E1-3957-11d2-A40B-0C5020524153}
    AutoPlay
    Microsoft.AutoPlay
    {9C60DE1E-E5FC-40f4-A487-460851A8D915}
    Backup and Restore
    Microsoft.BackupAndRestore (Windows 7 and later only)
    {B98A2BEA-7D42-4558-8BD1-832F41BAC6FD}
    Biometric Devices
    Microsoft.BiometricDevices (Windows 7 and later only)
    {0142e4d0-fb7a-11dc-ba4a-000ffe7ab428}
    BitLocker Drive Encryption
    Microsoft.BitLockerDriveEncryption
    {D9EF8727-CAC2-4e60-809E-86F80A666C91}
    Color Management
    Microsoft.ColorManagement
    {B2C761C6-29BC-4f19-9251-E6195265BAF1}
    Credential Manager
    Microsoft.CredentialManager (Windows 7 and later only)
    {1206F5F1-0569-412C-8FEC-3204630DFB70}
    Date and Time
    Microsoft.DateAndTime
    {E2E7934B-DCE5-43C4-9576-7FE4F75E7480}

  • How to determine main program name?

    Hello Forums,
    I am working on a customer exit that is called by a function module and I would like to have a condition in my include that states
    if program_name =   SAPLV56K .
    do logic in here.
    Endif.
    is it possible to determine the program name?
    thanks

    Hi,
    Do following step,
    1 declare global Variable of type sy-repid. eg data g_repid like sy-repid.
    2 assign program name to variable at Initialization stmt.
         INITIALIZATION
         g_repid = sy-repid.
    3 Use this variable.
    other wise use sy-cprog.
    Difference between sy-repid and sy-cprog
    Sy-repid --- It contains the name of current program.
    Sy-cprog---Contains the name of calling program.
    Thanks & Regards,
    ShreeMohan

  • Determining the Listener serving the DB from SQL

    Oracle Version: 10.2, 11.1, 11.2
    OS : Solaris 5.10
    From within the DB (ie. querying Data dict or V$ views, etc..) , is there any way we could determine the listener name which is serving the DB ?
    Edited by: J.Kiechle on Aug 16, 2011 5:14 AM
    Changed the Subject

    For single instance database using LOCAL_LISTENER parameter you may retrieve listener data (however you cannot be sure that this is the listener name used in listener.ora):
    select value
    from v$parameter
    where name='local_listener';But in general I don't think this is possible with a documented dynamic performance or dictionary view.
    Edited by: P. Forstmann on 16 août 2011 17:09

  • Setting the "Device Name" when activating device licenses

    What determines the “Device Name” in the list of activated devices in the Development Pool on the Adobe license site for device licenses? Specifically for Macs... It doesn't seem to be the "Sharing Preferences" pane...

    So, figured it out by myself. It appears that the Adobe serializer uses the local Mac's hostname. You can find that out by going to the terminal and typing 'hostname'. The host name gets set initially by any domain name that is assigned to the IP. If none is, it uses the Sharing Name in the Sharing preferences pane. Regardless, you can override and change the hostname using the terminal (sudo scutil --set HostName mynewhostname.local). Deauthorize the device on the Adobe site and reauthorize and it will appear as desired. This way, you can have the machine listed on the Adobe site however you wish rather than by domain name. This is helpful if you have a long list of machines and wish to set their hostnames to their room number or location, etc.

Maybe you are looking for

  • How do I consolidate several iCloud accounts into one?

    Can anyone let me know how do I consolidate several iCloud accounts into one? Thanks Superminds!

  • X3 02 Having problem with display

    I tried to download a file from nokia website and all of a sudden my X3 02 is having display problem. it is flickering and very hazy. Can someone help me out. Regards Feroz Khan Moderator note: e-mail address removd - it is unwise to publish personal

  • How to restore corrupted folder to iphone 5

    Hi kind souls, I've recently updated my iphone 5 IOS to 7.0.4 and due to space limitation my backup folder is corrupted. How do I restore this corrupted folder to my iphone? I can see the folder in the /Backup folder but Itunes doesn't have options t

  • Short "cuts" with Airport Express

    Hello, I have changed my internet box (Orange Livebox in France) and I had remake the connexion of the Airport Express to the new network. Airplay from iTunes, iPad and iPhone (any apps) works fine but sometimes I have some really short "cuts" of the

  • Flash plays in Chrome, wont load in IE, like its not even on page.  Code inside please help a newb..

    Here is the code, flash plays fine in chrome even after publishing and making live on web.  But anyone with IE gets all my page but no flash menus or anything.  Have not tried FF.  Please help Im going nuts on this one.  Im using Visual Studio 2010 R