Webutil and intermedia

Has anyone configured webutil to upload/download ordsys.ordimage datatypes instead of just straight blobs? Just wondering before I tackle it myself.
Jeremy.

To configure the webutil_db package to handle intermedia, I just changed the BLOB variables to ORDSYS.ORDIMAGE datatypes and then added <variable>.source.localdata to each instance they get called: DBMS_LOB.GETLENGTH(<variable>.source.localdata) and so on. To set height, width and some other properties of the image being loaded, I made calls to the getproperties() and setproperties() methods of the ORDSYS.ORDIMAGE datatype. If you've used intermedia before, then this'll be pretty straightforward.

Similar Messages

  • Webutil and SQLLDR

    It used to be on the client server when we run a batch file with sqlldr from a form, a cmd window would open and we can actually see a count of the records, and if we want we could make it that the user would have to click a button to close the cmd window and return to the form.
    Now with the web version and webutil, I was able to make the batch file work and the data is loaded into a table, however, when the cmd window opens, it stays blank and you cannot see what is happening.
    Is there a way to get the same performance as the client server version?
    Thanks
    George

    Hi,
    You can read the output/log file using textio (implemented through webutil)
    and give a message to the end user.
    Alternatively use the webutil host to open a command window and pass batch file which will do the sql ldr ....
    Rajesh Alex

  • WebUtil and Jacob Setting for AIX Server

    Dear All
    I am using forms 10G.
    I have done the setting for webUtil and Jacob in my pc for browse button to be and it is working fine .
    But can any one please tell me the steps for implement these things in AIX server .I mean how to configure this to utility Webutil and Jacob in AIX server .
    Kindly anyone tell me what needs to be done in server for webutil ?
    Edited by: LuKKa on Sep 22, 2010 12:01 PM

    the steps are same as in other supported systems.
    Since my blog is failed to help you then i will recommend you to do some more reading ...
    Read the docs http://www.oracle.com/technetwork/developer-tools/forms/webutil-090641.html

  • Webutil and Office 2010

    Has anyone else experienced any issues with webutil and MS Office 2010? We save .xls files to .csv and upload via webutil (10g). We are getting an error that the file on the root directory cannot be found, although it does exist. We found that if we saved as Office 2003 and then as a .csv file, it sometimes works. We never had this problem before upgrading to Office 2010. I ran the form in debug and confirmed it is bombing out on the client_text_io open command.
    thanks in advance

    I think we figured out it was also a Windows7 issue more than Excel. The Windows7 doesn't have a temp directory any longer, but we were able to create another directory (with a more meaningful name) and read/write to it. The webutil works fine now. Seemed like it was maybe a root directory permissions problem.
    thanks

  • WebUtil and ActiveX

    What is the correlation between WebUtil and ActiveX?
    The reason I ask is that we have successfully installed WebUtil on our 9iAS R2 apps server and the Webutil forms that were created all work perfectly on site.
    However our WAN covers sites all over the UK and the majoiry of these sites have all ActiveX settings disabled for security reasons. When accessing from one of these sites the form correctly loads all the .dll and .jar files but the CLIENT_TEXT_IO procedure will not operate.

    ... one thing I forgot. Duncan Mills, who could answer this question a lot better than I can, is on vacation this week.
    Frank

  • Webutil and XP

    Hi,
    We have a form in which we use the call web.show_document(l_url, '_blank'), where l_url is a location of an html file on a local pc. Then in a
    seperate browser the html file is shown.This works fine for our application.
    Now some users are migrated to XP as OS, instead if 2000.. For these users no webbrowser is started after the call to show_document. In the
    javaconsole is also no error seen. It is just that nothing happens.
    In IE and Firefox this problem occurs.
    Is there an issue between webutil and XP? Or is this a different kind of problem?
    Richard

    Thx for quick reply..
    We tried it.. But, problem keeps existing...
    We also tried XP and IE6... again no browser appears ...
    This is the information in the Java Console..
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\OPERATORProxy Configuration: Manual Configuration
    Proxy: dasproxy:80 Proxy Overrides: <local>JAR cache enabled
    Location: C:\Documents and Settings\OPERATOR\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0----------------------------------------------------
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://xxxxx:7778/forms/java/frmall_jinit.jar from JAR cacheLoading
    http://xxxxxxx:7778/forms/java/frmwebutil.jar from JAR cacheLoading
    http://xxxxxxx:7778/hsd65java/hst65.jar from JAR cacheLoading
    http://xxxxxxx:7778/dasimages/das_images.jar from JAR cacheRegisterWebUtil
    - Loading WebUtil Version 1.0.6
    Loading http://xxxxxx:7778/forms/java/jacob.jar from JAR
    cacheproxyHost=nullproxyPort=0connectMode=HTTP,native.Versie van Forms-applet is: 10.1.2.0

  • Webutil and Outlook - I get a WUO-714 and WUO-705 error

    Hi,
    I have installed webutil and it loads fine an all. However, I have a problem with a Microsoft Outlook integration. I am simply trying open an Outlook mail item, which is then filled out with some data. Pressing the Send button is up to the user.
    Everything works until the line "mailitem2 := CLIENT_OLE2.INVOKE_obj(MailItem,'Display');" is called. Here Forms reports back: "100501: non-Oracle exception" and the java console gives a WUO-714 and WUO-705. The problems seems to be the Display method. At that point, despite errors, I do have an open, visible mail item with the proper data filled in. (In this process I noticed that the final invoke_obj should happen after you write stuff into the To, Subject and Body of the mail, but that's besides the point.)
    Any advice you can offer is welcome.
    Sincerely,
    Jesper Vad Kristensen
    Aarhus, Denmark
    --- Java console error codes --
    Loading http://oiatst01.tdk.dk:7778/forms90/webutil/webutil.jar from JAR cache
    Loading http://oiatst01.tdk.dk:7778/forms90/webutil/jacob.jar from JAR cache
    Loading http://oiatst01.tdk.dk:7778/forms90/java/f90all_jinit.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    2003-nov-17 09:42:50.624 ERROR>WUO-714 [OleFunctions.setExceptionValues()] Unable to get the last OLE Error details; Exception
    null
    2003-nov-17 09:42:50.634 ERROR>WUO-705 [OleFunctions.invoke_ret_obj()] Unable to invoke Method: Display; Exception
    com.jacob.com.ComFailException: VariantChangeType failed
    --- end ---
    --- Form code ---
    Declare
         OutlookApp      CLIENT_OLE2.OBJ_TYPE;
         Folders      CLIENT_OLE2.OBJ_TYPE;
         MailItem      CLIENT_OLE2.OBJ_TYPE;
         MailItem2      CLIENT_OLE2.OBJ_TYPE;
         OLEPARAM      CLIENT_OLE2.list_type;
         v_kundenummer     varchar2(12) := :v_engagement.konto;
         v_firstname      varchar2(50) := :legal_person.firstname;
         v_surname           varchar2(50) := :legal_person.surname;
         v_company_name      varchar2(50) := :legal_person.company_name;
         v_to                varchar2(50) := '[email protected]';
         v_cc                varchar2(50);
         v_body                varchar2(250) := 'Kundenummer'||' ' ||v_kundenummer||chr(10)||v_firstname||' '||v_surname||' '||v_company_name;
         v_bcc                varchar2(50);
         v_subject           varchar2(50) := 'Fakturakopi';
         v_duedate           varchar2(50);
         v_invoicetext      varchar2(400);
         v_user                varchar2(50):= user;
         v_faktura           varchar2(400);
    BEGIN
         /* snip some string work to create Body contents */
         OutlookApp := CLIENT_OLE2.CREATE_OBJ('Outlook.Application');
         --Create a newMail Object
         OLEPARAM := CLIENT_OLE2.CREATE_ARGLIST;
         CLIENT_OLE2.ADD_ARG(OLEPARAM,0);
         MailItem := CLIENT_OLE2.INVOKE_OBJ(OutlookApp,'CreateItem',OLEPARAM);
         CLIENT_OLE2.DESTROY_ARGLIST(OLEPARAM);
         -- Show the new message box. - Dont do when mailing straight Through
         CLIENT_OLE2.set_property(MailItem,'To',v_to);
         CLIENT_OLE2.set_property(MailItem,'Subject',v_subject);
         CLIENT_OLE2.set_property(MailItem,'Body',v_body);
         mailitem2 := CLIENT_OLE2.INVOKE_obj(MailItem,'Display');
         CLIENT_OLE2.RELEASE_OBJ(MailItem);
         CLIENT_OLE2.RELEASE_OBJ(MailItem2);
         CLIENT_OLE2.RELEASE_OBJ(NameSpace);
         CLIENT_OLE2.RELEASE_OBJ(OutlookApp);
         /* snip some more */
         exception
         when others then
         message('other error: '||sqlerrm);
    --- end ---

    Both the Outlook type library and the M/S online documentation show that the display method on MailItem does not have a return type. try a simple INVOKE rather than INVOKE_OBJ

  • Is Oracle Text and InterMedia one and the same?

    Hi,
    In short are they the same and which one is the latest of them.
    Thanks in advance.

    They are not the same. In earlier versions, the term InterMedia included the Text stuff, but they have since been separated. Currently, Text is the stuff with words in it, like documents and Intermedia is the non-word stuff, like pictures and videos.

  • Regarding WebUtils and Jacob

    Dear all
    I am following BAIG's blog for configuring WebUtil and Jacob .
    http://baigsorcl.blogspot.com/2010/01/open-file-dailog-box-example-using.html
    Mr Baig told to download both WebUtil and Jacob . But in 10G already Webutil is there .
    So again i nned to Download and replace it ?
    Or only i have to download JACOB ?

    No, you don't need to download it again. It will be available for IDS.
    You need to download only when you are using iAS ..

  • Using long vs. clob datatype with Oracle 8.1.7 and interMedia

    I am trying to determine the best datatype to use for a column I
    wish to search using the interMedia contains() function. I am
    developing a 100% java application using Oracle 8.1.7 on Linux.
    I'd prefer to use the standard JDBC API's for PreparedStatement,
    and not have to use Oracle extensions if possible. I've
    discovered that there are limitations in the support for LOB's
    in Oracle's 100% java driver. The PreparedStatement methods
    like setAsciiStream() and setCharacterStream() are documented to
    have flaws that may result in the corruption of data. I have
    also noticed that socket exceptions sometimes occur when a large
    amount of data is transferred. If I use the long datatype for
    my table column, the setCharacterStream() method seems to
    transfer the data correctly. When I try to search this column
    using the interMedia contains() function, I get strange
    results. If I run my search on Oracle 8.1.6 for Windows, the
    results seem to be correct. If I run the same search on Oracle
    8.1.7 for Linux, the results are usually incorrect. The same
    searches seem to work correctly on both boxes when I change the
    column type from long to clob. Using the clob type may not be
    an option for me since the standard JDBC API's to transfer data
    into internal clob fields are broken, and I may need to stick
    with standard JDBC API's. My customer wishes to purchase a
    version of Oracle for Linux that will allow us to implement the
    search capability he requires. Any guidance would be greatly
    appreciated.

    I've finally solved it!
    I downloaded the following jre from blackdown:
    jre118_v3-glibc-2.1.3-DYNMOTIF.tar.bz2
    It's the only one that seems to work (and god, have I tried them all!)
    I've no idea what the DYNMOTIF means (apart from being something to do with Motif - but you don't have to be a linux guru to work that out ;)) - but, hell, it works.
    And after sitting in front of this machine for 3 days trying to deal with Oracle's, frankly PATHETIC install, that's so full of holes and bugs, that's all I care about..
    The one bundled with Oracle 8.1.7 doesn't work with Linux redhat 6.2EE.
    Don't oracle test their software?
    Anyway I'm happy now, and I'm leaving this in case anybody else has the same problem.
    Thanks for everyone's help.

  • Webutil and time to open a form from server (forms ver 10.1.2.0.2)

    Hi,
    we have an application which uses webutil in some forms and 50 users in a lan with microsoft I.E. browser xp (patch 2 or 3) .
    All the users when run url of forms without webutil have the same time to open the applications, instead when the forms use webutil 5 users have to wait long time before to access to the application (after all works fine and fast)
    For others users (45) the time is the same.
    Besides we install in one of these problematic client the developer suite to try the local A.S. and we wonder that the forms with webutil open quickly in local pc.
    Therefore we have 50 clients and :
    -- 50 clients open quickly the forms without webutil in the lan .
    -- 45 clients open quickly also the forms with webutil in the lan
    -- 5 clients open very slowly the forms with webutil in the lan (after they work fine) and they open quickly the same forms with webutil in local AS (devsuite) . They use I.E. 7 and have patch 3 of xp
    We tried to disable antivirus,microsoft firewall but nothing has changed .
    What could be the problem ?
    Gianpaolo

    Thanks MIke for your feedback...
    Will this surfice?
    Procedure Test_Report Is
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(50);
    BEGIN
    repid := find_report_object('report5');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'html');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'repserver90');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no pdeptno='||:dept.deptno);
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://<YourServerName:8888/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
    ELSE
    message('Error when running report');
    END IF;
    END;

  • Webutil and CalenderPJC Problem

    I have successfully integrated the Webutil CalendarPJC into my forms. It works fine on a single row block, but on a multi-row block the PJC has a strange reaction. I have a button on each line beside a date field. When you click on the button on a row the Java Calendar pops up but the form moves the current row to the next row on the form. Has anyone had this issue and can offer a suggestion how to correct this problem would be greatly appreciated? I tried moving the row back one row as the PJC comes up but that would not work!

    I have a simple form with a multi-row block. The form displays 10 rows when displayed. One of the fields is a date field. I place the Java Bean Area right beside the date field. So on each row there is Button for the CalendarPJC. If the first row is highlighted and I press the Button on that row for the PJC the Java Bean displays the Java Date modal window and moves the current row to row 2. I am running forms 10.2.0.2 on windows and SUN JVM 1.5.0_16

  • Webutil and DDE problem

    Hello,
    We are running into a problem web-enabling a client-server Forms application. We are using WebUtil for HOST and OLE calls and sending files between client and app-server and it all works really marvelous. But we noticed that the DDE package is not available in WebUtil. Unfortunately for us, we are using DDE calls to interact with MS Word (for example merging template letters with address-data) and MS Excel (filling out template sheets with data).
    Can you tell me if DDE will be available in future releases of WebUtil? And, if not, is it (generally) possible to rewrite the DDE-calls to OLE-calls using WebUtil's CLIENT_OLE functions? And what DDE-functionality maps to the corresponding OLE-functionality?
    Or, if it's not possible to rewrite DDE to OLE, what are the alternatives? Removing the interaction between web-forms and MS Office is NOT an option ;-)
    Thanks in advance,
    H. Verschuren

    var shell=new ActiveXObject("WScript.shell")
    var command=null
    var key
    try {
    key="HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Office\\11.0\\Word\\InstallRoot\\Path" /* Word 2003 */
    command= shell.RegRead(key);
    } catch (e) {
    try {
    key="HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Office\\9.0\\Word\\InstallRoot\\Path" /* Word 2000 */
    command= shell.RegRead(key);
    } catch (e) {
    try {
    key="HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Office\\8.0\\Word\\InstallRoot\\Path" /* Word 97 */
    command= shell.RegRead(key);
    } catch (e) {
    command="\"" + command + "\\Winword.exe\" ftp://10.100.x.x\\ftpshare\\macros.dot -mMyMacro"
    shell.run(command,1,false)
    I must learn to monitor threads after I have contributed.

  • Problem w/ image item using 9i BLOB field and InterMedia ORDImage Object

    Hi,dear all,
    I have a problem with image item in Form 6i. Oracle 9i is used as backend DB, and a table contains image data is created for testing:
    create table image_test(
    id number,
    image blob
    In Form 6i, there is no problem to create a block for inserting/updating the image record into the database. However, it can not be used to retrieve image (blob field), the image item remains empty after 'execute query', while the id field can be retrieved. When the same table is created in Oracle 8.1.7, and the exact same form can be used without any problem both in inserting and retrieval. It seems that the Oracle 9i does not use the same way to store BLOB column. Has anybody ever encountered this problem? How to retrieve image (BLOB) in Form 6i from Oracle 9i?
    I tried to use interMedia ORDImage as the data type in Oracle 9i, that is,
    create table image_test(
    id number,
    image ORDSYS.ORDImage
    Same problem, the form can insert record with image, but when retrieving, nothing displayed. Anybody could help! Thanks in advance!

    hi!
    well working with oracle8i and form6i.
    same problem..but i used (instead of blob or clob as datatype..) Long raw..
    it can be saved as usual..i mean Commit..
    and can be retrieved..using Execute_Query..its working fine..
    well if anybody get any other solution..do inform..
    mail_id:
    [email protected]

  • WebUtil and 9i db

    Hi,
    What features of the 9i database are used by WebUtil? I am on 8i (8.1.7.4) and was wondering if it was absolutely necessary to be at 9i.
    Thanks,
    Mitch

    Shay - Thanks for the info. Unfortunately, the file transfer feature is the exact one I want to use. Just out of curiosity, do you know what 9i-specific features it uses? (I'll probably need this info for justification to our DBAs to upgrade).
    Thanks!
    -Mitch

Maybe you are looking for