Webutil and 10g  Patch 3 Error

Hi All,
We have applied the patch 3 on the IAS (10g) in Solaris and everything works fine except for webutil .
With webutil forms , we get the below error message
network: Connecting http://comp.dom.com/forms/frmservlet?config=JAVA1.6&acceptLanguage=en-us&ifcmd=startsession with proxy=DIRECT
network: Connecting http://comp.dom.com/forms/lservlet;jsessionid=jGr5XDqQLvpA?ifcmd=getinfo&ifhost=1429-224&ifip=66.100.205.233 with proxy=DIRECT
network: Connecting http://comp.dom.com/forms/lservlet;jsessionid=jGr5XDqQLvpAe with proxy=DIRECT
Forms Applet version is : 10.1.2.3
network: Connecting http://comp.dom.com/forms/lservlet;jsessionid=XDqQLvpAe with proxy=DIRECT
network: Cache entry found [url: http://comp.dom.com/forms/java/frmall.jar, version: null]
network: Cache entry found [url: http://comp.dom.com/forms/java/frmall.jar, version: null]
basic: Loaded image: jar:http://comp.dom.com/forms/java/frmall.jar!/oracle/forms/icons/frame.gif
network: Cache entry found [url: http://comp.dom.com/forms/java/frmwebutil.jar, version: null]
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: The CRL support is disabled
security: The OCSP support is disabled
security: No timestamping info available
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment permanent certificate store
java.lang.NoSuchMethodError: oracle.forms.handler.IHandler.getApplet()Ljava/applet/Applet;
     at oracle.forms.webutil.common.VBeanCommon.init(Unknown Source)
     at oracle.forms.handler.UICommon.instantiate(Unknown Source)
     at oracle.forms.handler.UICommon.onCreate(Unknown Source)
     at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
     at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
     at oracle.forms.engine.Runform.processMessage(Unknown Source)
     at oracle.forms.engine.Runform.processSet(Unknown Source)
     at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
     at oracle.forms.engine.Runform.onMessage(Unknown Source)
     at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
     at oracle.forms.engine.Runform.startRunform(Unknown Source)
     at oracle.forms.engine.Main.createRunform(Unknown Source)
     at oracle.forms.engine.Main.start(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source
Best Regards
Rajesh Alex
Message was edited by: Rajesh Alex modified session id (long)
Rajesh_Alex

Hello,
I've been monitoring this forum for 3 days waiting for someone to report this issue.
I am having a similar issue with Forms, Patch 3 (10.1.2.3). It appears this patch has an issue finding paths to beans within Forms (Java Pathing to the .class). For me, webutil is working. But ALL of the other beans we have in our .fmbs are not working anymore, whereas they did work in 10.1.2.2.
Example #1: The CookieHandler bean (PJC). In the Forms 10g demo download, there is the CookieHandler.java. This compiles to CookieHandler.class. You can wrap this into a .jar, called cookie.jar. The internal path within this .jar to the class is oracle\forms\demos\beans, or oracle.forms.demos.beans. Within the .fmb, the Bean Area item is created, and the implementation class is set to 'oracle.forms.demos.beans.CookieHandler'. The cookie.jar file IS specified in the list of .jars in formsweb.cfg.
Result #1: When running the .fmb in the java console, you will get:
java.lang.NoSuchMethodError: oracle.forms.handler.IHandler.getApplet()Ljava/applet/Applet;
     at oracle.forms.demos.beans.CookieHandler.init(CookieHandler.java:161)
     at oracle.forms.handler.UICommon.instantiate(Unknown Source)
...........(and a list of java errors)....
It isn't finding the CookieHandler.class file. I don't know why? All of the pathing is correct, and IT WORKED IN FORMS 10.1.2.2.
Solution/Workaround #1: So....here is what it took to fix this issue:
I took package CookieHandler.java, commented out the very top line of code (package oracle.forms.demos.beans;). I then generated CookieHandler.class. I wrapped it up into cookie.jar. The pathing within the .jar file to the .class file does NOT have directories like it did before. Then in the .fmb, the Bean Area item is created, and the implementation class is set to 'CookieHandler' (not 'oracle.forms.demos.beans.CookieHandler', like before). This solves the issue.
I repeated the workaround/solution above for numerous beans we have in numerous forms. But there are a few beans which we don't have source code for. This makes it very difficult.
Can Oracle please look into the issue described above. I believe many people are going to hit this issue with Forms 10.1.2.3, if they are using Form Java Beans.
(we are using Windows XP Pro OS for everything)
Thanks in advance.
Matt

Similar Messages

  • Webutil and 10g

    Hi,
    Frank Grand said "we are targettingbetween the solaris and windows patch 1 which is about 3 weeks or so."
    We need to integrate webutil in our Forms10 applicatio asap. Do you know now when it will be released. It's very urgent.
    If it's not ready, can I use webutil 1.02 with 10g ? If yes, is the configuration explained in documentation applicable ?
    Please advise
    Laurent Feltz
    TWENT AG

    Hey Nicklas,
    what do you mean with "you might have to change ..."?
    Must I use the real path with server and so on
    instead of virtual path?
    Thanks for help.(sorry for long reply time, vacation time here)
    Yes, I have noticed that sometimes you have to change the line to an absolute URL (with hostname) or the /../<webutildir> (relative path to back one step up) in order to download the dll:s correctly

  • 10g Patch with WebUtil

    Any word on the ODS 10g patch with auto-install of WebUtil? Is this something that is realistically coming soon? (Just trying to avoid having to install it manually.)
    Thanks.

    Mike,
    So you have downloaded WebUtil. Now, unzip it and follow every step in th PDF and in teh HTML.
    First, I would install it on a clients Developer Suite and try it out. Create some test Forms etc. When you have done that, install it on your Application Server.
    Please note that the steps for installing it in Application Server differs slightly from Developer Suite. Pay attention to this as outlined in the PDF document.
    And lastly, of course WebUtil doesn't cause any "dangerous damage" to the middle-tier. If it was, we would certainly not certify WebUtil.
    Regards,
    Martin Malmstrom

  • TP_STEP_FAILURE " ERROR WHILE APPLYING SAP NW 04 SR1 ABA AND BASIS PATCHES

    Hi Freinds!!
    ..I have completed cinst, dbinst, client copy, jinst, xinst installation for XI 3.0 INSTALLAION ON ABAP + JAVA.
    I have first applied PI_BASIS patches and middle of it, it displayed the message that pre-requisite are not met i.e. First SAP_BW , SAP_BASIS, SAP_ABAP  pathces needs to apply.
    While applying SAP_BASIS and SAP_ABA patches... I'm getting the following error message ...
    "  The import was stopped, since an error occurred during the phase IMPORT_PROPER, which the Support Package Manger is unable to resolve without your input..
    After you have corrected the cause of the erro, continue with the import by choosing Support
    Package > Improt Queue from the initial screen of the Support Package Manager.
    The following details help you to analyze the problem :
    -Error in phase : IMPORT_PROPER
    -Reason for Error : TP_STEP_FAILURE
    -Return Code : 0012 "
    ....So, what could be the cause of the problem ? Do I need to increase table space through brtools command at ora<sid> ?!!
    Pl. help....
    Many thanks in advance...
    -Rupen Patel

    Thanks a lot everybody.
    Although I had upgraded Kernel Patch Level from 43 to 155, the real cause was, it seems that was maxed out Oracle Table, ..as I found it through ST22 tr code which inturn displayed a logfile which displayed the details of error. I used brtools to extend the tablespace of a table, reapplied the patches thorugh SPAM and it worked out quite smoothly.
    Thanks again and Regards,
    -Rupen Patel

  • 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

  • Error loggin into Database and while patching

    Hii
    Im getting error while trying to connect to Database and while patching.
    My Database 11.1.0.7 and application im upgrading frm 11.5.10.2 to 12.1.1 on windows 32 server
    Following is the error im getting from alertlog file
    Errors in file e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\trace\uat_ora_1404.trc  (incident=4956):
    *ORA-00600: internal error code, arguments: [qcisSetPlsqlCtx:tzi init], [], [], [], [], [], [], [], [], [], [], []*
    Incident details in: e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\incident\incdir_4956\uat_ora_1404_i4956.trc
    Mon Feb 27 18:10:30 2012
    Starting background process SMCO
    Mon Feb 27 18:10:30 2012
    SMCO started with pid=19, OS id=2424
    Errors in file e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\trace\uat_ora_1404.trc:
    *ORA-00600: internal error code, arguments: [qcisSetPlsqlCtx:tzi init], [], [], [], [], [], [], [], [], [], [], []*
    Completed: ALTER DATABASE OPEN
    Mon Feb 27 18:10:31 2012
    *Trace dumping is performing id=[cdmp_20120227181031]*
    Mon Feb 27 18:10:33 2012
    Errors in file e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\trace\uat_q002_1896.trc  (incident=5020):
    *ORA-00600: internal error code, arguments: [qcisSetPlsqlCtx:tzi init], [], [], [], [], [], [], [], [], [], [], []*
    Incident details in: e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\incident\incdir_5020\uat_q002_1896_i5020.trc
    Mon Feb 27 18:10:34 2012
    Errors in file e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\trace\uat_m002_3868.trc  (incident=4996):
    *ORA-00600: internal error code, arguments: [qcisSetPlsqlCtx:tzi init], [], [], [], [], [], [], [], [], [], [], []*
    Incident details in: e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\incident\incdir_4996\uat_m002_3868_i4996.trc
    *Trace dumping is performing id=[cdmp_20120227181034]*
    Errors in file e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\trace\uat_m002_3868.trc  (incident=4997):
    *ORA-00600: internal error code, arguments: [qcisSetPlsqlCtx:tzi init], [], [], [], [], [], [], [], [], [], [], []*
    Incident details in: e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\incident\incdir_4997\uat_m002_3868_i4997.trc
    *Trace dumping is performing id=[cdmp_20120227181035]*
    Errors in file e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\trace\uat_m002_3868.trc:
    *ORA-00600: internal error code, arguments: [qcisSetPlsqlCtx:tzi init], [], [], [], [], [], [], [], [], [], [], []*
    *Trace dumping is performing id=[cdmp_20120227181036]*
    Mon Feb 27 18:11:00 2012
    Mon Feb 27 18:11:00 2012
    Errors in file e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\trace\uat_ora_3760.trc  (incident=4998):
    *ORA-00600: internal error code, arguments: [qcisSetPlsqlCtx:tzi init], [], [], [], [], [], [], [], [], [], [], []*
    Incident details in: e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\incident\incdir_4998\uat_ora_3760_i4998.trc
    Mon Feb 27 18:11:01 2012
    *Trace dumping is performing id=[cdmp_20120227181101]*
    Mon Feb 27 18:11:13 2012
    Sweep Incident[5020]: completed
    Sweep Incident[4998]: completed
    Sweep Incident[4997]: completed
    Sweep Incident[4996]: completed
    Sweep Incident[4956]: completed
    Mon Feb 27 18:30:19 2012
    Incremental checkpoint up to RBA [0x1c64.1a77.0], current log tail at RBA [0x1c64.1d76.0]
    Can anyone proivde me a solution for this ASAP, as im not able to apply the patch and not able to upgrade
    Waiting for your replies soon
    Thanks in advance.

    Errors in file e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\trace\uat_ora_1404.trc  (incident=4956):
    *ORA-00600: internal error code, arguments: [qcisSetPlsqlCtx:tzi init], [], [], [], [], [], [], [], [], [], [], []*Please see (ORA-600 [qcisSetPlsqlCtx:tzi init] [ID 1267717.1]). If the doc does not help, please log a SR and upload all the log/trace files to Oracle Support.
    Thanks,
    Hussein

  • Mess and fail given errors in 10g?

    IF NVL(:BLOCKM.ITEM_QTY,0)>NVL(:STK_QTY,0)
    THEN
    MESS('Issue Qty Can Not Be Stock Qty....');
    FAIL;
    END IF;
    above code in 10g given error,,
    must be declare?
    please help.
    thanks
    yash

    Hi Yash,
    Your code should be like this
    IF NVL(:BLOCKM.ITEM_QTY,0)>NVL(:STK_QTY,0)
    THEN
    MESSAGE('Issue Qty Can Not Be Stock Qty....');
    RAISE Form_Trigger_Failure;
    END IF;If you want to create custom build functions, then create it (MESS) and inside call MESSAGE built-in , which is absolutely unnecessary in this case with double work.
    Most welcome :-) yash forum intend to share ideas
    Edited by: Lokanath Giri on २७ दिसंबर, २०११ ११:३९ पूर्वाह्न

  • Download Oracle Database 10g Release (10.2) and required patches

    Hi
    I need to upgrade Database from 9.2.0.7 to 10.2.
    So I need to get the Oracle Database 10g Release (10.2) Software and latest patches sets and required patches.
    SAP 4.7
    Kernel Release: 640 with Patch 221
    Windows2000 Patch 4
    I am  not able to find out where to download Oracle Software and Required Patches from [url] service.sap.com
    Please let me know.
    Regards

    http://service.sap.com/installations
    Pick there whatever application (e. g. ERP and select your CDs). You can also directly search for the CDs:
    51031678     DVD ORACLE RDBMS 10.2 Windows
    The actual patches you get
    http://service.sap.com/swcenter-3pmain
    --> Oracle
    --> Oracle 10.2.0.4
    --> Database RDBMS
    --> MS Windows (32-bit)
    Download there the patchset 10.2.0.4 itself and the latest interim patch 10204_Patch8_WIN32.zip .
    Markus

  • 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;

  • Occasional ora-6502 using forms 6i and 10g

    Hi all.
    We have been experiencing some weird and unexpected ora-6502 errors in some of our forms 6i modules running against 10g (rel 1 or 2).
    Forms modules are correctly functioning and for some reason, one day an ora-6502 error suddenly pops up.
    Now the weirdest thing is that after you put some messages on the trigger, so you can track down where the error is coming from, it disappears.
    I know that this may sound hard to believe, but it has happened several times. All we do is put some message built in, recompile all, and the error is gone (for a while).
    So my questions are:
    - Is this a known issue beween forms 6i and 10g Db?.
    - Is there a patch on Metalink ( we use Forms [32 bits] Versión 6.0.8.26.0 (Producción))
    - A workaround?
    and most important
    - Have anyone been exposed to a similar situation?
    Regards, Luis ...!

    Now the weirdest thing is that after you put some messages on the trigger, so you can track down where the error is coming from, it disappears.Sounds like the form has not been "clean compiled" against the server on which it is running. Try a "Compile All", which causes all previously compiled program units to be compiled fresh.
    Or even better, clean out all the compiled code from your fmb before compiling the fmb on the server where it runs.
    See this topic:   Re: Why does this happen - find ';', replace with ';'?

  • 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

  • Converting Webutil from 10g to 6i.

    hi,
    I'm trying to convert webutil from 10g to 6i. Coz i need to give some facility of FTP.
    i'm able to change all the packages. But few packages like JAVA*, are not able to compile. it is giving error, some JNI. How to resolve this?
    Regards,
    Subir

    I will assume your application is deployed in a browser and not client/server in order to form my comments.
    Rather than trying to get WebUtil working in 6i, it would probably be simpler to just do what WebUtil does and write your own java bean. You can use the WebUtil code as an example. The important thing to remember is that WebUtil was designed with JDK 1.3.1.x and Forms 6i is based on 1.2 and older therefore you cannot just simply copy the WebUtil code and expect it to compile.
    If you have access to Metalink, here are two notes which explain how it can be done.
    Metalink Article ID 117340.1 How to Display Images in Webforms from the Client PC (Uploading Files)
    Metalink Article ID 116129.1 How to Upload and Save Data From/To a Local Client File Using Web Deployed Forms
    Best suggestion..... upgrade! ;)

  • Using get_application_property(CONFIG) in 6i and 10g

    Hi,
    for a short time, our application has to run with 6i and 10g at the same time. We have to use the new constant CONFIG also in 6i. How can I mask this constant that it works correctly. Implementing it like this doesn't work:
    PROCEDURE gui$new_session
    IS
    pl_id ParamList;
    form_name varchar2(100);
    lo_connect varchar2(250);
    lo_url varchar2(200);
    lo_conf varchar2(50);
    co_config CONSTANT NUMBER := 'CONFIG';
    BEGIN
    form_name := replace(pdb_anwendung.get_anw_exe('PRAG_MENUE45'), '.FMX','');
    IF get_application_property(USER_INTERFACE) <> 'WEB' THEN
    RUN_PRODUCT(FORMS, form_name, ASYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
    ELSE
    lo_connect := get_application_property(USERNAME)||'/'||get_application_property(PASSWORD)||'@'||get_application_property(CONNECT_STRING);
    lo_conf := get_application_property(co_config);
    lo_url := 'javascript:window.open("/forms/frmservlet?config='||lo_conf||'&form='||form_name||'&userid='||lo_connect||'","","location=no,toolbar=no,menubar=no,status=no,");self.close();';
    WEB.SHOW_DOCUMENT(lo_url,'_blank');
    END IF;
    END;
    Unfortunately, I can't set the constant CONFIG directly into get_application_property (what is working properly used directly in 10g) because then I get a compilation error in 6i. Can somebody help me?
    Regards,
    Heike

    Clearly...
    co_config CONSTANT NUMBER := 'CONFIG';... won't work because you are assigning a varchar value to a number. CONFIG (without the quotes) is a built-in constant in Forms 10g that has a value of 221. So you could try this (notice there are no single quotes)...
    co_config CONSTANT NUMBER := CONFIG;... but I doubt that will compile in 6i as CONFIG won't be defined. So maybe you could use...
    co_config CONSTANT NUMBER := 221;It's bad practice to hard-code a value like that though.

  • Oracle Security Patch Error while applying --The filename, directory name,

    Hello,
    I am running into strange error while applying Oracle Security Patch 68 by using Opatch.
    Supposedly, All the environment variables are set properly.
    ACTIVE_STATE_PERL=true
    DBMS_TYPE=ORA
    dbs_ora_tnsname=YBQ
    JAVA_HOME=C:\jdk1.3.1_10
    OPATCH_DEBUG=TRUE
    ORACLE_HOME=E:\oracle\ora92
    ORACLE_SID=YBQ
    Path=E:\oracle\OPatch;C:\jdk1.3.1_10\bin;E:\oracle\Perl\bin;E:\oracle\ora92\jre\1.4.2\bin\client;E:\oracle\ora92\jre\1.4.2\bin;E:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Program Files\Common Files\VERITAS Shared;\NetBackup\bin;C:\Program Files\Windows Resource Kits\Tools\;C:\Program Files\Support Tools\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;E:\usr\sap\YBQ\SYS\exe\run
    Installed Active Perl. latest version
    downloaded Opatch 1.0.0.50
    and the patch number 3738339
    I went to that directory and run the command :
    perl opatch.pl apply
    It started of well.
    OPatch version is: 1.0.0.0.50
    Using ORACLE_HOME/oui to look up oui libs...
    Oracle Home = E:\oracle\ora92
    Location of Oracle Inventory = E:\oracle\ora92\inventory
    Oracle Universal Installer shared library = E:\oracle\ora92\oui\lib\win32\oraInstaller.dll
    Path to Java = "E:\oracle\ora92\jre\1.4.2\bin\java.exe"
    Location of Oracle Inventory Pointer = N/A
    Location of Oracle Universal Installer components = E:\oracle\ora92\oui
    Required Jar File under Oracle Universal Installer = jlib\OraInstaller.jar
    find under OH/oui/jlib
    found OraInstaller.jar
    Checking if this is a RAC system...
    Accessing inventory... This may take up to 300 seconds.
    (retry 10 times, delay 30 seconds each time)
    System Command: ""E:\oracle\ora92\jre\1.4.2\bin\java.exe" -Dopatch.retry=10 -Dopatch.delay=30 -DTRACING.ENABLED=TRUE -DTRACING.LEVEL=2 -Dopatch.debug=true -classpath "E:\oracle\ora92\oui\jlib\OraInstaller.jar;E:\oracle\ora92\oui\jlib\srvm.jar;jlib\opatch.jar;E:\oracle\ora92\oui\jlib\xmlparserv2.jar;E:\oracle\ora92\oui\jlib\share.jar;.:E:\oracle\ora92\jlib\srvm.jar" opatch/O2O "e:\oracle\ora92" "E:\oracle\ora92\oui" opatch.pl 1.0.0.0.50"
    Result:
    ----- DEBUG is ON -------
    oracle.installer.startup_location will be set to E:\oracle\ora92\oui
    oracle.installer.oui_loc will be set to E:\oracle\ora92\oui
    oracle.installer.scratchPath will be set to /tmp
    opatch.local_node_only is OFF
    retryOption is ON: 10
    delayOption is ON: 30
    Few more stuff here .. not pasting the entire contents
    System Command: ""E:\oracle\ora92\jre\1.4.2\bin\java.exe" -Dopatch.retry=10 -Dopatch.delay=30 -DTRACING.ENABLED=TRUE -DTRACING.LEVEL=2 -Dopatch.debug=true -classpath "E:\oracle\ora92\oui\jlib\OraInstaller.jar;E:\oracle\ora92\oui\jlib\srvm.jar;jlib\opatch.jar;E:\oracle\ora92\oui\jlib\xmlparserv2.jar;E:\oracle\ora92\oui\jlib\share.jar;." opatch/CheckConflict "E:\oracle\ora92\oui" "e:\oracle\ora92" opatch.pl 1.0.0.0.50 3738339 "3741539 3528282 3516951 3622875 3668572 3371796 3239873 3356103 3543125 3666502 2800494 2824035 2964252 3617042 3320622 3571233 3253770 3492040 3566469 3354470 3625370 3583686 3150750 3617519 3635177 3597640 3749394 3542588 3698501 2954891 2918138 3559212 3518909 3412818 3430832 3172282 3358490 3637624 3458446 3179637 2810394 3668224 3609791 3566813 3475932 2338704 3412136 3388633 3540576 3571226 3575743 2690205 3240280 3509265 3177513 3575747 3811906 3554319 3752406 3323435 " E:\3738339\etc\config\actions"
    Result:
    opatch.pl version: 1.0.0.0.50
    Copyright (c) 2001-2004 Oracle Corporation. All Rights Reserved.
    The filename, directory name, or volume label syntax is incorrect.
    Error in executing Java program to check conflict
    ERROR: OPatch failed during pre-reqs check.
    Now there is no problem with executing the last java program in the same prompt by removing the first and the last double quote "
    Please advise.
    Thanks in advance.

    hi somnath,
    this is the portal content management forum. for your database question please use the database forums:
    http://forums.oracle.com/forums/index.jsp?cat=18
    thanks,
    christian

  • Patch error

    Hi
    i applied patch and it show error so i cant able to come out from that session so closed telnet session
    and i used adctrl all the worker are running so i given 3 option in adctrl (i,e) Tell the worker to quit
    and i given 5 (i.e) tell the manager that worker acknowledge quit and if check the status
    Control
    Worker Code Context Filename Status
    1 Done AutoPatch R120 Wait
    2 Done AutoPatch R120 ap12adf.ldt Fixed, restart
    3 Done AutoPatch R120 Wait
    4 Done AutoPatch R120 Wait
    5 Done AutoPatch R120 Wait
    6 Done AutoPatch R120 Wait
    7 Done AutoPatch R120 Wait
    8 Done AutoPatch R120 Wait
    so i want to clear it means i have to kill how to do this
    Regards
    9841672839

    Sorry, i solved.
    The fact was i had also the directory c:\OraHome_1
    while i have to install in c:\programs\oraBPELPM1!!!
    Ema

Maybe you are looking for

  • Open File from PL/SQL

    Problem: Can not specify path to read a file from stored procedure. Potential cause: Improper configuration Description: I have created a procedure that opens a tab-delimited file, reads it, and inputs it into the database. In the procedure I specify

  • "Statement is not accessible." - Error

    Hi, am working for an ECC upgradation project and am getting the above error "Statement is not accessible." at the below coding. WS_VBELN = XLIPS-VBELN. Kindly get me a solution <removed by moderator> Thanks in adv, Siva Edited by: Mike Pokraka on Se

  • Problem outputting 16:9

    Hello, I'm having the following output problem. The clips in the sequence are 16:9, it is clearly seen in the viewer and player. And also check-box "anamorphic" is checked in every clip. The sequence and easy setup both set to be anamorphic. However

  • Using DocumentBuilder

    Apologies for asking this question. First Question: How do I use the Document Builder to open an XML document? Document xmlMessage; DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();     domFactory.setNamespaceAware(true);    

  • Install webLogic 10.3.5.0 as windows Service

    Hi there; Looking for install webLogic as windows service; I found some papers that points me to "WL_HOME\server\bin\installSvc.cmd" as we can see here in [On-Line Manual References|http://download.oracle.com/docs/cd/E21764_01/web.1111/e13708/winserv