Forms 9i execution

HI Everybody,
Could you please help me in the following:
I have XP with Oracle 9i and Forms 9i. When I build a very simple test form--one non-db block, one text item only--and want to execute it, my Web Browser (IE6) is started and I can wait eternally and nothing happens--the progress bar advances about to the middle and that's it. Note that I have ADSL which should be extremely fast. Where is my fault?
Thank you very much in advance, kind regards from
Miklos HERBOLY.

HI Shay,
Thank you for your assistance so far. To be quite precise I executed the whole thing again from scratch. The results ar the
following:
After a brand new installation of XP Home, when installing Oracle9i Enterprise I noticed that two errors were
returned--I ignored them both. Then I installed 9i Developer Suite without any problem.
Starting OC4J I moved to the Startup menu, so it automatically starts when booting the system. However, the following
two messages are returned:
Error starting HTTP-Server: Address in use: JVM_Bind
Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
Note that when I look at Services, HTTPServer is running.
Then:
(1) ALL CONFIG FILES HAVE THEIR ORIGINAL TEXT AS GENERATED
Forms Builder is started, it goes in the web and generates the following URL:
http://gksserver:8888/forms90/f90servlet?form=F:\ancsi.fmx&userid=<usr>/<pwd>@<dblink>gks&buffer_records=NO&debug_messages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES
The progress bar advances about to 40% and nothing happens. Even the gray rectangle with "Loading Applet..." does not
come at all.
Then I execute ipconfig and substitute the current IP address in the URL:
http://217.225.202.180:8888/forms90/f90servlet?form=F:\ancsi.fmx&userid=<usr>/<pwd>@<dblink>&buffer_records=NO&debug_messages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES
The same as above.
(2) IN FORMSWEB.CFG I ADDED THE FOLLOWING SECTION AT THE END:
[gksapp]
form=F:\ancsi.fmx
userid=<usr><pwd><dblink>
And subsequently modified the URL as follows:
http://gksserver:8888/forms90/f90servlet?config=gksapp
Now, as I am using a German Telecom version of the MS browser, it replaces the URL with its own, by appending my URL
as a query:
http://brisbane.t-online.de/fast-cgi/tsc?start=0&num=10&context=internet-tab&tpc=themen&mandant=toi&PortalLanguage=de&UserLanguage=de&device=html&dia=adr&ptl=&lang=primary&q=http://gksserver:8888/forms90/f90servlet?config=gksapp
It does not find anything.
When I go directly to the MS browser with my config-URL, it displays at most five green marks on the progress bar
and that's it.
I do not have any idea about what can go wrong with the whole. Other config files are not affected.
Please drop a few lines if you have an idea. It is very frustrating that I cannot test even a very simple form
under 9i--the same has ever worked excellent with 8i.
By the way, netstat shows up abundant addresses and ports,
also 8888 in both columns, vice-versa.
Thank you again, kind regards from
Miklos HERBOLY.

Similar Messages

  • Form Code Execution

    Hi,
    Is it possible that we can execute the Oracle Form code on the fly, like PL/SQL Code using the Execute Immediate.
    Scenario
    Declare
    lv_block_name Varchar2(100);
    lv_item_name Varchar2(100)
    Begin
    lv_block_name := :System.current_block;
    IF lv_block_name = 'XYZ' Then
    lv_item_name := :system.current_item;
    end;
    I have store this sample code in the database, and I goona pass this code to the Oracle Form library and want it execute in the Library..... Any solution or idea...
    Thanks,
    Edited by: Mohsin on Feb 22, 2011 1:18 PM

    There is no such thing like "Dynamic Forms PL/SQL" or whatever you want to call it. Dynamic SQL is executed on the Database Server, and thus the Forms Builtins cannot be executed as the Database doesn't understand them.
    However; even if you just want to store Database PL/SQL in Tables I wouldn't dare to go down that road.
    First of all it's a nightmare to maintain as a recompile of your forms won't fail when you change your objects which would brake your code but as it's all dynamic nobody can tell. Also have fun debugging your dynamic routines when you search for bugs (yes, you will have bugs, no one writes error free code). Second is that it's a unnecessary overhead (retrieve the logic from the database, parse it and execute it again) leaving alone that you most certainly will trash the Shared Pool of the database. Your solution will seriously suffer from performance and will never scale, that's for sure. And of course you will have a serious security issue. The day someone get's access to your table where your code is stored is the day your database will start to behave abnormal and you most certainly will loose data.
    So don't think about implementing such a silly approach no matter how cool you think it is: it's not. It's a nightmare and a risk from every single point of view.
    Storing PL/SQL in the database is already invented: it's called stored procedures. Storing somewhat generic Forms PL/SQL is also already invented: it's called Library. Don't try to reinvent things which already exist as your solution most certainly won't work as good as the one already provided by oracle.
    cheers

  • Error on Forms 9i execution

    When i execute Forms Builder appears the follow error:
    It wasn't possible to find the dinamic link library OCI.DLL in the specified path c:\oracle\ora90\bin; .........
    And this error doesn't allow me to run or compile a form.
    Thanks.
    Oracle 9i forms developer - oracle 9iDS release 2.

    You must have your environment mixed up. iDS doesn't have any dependencies on an Oracle9i Database.
    Make that in the environment you are running the Forms Builder, you have the right values (e.g. the Forms ones) in the front of the your environment variables.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Forms Triggers execution priority

    Hi Friends
    Can any one tell me answers for the following ones?
    1. When Form loads what are all the triggers fires and the sequence.
    2.Can any one give me one example for Statment Triggers and Rowlevel triggers.
    thanks
    Reddy

    Statement triggers and row level triggers are database server triggers that run in response to updates and inserts to a specific table. They are not related to Forms triggers.

  • SMART FORMS  execution time slow

    Dear SAP,
    We have been applying support packs to our system from last few days.
    We have upgraded our ABAP and BASIS level from 10 to 17th Component.
    It has been found that TCodes take time to Open for first time after
    applying the components. In case of SMART FORMS the execution time
    in every process is taking very long. This has been the case for very
    long now. Kindly suggest what should be done to speed up the Process of
    Working in Smart Forms.
    - Jitesh
    ( Basis )

    Hi Njitesh,
    After Upgrade you should run SGEN ( SAP Load Generator ), which will execute all the transactions once and makes the system faster.
    Run the SGEN in the background mode, usually it takes a long time to compile all the objects.
    Hope you get the solution.
    Thanks
    Arbind

  • What is the diff b/w Sap Scripts and Smart Forms

    Hi,
          Whats the diff b/w SAP Scripts and Smart Forms..
             I need the internal explanation for both Smart Forms and SAP Scripts mean when we execute what happens whether Print Program r Forms starts execution 1st  and SIMILARLY FOR SMARTFORMS WHETHER FM'S  R FORMS.
    Thanks & Regards,
    Gopi.

    Hi
    Difference with SMARTFORMS vs. SapScript(SE71)
    The Following are the differences :-
    a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
    b) It is possible to have a smartform without a main window .
    c) Labels cannot be created in smartforms.
    d) Routines can be written in smartforms tool.
    e) Smartforms generates a function module when activated.
    f) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk.
    It was said that it was provided in CRM 3.0 version, but not available in R/3. You can download smartforms into Local PC in a XML format. In the same way you can upload this XML format into Smartform. From the smartform editor itself you can call download option, if you are working in CRM 3.0 environment.
    In R3 also, you can download into XML format. However, it's not sure about uploading. Refer to the program 'SF_XSF_DEMO'.
    In 4.7 Enterprise, other have seen this utlity which is completey missing in 4.6c. There is functionality to downlaod a complete form or only a particular node. (Utilities -> Download form). It will create a XML file and save it in the hard disk.
    For others, if you want to download/upload the Smartforms source, you will need the help from the Basis people. What you can do is to create a Transport and then FTP down to your local harddisk. When you need the Smartform source in another system, you have FTP up the Smartforms file back to the SAP server. Finally, the Basis team, will tp it into your system.
    g) The protect and endprotect command in sapscript doesn't work with smartforms. For example on a invoice: First data of position no 80. is printed on page one, other data of position no 80 is printed on page 2. And there's nothing you can do about it. Actually, there is something you can do about it. By using a folder node and checking the 'protect' checkbox, everything in that folder will be page protected.
    check out this link:
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    Reward points if helpful.
    Regards,
    Swathi.

  • Different execution plan in ApEx and SQL/PLUS

    Hi
    I have weird problem with sql query exectuion plans.
    DB version: 10.2.0.1
    ApEx version: 3.1.2
    I have workspace parsed as SCHEMA1.
    I have a view under different schema - SCHEMA2.view1 and a function SCHEMA2.func1.
    I have a query like SELECT * from SCHEMA2.view1 WHERE col1 = SCHEMA2.func1(:bind1)
    "col1" is a indexed column.
    When I execute this query in SQL/PLUS under user SCHEMA1 with the same bind value, then index is used perfectly.
    When I execute this query in ApEx report then index is not used, full scan is performed and hash join is done between the tables used in the view and explain plan shows that a view is formed during execution.
    What can be the reason for such a different behaviour.
    Statistics are freshly calculated, FIRST_ROWS hint doesn't help, using the INDEX hint results only index full scan.
    This happens only if I use a view and pl/sql function together in the query. If I use view with Oracle built in function like NVL instead then it works perfectly. Also when I access directly the same tabels with the same PL/SQL function then the execution plan is perfect. Only if the view and pl/sql function is used together in the query then execution plan is bad.
    It is not a problem of this specific query but, many different other queries with same pattern also. I have tried ApEx versions 3.0, 3.1.1 and 3.1.2.
    At the same time the exectuion plan is good in SQL/PLUS and TOAD.
    Any ideas?
    Best regards,
    jan

    I didn't help. But I rewrote the queries so that there is no database view and PL/SQL function used in the same query. I still don't know the reason for such different behavior, but I just try to accept it and keep in mind for future :)
    Thanks anyway!
    jan

  • Using Table returned by Web service in Adobe Form

    Hi Experts,
    I am working on a scenario wherein i am supposed to have a table as a response parameter in a RFC based webservice.
    When this web service is stand alone executed it gives back the records in the table.
    Now this web service is required to be integrated into the Adobe Interactive Form, On execution of this webservice from the Form, it does not return any result in the table.
    Am i missing something?? or is it related to some tricky binding or something??
    Please help!!
    Any help would be appreciated.
    Thanks
    Amita

    hi ,
    i have this problem .
    how can i solve this problem.
    Web Services Return table only see first row.
    Thanks.

  • Placeholder for IN condition in database adapter

    I'd like to pass a parameter to a database adapter which will modify the "in condition" portion in a select. For example:
    select firstname
    from xxx
    where
    lastname in (#arg1)
    Is this the correct syntax? If so, what values will arg1 take? Something like this string (including quotes)?
    'lname1','lname2','lname3'
    Or is it something else?
    So,
    1. what is the syntax in the sql statement in the db adapter
    2. what is the syntax of the data passed in to this placeholder?

    Thanks for your response.
    Actually, I'm trying to test this out via the web service tester in Enterprise Manager. When I insert the following into the tester's generated form field, execution of the sql fails, apparently for a missing value:
    'lname1','lname2','lname3'
    I'm not sure I understand your comment "while passing the values if it has varchar2 values appened it with single quotes and send into the adapter". Where would I have any access to a varchar2 in the adapter or the mediator that feeds it?

  • Bad performance when using  complex database view with Toplink

    Hi
    Problem description
    1. I have a complex query that collects the data from many DB tables. For this reason I create a database view based on this select. Using EJB 3.0 with Toplink I
    mapped this view to a java object the same way I map database tables. The method I use to get the results is:
    snippet code...
    public List<VwKartela> VwKartela(Integer pperid) {
    List<VwKartela> results = null;
    Session session = getSessionFactory().acquireSession();
    ExpressionBuilder bankfile = new ExpressionBuilder();
    Expression exp1 = bankfile.get("perid").equal(pperid);
    ReadAllQuery query = new ReadAllQuery();
    query.setReferenceClass(VwKartela.class);
    query.setSelectionCriteria(exp1);
    results =(List<VwKartela>)session.executeQuery(query);
    When running the select on the view prom SQL Plus I haven’t any performance problem.
    2.Question: How can I improve the performance? I referenced to Toplink docs but I didn't improve the it.
    Have anyone any experience is such cases?
    Thank you
    Thanos

    Hi
    After my last tests I conclude at the followings:
    The query returns 1-30 records
    Test 1: Using Form Builder
    -     Execution time 7-8 seconds
    Test 2: Using Jdeveloper/Toplink/EJB 3.0/ADF and Oracle AS 10.1.3.0
    -     Execution time 25-27 seconds
    Test 3: Using JDBC/ADF and Oracle AS 10.1.3.0
    - Execution time 17-18 seconds
    When I use:
    session.setLogLevel(SessionLog.FINE) and
    session.setProfiler(new PerformanceProfiler())
    I don’t see any improvement in the execution time of the query.
    Thank you
    Thanos

  • Bad INSERT performance when using GUIDs for indexes

    Hi,
    we use Ora 9.2.0.6 db on Win XP Pro. The application (DOT.NET v1.1) is using ODP.NET. All PKs of the tables are GUIDs represented in Oracle as RAW(16) columns.
    When testing with mass data we see more and more a problem with bad INSERT performance on some tables that contain many rows (~10M). Those tables have an RAW(16) PK and an additional non-unique index which is also set on a RAW(16) column (both are standard B*tree). An PerfStat reports tells that there is much activity on the Index tablespace.
    When I analyze the related table and its indexes I see a very very high clustering factor.
    Is there a way how to improve the insert performance in that case? Use another type of index? Generally avoid indexed RAW columns?
    Please help.
    Daniel

    Hi
    After my last tests I conclude at the followings:
    The query returns 1-30 records
    Test 1: Using Form Builder
    -     Execution time 7-8 seconds
    Test 2: Using Jdeveloper/Toplink/EJB 3.0/ADF and Oracle AS 10.1.3.0
    -     Execution time 25-27 seconds
    Test 3: Using JDBC/ADF and Oracle AS 10.1.3.0
    - Execution time 17-18 seconds
    When I use:
    session.setLogLevel(SessionLog.FINE) and
    session.setProfiler(new PerformanceProfiler())
    I don’t see any improvement in the execution time of the query.
    Thank you
    Thanos

  • Cannot find CAF Developer Role

    Hi ,
    When i try to access the Test Tools - Service Browser in   CAF Runtime Config . -
    I get the error -- 
    Access forbidden. You should have the CAFDeveloper role. Please log on again.
    We did not have this problem when we were on
    SP 9 . Now we are on SP 12.
    I have added all the roles that are present for CAF including all the Admin roles.
    Yet i do not finrd any role - CAF Developer.
    I searched the forum - there was a solution saying to make a dummy role -i tried that but it did not work.There was a mention of SAP Note but the number was not given.
    Does anyone have the idea as to how to resolve this problem and which SAP note referes to this problem.
    Thanks

    Hi Uma,
    sure please see below:
    pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.administration     GP Administrator     
         pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.forms.roles.reading     GP Form Reader     
         pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.dt.basic     GP Basic User     
    pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.forms.roles.updating GP Form Modifier
    CAFUIAdmin
    pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.securityadmin GP Security Administrator
    pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.sap_system_user GP SAP System User
    pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.runtime GP User
    pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.forms.roles.execution GP Form Executor
    pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.dt.expert GP Expert User
    pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.superuser GP Superuser Portalrolle
    Administrator Administrator role
    pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.runtime_run_only GP Run-Only User
         pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.runtime_wc     GP Runtime WC     
         pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.dt.advanced     GP Advanced User
    CAFAdmin 
    pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.designtime GP Business Expert
    pcd:portal_content/com.sap.gm.cnt/core/VCRole
    VCRole
    CAFDeveloper

  • Problem in creating output type

    Hi,
    i want to create a separate output type for purchase order printing . I have written one driver program in development client which calls the smart form upon execution . Now i want to attach this driver program with a output type and that output type will be attached with purchase order creation . I am using tcode NACE in the config client . When i am tring to attach the driver program with the output type system giving error saying driver program does not exist since it was created in other client . Then i used tcode scc1 to copy the program from development client to config client but the problem remains same . Can anyone he

    Please find the error message.
    Entry ZMMDRIVER_PO_RETURN   does not exist in TRDIR (check entry)
    Message no. 00058
    Diagnosis
    Input values must be defined in Table TRDIR. The value or values 'ZMMDRIVER_PO_RETURN  ' are not specified in this table.
    Procedure
    Check whether the input is correct and correct if necessary.
    Procedure for System Administration
    If this is not an incorrect entry, check the system settings and change them if necessary.
    If there is a connection to the Customizing system, you can maintain the system settings by choosing Customizing in the Performance Assistant or Maintain Entries (F5) when displaying the help in a modal dialog box.

  • Successive run - Event Structure

    Hello...
    I have a simple question. Sometimes we want to use Event Structure and put only a piece of the code in each case. The problem is that a case might have only math code, without any control, indicator or array. Because of this, this case will not have any "thing" that can trigger its execution. 
    To avoid this and allow me to control in arbitrary form the execution of the cases, I created a simple code where I can specify which case will be runned after a especific case.
    Attached there is a example just to show how it works.
    My question, is there a better way to do this?. I mean, specify that after one specific case runs, another specific case will run.
    Thanks in advance.
    Dan07
    Attachments:
    Event Structure Run.vi ‏30 KB

    There are various problems with trying to use the event structure itself to be the case selector for a state machine:
    You can't guarantee that cases will execute in a particular order, because other registered events could fire during a sequence and interrupt the intended chain of events. For instance, if a user presses a button while the event structure is in a sequence where it triggers itself repeatedly.
    It takes a lot of effort to create these hidden controls that only exist to fire value change events. And it makes the code confusing because they serve no real purpose. Yes, User Events are the preferred solution to this problem, even if they require more wiring and control, but they don't solve the first problem in the list.
    A better solution might be something along the lines of a Queued State Machine architecture. It's a mix inside one loop of an event structure and an outer case structure. It's a little difficult to explain in words, but there's a good template free to download from JKISoftware that also has a tutorial video about it that you can learn more about here. I've recommended this before, but I promise I don't work for them or anything It's just good technology and a lot of thought has gone into it. JKI didn't invent the paradigm, but they've implemented it pretty it well.
    It seems to solve a lot of the problems you have. It allows for user interaction through the event structure, and it allows you to trigger a sequence of cases not related to controls or indicators that have events registered for them. And it solves the two problems listed above. The architecture is inherintly self-documenting and clear, and it avoids the pitfall of allowing user interaction to unintendedly interrupt import sequences of events.  The downside is that it's not the simplest of architectures, but it's also not the most complex. Check it out!
    Jarrod S.
    National Instruments

  • EJB Structure/Architecture

    Hi I'm going to begin a new project here im my company, and we have already a project running with EJB, the problem is that this other project was defined by another person here and I disagre with somethings but I would like to hear you all to see if these things I'm talking about is really wrong or not.
    Ok, lets start off, in the server side everything is defined exactly like usually, we have sessionBean implementing the right interface and a localHome and remoteHome an EntityBean very well written, but in the client side that is my point, there is a definition of a client and a helper that I think is totally wrong (or not, I don't know).
    The helper and client both implement an unique interface. The client only knows in wich helper use and a helper knows wich ejb connect to. Then supposing that we have a web environment using struts we would think like this, after the user submit an form the execution goes to a given action where I create my client and call a specific method wich will only call a helper wich will know where to connect to in my server.
    I don't think it should be like this but I don't think that the way this guy defined the things would be the better way, please I need suggestions, points and so on. If you need
    further informations about, please let me know.
    Thanks a lot
    Dorileo

    Ok, lets start off, in the server side everything is
    defined exactly like usually, we have sessionBean
    implementing the right interface and a localHome and
    remoteHome an EntityBean very well written, but in
    the client side that is my point, there is a
    definition of a client and a helper that I think is
    totally wrong (or not, I don't know).It sounds like a BusinessDelegate, which is not wrong at all.
    http://java.sun.com/blueprints/corej2eepatterns/Patterns/BusinessDelegate.html

Maybe you are looking for

  • In BI Publisher RTF table layout issue for invoice printing

    Hi, I am working on check printing and invoice printing project on bi publisher and i am facing one issue. That is i have used section break on check priting so because of that if the the records are more than 20 then check will print on second page

  • Can I use iSync for more than one user on my .mac family account?

    I just got a new MacBook Pro 17" to replace my Pro 15", which I want to give to my hubby who's using an old MacBook. I have successfully synched my old Pro to the cloud and my new Pro, thereby rolling over all my settings, widgets, address book, etc.

  • Where is bin direcotry in eval version of WLS 6.1 sp 4

    I just downloaded a copy of the eval version of WLS 6.1 sp 4 because I want to use it with the WebLogic Server 6.1 Workbook. However, when I install it, the bin directory is missing. I am also interested in looking into clustering with iis. Without t

  • Can't reboot after reinstall [solved]

    Hello everybody! this is my first post on the forum, so first of all thanks to all the devs for their work and to all the people here for their answers ( and please forgive my errors when i write in english!). This is my problem: on my laptop I have

  • Thescreen does not come on althuogh t23 shows sleep is on. ?

    When I power up   my T 23, I get a lighted "arrowhead" type symbol with a "1" in it, and  a lighted "circle with a slanted z"  all the while the lcd  display screen remains off. I am not familiar with indicating icons on t23 at all.   What can I do t