Is it possible to deploy .fmx files to different directories on the 10g OAS

All,
I have 10g R2 App Server (10.1.2.0.2) with a BI & Forms Middle Tier.
Currently, all of my .fmx files are placed into the middle tier's $ORACLE_HOME/forms directory.
I use a URL similar to the following to run the forms in a browser:
http://machinename.domain/forms/frmservlet?form=test.fmx
I now have some additional applications that are coming online. Some of the .fmx files for the new application are named identically to .fmx files of my current application.
So I would like to be able to segregate all .fmx files related to each application into their own directories on the 10g OAS. I've been poking around in this form and on Metalink and so far, have not found any solution.
I've seen references to using the FORMS_PATH environment variable that that is not going to work for us.
For example, let's say that I have two different forms applications that have a file named frame.fmx. The frame.fmx form is completely different between these applications.
I would like to be able to put all of application 1's files into $ORACLE_HOME/forms/app1 and all of application 2's .fmx files into $ORACLE_HOME/forms/app2.
Is this possible when running forms on the web? What URL would I use to invoke the frame.fmx file in the app2 or the app1 sub-directory? Is there such a thing as virtual directories in forms?
Any help is greatly appreciated.
Cheers
John S.

Make different config's in your formsweb.cfg which include different default.env files
The url will then be something like
http://machinename.domain/forms/frmservlet?config=app1&form=test.fmx
http://machinename.domain/forms/frmservlet?config=app2&form=test.fmx
Where application1 and application2 are config definitions in your formsweb.cfg file.
[app1]
envfile=default_app1.env
[app2]
envfile=default_app2.env
In the different env files, use diffent FORMS_PATH environment variables.
default_app1.env: FORMS_PATH=$ORACLE_HOME/forms/app1
default_app2.env: FORMS_PATH=$ORACLE_HOME/forms/app2

Similar Messages

  • Send multiple files in different directories using Receiver File Adapter

    Hi Experts,
    I have one File to File without ESR scenario where I have to pick multiple files from different directories and to save them in different directories on receiver side.
    Can anyne help me to send multiple files in different directories using receiver file adapter.
    Is it possible??
    Any help will be appreciated.
    Regards,
    Danish

    hi ,
    that is possiable without esr,
    we need to create one sender communication channel , in that  we nend to use "adavnced selection for source file " for sending multiple files from multiple directories.
    we need to create 'n' receiver communication channels and 'n' receiver agreements based on communication channels .
    in receiver determination, provide multiple receivers
    In interface determination , provide * symbol for receiver communication components
    thanks,

  • Hi can someone tell me if it is possible to have two accounts (from different countries) in the same laptop?

    Hi can someone tell me if it is possible to have two accounts (from different countries) in the same laptop?

    Hi...
    The issue is that your credit or debit card credentials must be associated with the same country where you reside to make purchases.
    "Although you can browse the iTunes Store in any country without being signed in, you can only purchase content from the iTunes Store for your own country. This is enforced via the billing address associated with your credit card or other payment method that you use with the iTunes Store, rather than your actual geographic location."
    From here >  The Complete Guide to Using the iTunes Store | iLounge Article
    Billing policy is the same for both the iTunes as well as Mac App Stores.

  • How to include header files from different directories?

    Hi,
    Sorry for the newb question, but I can't figure this out. I'm trying to compile a simple piece of code (C++) that uses header files in a directory different from the Project directory; header files are in /opt/csw/postgresql/include/pqxx. I've tried a few different things, adding that directory to the include directives under Resource Files, add existing files from a folder, etc etc. Whenever I try to build, dmake bails with status -1. I can't seem to get this working, can someone explain how to use header files from different directories?
    Thanks,
    SlowToady

    Header files are usually specified relative to a base directory. If the base directory is not a system directory -- /usr/include or the compiler installation directory -- add a command-line directive
    -I path/to/base/dirfor each such directory.
    The path can be absolute, such as
    -i /opt/csw/postgresql/includeor relative, such as
    -I ../../my/includeIn your source code, specify the header file relative to the base directory, and be sure to use quotes, not angle brackets. Example:
    #include "header.h"  // right
    #include <header.h>  // wrongThe angle brackets are used for system headers, like <iostream> or <stdlib.h>.
    The rules above are common to all compilers on Unix and Linux, and generally to all C and C++ compilers.
    For more details, read about the -I option in the C++ Users Guide. You can find the guide by pointing your browser to the "docs" directory in the compiler installation, or go here:
    http://docs.sun.com/app/docs/doc/819-5267
    All command-line options are described in Appendix A.

  • How to read the files in different directories

    how to read the files in different directories here directory names will change dynamically under root node.
    let me say
    rootnode---->subnode1
    >subnode2
    >subnode3
    >subnode n
    how to specify these in file adapter.

    Hi
    look at this thread your problem is solved here
    File Adapter
    Regards
    Abhishek
    Edited by: Abhishek Agrahari on Dec 16, 2008 11:37 AM

  • Create multiple files in different directories for receiver system

    Hi,
    My scenario is File-XI-File. Based on a value of a field(1...Unbounded) & its occurance in source file XI needs to create same file number of times(based on occurance of field in source file) in different directories on receiver system(Single Business System).
    What different ways/solutions are available to achieve this?
    Regards,
    Bharat
    Edited by: Bharat Rathod on Nov 21, 2009 5:24 PM

    Hi Bharath,
    >>Based on a value of a field(1...Unbounded) & its occurance in source file XI needs to create same file number of times(based on occurance of field in source file) in different directories on receiver system(Single Business System).
    This logic needs to be handled in message mapping ... and you need to use multimapping..check the link here
    http://help.sap.com/saphelp_nw04/helpdata/en/42/f3b31d48fb1bc8e10000000a11466f/content.htm
    Regards
    Suraj

  • How to configure a scenario which posts same file to different directories

    How to configure a scenario which posts same file to different directories of a receiving system?
    Consider an Idoc to file scenario where I have to post same file to two different directories but logical receiver system has to be same.

    Hi,
    You can try out like this: Using multiple receiver interfaces you can send it to multiple directories with the help of enhanced interface determination/conditions and with the help of multiple receiver communication channels.
    Another option is to copy the file from one target directory into another directory  with the help of Unix script by executing the same from the OS command level.
    One more option is to create a Java Server Proxy and inside the proxy, you can write java code to FTP into different locations.
    Hope this helps,
    Regards,
    Moorthy

  • Is it possible to face time with 3 different people at the same time?

    Is it possible to face time with 3 different people at the same time?

    Check out GoToMeeting http://tinyurl.com/k6q84kw
     Cheers, Tom

  • Reading files from different directories and exceuting them

    D:\>cd PROC_PKG_FUNC
    mkdir FUNCTIONS
    mkdir PACKAGES
    mkdir PACKAGES_BODY
    mkdir PROCEDURES
    mkdir TYPES
    mkdir TYPES_BODY
    SQL> create directory FUNCTIONS as 'D:\PROC_PKG_FUNC\FUNCTIONS';
    Directory created.
    SQL> create directory PACKAGES as 'D:\PROC_PKG_FUNC\PACKAGES';
    Directory created.
    SQL> create directory PROCEDURES as 'D:\PROC_PKG_FUNC\PROCEDURES';
    Directory created.
    SQL> create directory PACKAGES_BODY as 'D:\PROC_PKG_FUNC\PACKAGES_BODY';
    Directory created.
    SQL> create directory TYPES as 'D:\PROC_PKG_FUNC\TYPES';
    Directory created.
    SQL> create directory TYPES_BODY as 'D:\PROC_PKG_FUNC\TYPES_BODY';
    Directory created.
    suppose,
    there is a D:\PROC_PKG_FUNC directory in my local machine where the database server exists.
    And in that directory there are different directories like FUNCTIONS,PACKAGES,PACKAGES_BODY,PROCEDURES,TYPES,TYPES_BODY, now I've created all the remote schemas obejcts in these folders using utl_file, with the help of the following package
    SQL> CREATE OR REPLACE PROCEDURE Get_Db_Ddl_Scripts AS
    2 v_file Utl_File.FILE_TYPE;
    3 v_file_dir VARCHAR2(50);
    4 i_first_line NUMBER := 1;
    5 BEGIN
    6
    7 v_file_dir := 'PROC_PKG_FUNC';
    8
    9 FOR REC_OBJ IN
    10 (SELECT DISTINCT NAME,TYPE,DECODE(TYPE,'FUNCTION','FUNCTIONS','PACKAGE','PA
    CKAGES','PACKAGE BODY','PACKAGES_BODY','PROCEDURE','PROCEDURES','TYPE','TYPES','
    TYPE BODY','TYPES_BODY') v_file_dir
    11 FROM ALL_SOURCE@FRISKDEVI41B_ORCL WHERE OWNER='FRISKDEVI41B'
    12 AND TYPE IN ('FUNCTION, PROCEDURE','PACKAGE','PACKAGE BODY','TYPE'))
    13 LOOP
    14 v_file := Utl_File.FOPEN(location => REC_OBJ.v_file_dir,
    15 filename => REC_OBJ.NAME || '.sql',
    16 open_mode => 'w',
    17 max_linesize => 32767);
    18 i_first_line := 1;
    19 FOR REC IN (SELECT TEXT FROM ALL_SOURCE@FRISKDEVI41B_ORCL WHERE NAME = REC_
    OBJ.NAME AND TYPE=REC_OBJ.TYPE AND OWNER='FRISKDEVI41B' ORDER BY LINE)
    20 LOOP
    21 IF i_first_line = 1 THEN
    22 Utl_File.PUT_LINE(v_file,'CREATE OR REPLACE ' || REPLACE(REC.TEXT,CHR(10),N
    ULL));
    23 ELSE Utl_File.PUT_LINE(v_file, REPLACE(REC.TEXT,CHR(10),NULL));
    24 END IF;
    25 i_first_line := i_first_line + 1;
    26 END LOOP;
    27 Utl_File.FCLOSE(v_file);
    28
    29 END LOOP;
    30
    31 END;
    32 /
    Procedure created.
    SQL>exec Get_Db_Ddl_Scripts ;
    PL/SQL procedure successfully completed.
    Thus the files are created in the location.
    now what i want to do is i want to read each file and run in my current schema to create these objects in my local scehma ,is that possible? Help required._

    ORCHYP wrote:
    once these files are written in respective folders, you can open them with utl_file('read') in current schema and very well you can execute them.
    Try it onceTry it as many times as you like, you won't execute the files with utl_file, that's for sure. ?:|
    Using something like DBMS_SCHEDULER you could issue a one off job for each script, as that package can call o/s commands.
    However, what's the point?
    You may as well, in the code above, just build up your DDL commands or whatever inside your code and, rather than write them out to scripts, use the EXECUTE IMMEDIATE command to execute the DDL against the database.
    Of course may not be the best thing to be doing, but we have very little information about what it is that is trying to be achieved, and no reason given why all the functions, packages etc. aren't just put together in a single script that is executed from the command line in the first place. Why try and write PL/SQL to do it?

  • Drop the files into different directories based on the filename

    Hi,
    I had a reqiuirement based on the file name, i should drop the files in to different directories.
    I can get the filename through variable substitution in receiver file communication channel, now i want to drop the file into different folders based on conditions.
    suppose, if the file name is DDDX234
    i should do substring of filename0+(4), if the value is L then i should drop in X directory
    suppose, if the file name is DDDY234
    i should do substring of filename0+(4), if the value is L then i should drop in Y directory.
    How can i drop the file into differnent directories based on filename.
    Thanks
    Srinivas

    Thanks Michal,
    I mapped the directory and filename to the target header in the mapping
    Filename --> UDF --> Header(target)
    and in the receiver channel checked the ASMA and given * in the filename and directory name.
    But in runtime iam getting the error as
    Attempt to process file failed with com.sap.aii.adapter.file.configuration.DynamicConfigurationException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header
    MY UDF is
    public String Directory(String a,Container container){
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key  = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "Directory");
    String FileName = conf.get(key);
    FileName = a;
    conf.put(key, FileName);
    %%%based on filename the directory should change
    String Directory = conf.get(key1);
    Directory = "/SAPInterface/XI/PPD/DHX/out";
    conf.put(key1, Directory);
    return "";
    Help me in correcting this error.
    Thanks
    Srinivas

  • Moving files into different folders on the ipod ?

    Hi all,
    A lot of my movie files are in the wrong place on my ipod - e.g some of my video podcasts are in my songs folder.
    Is there anyway I can move the video files on my ipod into the correct place ?
    Many thanks in advance,
    Martin

    Hi,
    They are only showing up in songs.
    Also for some reason all my video files are now played as audio files
    Can anybody help with this at all ?
    Thanks,
    Martin

  • Can I use mp3 files from different domain as the feed?

    Hi..
    I have just created a new podcast here:
    http://artistsofliving.com/?feed=podcast
    I would like to submit the podcast to iTunes sometime soon...
    However, I'm wondering if they will reject it because the feed lives on 'artistsofliving.com', whereas I keep the media mp3 files on 'livinginthepresent.com'... a different domain.
    I own the mp3 content and both domains- I'm splitting the media from the website for bandwidth reasons.
    Is this ok? If this causes a rejection straight out is there a way to indicate that I own the material fairly?
    Thanks!
    -rich

    There's no problem about using media files from any source: the feed just has to reference them (the URLs have to be 'absolute' - i.e. including the http:// and the server name - even if the file is on the same server as the feed anyway). I don't see the fact that some files have different URLs leading to accusations of copyright breach.

  • Can we Deploy .fmx files on weblogic server 10.1/10.3?

    Hi,
    currently we are using oracle Application server to run forms. Now we are palnning to migrate to weblogic. Can some one give me advice or documentation links where to start ? is WLS enough or do i need to get Weblogic portal ?
    Thanks
    Rao
    Edited by: user11985073 on Nov 30, 2010 7:45 AM

    See here http://download.oracle.com/docs/cd/E17904_01/web.1111/e10240/toc.htm especially the section
    Basics of Deploying Oracle Forms Applications (http://download.oracle.com/docs/cd/E17904_01/web.1111/e10240/basics.htm#i1004293)
    Some notes about upgrading can be found here: http://download.oracle.com/docs/cd/E17904_01/doc.1111/e10394/toc.htm

  • How to deploy war file in different directory?

    I know one simple way to do deploy a war file is to dump it in webapps directory without a need a set server.xml. However, doing so will also inflate the war file in the webapps directory, which is not what I want.
    I want to be able to drop the war file in the Tomcat webapps directory, but automatically gets inflated in my project specific directory (say C:\projectName).
    How do I do that? Thanks.

    you should have a console option to do that so...
    For example in WEBLOGIC you can get it through
    http://localhost:7001/console
    here you can do it you will come to know just by seeing that..
    Similarly i think there will be a chance for others also.

  • Deploying war file with different web access address

    On my current OC4J server, I have an container and is accessed by https://www.abc.com where abc is the application name. The hostname is different from the application name i.e. host_name and not abc as in the application access address.
    I want to create one more contaner and have the users access this by https://www.abc.com/xyz.
    How do I g about this?
    Dp I need to create a virtual web site in the httpd.conf ?
    Please let me know. Appreciate your help.

    Applications that you build with JDeveloper 11g are normally aimed at WebLogic 10.3 servers.
    They require Java EE 1.5 and JDK 6.

Maybe you are looking for

  • Issue with $FLEX$ and populating dates.

    Hello, I'm creating a custom report for a HR report. I have a requirement to enter a report type, if that report type <> 'DATE' then the parameters to enter dates are to be disabled. I when through the following steps. Steps: 1. Define controlling pa

  • Video app

    The episodes of the tv shows that I purchase from itunes, these episodes does not appear in order inside the video app of ios7, and somtimes the single season episodes appear in separate folders

  • Getting "Script Error" message in Contribute 6.5

    What's causing this and how do I fix?

  • 2 iPhone on same ATT account with each having its own iTunes account

    I want to add another line to my existing att account, but I want each phone to have its own itunes account. In another words, I dont want the other person with the other phone syncing to my itunes.

  • Bug during delete near image

    There seems to be a bug that during delete immediately after image will only delete characters in selected first paragraph only. Steps to reproduce are the following: 1. Insert multiple paragraphs 2. insert image in somewhere in the middle paragraph