UploadJars.bat - how to set the env variables automatically

Hello

As we know until we call UploadJars.bat, we define as APP_SERVER, OIM_ORACLE_HOME environment variables and so on. I wonder if we can set values of these variables in the batch file itself so that it will not ask for these variables, whenever we run this script. I tried adding these variables in Uploadjars.bat but it didn't work.

Someone at - he tried to make it work?

Enjoy your entries.

Thank you

Have you tried to use setx rather than the game? setX set environment continuously variable so you won't need to do it every time.

Alternatively, you can edit the setEnv.bat and set these variables at the top of the script, just after the REMs and before the echo commands.

Tags: Fusion Middleware

Similar Questions

  • How to set the DISPLAY variable to run admsi.pl?

    Dear Experts,

    I'm trying to patch Oracle apps R12 using admsi.pl.

    HostName: black
    DB APPS: SCREWS

    But I get the error message:
    Please set the DISPLAY variable and re-run this script

    ----------

    That's what I did:

    Listener and database LIVE are already running.

    connect the server on linux as a unix user: applmgr

    / oapps/applmgr/SCREWS/apps/apps_st/appl CD.
    . APPSVIS_black.env

    CD /oapps/applmgr/VIS/apps/apps_st/appl/ad/12.0.0/bin/
    admsi.pl
    Invoking Oracle Patch Application Wizard...
    Please set the DISPLAY variable and re-run this script


    -----


    huh?


    --------

    the value | grep-i 'display '.
    DISPLAY =: 0.0


    the value | WC
    435 486 25235

    -----

    I noticed that there are 36 .env files!
    For single applmgr!

    find/oapps/applmgr /-type f-name '*.env ' | WC
    2626 36 36


    For oracle, there is another 7 .env files!
    find/oapps/oracle /-type f-name '*.env ' | WC
    7 7 513


    I received the file of environment (env) correct?
    Or I need to first run a few more EPS?
    If so, which?
    What would be the order of operations?


    ----------

    sqldeveloper gave me problems with the display sometimes.
    But same sqldeveloper works very well.

    ----------

    What is the secret to get admsi.pl to run according to the normal procedure?


    Thank you very much!

    Please see this thread - error when running admsi.pl

    Thank you
    Hussein

  • How to set the ENV: ORALCE_SID + ORACLE_HOME

    Hi all

    I am new to this company, only 2 weeks.
    We have lots of environment of linux, aix, Sun, unix and databases in this document, such as 1000 +.

    Sysadmin is good in shell scripts, in server management.

    One thing is set the environment variables to set your choice OracleHome and OracleSID.

    Since we have a lot of databases and different versions in 1 server, I have connection as 'oracle', then to $ command prompt, I just type SID PROD1 or

    prod1 sid $
    or
    $ SID PROD1

    Then I started the ORACLE_HOME and SID of my database of choice which is "PROD1".

    My question is, how do I program similar to this? or where can I find the program that accept this parameter "SID PROD1.

    I ask because I want to add my new database I have cloned or installed. Say that I created a new database named DEV020. How can I add this to the program?
    Or it is automatically entered?


    Thank you very much

    KinsaKaUy? wrote:
    Thanks, yes there is an 'alias', but I don't know how it's working, can you give me the example of program or docs on how to use it please.

    I can see > alias sid = '. '. "/ start.sh".

    Why is that if I type "SID PROD1" caps that always treated? When the alias is lowercaps 'sid '.

    If there is an alias, does it follow that any new database I created will be entered automatically?

    Thank you.

    This means that "when the user types 'SID', executable executez./start.sh.
    Just check only executable, and you'll see that it contains 'export' of the order

  • How to set the display in order to run the installation program

    Hello

    Could you please explain how to set the Display variable I connect via the VNC client directly to windows X Linux (Gnome)
    in order to run the installer to install R12 EBS?


    I guess that since the connection is by VNC client, so I just need to open a terminal window and start the Installation...



    Thanks and greetings
    MZ

    Srini Chavali wrote:
    The DISPLAY variable must be set to the IP address of the client.

    Not necessarily - it is meaningless to set the DISPLAY of different client IP addresses if you want to run the installation program (or any GUI) on the server of different customers.

    Thank you
    Hussein

  • How to set the value of a variable in a cluster in LabVIEW to c#?

    Hi guys, I'm working on a small c# program, which by using the interface provided by LabVIEW.  And I know that, with the help of lv. SetControlValue (name, value) can set a variable just on the front panel. But in my case, there are several groups on the front panel. Then it confused me how to set the variables in these groups. For example, there is a cluster named clusterA and a variable named a., I tried something like this:

    lv.SetControlValue("clusterA.valueA",1);
    

    but it totally inoperable. Everyone has some experience with this sort of thing? Thank you very much!!

    Hey guys, thanks a lot for all your response. I just found a simple way to solve this problem. For example, there is a cluster named "ClusterA", and there are only two witnesses, who are: an int value named "IntA" (default = 10 IntA value) and a string value named "StringA" (by default the StringA = 'abc'). In c#, if you call the method:

    var clusterA is vi (Array). GetControlValue ("ClusterA");

    you will get a table looks like: clusterA = {10, 'abc'}; So if you want to change IntA 123, you simply do:

    clusterA.SetValue (123, 0); 123 the value, 0 is the index of IntA in clusterA, after this clusterA table = {123, 'abc'}

    After that, simply to make the table in LabVIEW using:

    VI. SetControlValue ("ClusterA", clusterA);

    and now you see the LabVIEW, IntA is changed.

  • How to set the output of the report to the session variable

    Hello
    Is it possible to output report to the session variable value. If my report returns 1 row and 1 column.

    I have a dashboard command prompt where I select name, but I want to find the ID of the same name.
    This ID I want to move to a Fx column, to achieve this, I created an interim report and I got the code. Now my problem is how do I put this ID in the session variable.

    Please help if anyone knows...

    Have you read this:
    How to set the session / presentation in the repository variable variable

    Dashboard invites on Month Name but the report on the ID of the month filter:
    Re: Guest dashboard on the name of the month but the report on the necessary month ID filter

    If you have dashboard guest (name), then you can have that one report that is filtered by a name but present card to display or not id but use id in the service. Or two reports as in the solution in the second link above and the second report has id in the function and filter by the id of the first report. You need not define this ID in the session for this example variable.

    Please close your previous discussions, if they are treated.

    Concerning
    Goran
    http://108obiee.blogspot.com

  • How to set the timing correctly?

    Based on the following batch file, I would like to raise the window at 11:05 and 11:07.

    Because he wanted to wait 1 minute before you restart, if the batch file is executed at 11:05, which wait a minute before you restart the window at 11:06.

    If the window does not always complete restart until the 11:07:36 or after 11:08, I would like to know about the question of whether or not the second restart at 11:07 process would be treated. On other words, if the window si la fenetre termine end relaunch 11:07:36, because the schedule at 11:07 is over, window would still go this annex missed 11:07?

    Does anyone have any suggestions?
    Thanks in advance for your suggestions

    Batch file: restart.bat

    %windir%\System32\shutdown.exe - r t 60 f

    How to set the timing correctly?

    Hello

    Sorry for the delay in responding.

    You run a batch file, your Windows question is more complex than what is generally answered in the Microsoft Answers forums. Appropriate in the TechNet forums.

    Please post your question in the Windows 7 IT Pro TechNet Forums: http://social.technet.microsoft.com/Forums/windows/en-US/home?category=w7itpro

    Thank you.

  • How to set the java path on windows 8

    How to set the java path on windows 8

    Original title: Java

    Way easier access and the value of your PATH environment variable is as follows:

    1. Press + W to display the search settings panel
    2. Type "path".
    3. Choose "edit the system environment variables.
  • How to set the password on the body of the e-mail in custom e-mail template

    HY,
    I have a model of personalized message in the definition of e-mail > Console Design.
    I send this "Email Template" with the user password, but I do not know how to set the variable "password" in the body of the e-mail.
    I searched Varables > objectives > Variables, but I have not found any variable think as password.

    Some have an idea about this? How to set the password on the body of the email?

    Kind regards
    PIZA

    You can use a custom Java code. See the following:

    Notification by e-mail to the users after that they change their password from IOM

  • How to set the number of e-mail messages that are stored on my iPhone

    How to set the number of e-mail messages that are stored on my iPhone – so when I don't have a network connection I can see a 'large' number of messages in my Inbox etc.

    This is series is not defined in the world

    You must go to settings-> mail, contacts, and calendars and check the settings of your e-mail provider offers in this area

  • How to set the time that my screen stays on?

    How to set the time that my screen lights up.  I have an iPod Touch 6?

    Settings > general > auto-lock

  • How to set the default android home page.

    How to set the home page in the latest browser of firefox for android?

    Hello:

    Unfortunately you can not remove the top sites home page but you can pin a site, remove a site from unpin it and change the url of a pinned site.

    Please read this article for instructions.

    I hope this helps!

  • How to set the time between slides in a slideshow (iPhoto, el capitan)

    How to set the time to say - 5 seconds or 20 seconds - between slide show photos in iPhoto. I use el capitan.

    See the Settings button at the bottom right of the toolbar (at the bottom of the slide show). Click on it and you have a small window with two tabes, refers to all the slides, the other to the selected slide. You can make your choice

  • Satellite C660 - how to set the focus of the webcam?

    Hello

    Just bought this laptop, the built-in webcam looks very blurry when I use Skype. Does anyone know how to set the focus to the subject?

    See you soon
    Jules

    Hello

    to be honest, I have no idea on your model of lap... Try to update driver webcamd and play with Skype video settings.

  • How to set the date and time on my HP Officejet pro 8600 more?

    How to set the date and time on my HP officejet pro 8600 more?  It just on a printed journal Jan-oo-oo fax shows 00:00 AM.  There are no instructions on how to change this.  I need proof that I sent a fax to a certain date and time.  Help, please.  Thank you

    Hello

    Below are the steps to set the Date and time for your device:

    1. On the Control Panel, press the right arrow key ( ), press Setup ( ).

Maybe you are looking for

  • HELP WITH LINKSYS WUSB100 attached to the USB EXTENSION CABLE - does not work

    Hello team, I own a LINKSYS WUSB100 usb adapter I used for my wifes desktop... I can connect to my home network to surf the net, but the signal is weak...  I decided to buy a 25' EXTNESION USB CABLE, which comes with a MALE AND FEMALE ends... I simpl

  • HP Pavilion running Vista system crashes then it said 'cannot find Windows.

    I have a HP Pavilion otherwise very satisfied with Vista and installed Service Pack 2. Lately, unfortunately, the machine often accidents / crashes. Sometimes, the problem is resolved after you restart Windows. But more often, when I try to reboot no

  • Windows media player will not be synchronized to creative zen nano plus

    I can't get my nano zen creative more to be recognized as a device to sync in windows media player. What is the problem? I can upload sound files to it very well; It is recognized, but whenever I try to sync with windows media player, I just get the

  • Ethernet is not a valid IP configuration

    I have a HP p6667sc, win 7 64, and since a few days I have no connection with the modem. I searched to find errors and got the message: Ethernet is not a valid IP configuration I m as the modem and the router is okej because other computers have no p

  • Text truncated in the StandardListItem - ListView

    Hello I used the StandardListItem in my application: {StandardListItem}imageSource: "asset:///images/test.png."Title: ListItemData.title / / here truncated textstatus: 'available. '} With a long text, this title is truncated to the right of the scree