Execute_query problem on a 10g AS for forms

Good evening
A problem arises on a execute_query forms for AS 10g.
On Windows, a data block is refreshed by a execute_query in a when-new-block-instance.
Under Linux, the action fails.
Would you know what type of problem?
Thank you and good weekend.

By adding a message in the when-new-block-instance, the message is displayed by my OC4J under Windows.
After copying and compiling on the linux server, no message.
So, logically, when-new-block-instance is not enabled under linux.
I search with google...

Similar Messages

  • Form login problem in Oracle 10g AS, even form does display

    Dear All
    We are facing one problem, when we access form with oracle 10g AS, the form is displayed, but when we enter username and password, it doesnt go to the other screen, it remains hang there and doesnt do any thing, neither give any error.
    we would appreciate the help.
    thanks in advance

    Sounds like you cannot connect to the database....
    Is there a firewall between the app-server and the database? If yes, could you check with your firewall people that all traffice from db-server is allowed to app-server (from app-server to db-server just 1521, or another port that you used for the listener, is enough)
    If not all traffic is allowed, then check the USE_SHARED_SOCKET environment variable (this is the windows name, there is a setting like this for unix too, but I can't recall the exact name by heart. It might be different)

  • Problem in using 10g Dedoloper suite forms devoloper

    I have installed devoloper suite 10g in E:\Datasuite_home1 dir.
    My oracle databse is in E:\product\oracle\10.0.2\db_1 dir.
    But when I'm opening forms builder and create connection in Database with userid and password,
    it is showing as "TNS could not resolve the service name requested".
    The databse is running fine as I could connect through TOAD client itself.
    Could anyone tell me what has been the exact problem and its solution.
    Regards,
    Souvik

    user10237942 wrote:
    Could anyone tell me what has been the exact problem and its solution.The exact problem:
    Forms Developer looking at tnsnames.ora file in Developer Suite home, not in Database home folder. On another side TOAD looking at tnsnames.ora file in Database home folder.
    Solution:
    As Hub already posted, you need to copy tnsnames.ora from database E:\product\oracle\10.0.2\db_1 dir\network\admin into in E:\Datasuite_home1 dir\network\admin
    Cheers!

  • Problem in running oracle report from form 10g Version 10.1.2.0.2

    Hi All,
    I am facing problem while running the report from forms 10g getting FRM-41219
    For this i am using the following procedure :
    PROCEDURE RUN_REPORT IS
    L_RUN_TEXT VARCHAR2 (2000);
    L_USRID VARCHAR2 (100);
    L_PASSWD VARCHAR2 (100);
    L_DESNAME VARCHAR2 (100);
    FILE_OUT_PUT VARCHAR2(200);
    REP_STATUS VARCHAR2(20);
    REP_NAME VARCHAR2(50);
    PL_ID PARAMLIST;
    REP_URL VARCHAR2(2000);
    V_REP VARCHAR2(200);
    BEGIN
    display_me('RUN_REPORT');
    -- CALL THE FOLLOWING FUNCTION, IN WHICH USER CAN WRITE HIS OWN CODE.
    -- THE PROCEDURE CAN BE MADE LOCAL TO THE SPECIFIC FORM AND WRITE THE CODE.
    -- IT SHOULD RETURN 'Y', IF YOU WANT TO PROCEED WITH THIS RUN_REPORT
    -- PROCEDURE.
    IF NVL (RUN_REPORT1, 'Y') = 'N' THEN
    RETURN;
    END IF;
    COMMIT_FORM;
    IF (GET_APPLICATION_PROPERTY (OPERATING_SYSTEM)) = 'UNIX' THEN
    L_DESNAME := 'LP';
    ELSE
    L_DESNAME := NAME_IN ('REPORT_TITLE.F_FILE_NAME');
    display_me(L_DESNAME);
    END IF ;
    /* SETTING THE REPORT OBJECT PROPERTIES */
    /* G_PRAM1 IS THE NAME OF REPORT ****/
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_SERVER,'172.18.76.34');
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_FILENAME,:GLOBAL.G_PARAM1||'.REP');
    display_me(':GLOBAL.G_PARAM1 '||:GLOBAL.G_PARAM1);
    PL_ID := GET_PARAMETER_LIST ('REP_PARA');
    IF NOT ID_NULL (PL_ID) THEN
    DESTROY_PARAMETER_LIST ('REP_PARA');
    END IF;
    PL_ID := CREATE_PARAMETER_LIST('REP_PARA');
    ADD_PARAMETER (PL_ID, 'DESTYPE' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.RAG_DESTINATION') );
    ADD_PARAMETER (PL_ID, 'DESNAME' , TEXT_PARAMETER, L_DESNAME);
    ADD_PARAMETER (PL_ID, 'COPIES' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.F_NO_COPY') );
    ADD_PARAMETER (PL_ID, 'ORIENTATION', TEXT_PARAMETER, 'LANDSCAPE');
    ADD_PARAMETER (PL_ID, 'MODE' , TEXT_PARAMETER, 'BITMAP');
    ADD_PARAMETER (PL_ID, 'PARAMFORM' , TEXT_PARAMETER, 'NO');
    ADD_PARAMETER (PL_ID, 'PARAM' , TEXT_PARAMETER, NAME_IN ('IBP_REPORT_PARAMETER.F_REP_SEQ') );
    ADD_PARAMETER (PL_ID, 'P_COMP_CODE' ,TEXT_PARAMETER,:GLOBAL.G_COMP_CODE);
    display_me(':GLOBAL.G_COMP_CODE '||:GLOBAL.G_COMP_CODE);
    REP_NAME := :GLOBAL.G_PARAM1||'.REP';
    display_me('REP_NAME'||REP_NAME);
    V_REP := RUN_REPORT_OBJECT('REPOBJ');
    display_me('V_REP '||V_REP);
    REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
    display_me('REP_STATUS'||REP_STATUS);
         WHILE REP_STATUS IN ('RUNNING','OPENING_REPORT','ENQUEUED')LOOP
    REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
    END LOOP;
    IF REP_STATUS = 'FINISHED' THEN
    REP_URL:='/REPORTS/RWSERVLET/GETJOBID'||SUBSTR(V_REP,INSTR(V_REP,'_',-1)+1)||'?'||'SERVER=172.18.76.34';
    display_me('REP_URL '||REP_URL);
    WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
    ELSE
    MESSAGE('ERROR WHEN RUNNING REPORT');
    END IF;
    END;
    Which is called on a button , can any body share there idea to help out
    Warm Regards
    Ashutosh

    Yes, I have replace the userid with scott/tiger@orcl with i6menu/i6menu@vbs and also replace the OAS server's name as you have suggested.
    declare
         REP_URL varchar2(2000);
    begin
    REP_URL:= '/reports/rwservlet?userid=i6menu/i6menu@vbs&report=testrep_10g.rdf&desformat=pdf&destype=cache&paramform=no';
    WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
    end;
    I had the 2nd code also but both r not working on my machine ......... !!
    I have made the following setting on my machine:
    1. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->FORMS_PATH ->
    Values is : D:\vision_soft\VSS\exe
    2. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->REPORTS_PATH ->
    Values is : D:\vision_soft\VSS\exe
    3. Entry made in the DevSuiteHome_1\forms\server ->default.env
    FORMS_PATH=D:\vision_soft\VSS\exe
    4. Entry made in the DevSuiteHome_1\reports\confr ->rwservlet.properties
    #SERVER= rep10
    As my forms is working well & but the report are not able to call.
    Could you please let me know is there is any other mandatory setting required for the report 10g.
    Regards,
    Ashutosh

  • Problem with Oracle graphic display in forms 10g

    I'm upgrading a form from 6i to 10g. The form displays a chart and so far I cannot get it working when I run it from developer 10g. I have tried both run_product and og.open. The og.open causes error FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-06508. Run_product doesn't cause the error but still nothing is displayed. Below is the code:
    run_product(graphics,'c:\orant\bin\actact.ogd',synchronous,batch,filesystem,plist,'block3.chart_area4');
    og.open('c:\orant\bin\actact.ogd','block3.chart_area4',TRUE,TRUE,plist);
    How can I determine what is causing this problem? Thanks in advance for your help.

    Hi Frank,
    Where do I explicitly provide the tnsnames entry to Graphics?
    We are using SSO when running Form, the db connect string are store in each user resource of OID, where resource type = OracleDB. Also Neither the existing form (calls the
    *.ogd) nor *.ogd has tnsnames/db connect code.
    As for the actual TNSNAME setup, we have local env var -TNS_ADMIN w/value of "D:\Oracle\MidTiers\network\admin".
    That we want all three oracle homes: Infra10g, MidTier10g, Dev6i use the D:\Oracle\MidTiers\network\admin\tnsnames.ora, sqlnet.ora.
    Apparently, Graphics in D:\Oracle\Dev6i doesn't pickup
    the TNSNAME setting @ Midtiers
    Can you give us some pointers on this? thank you in advance!!!
    -Kan

  • Looking for Forms 10g Training

    Looking for Forms 9/10g accelerated training. Preferably somewhere in New York City area. Have looked at Oracle's own classes already. Also, interested in web-based class, if you can recommend something good.
    Thank you.

    Grant,
    Thank you for the two links you provided, but they refer to book/video material on Forms 6i, while my question is about Forms 10g. I have actually read that book and found it very helpful as a starter (for version 6i). I'd like to read something that goes deeper into Form's internals - for example, something that clearly explains Forms internal navigation process (and its interaction with user's navigation). Perhaps there is a good white paper on the topic, don't know.
    As far as Forms Docs, again I can only wish it was written the way Oracle db docs were written - you can find a chapter devoted to your general topic. Forms 6i Doc are rediculous. Information is provided in small poorly connected bytes. Frequently it is presented in a form of bare-bone reference, with little effort to explain the processes. I am only starting to use 9i/10g docs. There seems to be an improvement, information is more complete. Still, it is a helper, not a studying material. Frequently for in-depth look you are referred to a diagram, which I'm not smart enough to understand without additional explanation.
    If you know of some good in-depth material regarding forms internal navigation process, I would really appreciate it. I have to say that this forum is great in terms of helping out developers.
    Thanks.

  • (urgent) web cache for forms 10g

    Hi all,
    We have application running on oracle 10g Aps resently migrated and we got couple of freequently used forms by default my webcache is on but i dont know how can i specifialy say that thease forms to be cached like if i see my webcache page i could see some of the gifs had cached but no specific forms how can i do this.
    I shall be highly be obliged if one can clear my queries in the forum may wish to add to 2cents to my infinetly minimal knowledge of webcache.

    Not really true. You could setup a rule to cache the JAR files for Forms. Additionally, you could cache the GIF files accessed by the applet, though it would be better to move those image files into a JAR file. Why?...
    If you use a static HTML file to call your forms, that would be cached by default.
    Because the client JVM caches the files. You can view this in the Java Console of JInitiator or your Java Plug-in. Additionally, you can see when the image files are served from the JAR files by looking in the Java Console as well. Change to level 5 trace in the Java Console window and look for GIF files with a path that includes http://server/forms/jave/filename.jar!/filename.gif. Notice the ! symbol. That shows a client JAR cache hit for that GIF file. Served locally, doesn't even make it to Web Cache!
    The rest of the communication really isn't cacheable. Communication goes from the Applet (Client JVM) through Web Cache to the HTTP Server to the OC4J_BI_Forms container (OC4J JVM) that runs the Forms listener servlet which talks directly with the Forms Server runtime process running as a Unix process (C, not Java).
    So, the only communication that goes between the applet and the Appliction Server is just the messages between the applet and Forms Server process telling the applet how to refresh the display on the client's applet screen and telling the Forms Server process what to do with the data and code being run. This communication is optimized by using message diffs, so it is relatively efficient. But an application not optimized for the web might use chatty functionality that slows things down a bit.
    Anyway, xhomet is essentially right in that Web Cache doesn't do much of any significance besides load balancing. Caching JAR files might make sense for you though if you have a lot of users all getting this JAR or an updated JAR at the same time.
    Hopefully you foundthis interesting.
    Steve

  • Problem while doing the demo ADF for Forms/4GL Developers

    Hi
    I am running the demo for ADF for Forms/4GL Developers. At Chapter 10(Enabling Security), in page 10-5, they have asked to copy META-INF folder and it should contain jazn-data.xml and orion-application.xml. But in my META-INF folder , i can only find one bundle.xml.
    Can you please help me on how to proceed on that?
    Regards
    Sabarish

    Hi
    I am running the demo for ADF for Forms/4GL Developers. At Chapter 10(Enabling Security), in page 10-5, they have asked to copy META-INF folder and it should contain jazn-data.xml and orion-application.xml. But in my META-INF folder , i can only find one bundle.xml.
    Can you please help me on how to proceed on that?
    Regards
    Sabarish

  • Problem with "SELECT...FOR UPDATE OF..." and "POST command" combination

    Problem with "SELECT...FOR UPDATE OF..." and "POST command" combination
    Problem in committing transactions in Multiple Forms (Oracle Forms) with POST built-in command:
    Consider that the following statements are written in WHEN-WINDOW-CLOSED trigger of a called form.
    Statements in called form (Form name: FORM_CHILD):
    go_block('display_block') ;
    do_key('execute_query') ;
    -- Data from table_b will be populated in this block, based on the value of COLUMN_1 obtained
    -- from TABLE_A.
    -- Example: If the value of COLUMN_1 is 10, then all the matching records from TABLE_B, which
    -- are inserted with value 10 in TABLE_B.COLUMN_1 will be fetched and shown here.
    if user_choice = 'YES' then
    commit ;
    else
    rollback ;
    end if ;
    Statements in calling forms:
    There are two calling forms having following statements and it is going to call the above said called form.
    CALLING FORM 1
    Statements in KEY-COMMIT trigger:
    post;
    call_form(form_child, no_activate) ;
    Statements in ON-INSERT trigger:
    select column_1
    from table_a
    for update of column_1
    where column_2 = 'X' ;
    update table_a
    set column_1 = column_1 + 1
    where column_2 = 'X' ;
    insert into table_b ...;
    insert into table_b ...; Statements in KEY-COMMIT trigger:
    post;
    call_form(form_child, no_activate) ;
    CALLING FORM 2:
    Statements in ON-INSERT trigger:
    select column_1
    from table_a
    for update of column_1
    where column_2 = 'X' ;
    update table_a
    set column_1 = column_1 + 1
    where column_2 = 'X' ;
    insert into table_b ...;
    insert into table_b ...;
    insert into table_b ...;
    Our understanding:
    Assume that both the forms are running from two different machines/instances, issuing commit at the same time. In this case, forms will start executing the statements written in ON-INSERT trigger, the moment POST command is executed. Though the commit is issued at the same time, according to oracle, only one of the request will be taken for processing first. Assume that calling form 1 is getting processed first.
    So, it fetches the value available in COLUMN_1 of TABLE_A and locks the row from further select, update, etc. as SELECT...FOR UPDATE command is used (note that NOWAIT is not given, hence the lock will be released only when COMMIT or ROLLBACK happens) and proceed executing further INSERT statements. Because of the lock provided by the SELECT...FOR UPDATE command, the statements in calling form 2 will wait for the resource.
    After executing the INSERT statements, the FORM_CHILD is called. The rows inserted in to TABLE_A will be queried and shown. The database changes will be committed when user closes the window (as COMMIT is issued in its WHEN-WINDOW-CLOSED trigger). Then the SELECT...FOR UPDATE lock will be released and calling form 2's statements will be executed.
    Actual happenings or Mis-behavior:
    Calling form 2 starts executing INSERT statements instead of waiting for SELECT...FOR UPDATE lock. Also, the value selected from TABLE_A.COLUMN_1 is same in both the calling forms, which is wrong.
    The rows inserted into TABLE_B are having similar COLUMN_1 values in calling form 2 and they are fetched and shown in the called form FORM_CHILD.
    Note that in calling form 2 also POST only is issued, but the changes posted there are accessible in calling form 1 also, which is wrong.
    Kindly suggest us as to how to fix above problem. It will be much use, if you can send us the information regarding the behavior of Oracle Forms POST built-in also.
    Our mail ID: [email protected]
    Thanks a lot in advance.

    You have several problems:
    1. On-Insert will ONLY run if you have created a new record in a base-table block. If you haven't done that, then the POST command will not cause it to run.
    2. Select for update without a "no wait" will lock records for the first form, but when the second form tries this, it will hit the ORA-00054 exception, and will NOT wait. The only way you could make it wait is to issue an UPDATE sql command, which is not such a good way to go.
    All POST does is issues SQL insert or update commands for any changes the user has made to records in a form's base-table blocks, without following with a Commit command.
    Also understand that Commit is the same as Commit_Form, and Rollback is the same as Clear_Form. You should read up on these in the Forms help topics.

  • Additional Plug ins for FORMS 11.1.1.4

    Hi,
    I am new to Forms. When I tried to run the Form, it was saying like "additional plug ins required to display the content." But I have all the plug ins required.
    My Forms Builder details are as follows.
    Forms [32 Bit] Version 11.1.1.4.0 (Production)
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Oracle Toolkit Version 11.1.1.4.0 (Production)
    PL/SQL Version 11.1.0.7.0 (Production)
    Oracle Procedure Builder V11.1.1.4.0 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle Query Builder 11.1.1.4.0 - Production
    Oracle Virtual Graphics System Version 11.1.1.4.0 (Production)
    Oracle Tools GUI Utilities Version 11.1.1.2.0 (Production)
    Oracle Multimedia Version 11.1.1.4.0 (Production)
    Oracle Tools Integration Version 11.1.1.2.0 (Production)
    Oracle Tools Common Area Version 11.1.1.4.0
    Oracle CORE     11.1.0.7.0     Production
    Also I have the latest Java( 6 Update 29 ).
    Please let me know what else I have to install for Forms.
    And how to run the Form. As I am new to Forms, I do not know how to deploy it properly. Do I need to place the .fmx file in some location ?
    Please help me out. Thanks in advance :)
    Thanks
    Raj
    Edited by: 889224 on Dec 6, 2011 7:32 AM

    I will assume you are using a non-IE browser (e.g. Firefox). Assuming this is true, the problem you are seeing is the result of the configuraiton expecting to find 1.6.0_12. Look in formsweb.cfg for references to 1.6.0_12 and change them to the desired version. For example, replace the current with these in order to use 1.6.0_29:
    jpi_classid=clsid:CAFEEFAC-0016-0000-0029-ABCDEFFEDCBA
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_29
    jpi_codebase=http://javadl-esd.sun.com/update/1.6.0/jinstall-6u29-windows-i586.cab#Version=1,6,0,29
    jpi_download_page=http://www.oracle.com/technetwork/java/javase/downloads

  • Connecting user Oracle 10g to oracle Forms 11g

    hi all , please i need help :
    my problem is : i have created new user and the tables with oracle database 10g express edition , my problem now is how to connect with oracle Forms 11g to connect with this user and the tables . where i should copie "tsnames.ora" ?? how to modifie tsnames.ora ?? if you have any tutorials or video send to me please . thank's all

    Be aware that the Express editions are not supported for use with Forms.
    As for the tnsnames.ora, for Forms 11, this can be found in the INSTANCE_HOME\config

  • Capacity sizing document for Forms on iAS(Oracle Application Server)

    Hi,
    I need to know from where I can get Capacity planning document for Forms on Oracle Application Server for Intel/Solaris/Aix arch.Please Advise.
    Regards,
    Noman

    Hi,
    we have several developers working with developer suite 10g. Our OAS runs on Linux as yours. All our developers work locally using windows-pc's. We have a samba share we use to move the developed sources to the linux box. On the linux box with have some scirpts to compile the sources and move them to the runtime-directory.
    The final integration test in then done using the installed application on the oas.
    This works without having any problems for more two years now.
    btw: Be aware of the problems you will run into when moving an application from windows to linux:
    -> All filename ar Case-sensitive
    -> the writing of module-names in OPEN_FORM, NEW_FORM, CALL_FORM must match exactly the filename (in other words: call_form, open_form and new_form is also case-sensitive
    -> Attached librarys are also case-sensitive, even if there are shown in uppercase in the module-navigator.
    hope this helps.
    Edited by: aweiden on 08.11.2008 18:05

  • 6i - 10g R2 Migrated forms ROS ERROR: -500 when conevert to FMT

    Hi All,
    I am trying to make FMT for some of the 10g converted foms which is conevrted from 6i.
    Some of the forms are getting converted correctly.Some of them giving error.
    The Error is
    ROS ERROR: -500.
    Thanks in Advance,
    Regards,
    Ramanan S

    We are getting a "ROS ERROR: -550" when trying to save a new form, which has compiled and runs fine, to FMT.
    We're using version 9, using Forms Designer to convert.
    We have a database with many 10s of forms, all of which are converted to FMT for a version control system.
    When the new form is 're-built from scratch' the error eventually crops up, at random points. If you then delete the bit that was just added causing the error, the error remains.
    (We have encountered the previously mentioned problem of the size of the form comments - which gives problems if more than 2000 char. In our case the form comments are not this large; and it will fail even with no form comments.
    Suggestions please?

  • Cannot retrieve definition for form bean null

    Hi,
              I have a page jsp which contains a form. This form contains an action
              towards (page.do ).
              I configured struts-config.xml file in whom I put a configuration of
              action ( type=xxx.pageAction ) but not form because I have not need of
              it.
              During the execution it show that it tries to instantiate a bean of form
              corresponding to a configuration of action and post this error message
              " Root causes of ServletException javax.servlet.jsp. JspException:
              Cannot retrieve definition for form bean null "
              Could you indicate to me where is the problem ?
              Here is my configuration :
              < html:form action = " page.do " method = " post " >
              </html:form >
              <action path="/page"
              type="xxx.pageAction">
              <forward name="show" path="/page.jsp"/>
              </action>
              Thanks in advance
              Rachid.
              

    There's little reason to use Struts infrastructure to set this up since you have no model, and the controller aspect is well-defined (just go to "NewProject"!). You're basically providing a link from one page to another, akin to doing an <a href>, and you wouldn't use Struts to do a simple link :).
    I would just just use standard HTML.
    If you're okay with using Javascript, this is the simplest:
    <input type="button" onClick="document.location='NewProject'">
    Or you can use a standard HTML form, as you've basically done already:
    <form action="NewProject" method="get">
    <input type="submit" value="Create">
    </form>

  • How to configure Oracle SSO for forms and apex

    Hi All,
    I am trying to configure oracle SSO for forms and apex using third party external authentication. Please help me how to configure. I a have tried all possible things
    from web but I am not able to do it. Is there any doc or links are much appreciated.
    Info: Some reason my oiddas web link is not working it used to work fine before and also the from /pls/orasso/ link I am not able to login may be because of my oiddas issue
    Thanks

    Hi Andreas,
    Thanks you for your help. I am trying to implement third party external LDAP authentication for APEX and Forms.
    So I started with OID and SSO setup to create external Partner Applications. Some reason my oid and sso web login links are not working. I didn't find any errors. I need some help in finding the problem and direction, I already read docs on web but no proper direction. I appreciate your help.
    Thanks

Maybe you are looking for