Default.env ignored (OC4J / Windows)

I am using OC4J on Windows to run forms, and I cannot override environment variables specified in a file.
By default, the file default.env is specified in formsweb.cfg, and whilst the file is obviously being found (servlet refuses to start if it doesn't exist), it seems to ignore all of the values (I am particularly keen to set FORMS90_PATH).
I can successfully set the environment variable in the session which invokes the OC4J server, or the value set in the registry is used, but neither of these seems to be over-ridden by the value in default.env, which it should be, according to the documentation.
I get the same behaviour in 9.0.2 and 9.0.4

I think in windows 32 bit the max length possible is 255 and in 64 bit it is 520
There is no limit on number of entries and the limit is the total length.
Basically whether in windows or unix what ever is the env variable size/length limit the same is applicable to classpath.
You can test with length of 255 or more characters with classpath
Rajesh

Similar Messages

  • Does not read from the path in default.env

    Hi All,
    I have given the path of my forms directories in default.env for my 10gDS Suite. While running it does not read it from the path that I have provided in that file. I also specified the same path in registry still the same error. The error message reads like FRM-18108: Failed to load the following objects.
    Any help will be appreciated.
    Thanks.

    Ok, I'm stumped!
    I thought I would see what would cause the Forms Builder to fail opening an fmb, so I changed my FORMS_PATH value in the default.env file by removing the second directory listed there. Opening a form in the builder gave me two errors:
    FRM-18108: Failed to load the following objects. (Listed the objects in our Ref form.)
    FRM-10102: Cannot attach PL/SQL library...
    Then I changed the FORMS_PATH back, but now, I am unable to open a form without those errors in the Forms Builder.
    My forms_path line looks like this:
    FORMS_PATH=C:\oracle\DevSuiteHome_1\forms;C:\Users\Steve\01\fmb10The only thing I can do now to get a form to open without the errors is to copy the reference fmb and the PLL library from C:\Users\Steve\01\fmb10 to C:\oracle\DevSuiteHome_1\forms
    It feels like I am going crazy, because this all worked before, and now I cannot get it to work.
    By the way, I am using Windows Vista and Forms 10.1.2.3.0

  • ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified in windows server 2008 r2

    ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified in windows server 2008 r2.I made a application in asp.net c#.I am using ODBC connection.When I deployed my application in windows server2008 r2.There
    is no Microsoft ODBC driver shown in ODBC Data source administrator.Then I go to the C:\Windows\SysWOW64 and open  Odbcad32.exe and add Microsoft ODBC2 driver for Oracle and when I run my application I got following error
    ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    I am using follwoing string
     <connectionStrings>
    <add name="theconnetion" connectionString="DSN=abdb;UID=abc;PWD=xyz"/>
     </connectionStrings>
    Guide me What I do?

    Did you add a System DSN or a User DSN? If you added a User DSN from your own login, the asp.net application will not be able to use it unless its application Pool in IIS is configured to run under the same credentials that you used for creating
    the DSN. It's better if you add a System DSN.
    Also, be careful to ensure that you are using a 64 bit DSN, unless you configure the application to run in 32 bits. If the 64 bit application attempts to use the 32 bit driver you get the same error message "Data source name not found and no default
    driver specified". See this KB article:
    http://support.microsoft.com/kb/942976/en-us

  • How can I set to boot from MAC OS by default after I installed Windows?

    How can I choose to boot from MAC OS by default after I installed Windows? I have a MacBook Pro Leo 10.6.8. I used bootcamp to install Windows XP SP2, but now if I don't press the option key it will start up with Windows, and I don't want that. Thanks for any help.

    Select it in the Startup Disk pane of System Preferences.
    (61137)

  • Open UWL items by default in the same window

    Hi All,
    Appreciate if you could let me know if the following scenaio is possible?
    When the user logs into the portal he will be seeing the "Inbox' page which is nothing but a standard UWL iview.
    We have a task(TS001) for example which appears in the "Tasks" tab. Selecting an entry displays the following:
    - Details
    - Logged-On User Information  
    - Current View Information  
    - Current Navigation Information  
    - Current Item Information  
    All these are fine. Clicking on the "Subject" line, results a new window being opened fir the manager to either "Approve" or "Reject" the leave.
    What I would like to do is:
    I want the same window (that has opened in a new window) to be opened by default in the same window just beneath the "- Current Item Information". Meaning, selecting the row, should display the webdynpro iview in the same page rather than actually clicking on the "Subject" link.
    Hope it's not too confusing....
    Appreciate your reply and thanks in advance.
    Cheers,
    Sathya

    Hi Saytha,
    Is opening the workitems by clicking on the subject in the same window an option?  I can help with this.
    Within the xml files you can use the parameter called launch in new window.  You can set this to No so that when you click on the subject of a task, the content that opens, stays opened right in the main part of the portal.
    Here is some additional information about this:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/2c/05b15de3864040a9426788a12699b3/content.htm
    Beth Maben
    EP - Senior Support Consultant
    AGS Primary Support, Business Suite & Technology
    Please see the UWL Wiki @
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***

  • Use Lightning as default calendar app in Windows 8.1

    I've just got a new laptop running Windows 8.1 and I'm still trying to get to grips with it. You can set Default Apps for things like Internet, Email and Calendar (PC Settings > Search and Apps > Defaults). I use Thunderbird with Lightning as my main calendar (synced with my google calendar) and would like to make this the Windows default (presumably so that Windows can create/read events directly etc.). However, when I try to choose a default calendar, it says 'There is no installed app for this type of file or protocol'. Is it possible to do what I'm trying to do?
    Details: Dell XPS 12
    Windows 8.1 (up to date with Windows updates)
    Thunderbird 24.6.0
    Lightning 2.6.6
    Provider for Google Calender 0.25

    Hi,
    Now, you should do it directly in the J2EE applications DD application.xml by specifying "/" for the <context-root> element. In weblogic workshop this can be done by modifying the web apps properties.
    Kai

  • Trouble getting the default  user directory under Windows XP

    I m trying to get the default user directory under windows XP SP3.
    To do so, I'm using
    System.getProperty("user.home");
    I was expecting to get a path like "C:\Documents and Settings\user", nstead of that I get "C:\Documents and Settings\user\Destop".
    I checked the %USERPROFILE% and %HOMEPATH% window's environment variables and both of them are correctly set ( set to "C:\Documents and Settings\user").
    Is there any way to get the right path other than using : System.setProperty("user.home", "C:\\Documents and Settings\\user"); ?

    Thanks WalterLaan,
    The System.getenv("USERPROFILE") method will, at least, fix the problem under win XP.
    I guess i'll have to write a more refined method to be able to deploy my application under differents OSes.
    Regards.

  • FORMS_PATH in default.env on 10.1.2

    I have just installed Application server 10.1.2 with forms and reports. I want to put forms files to directory /home/forms/forms_files/
    I have configured in default.enf variable FORMS_PATH=/home/forms/forms_files, but it seems to not work. Forms servlet still load forms files from default location $ORACLE_HOME/forms. All other configurations is as they are default just after Application server installation.
    User oracle and group oinstall has correct privileges (read and write) to directory /home/forms/forms_files/.
    Can anybody tell what I have to do different or more to define location of form files?
    -jarkka

    check the script to start the iAS is having a variable called FORMS_PATH . If yes modify this. Also do an echo $FORMS_PATH after setting this.
    Otherwise you can edit the profile or script which sets the ias env variable with FORMS_PATH.
    Also check the value in the default.env which can be found in ORACLE_HOME/forms/server
    best regards
    Rajesh Alex

  • How do I set safari to be the default rss reader on windows XP

    How do I set safari to be the default rss reader on windows XP?

    Looks like I got it to work by selecting a document and setting in get info.  For some reason it was not working before.
    never mind

  • Hi, i wanted to resize my windows partion. I was thinking of using the default backup system for windows. Then switching to mac partion, deleting the bootcamp and then restoring a new enlarged partion from the backup. Is this possible?

    hi,
    i wanted to resize my windows partition. I was thinking of using the default backup system for windows. Then switching to mac partion, deleting the bootcamp and then restoring a new enlarged partition from the backup. Is this possible?

    I see youhave gotten recommendatons for using WinClone or CampTune.  I have used both and they both work well.
    You have asked about using the WIndows 7 utility to backup your drive and restor it onto a larger partition.  I will tell you fro experience that this will probably not do what you want, and may do something that you don't want.  You can use the Windows 7 native backup tool to make a backup of your Windows 7 partition.  It will most liekly end-up making a dive image of the whole drive.  When yourestore that backup, it will try to re-create teh partitions of exactly the same size as they were when the backup was taken, so it won't increase your partition size for you.  Worse, since Windows doesn't natively know how to read./write HFS+ volumes, the backup will make a partition for your MacOS (replacing any you may have now), except that the copy restored by WIndows will be totally worthless, and you will not be able to boot MacOS from it, or even read it under MacOS.
    Now I will tell you that I've also had some fairly good success working with the free tool CloneZilla.  Since it hasn't been mentioned yet, and everything else mentioned does cost you money, I thought I would throw it out.  CloneZilla is not as easy to use as the tools mentioned, but it has worked for me int hte past, so it is something to consider.  I tend to use CampTune myself, but that was because I purchased a bundle deal for them and it was included in that deal.

  • Could I change the default temp folder(C:\Windows\Temp)?

    Post Author: h1i9k7o2
    CA Forum: Crystal Reports
    Hi All:
    My web server is IIS 6. Sometimes the temp crystal report objects could not dispose when I close IE. I have some codes to control the evnet(colse IE to dispose CR objects) but the result is not good. Could I change the default temp folder(C:\Windows\Temp)? Because I want to delete the temp files by schedule. If the temp folder in C:\Windows\Temp, there maybe have anohter .tmp files in this folder and I want to avoid to delete them. Thank you very much.

    Post Author: h1i9k7o2
    CA Forum: Crystal Reports
    Thank you very much. But this is not my solution. I prefer to set the temp folder by a method or attribute to set the physical path, or to change the register. On the other way, Can I set the Environment Variables like %BOE_TEMP% for the default temp folder. Because there maybe some other systems also used the same environment variables(%TEMP%). When I delete the temp file in %BOE_TEMP% folder, I will never to delete temp files of the other systems. Could I?

  • Set env var(FORMS_PATH) in default.env

    Thanks in advance to all:
    My question is:
    Can I set var FORMS_PATH in Linux environment as:
    FORMS_PATH=/u01/oracle/ora_midtier/forms:
    FORMS_PATH=$FORMS_PATH:/Forms10g/Source_Appl/Web/Menu
    or in different way (%FORRRXXXX%)
    Thanks again

    Thanks Martin for your time and reply,
    Of course I was not clear, I know where insert Forms_path and other var, (default.env under $ORACLE_HOME/forms/server
    Instead my question is:
    I am able writes FORMS_PATH= /dir1/subdir:/dir1/subdir2.... like FORMS_SOURCE=/dir1 and then FORMS_PATH=$FORMS_SOURCE/subdir ....
    or
    FORMS_PATH=/dir1
    FORMS_PATH=$FORMS_PATH:/dir2
    FORMS_PATH=$FORMS_PATH:/dir3
    Anyway thanks again
    and sorry for my error I wrote formsweb.cfg instead of default.env
    Message was edited by:
    RV

  • How can read/write FORMSWEB.CFG & DEFAULT.ENV file entries programatically?

    Environment: Forms 9i (Web)
    As : Oracle 9i As
    How can read/write FORMSWEB.CFG & DEFAULT.ENV file entries programatically?

    I guess you cannot. There is an enhancement request to get the name of the config-section as a GET_APPLICATION_PROPERTY.
    What you could do is add extra parameter(s) to your form and pass the necessary formsweb.cfg parameters in this form parameter. See Get formsweb.cfg section name in Forms for more info and an example.

  • Using 2 environment files (i.e., default.env and int.env)

    I am running Oracle forms 10g (v9_0_4) on a unix box.
    Database is 10.2.0.4
    We have one application server.
    I'm trying to get two different form paths defined.
    In default.env we have set the forms90_path to our production directory.
    I created int.env (basically copied default.env, but just changed the forms90_path) that sets the forms90_path to our test directory.
    In the formsweb.cfg file, I have added an [int]section:
    [int]
    envFile=int.env
    I have stopped/restarted opmn=stopall/opemn=startall.
    Unfortunately no matter what I do, I cannot get the forms in the test directory to be seen/used.
    The url I'm using is:
    http://host:port/forms90/f90servlet?config=int.env&form=formName.fmx
    Is there something that I'm missing?
    Thanks,
    Shirley

    The name of your webconfig is int and not int.env (this is the name of the environment file)
    so your url should look like this:
    http://host:port/forms90/f90servlet?config=int&form=formName.fmx
    cheers
    edit: and by the way you don't need to restart any opmn component when doing changes to the formsweb.cfg
    Edited by: christian erlinger on 13.07.2010 11:30

  • Webutil default.env

    In our application , we have a env file by the application name i.e. sun2.env. In the webutil.config file we have the envfile=sun2.env.
    My question is
    All the configuration for deafult.env file recommend in the webutil.doc provided with the webutil download, should it be done in the sun2.env file instead of default.env, as the actual env file used by the app server is sun2.env.
    in the sun2.env file , if I'm silent about basehtm parameter will it take the default mentioned in the default.env. Broadly the question is if I'm silent in sun2.env file about a mandatory parameter, then will defaults mentioned in default.env take effect.
    Please share.

    Hi,
    if you use a custom .env file, then all settings belong into this file. The default.env file is named "default" because "by default" we use this with Forms.
    Frank

Maybe you are looking for