Subclassing issue in form 10g - is there a default path?

Hello

is there any default path for the model form where can inherit another form. I have a FMB file which will be used as a common template file. This file will be used for the legacy. Currently property of the form are not inherited in the new forms.

Can someone please help.

You must set the FORMS_PATH in the registry. The entry in the default.env is only for runtime forms. The constructor takes tha with the registry value.

Tags: Oracle Development

Similar Questions

  • The Form(10g) hung who have the ComboBox list item when it runs on JRE

    Hello

    I am facing a problem with the drop-down list box. It works fine on JInitiator, but it doesn't work on JRE (Java). I searched the OTN community that everyone says that the 3 patches must be applied. Is there an alternative solution.

    Developer version

    Forms [32 bit] Version 10.1.2.0.2

    OS: Windows xp Service Pack 3

    Application server:

    Versionhttp://192.168.0.20:1156/cabo/images/t.gif10.1.2.0.2

    OS: Linux Red Hat

    OS: Windows Server 2003

    Best regards

    Zafar Iqbal

    Zafar,

    There is a known bug with the ComboBox element in Oracle Forms 10g R2 (10.1.2.0.2).  This has been fixed with patches 3 Group (which requires a contract for Support of Oracle download the patch) is why Micheal recommends that you install this group of hotfixes.  If you do not have a support contract - your options are: 1) not to use the ComboBox element. (2) upgrade to the latest version of Oracle Forms on the Oracle Technology Network (OTN), which is Oracle Fusion Middleware 11 g R2 (11.1.2.2.0).  (3) Finally, continue to use the Oracle Jinitiator.

    Craig...

  • Forms 10g + UTF8 - Item displays # when he's happy is too long

    Hello

    I am facing a strange behavior with Forms 10 g and NLS_LANG = UTF8.

    DB 11G withcharset in AL32UTF8 on Linux

    Forms 10G on Linux

    We are currently upgrading our DB 10 G DB 11 G + UTF8 form.

    After adaptation data DB 10G and 11G, we changed sementics BYTE in CHAR columns in DB 11 G.

    Migration worked well.

    Now we try to connect to our application in the form of 10G to the new DB 11 G + UTF8.

    First we were faced with the error ORA-01461 "can bind a long value only for insert in a long column".

    To resolve this error, we have clarified the NLS_LANG = american_america.utf8 in default.env.

    This problem is solved now.

    We have specified the following parameters when compiling:

    NLS_LANG = AMERICAN_AMERICA. UTF8

    Export NLS_LANG

    NLS_LENGTH_SEMANTICS = CHAR

    Export NLS_LENGTH_SEMANTICS

    The application works fine except a few ITEMs that display # when their content is too long.

    For example with a Varchar2 ELEMENT (5) length_semantics = NULL (if the compiler uses the NLS_LENGTH_SEMANTICS specified during compilation).

    -When I fill it with "xxxxx" it works very well.

    -When I fill it with "xxxxe", it displays "#". The ELEMENT behaves as in Excel when the cell data cannot be displayed as a whole.

    Any idea on how I can avoid this behavior?

    Thanks in advance.

    Tim.

    There is a bug in forms 10.1.2.3 for when the length of an element in BYTES is greater than the length of the CHAR data # are displayed.

    =>

    Length ('xxxxx') = lengthb ('xxxxx')

    but

    Length ('xxxxa')<>

    so you will get #.

    There is a single patch for this what number I do not remember. The patch is packaged in the latest available patch for forms #9593176 and #13095466 which will also give you the benefits of being able to run your forms 10 g with Java7 (even if she is not certified).

    see you soon

  • Migrating Forms 10g GR 11, 2 different host

    Hi all

    I'm Migrating Forms 10 g to 11 GR 2. I read a document for upgrading forms 10g to 11 GR 2, but there is no comment about the different host upgrade.

    Also, there is only one way for the upgrade. Who is using "upgrade wizard".

    Currently, here is my situation.

    1. I use forms 10g now on the server A.
    2. I installed 11 GR 2 forms on server B. It works well.
    3. There are a few files of forms compiled on ServerA.
    4. I want to migrate these forms and the configuration files in the server A to Server B.

    If I can't use "upgrade wizard", I just copy the configuration files two server (formsweb.cfg and default.env) and paste the B server configuration files. But I think that it is not good idea to migrate.

    Is there something else easy way and security for the upgrade.

    Please answer to me thanks!

    Let me start with the urgent comment: do NOT copy the configuration of earlier versions and drop them in the new environment. It's a bad idea for many reasons.  The most obvious is because new version has new settings and changes, some of which are required.

    I hope that, in your environment to version 10 you does not alter the [default] section of formsweb.cfg.  If this is the case, then you can easily copy your sections in the file of the new version.  However, before you do anything like that, make sure that you stop the Server Admin v11 and Managed Server (WLS_FORMS).  Don't try to do it with them running or your changes likely will have lost to ignored.  The default.env should be similar.  You can replace the one-for-one entries, but do not replace the entries found in the file.  Thus, for example, you can copy your old FORMS_PATH and drop it into the new file.  Comment out the existing and use your instead.  And so on.

    OK, we can all calm down now.

    The next thing to address is this statement "...". compiled form files on server A... ».  You can also copy forms of update modules / generated from one version to the other.  You need to rebuild 'X' (fmx, mmx, plx) of files in the new environment, using the new compiler.

    As for using the upgrade wizard, there are some limitations to use, needing to be on the same machine.  However, despite everything, my recommendation is that not use you it anyway.  In most cases, you will have more success and much easier to maintain the environment if you do things manually.  AU is especially useful when you have significant customizations and complex throughout the battery (SST, Web Cache, forms, reports, etc.).  For typical configuration changes, manually create the new that's going to be the way to go.  It will give you also a chance to clean by removing changes made previously which are no longer needed.

  • Oracle Forms 10g runtime error

    Hello
    I am new to Oracle forms. I created the form, compiled successfully. But when I ran the form its opening a Page Internet Explore but display not nothing on the page. After a while his shows an error "Internet Explorer has stopped working". It is happen every time when I run the form.

    Please suggest me how to run a form in the application form as well as in the Internet Explorer web page.

    Thanks in advance
    Kaddour

    Suresh,
    Which edition of Windows 7 32-bit (etc. Professional, Home, Home Premium)? If you use a home edition - good luck to do this work. The necessary minimum edition is the professional edition. Just any editions have all necessary components of networking needed.

    If you use a professional edition or higher, then there are a few preparations you must do to make it work. They are:
    1. you must install the application as an administrator.
    2. you "run" the application as an administrator. The best thing to do is to find the Oracle executable and then right-click and select Properties. Click on the Compatibility tab, and then click "Run this program as an administrator." Windows 7 automatically runs applications like 'Standard user' - even if you have the privilege of administrator assigned to your account. This is part of the feature Universal Account Control (UAC) in Windows 7.
    3. you must install and use a compatible Java Runtime (JRE) (JRE 1.6.0 - No 1.7.0). Oracle Forms 10 g Release 2 (version 10.1.2.x.x) defautls to the use of the Oracle Jinitiator. However, Jinitiator is no longer compatible with Windows 7 and modern browsers or supported. Keep in mind that Jinitiator was to IE 6 so you cannot expect this JRE to work with modern browsers.
    4. change the formsweb.cfg to use JRE 1.6.0. Change the following lines:

    #baseHTMLjinitiator=basejini.htm
    baseHTMLjinitiator=basejpi.htm
    #jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    jpi_classid=clsid:CAFEEFAC-0016-0000-0034-ABCDEFFEDCBA
    #jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_34
    

    5. Finally, in order to run a form from the forms Builder, you must start the OC4J container. To do this, go to start-all programs-online Oracle Developer Suite - online DevSuiteHome-Online Forms Developer => start an OC4J Instance.
    The OC4J Instance emulates an application server which is required for Forms 10g Runtime.

    The changes described above assumes that you have installed the Java Runtime Environment (JRE) 1.6.0_34. If you have a lower version, make sure you change the "34" to the installed version.

    This is the minimum of changes necessary to make forms work on Windows 7 32 bit. It is strongly recommended that you apply the last group of patches (patches 3 Group) for forms bring your 10.1.2.0.0 version 10.1.2.3.0, but you will need a contract with Oracle support to obtain the fix.

    As for your question,

    One last thing, I've observed is the Oracle Services in the Control Panel control Panel\All Items\Administrative Tools\Services. I don't see any running services related to Oracle, in my system (do not even have a linked oracle service at this location).

    What other Oracle products you have installed? If just Oracle Forms, then you will have no service.

    Craig...

  • Display Arabic characters as question marks in form 10g

    We have migrated our application forms 6i to 10g of form and in forms 10g, display Arabic as question marks characters while it now appears properly in the old application using forms 6i. I already updated the character set AR8MSWIN1256 in the registry, but it did not help. Someone please help.

    Well, I agree with you Sarah Merci for your comments pls take a look here
    There is a related article, the best alternative that we create an instance of the db that worked well...

    Kind regards

    Amatu Allah

  • How to get the computer name - forms 10g

    Hello

    How to get the name of the server or some other identification forms 10g Application?
    We have several servers and host load balancing redirects user to the X Server and the forms application, I have to get information from the server to which the user was redirected? Is there a way how to do?

    It can be the name of the server, Ip or other identifying information...

    Thank you.

    As the client that connects to the database is the application server

    CHE_TEST@tcp_asterix_impl> select sys_context('userenv', 'host') from dual;
    
    SYS_CONTEXT('USERENV','HOST')
    ----------------------------------------------------------------------------
    LINZ\CHE-WS
    

    Should return you the host name of your application server.

    See http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions165.htm#SQLRF06117 for more information you can get with sys_context

    see you soon

  • Need help with Forms 10g documentation!

    Hi friends,

    I need documentation of forms 10g can someone give me the link I downloaded contains only the pdf installation files and documentation for reports, but I'm looking our for Forms 10 g any help would be appreciated.

    Kind regards
    Maury

    Maury,
    The simple fact of the matter is that Oracle no longer publishes a full set of documentation of the product (for example; User Manual, etc.) Everything is now in the forms help system. The last time Oracle published the kind of documentation you are looking for has been with Oracle Developer 2000 (Forms 4.5). You can still get the pdf version of these books in the Oracle Forms Developer and Forms Server Documentation. Download them quickly because they may be there much longer! It seems that Oracle is slowly remove ALL content that is more than 4-5 years old.

    Hope this helps,
    Craig B-)

    If someone useful or appropriate, please mark accordingly.

  • Host(); Forms 10g

    I have a problem to run the Forms 10g host command when I type host ("'cmd /c start c:\file.txt"); He is running, open the file in the server
    but when I run this host ("'cmd /c start c:\file.bat"); It gives me the quick screen (sqlldr c:\devsuitehome\forms is not recognized)
    You now know that the lot is SQLLDR SCOTT/TIGER control = CONTROLFILE
    LIKE WHEN I OPEN THE SERVER COMMAND PROMPT AND TYPE SQLLDR IT ME GIVES IN DETAIL AND WORKS FINE

    -NOTE THAT I WON'T USE CLIENT_HOST BECAUSE IT WILL RUN NO CLIENT AND IT IS THERE HAS NO SQLLDR IN THE CLIENT MACHINE

    Help, please!

    Published by: wael amar on January 18, 2011 04:44

    Rather than calling SqlLoader directly, you must create a batch (.bat) file and call it. In the batch file, you must first configure the environment because the HOST of shapes command starts with shell that does a not include system configurations. Thus, for example to create this batch file and assume, you name it oracle.bat :

    set ORACLE_HOME=C:\oracle10g\iAS1012
    set ORACLE_SID=orcl
    set PATH=%SystemRoot%\system32;%SystemRoot%;%ORACLE_HOME%\bin
    sqlplus
    

    If you want to pass values in the batch file you can do, but it may take some careful coding. For example, if you want to pass the username and password in the script above you can proceed as follows. The %1 accepts a value from the command line. If you need more simple add %2 %3 and so on. Each parameter should be separated by a space, that is where it becomes difficult in the Forms code.

    set ORACLE_HOME=C:\oracle10g\iAS1012
    set ORACLE_SID=orcl
    set PATH=%SystemRoot%\system32;%SystemRoot%;%ORACLE_HOME%\bin
    sqlplus %1
    

    The form, the call from the HOST might look like this. Carefully note the exact spaces and quotes, I've included in the declaration.

    HOST('"c:\oracle.bat " scott/tiger""');
    

    or*

    HOST('cmd /c start "" "c:\oracle.bat " scott/tiger""');
    
  • Forms 10g / 11g in Servlet mode vs. shooting mode.

    Hello


    We are trying to push to the top of oracle forms 10g / 11g performance due to network latency problem. I read that we can also run Oracle Forms 11 g / 10g in the current shooting mode which uses 40% less bandwidth, but it comes together with EBS R12. ( http://blogs.oracle.com/stevenChan/2009/06/which_is_better_forms_servlet_or_socket_mode.html )


    I want to know that can we run that Oracle Forms 11 g / 10 g in socket mode. In the affirmative. Please provide the configuration forms11g / 10g in socket mode.

    Thank you and best regards,
    Noman

    Be careful here - performance problems may be the result of many issues - provides a little less network in terms of physical bytes (bytes can be physical?), but which does not always improve performance. You also have other potential problems, for example, if you have any firewall or proxy on your network.

    Bottom line is that for customers not apps you are not supported to run in shooting mode - and even once, even if you were, he could not help you.

    Concerning
    Grant

  • Maintain the Forms 6i with form 10g

    Hi all

    I have a case where we want to go to form 10g and one of my client doesn't want to Forms 6i. We have a utility where, in case, we say that if the version is Forms 6i and then compile as part of another (IE., Version is Forms 10g) then compile the other party. Similar to the concept of IfDef.

    Kind regards
    Alok Dubey

    There will be no conversions built-ins, only errors of compilation on built-ins obsolete if they are used which are VERY rare, migration should go very smoothly.
    I suggest you try on a couple of forms, PLL and MMB.

    Tony

  • Site not give me the ability to download Flash CC, when I click on download it says: "we are currently experiencing issues, please try again later" there is no error code at all. Do this please be fixed soon? I spent all night updated my O.S.

    Site not give me the ability to download Flash CC, when I click on download it says: "we are currently experiencing issues, please try again later" there is no error code at all. Do this please be fixed soon? I spent all night my O.S. Update prepares to use the Flash, and now I can't download it. I have I need to work on important projects.

    Hello Becca,

    Please try to download the CC application directly on the link below:

    Direct download links of Adobe CC 2015: 2015 creative cloud release | ProDesignTools

    Hope that helps!

    Kind regards

    Sheena

  • ORA-01041: internal error. hostdef extension doesn't exist in form 10g

    While that compile Forms 10g I get this error, pls help me on this problem.

    Visit this link... ORA-01041: internal error. Hostdef extension doesn't exist

    hope this helps

  • Forms 10g 10.1.2.3 with Microsoft Internet Explorer 8.0 in Win 7 64 bit

    Hi all

    I'm not able to open applications developed with forms 10g (10.1.2.3) in IE8.
    I am able to open it from the same client using google chrome or Firefox 3.6.
    JRE version 1.6 is 33.

    Fact any body knows what should be the parameters of IE8 to make shapes with IE8.
    Y at - it no metalink how to document?

    Thanks in advance

    Guigui

    You have made a minor mistake.

    CLSID:CLSID:CAFEEFAC-0016-0033-FFFF-ABCDEFFEDCBA is not correct.

    Her take: either of the following:

    #Dynamic CLSID - runs with any installed JRE with Internet Explorer
    jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
    
    #Attempts to use any JRE in a specified family
    jpi_classid=clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBA
    
    #Static CLSID attempts to use a specified JRE or newer in the same major release.
    jpi_classid=clsid:CAFEEFAC-0016-0000-0033-ABCDEFFEDCBA
    

    For browsers other than IE, you must set the MIME type. Then choose them:

    #Forces the use of a specified JRE version
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_33
    
    #Attempts to use any JRE in the specified family
    jpi_mimetype=application/x-java-applet;version=1.6
    
    #Use any installed JRE
    jpi_mimetype=application/x-java-applet
    
  • Form 10G - Saving Blob on server applications using Java.

    Hello

    Forms 10g using, I'm looking for a solution to retrieve the Blob from my database (10 gr 2) and save it to the application server on the "Oraclehome\Apache\Apache\htdocs" directory so that users can download/view it via the browser.
    first of all, I used WebUtil to download files on the client and it worked perfectly.
    However, for some reason, my client does not want to download the file on his client.

    So here I am, I've created a java class called "saveBlobToFile" that receives a string as a parameter to write it to a file.
    I imported this class in forms where I used the following code.
    Everything works fine, but I need to convert my RAW in HEX to move to Java string and converted again to a Byte [].
    I order to speed up the process, I would avoid these 2 conversions.
    Don't you think that it is possible to move the RAW format (which is just a stream of bytes) to java? Either by converting it to ORA_JAVA. JACOB byte? Either passing as an object and cast in java to a byte array?

    Thanks in advance,
    Tim.

    PS: I based my development on this article
    https://support.Oracle.com/CSP/main/article?cmd=show & type = not & ID = 70110.1


    /***************
    FORMS
    ***************/
    DECLARE
    BLOB MY_BLOB;
    RAW BUFFER (32767).
    DIRECTORY OF THE AMT: = 10000; -32767;
    INTEGER POS: = 1;
    MYBLOBFILE ORA_JAVA. JOBJECT;
    BEGIN
    SELECT DOCUMENT
    IN MY_BLOB
    OF WRK_LOB_STORE
    WHERE ID = 1;

    LOOP
    DBMS_LOB. READ (MY_BLOB, AMT, POS, BUFFER);

    IF POS = 1 THEN
    MYBLOBFILE: = SAVEBLOBTOFILE. NEW ();
    SAVEBLOBTOFILE. WRITETOFILE (MYBLOBFILE, "C:\test.txt", RAWTOHEX (BUFFER));
    ON THE OTHER
    SAVEBLOBTOFILE. APPENDTOFILE (MYBLOBFILE, "C:\test.txt", RAWTOHEX (BUFFER));
    END IF;

    WHEN the AMT RELEASE < 10000;
    POS: = POS + AMT;
    END LOOP;
    END;

    /***************
    JAVA
    ****************/

    package saveblobtofile;

    to import java.io.FileNotFoundException;
    to import java.io.FileOutputStream;
    import java.io.IOException;

    public class saveBlobToFile {}

    private FileOutputStream fio;

    public saveBlobToFile() {}
    }

    ' public void writeToFile (String fileName, String, stringBuffer) survey FileNotFoundException.
    IOException {}

    FIO = new FileOutputStream (fileName);
    FIO. Write (hexStringToByteArray (stringBuffer));
    FIO. Close();

    }

    ' Public Sub appendToFile (String fileName, String, stringBuffer) throws FileNotFoundException,.
    IOException {}

    FIO = new FileOutputStream (fileName, true);
    FIO. Write (hexStringToByteArray (stringBuffer));
    FIO. Close();

    }

    public static ubyte [] hexStringToByteArray (String s) {}
    int len = s.length ();
    Byte [] = new ubyte data [len / 2];
    for (int i = 0; i < len; I += 2) {}
    data [I / 2] = (byte) ((Character.digit (s.charAt (i), 16) < < 4))
    + Character.digit (s.charAt(i+1), 16));
    }
    return data;
    }


    Public Shared Sub main (String [] args) {}
    saveBlobToFile saveBlobToFile = new saveBlobToFile();
    }
    }

    A very simple solution is to 'adjust' the WEBUTIL_FILETRANSFER package and create a new procedure DB_TO_AS by combining the existing DB_TO_CLIENT and procedure CLIENT_TO_AS (withou the intermediate step to save the file on the client)

Maybe you are looking for