Linux Environment Variables

I have tried several times to set the environment variables. I have tried pointing to /usr/local/java/j2sdk1.4.0/bin and this does not work. This is where the sdk is located, so why would this not work. All the documentation says to point there. Any help is appreciated on how to get this working.

I assume you are using bash. Did you try to say:
PATH=/usr/local/java/j2sdk1.4.0/bin:PATH
and then invoke your javac or java?
Having "said" that, the setting will however apply to that command shell and will not affect the other ones.
To set this permanently, you might consider including this line into your .profile file.
I use a more flexible solution, as I have several jdk's installed and I want to switch among them from time to time.

Similar Messages

  • Setting Linux environment variable

    Is there other web site which talks about how to set the environment variable of J2EE for Linux?
    I followed this web site
    http://www.dougsparling.com/comp/howto/linux_java.html
    but after all
    when I tired to compile a servlet program... it couldn't be complied. I think the case is that the compiler couldn't find servlet.jar ...
    why is that?

    You have to verify that your CLASSPATH environment variable is set in your account's profile. I use the
    bash shell therefore my variables are set in .bashrc
    for example my CLASSPATH is set to :
    CLASSPATH=.:$J2EE_HOME/lib/j2ee.jar:$J2EE_HOME/lib/locale

  • Oracle environment variable setting for mulit instances

    Dear experts,
    I am doing CRM_ABAP, CRM_JAVA,ERP installation based on Oracle in a laptop for SAP Best Practise.
    The CRM_ABAP installation have done, and start to install CRM_JAVA named CRJ.
    In CRM_ABAP installation, I set Oracle environment variable as below:(/etc/profile.d/oracle.sh)
    ・CRACLE_SID=u201DCRMu201D
    ・CRACLE_HOME=u201Doracle/CRMu201D
    ・PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/bin/oPatch:$PATH:
    ・export CRACLE_SID CRACLE_HOME PATH
    My question is that how do I set environment variable for CRM_JAVA(CRJ) in oracle.sh,?
    I tried e.g. CRACLE_SID=u201DCRMu201D:u201DCRJu201D, CRACLE_HOME=u201Doracle/CRMu201D:u201Doracle/CRJ/102_64u201D
    or CRACLE_SID=u201DCRJu201D CRACLE_HOME=oracle/CRJ/102_64u201D export CRACLE_SID CRACLE_HOME
    in addition
    but got an error message in SAPinst (Task Progress: configure Oracle server network)
    said u201CAssertion failed:lsnrctl:Parameter dbHOME has to be a valid ORACLE_HOME).u201D
    kindly help me to reslove the issue.
    Thanks.
    regards.
    Li.etsuhin

    Setting a Linux environment variable like ORACLE_SID to multiple values will not work.
    Use another oracle.sh, and maybe also another Linux user.
    I am not familiar with the details, but what does your installation guide say?
    Or you may have to use the same values for Java. The installation guide will tell you.

  • Best practices for defining Environment Variables/User Accounts in Linux

    Hello,
    After reading throught the Quick Install guide for 10gR2 on x86_64 Linux, I see that it is not recommended to define ANY variables in .bash_profile.
    I'm hoping to get a Best practices approach for defining environment variables - right now we use the oracle linux account for administration including sql*plus. So, where should the myriad variables be defined? Is it important enough to create a user account in linux to support best practices?
    What variables, exactly, should be defined? It seems that LD_LIBRARY_PATH is no longer being used?
    Thanks in advance
    Doug

    Something that I've done for years on unix/linux boxes is to create a seperate environment variable setup file for each instance on the box. This would include things like ORACLE_HOME, ORACLE_SID, etc. Then I would create an alias in my .bash_profile that would execute this script. As an example, I would create a orcl.env file that would hold all of the environment variables for this instance. Then in my .bash_profile I would create a line like the following:
    alias orcl=". $HOME/orcl.env"
    Then from anywhere you could type orcl and you would set your environment to connect to that database.
    Also, if you are using 10g, something else that is really nice if you are using sqlplus, and you connect to different databases without starting a new sqlplus session is to set a parameter in your $ORACLE_HOME/sqlplus/admin/glogin.sql file:
    set sqlprompt "_user 'at' _connect_identifier >"
    This will automatically change your command prompt to look like this:
    RALPH at ORCL >
    if you connect as GEORGE, your prompt will immediately change to :
    GEORGE at ORCL >
    This way you can always know who and where you are connected to.
    Good luck!

  • The NLS_LANG environment variable for Form Builder 10g on Linux

    Hi,
    I have installed Oracle Developer Suite 10g on Linux Enterprise AS4 successfully,and set environment variable NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK",LANG="zh_CN.UTF-8".When i executed the following: /home/oracle/Orant/bin/frmbld
    I got the error as:
    X Error of failed request:BadFont(invalid Fond parameter)
    Major opcode of failed request:56(X_ChangeGC)
    Resource id in failed request:Ox2c000af
    Serial number of failed request:3376
    Current serial number in output stream 3517
    FRM-18122: ’Form Builder Debugger.
    If i delete the NLS_LANG environment variable,the Form Builder can be running,but i can't keyboard input[b] chinese characters in the PL/SQL Editor.
    I don't know how to solve the problem,anybody can help me?

    Hello Howard,
    Check out the following link here you can find your desired NLS parameters.
    http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
    And about the NLS_LANG for developer why you want to create for developer. Its is already there in REGISTRY. Just seaching in developer registry you can find there.
    how do I set more than 1 at a time.
    You can set only one NLS_LANG parameter at a time.
    -Ammad
    Edited by: Ammad Ahmed on Apr 15, 2010 8:52 PM

  • Novell Linux Client, -E/--passenv environment variable?

    Hi!
    I've been experimenting with the Novell Client for Linux v1.2 on
    SLED10. I have most of it working as intended.
    Now I'd like to integrate with some scripts to do automatic logins. I
    notice that in the help message (from 'nwlogin --help'), this
    information is present:
    -E, --passenv
    pass password via environment variable
    The same (almost, it only lists --passenv, not -E) goes for gnwlogin.
    This looks like a very useful feature for script integration, but
    unfortunately, I can't find any documentation on which environment
    variable to use. The -E/--passenv parameter is also missing from the
    nwlogin(1) manual page.
    What environment variable should be used? Is this feature official, so
    that I can rely on it being present in later versions of the client?
    Thanks,
    \EF
    Erik Forsberg OpenSource-based Thin Client Technology
    Systems Analyst/Developer Phone: +46-13-21 46 00
    Cendio AB Web: http://www.cendio.com

    Erik,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Setting new environment variable on Linux

    {noformat}I need to set new environment variable on my linux machine from inside my code. I am using csh and the command works fine from command line:
    setenv IFConfigLocation4 /home/username/myfile.xml
    But when i try the same thing from Java code it does not seem to have any effect. here is my code:
    import java.util.*;
    import java.io.*;
    public class CDE_parser_methods{
    public static String fileParse(String inFile, String parserName, String outFile, String CMConfig_locale)
    String parsed = "SUCCESSFUL";
    System.out.println("Parsing file..." + "\nParser name: " + parserName +"\nInput file name: " + inFile + "\nOutput file name: " + outFile + "\nCMConfig file is: " + CMConfig_locale);
    System.out.println("Current Java version: " + System.getProperty("java.version"));
    try
              String cmd[]={"/bin/csh", "-c", "setenv IFConfigLocation4 " + CMConfig_locale};
              Process proc = Runtime.getRuntime().exec(cmd);
              int exitVal= proc.waitFor();
              System.out.println("Value of setenv command is: " + exitVal);
              String cmd2[]={"/bin/csh", "-c", "env"};
              Process proc2 = Runtime.getRuntime().exec(cmd2);
              InputStream instr = proc2.getInputStream();
              InputStreamReader inread = new InputStreamReader(instr);
              BufferedReader buf = new BufferedReader(inread);
              String line=null;
              while((line=buf.readLine()) != null)
                   System.out.println(line);
              int exitVal2= proc2.waitFor();
              }catch(CMException cme){
                   System.out.println("Issue when trying to executing parse command, details: " + cme.getMessage());
                   System.out.println("Description of the issue is: " + cme.getDescription());
                   parsed = "FAILURE: " + cme.getDescription();
              }catch(Exception e){
                   System.out.println("Uncought exception, details: " + e.getMessage());
                   parsed = "FAILURE: " + e.getMessage();
         return parsed;
    public static void main(String[] args) {
         String results=CDE_parser_methods.fileParse("/opt/itemfield/ServiceDB/Project2/Mapping_for_Account_Number_Structure_ITS_Input_File.xls","MappingforAccountNumberStructure","/opt/itemfield/ServiceDB/Project2/test_ws_44.xml","/home/rvenishe/CMConfig.xml");
         System.out.println("Result of fileParse call is: " + results);
         }The out put of my env command does NOT contain system variable "IFConfigLocation4". Any ideas? {noformat}

    Environment variables and their values set from within a user process has their scope and lifetime limited to the process and its subprocesses. See java.lang.ProcessBuilder class and its API documentation for setting env for a subprocess that will be started by a ProcessBuilder instance. Even in the C programming we have the same limitation for the environment.
    Since they are not globally set, system command like env or Java method like System.getenv() can't see them.

  • To setup environment variables in Linux like sqlplus, emctl etc

    Hi,
    how can setup environment variable like sqlplus, emctl, etc in Linux.
    what i mean is from any directory i should be able to invoke sqplus, emctl etc
    is this posisble in linux.
    THanks,
    Philip.

    Hi Hunter,
    this one worked great. this is really cool man.
    i also have a http server running for my htmldb forms/reports.
    i created a environment variable saying
    "HTTP_HOME=/home/oracle/oracle/product/10.2.0/http_1"
    i need to go to $HTTP_HOME/Apaceh/Apache/bin"
    and i give the command "./apachetcl start" for the http server to start running.
    how can i make this apachectl variable to work so that form any directoy i should be able to give "apachectl start" comand and it runs.
    Can u help me please.
    i think if i do this also i can get some more understanding.
    the command u gave worked great, but i did not understand the
    LD_LIBRARY_PATH and CLASSPATH. what are they for.
    Philip.

  • Oracle Environment Variables on Linux

    Hi,
    First, I'll admit that I'm very, very new to Linux.  I'm running Oracle Database XE 11g R2 on a virtual machine (Virtualbox) that is running Oracle Enterprise Linux 6.  Whenever I open a terminal window and set ORACLE_HOME, PATH, and ORACLE_SID, I can easily access SQLPlus, simply by typing "SQLPlus".  However, if I close that window and then open another terminal window, I cannot access SQLPlus, simply by typing "SQLPlus".  I have to re-specify the environment variables first.
    I'm sure that this is something simple but my lack of Linux experience is keeping me from finding the issue.  Also, I've not found any documentation that helps but please point me to it if I've missed it.
    Thanks,
    Brian

    You can also set your environment by using a shell script that comes with the XE default installation:
    # source /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh
    There's also a backup script.
    # /u01/app/oracle/product/11.2.0/xe/config/scripts/backup.sh
    assuming that you've installed the XE instance in the default path /u01
    C.

  • Environment Variables for Linux

    Hi All
    I am trying to set the Environement Variables on RHEL 5.2(64 Bit) for SM 7.0 Installation
    - I have installed the RPM "IBMJava2-AMD64-142-SDK-1.4.2-11.0.x86_64.rpm"
    - I have set the Environment Variable in .bash_profile file as below:
    export JAVA_HOME=/opt/IBMJava2-amd64-142
    expot PATH=$JAVA_HOME/bin:$PATH
    Logged out of root and logged in, but I am not able to see the correct JAVA -Version
    Its still showing the GNU version.
    Can you please let me know that was correct ?
    Thanks
    Sri

    You can simply use those commands in the shell that is open and in which you want to start the installation. There's no need to make this permanent for user "root".
    Sapinst will configure the new users correctly with the correct PATH.
    Markus

  • BKI0008E: The environment variable BI_CALLER is not set correctely. The cur

    Hi All,
    I have configured backint for backup of maxdb for content server 640. I configured it as per the documents available, created the configuration fiale and the parameter file. Created the backup medium in dbmgui.
    Now when i try to run the backup using the pipe am getting the above mentioned error.
    Please find below the dbm.ebp log for the same...
    more dbm.ebp
    2009-10-22 02:06:08
    Setting environment variable 'TEMP' for the directory for temporary files and pi
    pes to default ''.
    Setting environment variable 'TMP' for the directory for temporary files and pip
    es to default ''.
    Using connection to Backint for MaxDB Interface.
    2009-10-22 02:06:08
    Checking existence and configuration of Backint for MaxDB.
        Using configuration variable 'BSI_ENV' = '/sapdb/CFC/lcbackup/apoatlas.env'
    as path of the configuration file of Backint for MaxDB.
        Setting environment variable 'BSI_ENV' for the path of the configuration fil
    e of Backint for MaxDB to configuration value '/sapdb/CFC/lcbackup/apoatlas.env'
        Reading the Backint for MaxDB configuration file '/sapdb/CFC/lcbackup/apoatl
    as.env'.
            Found keyword 'BACKINT' with value '/sapdb/CFC/db/bin/backint'.
            Found keyword 'INPUT' with value '/tmp/backint4sapdbCFC.in'.
            Found keyword 'OUTPUT' with value '/tmp/backint4sapdbCFC.out'.
            Found keyword 'ERROROUTPUT' with value '/tmp/backint4sapdbCFC.err'.
            Found keyword 'PARAMETERFILE' with value '/sapdb/CFC/lcbackup/param.cfg'
            Found keyword 'TIMEOUT_SUCCESS' with value '1800'.
            Found keyword 'TIMEOUT_FAILURE' with value '1800'.
        Finished reading of the Backint for MaxDB configuration file.
        Using '/sapdb/CFC/db/bin/backint' as Backint for MaxDB program.
        Using '/tmp/backint4sapdbCFC.in' as input file for Backint for MaxDB.
        Using '/tmp/backint4sapdbCFC.out' as output file for Backint for MaxDB.
        Using '/tmp/backint4sapdbCFC.err' as error output file for Backint for MaxDB
        Using '/sapdb/CFC/lcbackup/param.cfg' as parameter file for Backint for MaxD
    B.
        Using '1800' seconds as timeout for Backint for MaxDB in the case of success
        Using '1800' seconds as timeout for Backint for MaxDB in the case of failure
        Using '/sapdb/data/wrk/CFC/dbm.knl' as backup history of a database to migra
    te.
        Using '/sapdb/data/wrk/CFC/dbm.ebf' as external backup history of a database
    to migrate.
        Checking availability of backups using backint's inquire function.
    Check passed successful.
    2009-10-22 02:06:08
    Checking medium.
    Check passed successfully.
    2009-10-22 02:06:08
    Preparing backup.
        Setting environment variable 'BI_CALLER' to value 'DBMSRV'.
        Setting environment variable 'BI_REQUEST' to value 'NEW'.
        Setting environment variable 'BI_BACKUP' to value 'FULL'.
        Constructed Backint for MaxDB call '/sapdb/CFC/db/bin/backint -u CFC -f back
    up -t file -p /sapdb/CFC/lcbackup/param.cfg -i /tmp/backint4sapdbCFC.in -c'.
        Created temporary file '/tmp/backint4sapdbCFC.out' as output for Backint for
    MaxDB.
        Created temporary file '/tmp/backint4sapdbCFC.err' as error output for Backi
    nt for MaxDB.
        Writing '/sapdb/CFC/lcbackup/pipe1 #PIPE' to the input file.
        Writing '/sapdb/CFC/lcbackup/pipe2 #PIPE' to the input file.
    Prepare passed successfully.
    2009-10-22 02:06:08
    Creating pipes for data transfer.
        Creating pipe '/sapdb/CFC/lcbackup/pipe1' ... Done.
        Creating pipe '/sapdb/CFC/lcbackup/pipe2' ... Done.
    All data transfer pipes have been created.
    2009-10-22 02:06:08
    Starting database action for the backup.
        Requesting 'SAVE DATA QUICK TO '/sapdb/CFC/lcbackup/pipe1' PIPE,'/sapdb/CFC/
    lcbackup/pipe2' PIPE BLOCKSIZE 8 NO CHECKPOINT MEDIANAME 'BACKINT_ONLINE1'' from
    db-kernel.
    The database is working on the request.
    2009-10-22 02:06:09
    Waiting until database has prepared the backup.
        Asking for state of database.
        2009-10-22 02:06:09 Database is still preparing the backup.
        Waiting 1 second ... Done.
        Asking for state of database.
        2009-10-22 02:06:10 Database is still preparing the backup.
        Waiting 2 seconds ... Done.
        Asking for state of database.
        2009-10-22 02:06:12 Database has finished preparation of the backup.
    The database has prepared the backup successfully.
    2009-10-22 02:06:12
    Starting Backint for MaxDB.
        Starting Backint for MaxDB process '/sapdb/CFC/db/bin/backint -u CFC -f back
    up -t file -p /sapdb/CFC/lcbackup/param.cfg -i /tmp/backint4sapdbCFC.in -c >>/tm
    p/backint4sapdbCFC.out 2>>/tmp/backint4sapdbCFC.err'.
        Process was started successfully.
    Backint for MaxDB has been started successfully.
    2009-10-22 02:06:12
    Waiting for end of the backup operation.
        2009-10-22 02:06:12 The backup tool is running.
        2009-10-22 02:06:12 The database is working on the request.
        2009-10-22 02:06:14 The backup tool process has finished work with return co
    de 2.
        2009-10-22 02:06:17 The database is working on the request.
        2009-10-22 02:06:27 The database is working on the request.
        2009-10-22 02:06:42 The database is working on the request.
        2009-10-22 02:07:02 The database is working on the request.
        2009-10-22 02:07:15 Canceling Utility-task after a timeout of 60 seconds ela
    psed ... OK.
        2009-10-22 02:07:17 The database has finished work on the request.
        Receiving a reply from the database kernel.
        Got the following reply from db-kernel:
            SQL-Code              :-903
    The backup operation has ended.
    2009-10-22 02:07:17
    Filling reply buffer.
        Have encountered error -24920:
            The backup tool failed with 2 as sum of exit codes. The database request
    was canceled and ended with error -903.
        Constructed the following reply:
            ERR
            -24920,ERR_BACKUPOP: backup operation was unsuccessful
            The backup tool failed with 2 as sum of exit codes. The database request
    was canceled and ended with error -903.
    Reply buffer filled.
    2009-10-22 02:07:17
    Cleaning up.
        Removing data transfer pipes.
            Removing data transfer pipe /sapdb/CFC/lcbackup/pipe2 ... Done.
            Removing data transfer pipe /sapdb/CFC/lcbackup/pipe1 ... Done.
        Removed data transfer pipes successfully.
        Copying output of Backint for MaxDB to this file.
    Begin of output of Backint for MaxDB (/tmp/backint4sapdbCFC.out)-
                                     Data Protection for mySAP(R)
                         Interface between BR*Tools and Tivoli Storage Manager
                         - Version 5, Release 4, Modification 0.0  for Linux x86_64
                               Build: 303  compiled on Nov 16 2006
                    (c) Copyright IBM Corporation, 1996, 2006, All Rights Reserved.
            BKI0008E: The environment variable BI_CALLER is not set correctely. The
    current value is "DBMSRV"
            usage:
             backint -p <par_file> [-u <user_id>] [-f <function>]
                    [-t <type>] [-i <in_file>] [-o <out_file>] [-c]
            where:
                   <user_id>    backint utility user
                   <function>   backup | restore | inquire | password | delete
                   <type>       file | file_online
                   <par_file>   parameter file for backup utility
                   <in_file>    name of a text file  that defines the objects
                                default: STDIN
                   <out_file>   Pool for processing messages and the results
                                of the executed function.
                                default: STOUT
            BKI0020I: End of program at: Thu 22 Oct 2009 02:06:14 AM EDT .
            BKI0021I: Elapsed time: 01 sec .
            BKI0024I: Return code is: 2.
    End of output of Backint for MaxDB (/tmp/backint4sapdbCFC.out)---
        Removed Backint for MaxDB's temporary output file '/tmp/backint4sapdbCFC.out
        Copying error output of Backint for MaxDB to this file.
    Begin of error output of Backint for MaxDB (/tmp/backint4sapdbCFC
    .err)----
    End of error output of Backint for MaxDB (/tmp/backint4sapdbCFC.e
    rr)----
        Removed Backint for MaxDB's temporary error output file '/tmp/backint4sapdbC
    FC.err'.
        Removed the Backint for MaxDB input file '/tmp/backint4sapdbCFC.in'.
    Have finished clean up successfully.

    Also, is there any specification about the user permissions and about how the backup should be run?

  • 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

  • Install j2se plugin version 1.6.0_07 on your client and NPX_PLUGIN_PATH environment variable set before starting Netscape.

    Hi experts m new to apps please help.. I have installed successfully Oracle Apps R12 on OEL - 5 All the services runining fine. but when i am opening forms its giving error "install missing plugins" i installed jre-6u7-linux-i586-rpm.bin and Mozilla Firefox 3.0.18 [root@ust ~]# cd firefox/plugins/ [root@ust plugins]# ln -s /usr/java/jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so [root@ust plugins]# ls libjavaplugin_oji.so  libnullplugin.so [root@ust plugins]# ll total 20 lrwxrwxrwx 1 root root    58 Sep 11 16:22 libjavaplugin_oji.so -> /usr/java/jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so   -rwxr-xr-x 1 root root 19160 Sep 15  2007 libnullplugin.so [root@ust plugins]# but when m trying to open forms at that time giving error "install j2se plugin version 1.6.0_07 on your client and NPX_PLUGIN_PATH environment variable set before starting Netscape."

    Linux is not a certified client tier for accessing EBS
    Unable to access r12 forms in linux client
    https://forums.oracle.com/search.jspa?view=content&resultTypes=&dateRange=all&q=linux+client&rankBy=relevance&contentTyp…
    HTH
    Srini

  • For a given process ID, how do I determine environment variables (e.g. PATH)?

    At command line, what is the best/most direct way to determine the environment variables (e.g. PATH) for a given process ID?  Must be able to query for any arbitrary environment variable.  PATH is just the first example.
    'lsof -a -p $PID -d cwd -F' gets some of it.
    But, I don't see a way to get the PATH for the given PID, using lsof.
    'ps -Ep $PID' gets some of it.
    But, again, 'not comprehensive.  It appears to give back only a portion of the 'environment' for the process.
    On a number of other Linux/UNIX variants, you can look at '/proc/<pid>/environ'.  But, OS X apparently does not use that mechanism.
    Newb coming from the Linux world.  Please pardon my ignorance.  Reading as fast as I can.....

    You seem to have found the solution on your own, but if you need more you may have greater success posting here.
    https://discussions.apple.com/community/mac_os/mac_os_x_technologies?view=discus sions

  • Unix shell: Environment variable works for file system but not for ASM path

    We would like to switch from file system to ASM for data files of Oracle tablespaces. For the path of the data files, we have so far used environment variables, e.g.,
    CREATE TABLESPACE BMA DATAFILE '${ORACLE_DB_DATA}/bma.dbf' SIZE 2M AUTOEXTEND ON;
    This works just fine (from shell scripts, PL/SQL packages, etc.) if ORACLE_DB_DATA denotes a file system path, such as "/home/oracle", but doesn’t work if the environment variable denotes an ASM path like "\+DATA/rac/datafile". I assume that it has something to do with "+" being a special character in the shell. However, escaping "\+" didn’t work. I tried with both bash and ksh.
    Oracle managed files (e.g., set DB_CREATE_FILE_DEST to +DATA/rac/datafile) would be an option. However, this would require changing quite a few scripts and programs. Therefore, I am looking for a solution with the environment variable. Any suggestions?
    The example below is on a RAC Attack system (http://en.wikibooks.org/wiki/RAC_Attack_-OracleCluster_Database_at_Home). I get the same issues on Solaris/AIX/HP-UX on 11.2.0.3 also.
    Thanks,
    Martin
    ==== WORKS JUST FINE WITH ORACLE_DB_DATA DENOTING FILE SYSTEM PATH ====
    collabn1:/home/oracle[RAC1]$ export ORACLE_DB_DATA=/home/oracle
    collabn1:/home/oracle[RAC1]$ sqlplus "/ as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Aug 24 20:57:09 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL> CREATE TABLESPACE BMA DATAFILE '${ORACLE_DB_DATA}/bma.dbf' SIZE 2M AUTOEXTEND ON;
    Tablespace created.
    SQL> !ls -l ${ORACLE_DB_DATA}/bma.dbf
    -rw-r----- 1 oracle asmadmin 2105344 Aug 24 20:57 /home/oracle/bma.dbf
    SQL> drop tablespace bma including contents and datafiles;
    ==== DOESN’T WORK WITH ORACLE_DB_DATA DENOTING ASM PATH ====
    collabn1:/home/oracle[RAC1]$ export ORACLE_DB_DATA="+DATA/rac/datafile"
    collabn1:/home/oracle[RAC1]$ sqlplus "/ as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Aug 24 21:08:47 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL> CREATE TABLESPACE BMA DATAFILE '${ORACLE_DB_DATA}/bma.dbf' SIZE 2M AUTOEXTEND ON;
    CREATE TABLESPACE BMA DATAFILE '${ORACLE_DB_DATA}/bma.dbf' SIZE 2M AUTOEXTEND ON
    ERROR at line 1:
    ORA-01119: error in creating database file '${ORACLE_DB_DATA}/bma.dbf'
    ORA-27040: file create error, unable to create file
    Linux Error: 2: No such file or directory
    SQL> -- works if I substitute manually
    SQL> CREATE TABLESPACE BMA DATAFILE '+DATA/rac/datafile/bma.dbf' SIZE 2M AUTOEXTEND ON;
    Tablespace created.
    SQL> drop tablespace bma including contents and datafiles;

    My revised understanding is that it is not a shell issue with replacing +, but an Oracle problem. It appears that Oracle first checks whether the path starts with a "+" or not. If it does not (file system), it performs the normal environment variable resolution. If it does start with a "+" (ASM case), Oracle does not perform environment variable resolution. Escaping, such as "\+" instead of "+" doesn't work either.
    To be more specific regarding my use case: I need the substitution to work from SQL*Plus scripts started with @script, PL/SQL packages with execute immediate, and optionally entered interactively in SQL*Plus.
    Thanks,
    Martin

Maybe you are looking for

  • Make to Order - where is Sale Order Stock

    Hi All I have a Configurable Product, say Book. The Customer places the Order say for 1000 Books but does not give the details of the Ship-to parties. The Order is taken into Production and the Ship-to particulars are available one day prior to the d

  • Maintenance view problem

    Dear gurus I have generated a table and created a maintenance view for that table. created a function group and assign that group to maintenance view of that table create a transaction from se93 calling SM30 with table name and update stats X its wor

  • Submitting a Form in a Spry Tabbed Region

    I have a spry tabbed region with 6 tabs. I have constructed a menu which targets and opens the specific tab using the ?tab=4 type notation.  I have also created links between tabs using the same notation.  All works fine. I have a form in one tab whi

  • Can't restore latest time machine backup

    I have just had my the hard drive in my macbook pro replaced and am trying to restore from a time machine backup.  I back up regularly (about once a week) to an external hard drive, but the most recent option for backup is October... help! I can see

  • Vendor Confirmation_Urgent

    Hi Gurus, I'm having a scenario, in which my client want to enter the Confirmation of Vendor.( After sending the PO, Vendor issue a letter suggesting his capacity to delivery & delivery date). I have tried this functionality, using Inbound delivery.