TimesTen environment variables that control TAF timeouts

Hi
I am some questions.
I read the following contents in the TimesTen 7.0 manual .
There are two TimesTen environment variables that control TAF timeouts:
o TT_ORA_FAILOVER_TIMEOUT: TAF timeout in minutes for the user application
(SWT cache groups, cache groups with the propagate option, and cache
groups using the passthrough feature). The default is 5 minutes.
o TT_ORA_FAILOVER_TIMEOUT: TAF timeout in minutes for the
replication agent (for AWT cache groups). The default is 5 hours.
How do I set one of these variables TT_ORA_FAILOVER_TIMEOUT , TT_ORA_FAILOVER_TIMEOUT ?
Thank you very much.

Hopefully you are now on a 11.2.n release or planning to be.  These settings are now part of the ttCaacheConfig callable procedure.
Sorry I've not seen hwo they would be set in 7.0.
Steve

Similar Messages

  • Using a environment variable that was created during the Task Sequence process - SCCM 2012 R2

    Hi,
    I'm triyng to use a environment variable that is create in the beginning of the Task Sequence.
    1. I'm using a VBScript that get the Exit Code of an application, and create the environment variable "iReturn" with the value of the exit code. (This is working)
    2. I add this variable in the CustomSettings.ini, like this "iReturn=%iReturn%
    3. After the step that I run the VBScript I put the "Gather" step to get the variables, but looking in the BDD.log the iReturn variable appears the same as the CustomSettings.ini configuration "iReturn=%iReturn%". (But, if I put a "Restart
    Computer" step after the VBScript, the BDD.log shows the iReturn variable with the right code.)
    Question: How can I update the environment variable of Windonws XP to use in the Task Sequence without restart.
    OR
    How can I configure autologon in SCCM 2012 (if have no way to update withou restart computer).
    I already tried the autologon with registry settings and a specific user, If I starts the process with this user works, but If I starts the process with other user, after the autologon the process doesnt continue, I have to do logoff and login with the user
    that I started the process.
    PS: All this steps have to be executed before the WinPE phase. 

    Environment variables must be explicitly set every time a system boots so unless you have a process to repopulate it after the reboot, it won't persist automatically.
    Why not store the value in a task sequence variable so that it persists after a reboot?
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • OMB PLUS - Problem passing Unix environment variables to OMBPlus

    Due to a requirement to encapsulate deployment of OWB applications, we currently start OMBPlus.sh from our own wrapper ksh script (deploy.ksh) in order to get the new / changed application into the target control center etc.
    We now have a new requirement that means we need to pass the content of the Unix environment across to OMBPlus.sh (and from thence into our deployment tcl scripts).
    No problem, if you believe the tcl documentation. The entire Unix environement gets dumped into a hash array called 'env', so you can get the variable's value out just by saying $env(unix_valraible).
    Sounds great, it should work a treat.
    Except OMBPlus only silghtly resembles tclsh.
    The 'env' that gets into OMBPlus bears practically no resemblance to the 'env' that existed before OMBPlus.sh got invoked.
    Does anyone have:
    a decent explanation for why the env gets scrambled (and how to avoid it) ?
    or an alternative method of getting the Unix environment varaible values into OMBPlus ?
    Please do not propose passing them all on the command line because (would you beleive it) the values are database passwords !
    Edited by: user10466244 on 23.10.2008 09:28

    Unfortunately, the java implementation of TCL that Oracle used as the basis for OMB+ is NOT a fully-featured implementation. Just try using packages...
    However, and understanding why you don't want to hard-code passwords into a file, you can always edit the setowbenv.sh file in your owb/bin/unix directory to grab your specific shell environment variables and propogate them to the java session.
    towards the bottom of this env file you will see a section that looks something like:
    JDK_HOME=../../../jdk
    OWB_HOME=/owb
    ORA_HOME=/owb
    OEM_HOME=/owb
    IAS_HOME=/owb
    ORACLE_HOME=/owb
    CLASSPATH=Personalties.jar:../admin:$MIMB_JAR:
    CLASSPATH_LAUNCHER="-classpath ../admin:../admin/launcher.jar:$CLASSPATH: -DOWB_HOME=$OWB_HOME -DJDK_HOME=$JDK_HOME -DORA_HOME=$ORA_HOME -DOEM_HOME=$OEM_HOME -DIAS_HOME=$IAS_HOME -Doracle.net.tns_admin=$ORA_HOME/network/admin Launcher ../admin/owb.classpath"
    export ORA_HOME
    export OWB_HOME
    export JDK_HOME
    export OEM_HOME
    export IAS_HOME
    export ORACLE_HOME
    You could add in the environment variables that you want propogated, include them into the CLASSPATH_LAUNCHER, and then they will turn up in your OMB+ session env array.
    e.g., to propgate an environment variable called MY_DATABASE_PASSWORD you would:
    JDK_HOME=../../../jdk
    OWB_HOME=/owb
    ORA_HOME=/owb
    OEM_HOME=/owb
    IAS_HOME=/owb
    ORACLE_HOME=/owb
    CLASSPATH=Personalties.jar:../admin:$MIMB_JAR:
    CLASSPATH_LAUNCHER="-classpath ../admin:../admin/launcher.jar:$CLASSPATH: -DOWB_HOME=$OWB_HOME -DMY_DATABASE_PASSWORD=${MY_DATABASE_PASSWORD} -DJDK_HOME=$JDK_HOME -DORA_HOME=$ORA_HOME -DOEM_HOME=$OEM_HOME -DIAS_HOME=$IAS_HOME -Doracle.net.tns_admin=$ORA_HOME/network/admin Launcher ../admin/owb.classpath"
    export ORA_HOME
    export OWB_HOME
    export JDK_HOME
    export OEM_HOME
    export IAS_HOME
    export ORACLE_HOME
    So now you have no protected data hardcoded, it will pick up your specific environment variables at runtime, and when you start OMB+ you will be able to:
    array get env MY_DATABASE_PASSWORD.
    cheers,
    Mike

  • How do I use Embed with an environment variable in an Actionscript AIR project Flash Builder 4.7

    I am using Flash Builder 4.7 to build an Actionscript AIR project.  The project embeds a number of png files from my local directory and I have been using absolute paths which all works fine.
    I have a laptop with which I want to start developing the same project - I set up a git repository that both the laptop and main pc can pull from and so I can get the source where I need it and push it back to the central repository.
    My problem is that the absolute paths for the embed commands don't work on the laptop as it has a different filesystem setup (Windows 8 with one drive as opposed to Windows 7 with a SSD and a data drive).  I thought the solution would be as easy as using an environment variable to specify the path which could then point to a different physical directory on both machines, i.e:
    [Embed(source = "DEVELOPER_RESOURCES/graphics/are/here.png"]
    I did a bit of research and there was quite a lot mentioned about setting up resource directories using path variables which I worked through but I just can't get it to compile.  The Actionscript compiler just won't find the png files however I specify the path.  I tried something with a FLEX project and the compiler didn't complain but I think this is because the compiler for FLEX uses a different convention.
    [Embed(source ="/Project Name/DEVELOPER_RESOURCES/graphics/are/here.png"]  works with FLEX but not Actionscript.
    So does anyone have a recipe for using the Embed command referencing assets using an environment variable that works across multiple machines with different file structures?

    I managed to find a solution on Windows which was to use symlinks and absolute paths.  You an basically point one directory to another so I did something like:
    mklink c:\developer_resources c:/the/local/path/to/my/resources
    and then reference all resources as c:\developer_resources\...
    Now as long as a developer machine has the right link (from c:\developer_resources to the place where the resources are kept) then it seems to work. 
    This doesn't however work for Mac and certainly isn't a solution for passing files between Mac and windows

  • Environment variables from ~/.MacOSX/environment.plist not read?

    Hello,
    I repost this from "Mac OS X 10.5 Leopard > Account and Login" since it was advised to me overthere. Sorry if your already read this one before.
    I have a problem defining environment variables that should be visible to all my user processes, not only Terminal. According to the Apple documentation, I need to create a file ~/.MacOSX/environment.plist and define my variables in there.
    Below you can see the exact paths and file name, together with the contents of the plist file:
    <pre>
    /Users/ringods/.MacOSX
    AtrisoBook:.MacOSX ringods$ ls -l
    total 8
    -rw-r--r--@ 1 ringods staff 313 Sep 29 15:35 environment.plist
    AtrisoBook:.MacOSX ringods$ cat environment.plist
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>ANT_HOME</key>
    <string>/opt/local/share/java/apache-ant</string>
    </dict>
    </plist>
    </pre>
    I then tried a logout/login sequence, but no ANT_HOME environment variable was defined. Even after completely rebooting, the environment variable was still not defined. I checked in a Terminal window using any of the following 3 commands:
    <pre>
    env
    export
    set
    </pre>
    This is on a MacBook Pro running 10.5.5. Am I missing something here? Does anyone know how to resolve this?
    Ringo

    I'm currently experiencing the same issue.
    I find however, if I take out the underscore from the name it works. At least the times I've tried.
    There is a post about using launchd.conf for configuring environment variables, but I couldn't get that to work either.

  • Not able to get SSL related CGI Environment Variables?

    We are currently using APEX 3.2.0.x, OHS 10.1.3.x, and 11gR1 on linux. The APEX application we've been developing will be accessed via SSL and x509 certificates such that a client certificate is passed from a user's browser to the OHS, the information will be read from the certificate, and if the user's cert information exists in a user table associated with the application, they will have the role they've been assigned as an existing user within the application. Otherwise, the user will be a guest and have a minimum role accessing the application.
    We are certainly not guru's when it has come to setting up and configuring SSL and certs, but we have gotten to the point where we have all of the required certs created and installed, and the client cert passes it's information successfully to the OHS to get to the "home" page of the application via the Rewrite statement in the httpd.conf/ssl.conf that points to the appropriate https url. We are now at the point where we need the APEX application page to read the cert information, and this is where we are having problems.
    We have created an "On Load - Before Header" process and temporary item on the "home" page to display CGI environment variables to see what we're getting. It's a PLSQL Anonymous block like this:
    DECLARE
    lUserName VARCHAR2(100);
    BEGIN
    SELECT NVL(owa_util.get_cgi_env('REMOTE_USER'),'NOT POPULATED') INTO lUserName FROM DUAL;
    :P1_REMOTE_USERNAME := lUserName;
    END;
    We can grab any of the cgi environment variables that are listed in the OHS mod_plsql User's Guide. We cannot seem to be able to get any of the SSL CGI environment variables though. We are adding the SSL variables to the dads.conf via the PlsqlCGIEnvironmentList parameter (ex: PlsqlCGIEnvironmentList SSL_CLIENT_S_DN_CN) and bouncing the OHS as needed. Unfortunately, we have not been successful in getting any of them to show up in the item on the APEX page.
    As far as we can tell, we have the SSL/OHS/Certs configured, but may be there is another SSL directive or some other configuration item that we've missed that needs to be set in order for SSL CGI environment variables to be available to the owa_util.get_cgi_env function. If anyone can tell us what we may have missed, it would be appreciated.
    thanks
    bob

    Hey John,
    what we have found that we were not sure of is that we need to use Rewrite rules and conditions in the ssl.conf to grab the ssl cgi environment variables and "put" them into the request header to hold them like this:
    RewriteCond %{SSL:SSL_SERVER_S_DN} (.*)
    RewriteRule .* - [E=SSLS_DN:%1]
    RequestHeader add X-SSL-SERVER-S-DN %{SSLS_DN}e
    Then in the dads.conf put the request header reference in there with the plsqlcgienvironmentlist parameter like this:
    PlsqlCGIEnvironmentList HTTP_X_SSL_SERVER_S_DN
    Restart the OHS, and then grab the HTTP_X_SSL_SERVER_S_DN variable(s) via the owa_util.get_cgi_env in the APEX page to pull the value out with an anonymous block in an On Load - Before Header process like this:
    DECLARE
    lUserName VARCHAR2(100);
    BEGIN
    SELECT NVL(owa_util.get_cgi_env('HTTP_X_SSL_SERVER_S_DN'),'NOTHING HERE') INTO lUserName FROM DUAL;
    END;
    It's the Rewrite rules and putting them into the request header that we were not totally sure about as far as how and where you put the environment variables to make them accessible to the dads.conf with the PlsqlCGIEnvironmentList parameter that in turn makes them accessible to APEX. We're still not 100% sure this is the correct method, but it's working. We don't recall reading in any of the APEX docs, APEX forum threads, or other documentation about needing Rewrite rules and conditions to put the cgi environment variables into the request header to make them accessible to APEX. So, that seems to be our missing piece of the puzzle here.
    Anyway, I think we're okay for the moment, and may be this thread will help someone else out in the future. Thanks for your help John, and will give you a helpful plug on the forum for this thread. BTW, I do have your book, so it was nice to see someone as advanced with APEX as yourself reply to the posting.
    Thanks
    Bob

  • Setting Environment Variable CPIC_MAX_CONV

    Hi Experts,
    In of  the steps during POST INSTALLATION of PI7.0 it says to set the variable CPIC_MAX_CONV, using the transaction RZ10.
    When i logged in to the abap system , and checked in RZ10,did find any variable of this name.
    Do I need to create it first and then set the value gw/max_conn_per_wp.
    If yes, give me the steps to do this. or else any other alternative.
    Thanks in advance,
    Younus

    Hi,
      Check this note : 
    1.- https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_fes/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d333136383737%7d
    2.- /thread/174978
    The parameter CPIC_MAX_CONV is a environment variable that you find in Unix or windows, depends where you had installed SAP PI.
    Best regards
    Ivá

  • Using custom environment variables in the profile path

    Hi,
    I've created a custom environment variable that I've setup on two computers and the domain controllers.  I want to use this in the profile path in user properties.  However when users log in the variable is taken literally rather than being converted
    into the value.  For example
    \\fileserver\share\user\%myenv%.v2 is generated rather than \\fileserver\share\user\envdata.v2
    If I add in another built-in variable such as %OS%, that converts properly but any time I use a custom variable Windows just doesn't use it during the logon process.  If I open up Explorer and type in the path to my data as it should be it works fine
    so Windows is definitely picking up the variable, just not using during the logon process.  I can't seem to find a TechNet article that states custom variables can't be used in profile paths.
    Has anyone else come across this?
    Thanks,
    Tim

    Hi,
    Thanks for your post.
    So did you create the environment variable using group policy? If yes, i would suggest you use 'Create' and not 'Update', the variable is then held through reboots.
    Please refer to this blog, hope it will be helpful
    http://blogs.technet.com/b/askds/archive/2013/07/31/roaming-profile-compatibility-the-windows-7-to-windows-8-challenge.aspx
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How do I use a UNIX environment variable for the path of a file name

    We are running Forms 6i over the web. The forms server runs on a UNIX (HP-UX) machine.
    I want to read the contents of a file, which is simple enough, using the TEXT_IO package. However, I want to reference a UNIX environment variable that specifies the file path i.e
    PROCEDURE get_file IS
    in_file Text_IO.File_Type;
    linebuf VARCHAR2(1800);
    filename VARCHAR2(200);
    BEGIN
    filename:= '$LOG_DIR/RCAS181.log';
    in_file := Text_IO.Fopen(filename, 'r');
    .....other stuff
    Notice the filename string references my unix env variable '$LOG_DIR'. However, this doesnt work. If I put the full pathname it works fine.
    Any suggestions ?

    Have a look at TOOL_ENV.GETVAR()

  • Environment Variables: How to set

    I deploy my application to Tomcat. My application uses environment variables that are set in the server.xml file as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <Server>
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
    <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
    <Environment
    name="simpleValue"
    type="java.lang.Integer"
    value="30"/>
    Note: in JBoss it would a little different:
    <env-entry>
    <description>The maximum number of tax exemptions allowed </description>
    <env-entry-name>simpleValue</env-entry-name>
    <env-entry-type>java.lang.Integer</env-entry-type>
    <env-entry-value>30</env-entry-value>
    </env-entry>
    The application works fine when deployed to Tomcat. However, I can not find where in JSC or the embedded Sun server to set these environment variables? Anyone know? Thanks in advance.
    Kelly

    Sorry, that document talks about deploying to JBoss. That was not my question. My question was:
    I can not find where in JSC or the embedded Sun server to set environment variables? Anyone know? Thanks in advance.
    Well, I found a partial answer. You can add environment variables to the Web.xml as follows:
    <env-entry>
    <env-entry-name>UploadDirectory</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>\logs\tqs6</env-entry-value>
    </env-entry>
    That puts them at the application level. I am looking for how to set them at the server level for Suns Java Application Server that is bundled in JSC.

  • PATH environment variable, Bash

    I want to set a symlink to this path:
    /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/django-admin.py
    I have tried myself & have failed the last two days. Does anyone have any suggestions on setting up a symlink to this path?
    Also should I put it in my bashrc file or my .profile (file)? thanks.

    Terminal, Unix, shell, etc... questions are best asked in the Mac OS X Technologies > Unix Forum
    <http://discussions.apple.com/forum.jspa?forumID=735>
    ln -s /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/django-admin.py /path/to/where/you/want/the/symlink/to/reside
    A symlink is a file in the file system, so once you create it, it is going to stay until you delete it. No need to put this in .bashrc or .profile
    Unless you were actually asking about a shell command alias, which is not to be confused with a Finder Alias, as a Finder Alias is more like an symlink, only different, than it is like a shell command alias.
    A shell alias would be
    alias fred='/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/django-admin.py'
    and that you would ideally put in your .bashrc, but .bashrc is not invoked during login, unless you source it from your .profile (assuming you do not also have a .bash_profile, which would get invoked instead of .profile, as bash has rules explained in "man bash" about what initialization files it reads, and which ones it preferes.
    As for the PATH environment variable, that would be exported from .profile (again keeping in mind the rules about .profile vs .bash_login vs .bash_profile).
    It is unclear whether you want a symlink to django-admin.py, a command alias, or just to put /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/ in your PATH.
    Please take any follow up discussions to the Unix forum.

  • Error submitting environment variable containing spaces

    Hello,
    I need some help passing an environment variable that contains spaces to the JVM when launched via the command line
    I can successfully use the following and read its value in the java application:
    java -DMYVAR=value.cfg myClass
    However, when I try
    java -DMYVAR="value1.cfg, value2.cfg, value3.cfg" myClass
    I get the following exception
    Exception in thread "main" java.lang.NoClassDefFoundError: value2/cfg"
    It looks like the inverted commas are being discarded and the JVM is treating value2.cfg as a class to execute
    I have run this on
    1) a Solaris box with the following details:
    SunOS trafford 5.6 Generic_105181-26 sun4u sparc SUNW,Ultra-4
    and java version
    java version "1.2.1"
    Solaris VM (build Solaris_JDK_1.2.1_04, native threads, sunwjit)
    2) an HP box with the following details:
    HP-UX wpsc02 B.11.00 U 9000/800 105911507 unlimited-user license
    and java version
    java version "1.4.1.00"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1.00-030116-09:58)
    Java HotSpot(TM) Server VM (build 1.4.1 1.4.1.00-030116-11:27-PA_RISC2.0 PA2.0, mixed mode)
    We want to do this so that we can get the value of MYVAR, split up the string using a StringTokenizer on the "," and pick out as many tokens as are present. As a workaround, we can leave out the spaces and it works fine, but it would be useful to be able to allow the spaces
    Thanks in advance to anyone who has any ideas about what is happening or how to solve this

    Try this:
    java "-DMYVAR=value1.cfg, value2.cfg, value3.cfg" myClass
    Notice the quotes are in front of the -D, not the equal sign.
    Juan

  • Within JBuilder, Reading Environment Variable From a BATCH File

    Hi ppl:
    Following my scenario without JBuilder. I would like to be able to do the same with JBuilder, so that I can run my application from within.
    1. In the DOS window, I run a config.bat file that sets up a whole bunch of environment variables and then calls another script file that sets up another whole bunch to set up environment for a third party API (C++ based).
    2. My application uses native methods to call the third party API which uses the environment variables set in step 1.
    I know how to set the environment varialbes in JBuilder (Project Parameters, VM). However, I don't know how I can call a batch file that does the same. I don't want to set up the third party variables in JBuilder manually, since the script that sets them up checks on a few things to customize the environment.
    I also know how to run a batch file from JBuilder, but that does not set the environment for the application. It seems like the batch file is run in a separate process.
    Any ideas?
    Kamran

    It seems like the batch file is run in a separate process.Yes, it is. That's a design feature of Windows. The environment variables that a process creates are available to any subprocess, but when the process ends, the environment variables vanish. That's because they are part of the process, not global variables as you might wish.
    So that's why your non-JBuilder scenario works; your C++ program is running in a subprocess of the process that defined the environment variables. And your JBuilder scenario doesn't work because the batch file it runs is in a process whose parent process is Windows, not JBuilder.

  • Load Plan logging and environment variables

    Hi all.
    Do think it is possible to log in an external table each load plan step details (such as step name, step duration, etc..) ?
    I'm wondering if there are some environment variables that contain all typical step information.
    Thanks

    thank you for the answer..
    but why I have to use a when case step?
    I just need to set a string in a variable before to execute a serial step within exception step.
    I do this in a normal load plan step. So Why I cannot do the same in the exception one ?

  • WinPE Environment Variable for Boot Media

    I would like to reference a file located on a WinPE CD after the Preinstall Environment is loaded.  Is there an Environment Variable that will allow me to directly access the PE disk?

    Got a great answer over at Stack Overflow!  If the MediaType property doesn't work for you (if there is more than one removable disk) you could potentially use the VolumeName property.  The solution ended up being a startnet.cmd with just the wpeinit command and a call out to this VBS.  After the VBS detects the booted disk, I sent the drive letter back out to the imaging CMD script as a parameter.
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
    Set colDisks = objWMIService.ExecQuery("Select * from Win32_LogicalDisk where MediaType = 2")
    For Each objDisk in colDisks
        Wscript.Echo objDisk.DeviceID & objDisk.Description
    Next

Maybe you are looking for

  • Can't connect to apps server on iphone 5s

    Hi, I bought a new iphone 5s. I downloaded apps like viber and instagram but when i want to sign in both give me"can't connect to server check your connection". message. But my connection is perfectly work. Please Help me. Thnx

  • My pages was erased during a repair by apple how can I get it back?

    My pages was erased during a recent repair by apple. How can I get it back ?

  • Lightroom CC Internal error message

    Since installing Lightroom CC I am now getting this message when I try to export and image. An internal error has occurred: *** Collection <__NSArrayM: 0x608005442a00> was mutated while being enumerated. Any ideas?

  • Thiis iis not working foro me. i want my old firefox back

    i just got the new firefox 4 installed and cannot do anything with my bookmarks. i don't see an awesome bar nor can i find my minx nail coverings in a bar of any sort. i want my old firefox back cuz this one sucks for me. thank you, jo gurule

  • How to create and save a photo thumb

    I feel a little stupid as I think I ought to know the answer - but nowmI must admit that I need some help.  On the desktop the user select a folder with photos - for examples .jpg. The application then build a xml file successfully but I cannot succe