How to set up Oracle Environment... ?

I have a fresh copy of Oracle Enterprise Linux with Oracle 11g R1 installed.
Steps that I did and I am trying to understand……
1.     Boot the OEL server.
2.     From remote connection, using PUTTY, I connect to the OEL
3.     I am setting the variables(ORACLE_HOME & ORACLE_SID) with the ‘export’
4.     Login to sqlplus as sys with sysdba
5.     Started the database. Everything is fine!
6.     If I logout of PUTTY and log back all my step 3 variables are gone.
7.     You know now I can’t start the Oracle database without error.
My question is……
How to make the proper environment for Oracle database?
Do I have to have the above two variable populated all the time. Does these two variables need to be part of any login script (for root)? Once session (shell) has to be running all the time?
Missing the link here. I am learning.
Thank you,
Smith

For starters, there are several shell environments that you could have set as your default, such as: sh, csh, ksh, bash, tcsh, zsh, or rc.
Depending which shell environment you have set, you may or will have a different startup file when you login.
But the basics still apply:
For the most part, the first thing is that you should not be running anything as root (related to Oracle).
Oracle should have its own userid and be part of the DBA group.
Perhaps you mistyped.
Next, yes, your environment variables will need to be reset when you log back in.
There are a number of ways to accomplish this.
One of the most popular ways (although I don't necessarily agree), is to set the environment variables in your login startup script.
for example, your .profile (dot-profile). For ksh shell, for example, this is run at start up when you log in, after your session has read the /etc/profile script for system wide settings.
If the environment variables are set correctly, they are exported, which is sourced as your login script runs.
Alternately, (which I prefer), is you can 'source' the environment variables yourself.
This is done differently again depending on your default shell.
For ksh, you simply type . <shell script name>. (That is: dot-space-scriptfile)
It is important that you include a space between the dot and the file to be executed.
This will allow you to spawn additional windows from your main window and carry those env parameter settings forward.
Another option, preferred by Oracle, is that you set the Oracle $PATH in your login script (.profile or whatever), and then execute . oraenv. (dot-space-oraenv). This sources the parameters that are set when you run the oraenv which sets things such as your ORACLE_SID and ORACLE_HOME.
HTH...

Similar Messages

  • How to set the oracle oci8 driver?

    hello all:
    I've set up the oracle thin driver and it works. but when I change to
    oci8.it don't work
    below is config and errors:
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
    Name="ocipool"
    Properties="user=yanji;password=yanji"
    Targets="myserver" URL="jdbc:oracle:oci8:@pg01"/>
    Could not load 'oracle.jdbc.driver.OracleDriver
    If this is a type-4 JDBC driver, it could occur if the JDBC
    driver is not in the system CLASSPATH.
    If this is a type-2 JDBC driver, it may also indicate that
    the Driver native layers(DBMS client lib or driver DLL)
    have not been installed properly on your system
    or in your PATH environment variable.
    This is most likely caused by one of the following:
    1. The native layer SO, SL, or DLL could not be found.
    2. The file permissions on the native layer SO, SL, or DLL
    have not been set properly.
    3. The native layer SO, SL, or DLL exists, but is either
    invalid or corrupted.
    For more information, read the installation documentation
    for your JDBC Driver, available from:
    http://e-docs.bea.com
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection
    ectionEnvFactory.java:208)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource
    ectionEnvFactory.java:131)
    at weblogic.common.internal.ResourceAllocator.makeResources(Resource
    ator.java:698)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocat
    va:282)
    best regards

    Hello, Jenny I am glad you found your resolution. I too am having problems isung
    the oracle 0CI8 driver. My connection pool is creating fine, but my server is
    crashing with JVM errors.
    Here are my configurations.
    DBase=Oracle 8.1.7,OS=Win2000, running 6.1 with Portal 4.0
    pool config =
    <JDBCConnectionPool CapacityIncrement="0"
    DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="5"
    MaxCapacity="5" Name="ccConPool"
    Properties="jdbc.url=jdbc:oracle:oci8:@servername:1521:orcl;user=XXXXX;password=XXXXXX;dll=ocijdbc8;server=orcl;protocol=oci8;dll=ocijdbc8;protocol=oci8"
    RefreshMinutes="0" Targets="portalServer"
    TestTableName="WIP_TABLE" URL="jdbc:oracle:oci8:@servername"/>
    My classpath sets my classes12.zip file first. My path sets %WEBLOGIC_HOME%\bin\oci817_8
    and %WLCS_ORACLE_HOME%\bin.
    Am I setting the right dll and protocol in my .dll? Where can I find documentation
    on these properties definitions?
    "jenny" <[email protected]> wrote:
    hello all:
    I've got the answer. those all because weblogic.jar. this jar include
    the
    class "oracle.jdbc.driver.OracleDriver".
    although I put the classes12.zip into the CLASSPATH.but the weblogic.jar
    in
    front of classes12.zip.so classloader
    load the class from weblogic.jar. so I can use thin driver(weblogic
    implements this function with class,but not for oci8 )
    ..this is really a big pitfall !
    put the classes12.zip in front of weblogic.jar .all perfect!
    "jenny" <[email protected]> wrote in message
    news:[email protected]...
    hello all:
    below is some chapters of my config.xml and startWeblogic.cmd
    the oci8 :
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
    Name="ocipool" Password="{3DES}J3XuQd6cvvw="
    Properties="user=yanji;password=yanji;dll=ocijdbc8;protocol=oci8"
    Targets="myserver" TestTableName="test"
    URL="jdbc:oracle:oci8:@pg01"/>
    the thin :
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
    Name="citcpool" Password="{3DES}J3XuQd6cvvw="
    Properties="user=yanji;password=yanji"
    SupportsLocalTransaction="true" Targets="myserver"
    URL="jdbc:oracle:thin:@sune250:1521:pg01"/>
    :runWebLogic
    echo on
    set ORACLE_HOME=e:\oracle
    set PATH=./bin;%ORACLE_HOME%\bin;%ORACLE_HOME%\lib;%PATH%
    set
    CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\lib\dom.jar;.\lib\xml
    4j.jar;.\lib\jecf.jar;%ORACLE_HOME%\jdbc\lib\classes12.zip
    echo off
    the thin driver is ok,but the oci driver can not work!
    if I've set the wrong CLASSPATH or PATH , the thin driver and oci8driver
    must have not worked. I confused!
    "Sree Bodapati" <[email protected]> wrote in message
    news:[email protected]...
    "Sree Bodapati" <[email protected]> wrote in message
    news:[email protected]...
    Its not CLASS_PATH it should be CLASSPATH.
    when you say oracle\bin and oracle\lib , on what driver is the oracle
    folder?I meant to say 'on what drive' not 'on what driver'
    you have to specify the full path.
    post your startup script here.
    sree
    "jenny" <[email protected]> wrote in message
    news:[email protected]...
    hello all:
    I've set the ORACLE_HOME,and CLASS_PATH,but nothing changed. I will
    go
    to
    crazy!!!
    when startup the weblogic,I've seen the oracle\bin and oracle\libin th
    "path" and classes12.zip in the CLASS_PATH.but the errors stillappears!!
    "Sree Bodapati" <[email protected]> wrote in message
    news:[email protected]...
    1. Dont copy this file oci8jdbc.dll, to bin folder. Make sure
    you
    place
    <oracle_home>\lib in your PATH before starting the server. Make
    sure
    your
    ORACLE_HOME environment varable is set to <oracle_home> folder.
    eg. set ORACLE_HOME=c:\ora816 before starting the server.
    so you must have done something like
    set ORACLE_HOME=c:\ora816
    set PATH=%ORACLE_HOME%\bin;%ORACLE_HOME%\lib;%PATH%
    2. double check if you set your CLASSPATH something like this,
    CLASSPATH=%ORACLE_HOME%\jdbc\lib\classes12.zip;%CLASSPATH%
    in the server startup script just before starting the server.
    3. start the server the connection pool should work.
    hth
    sree
    "jenny" <[email protected]> wrote in message
    news:[email protected]...
    hello All:
    I've edited the StartWeblogic.cmd, set the classes.zip into CLASSPATH,and
    copied the oci8jdbc.dll to the bea\wlserver6.1\bin. errors stillappears!
    my weblogic version is 6.1 and oracle is 8.1.6 .
    why the thin driver is ok but the oci driver can not work?
    I logined in the oracle website and look for the jdbc.but I find
    that
    jdbc
    all provide for jdk1.2 or jdk1.1. because the weblogic6.1 based
    jdk1.3.
    I
    think i can not use those drivers.
    I think my oracle driver is ok,because i installed the jboss and
    bas4.5
    in
    my computer. they all can use oci8 driver properly.and they all
    based
    jdk1.3.
    by the way. I 've tryed added the oracle\bin path inStartWeblogic.cmd,
    nothing changed !
    again below is my config : I want to know whether my config right?
    (the property DLL and Protocal auto added by the weblogic)
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
    Name="ocipool"
    Properties="user=yanji;password=yanji;dll=ocijdbc8;protocol=oci8"
    Targets="myserver" URL="jdbc:oracle:oci8:@pg01"/>
    best regards
    ----- Original Message -----
    From: "Mitesh Patel" <[email protected]>
    Newsgroups: weblogic.developer.interest.jdbc
    Sent: Thursday, December 13, 2001 4:00 AM
    Subject: Re: how to set the oracle oci8 driver?
    To use oracle oci8 driver:
    You should have classes12.zip in weblogic classpath.
    You should have ocijdbc8.dll in your weblogic path..
    You can download ocijdbc8.dll from oracle website.
    Mitesh Patel
    jenny wrote:
    hello all:
    I've set up the oracle thin driver and it works. but when I
    change
    to
    oci8.it don't work
    below is config and errors:
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
    Name="ocipool"
    Properties="user=yanji;password=yanji"
    Targets="myserver" URL="jdbc:oracle:oci8:@pg01"/>
    Could not load 'oracle.jdbc.driver.OracleDriver
    If this is a type-4 JDBC driver, it could occur if the JDBC
    driver is not in the system CLASSPATH.
    If this is a type-2 JDBC driver, it may also indicate that
    the Driver native layers(DBMS client lib or driver DLL)
    have not been installed properly on your system
    or in your PATH environment variable.
    This is most likely caused by one of the following:
    1. The native layer SO, SL, or DLL could not be found.
    2. The file permissions on the native layer SO, SL, or DLL
    have not been set properly.
    3. The native layer SO, SL, or DLL exists, but is either
    invalid or corrupted.
    For more information, read the installation documentation
    for your JDBC Driver, available from:
    http://e-docs.bea.com
    atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection
    ectionEnvFactory.java:208)
    atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource
    ectionEnvFactory.java:131)
    atweblogic.common.internal.ResourceAllocator.makeResources(Resource
    ator.java:698)
    atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocat
    va:282)
    best regards
    "jenny" <[email protected]> wrote in message
    news:[email protected]...
    hello all:
    I've set up the oracle thin driver and it works. but when I change
    to
    oci8.it don't work
    below is config and errors:
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
    Name="ocipool"
    Properties="user=yanji;password=yanji"
    Targets="myserver" URL="jdbc:oracle:oci8:@pg01"/>
    Could not load 'oracle.jdbc.driver.OracleDriver
    If this is a type-4 JDBC driver, it could occur if the JDBC
    driver is not in the system CLASSPATH.
    If this is a type-2 JDBC driver, it may also indicate that
    the Driver native layers(DBMS client lib or driver DLL)
    have not been installed properly on your system
    or in your PATH environment variable.
    This is most likely caused by one of the following:
    1. The native layer SO, SL, or DLL could not be found.
    2. The file permissions on the native layer SO, SL, or DLL
    have not been set properly.
    3. The native layer SO, SL, or DLL exists, but is either
    invalid or corrupted.
    For more information, read the installation documentation
    for your JDBC Driver, available from:
    http://e-docs.bea.com
    atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection
    ectionEnvFactory.java:208)
    atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource
    ectionEnvFactory.java:131)
    atweblogic.common.internal.ResourceAllocator.makeResources(Resource
    ator.java:698)
    atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocat
    va:282)
    best regards

  • How to set Multi User Environment in the weblogic 5.1 and 6.1 server..(Urgently)

    Hi all,
    I need to know how to set Multi User Environment in the weblogic 5.1
    properties file..
    Here my question is..:)
    1) I have a database with multiple users and having different privileges
    for the users.. and i need to use all the privileges when user aceess
    the database through weblogic server connectionPool.
    2)According to the user privileges i need access the database tables
    content and gives the frontEnd(jsp).
    3)How to modify dynamically weblogic.properties file in the weblogic
    5.1.
    If anybody having idea reg. this issues pl...help me..
    Thanks in advance
    Chandu([email protected],[email protected])

    Hi. A JDBC connection pool is a set of identical, interchangeable, pre-made
    connections, and the controls to make sure only one user uses a particular
    connection at any one time. If you want to have different DBMS users, you can
    have a separate pool for each DBMS user, which may contain as many or few
    connections as you want. Some applications has a pool for the accounting
    applications, and another for the sales applications etc. Some do have a
    separate pool for john, jane, joe etc, each with one connection. Pools
    can be created and destroyed dynamically using the dynamic pool API.
    Joe
    softstar wrote:
    >
    Hi all,
    I need to know how to set Multi User Environment in the weblogic 5.1
    properties file..
    Here my question is..:)
    1) I have a database with multiple users and having different privileges
    for the users.. and i need to use all the privileges when user aceess
    the database through weblogic server connectionPool.
    2)According to the user privileges i need access the database tables
    content and gives the frontEnd(jsp).
    3)How to modify dynamically weblogic.properties file in the weblogic
    5.1.
    If anybody having idea reg. this issues pl...help me..
    Thanks in advance
    Chandu([email protected],[email protected])

  • How to set up Oracle Alerts using Lotus mail

    Hi there
    Anyone there knows how to set up Oracle Alerts using Lotus mail

    Hi All. We are looking to install 64-bit Oracle 11g
    on 64-bit SUSE Linux Version 10 SP1. We would like to
    start up with a 16GB SGA and possibly increase to 50GB. How you calculate you need to start database with 16 GB SGA , and latter need to increase it to 50 GB ?
    Can anyone help us with a list of rpms and
    kernel settings we would need to get started? ThanksCheck following link for rmp and kernel parameters
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15667/pre_install.htm#sthref85
    - Virag Sharma
    http://virag.sharma.googlepages.com
    http://viragsharma.blogspot.com

  • How to set reports server environment

    Hi..
    Now Oracle 9iAS r1 (reports60) was installed on Linux, Unix and NT for testing.
    I typed like below in web browser .
    http://IP:Port/dev60cgi/rwcgi60/showenv?server=ServerName
    then Oracle Reports environment variants(REPORTS_PATH, REPORTS... so on..) did not set . except PATH, LI_LIBRARY_PATH and ORACLE_HOME variants like below..
    ====================================================
    Oracle Reports Server CGI60 Environment Variables:PATH /home/ora9iasr1/product/9.0.1/Apache/perl/bin:/home/ora9iasr1/product/9.0.1/bin:/usr/kerberos/bin:.:/usr/local/bin:/usr/java/jdk1.3.1_07/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/ora9iasr1/bin
    LD_LIBRARY_PATH /home/ora9iasr1/product/9.0.1/6iserver/lib
    ORACLE_HOME /home/ora9iasr1/product/9.0.1/6iserver
    ORACLE_PATH undefined
    REPORTS60_PATH undefined
    REPORTS60_TMP undefined
    REPORTS60_CGIMAP undefined
    ==============================
    I can set it with editing registery on Windows.
    But thought I set it with export option at .bash_profile, reports60.sh and reports_server on Unix platform, it did not affected.
    Please let me know how to set reports environment on Unix.
    regards..
    Ryu,

    The reports CGI is started from script rwcgi60. Did you set those env variables in rwcgi60? Or did rwcgi60 call reports60.sh to set env variables? Please check.
    -Jeff

  • How to set up Oracle istore11i in Jdeveloper10g

    Hi all
    I want to set up Oracle istore11i in Jdeveloper10g.Please post the methods in the forum itself . Since I dont have any metalink support id so please avoid urls.
    I want to cusomize istore jsp locally using jdeveloper.so please help me.Please help me in putting the where to put the VM parameters shown in some of the istore documents and also the run debug parameters.
    Thanks
    Edited by: sureshot on Apr 12, 2010 9:01 PM

    Also, if you don't have access to MOS (fka Metalink), how do you expect to download the proper patch that you will need?
    http://www.lmgtfy.com/?q=istore+jdeveloper
    John

  • How to set the PATH Environment variable with multiple homes?

    I have several Oracle homes, and now I cannot get reports to work anymore. These are the things I installed, in this order:
    - Oracle Database 10g
    - Oracle Developer Suite 10g
    - Oracle Discoverer 4
    - Oracle HTMLDB
    Now my PATH environment variable is flooded with paths, but none seem to work when I want to start Reports 10g. I deleted all of the paths from the other homes and still no luck.
    This was my original PATH:
    C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;
    C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;
    C:\oradev10g\jdk\jre\bin\classic;
    C:\oradev10g\jdk\jre\bin;
    C:\oracle\product\10.1.0\compdb_1\jre\1.4.2\bin;
    C:\oracle\product\10.1.0\compdb_1\bin;
    C:\oracle\product\10.1.0\compdb_1\jre\1.1.8\bin;
    C:\oracle\product\10.1.0\compdb_1\jre\1.4.2\bin\client;
    C:\Disco41Home\bin;C:\oracle\product\10.1.0\db_1\bin;
    C:\oradev10g\jdk\jre\bin\client;C:\oradev10g\jlib;
    C:\oradev10g\bin;
    C:\oradev10g\jre\1.4.1\bin;
    C:\oradev10g\jre\1.1.8\bin;
    C:\PROGRAM FILES\THINKPAD\UTILITIES;
    %SystemRoot%\system32;
    %SystemRoot%;
    %SystemRoot%\System32\Wbem;
    C:\WINDOWS\Downloaded Program Files;
    %SystemDrive%\IBMTOOLS\Python22;
    C:\Program Files\PC-Doctor for Windows\services
    and this is the PATH after I stripped it:
    C:\oradev10g\jdk\jre\bin\classic;
    C:\oradev10g\jdk\jre\bin;
    C:\oradev10g\jdk\jre\bin\client;
    C:\oradev10g\jre\1.1.8\bin;
    C:\oradev10g\jlib;
    C:\oradev10g\bin;
    C:\PROGRAM FILES\THINKPAD\UTILITIES;
    %SystemRoot%\system32;
    %SystemRoot%;%SystemRoot%\System32\Wbem;
    C:\WINDOWS\Downloaded Program Files;
    %SystemDrive%\IBMTOOLS\Python22;
    C:\Program Files\PC-Doctor for Windows\services
    What am I supposed to change to get Reports to work again (i.e. do more than just show the splash screen)?
    Forms and Designer work just fine....

    Never mind I found my solution here:
    Re: Oracle Developer hangs when starting...i'm desperate

  • How to set new Tomcat Environment variable?

    I have an imported class used by my servlet that is supposed to look for an environment variable like "xxx.app.logdir". I'm having trouble setting it in Tomcat. I have tried the following (stopping and starting Tomcat with each change):
    1) In \conf\server.xml file, adding under <GlobalNamingResources> <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <Environment name="xxx.app.logdir" type="java.lang.String" value="C:\\Tomcat-4-1\\logs"/>2) In my app's web.xml file <env-entry>
      <env-entry-name>xxx.app.logdir</env-entry-name>
      <env-entry-value>C:\\Tomcat-4-1\\logs</env-entry-value>
      <env-entry-type>java.lang.String</env-entry-type>
    </env-entry> 3) In my \bin\startup.bat file
    set xxx.app.logdir=C:\\Tomcat-4-1\\
    4) On my PC's Environment variables.
    Nothing has worked. In my code I have the lines
    logMsg("System.getProperty('mmm.app.logdir')=" +
    System.getProperty("xxx.app.logdir"));
    logMsg("System.getProperty('simpleValue')=" +
    System.getProperty("simpleValue")); with the output :System.getProperty('xxx.app.logdir')=null
    System.getProperty('simpleValue')=null I've searched forums and the Tomcat docs, but no luck. Any ideas?

    I tried that as well, but maybe I didn't define my DefaultContect correctly. Do I need any other parameters? Couldn't find it in the Tomcat docs. <DefaultContext>
    <Environment name="matt" type="java.lang.String" value="value1" />
    </DefaultContext>My new code (I simplified the variable name for testing):
    System.out.println("System.getProperty('matt')=" + System.getProperty("matt"));
    System.out.println("System.getProperty('MATT')=" + System.getProperty("MATT"));Results:
    System.getProperty('matt')=null
    System.getProperty('MATT')=null

  • How to set up OEL environment..?

    well, I already installed peopletools and peoplesoft.
    How can I put a "short cut" like this picture.. http://2.bp.blogspot.com/_GAPqu9CUk1k/R4aT2fOgWiI/AAAAAAAAAN4/WYYq8JdsAfw/s1600-h/1ScreenShot001_LoadAppl.jpg
    And I also installed oracle database 11g. How can I run sql plus by console?? Do I have to start oracle database first?? How??
    Thanks you. Hope this is usefull for others too..

    I don't use GNOME, so I do not know where this tool is on the normal menu bar, but here is how to edit the GNOME menus:
    Make sure you have the alacarte RPM package installed:
    $ rpm -q alacarteand then run alacarte from the command line:
    $ alacarte

  • How to set bootclasspath in environment var.

    we use the following command to specify the bootclasspath on the fly
    java -Xbootclasspath:"<< .jar file>> <<File_name>>
    But what i want is rather than giving bootclasspath to each and every java execution, is there a way to specify it as env. variable.
    Artho

    You shouldn't use an environment variable for it. Create a script / batch -file to execute your applications.
    Kaj

  • Firefox 4 multi user environment in linux: How to set global settings?

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [/questions/826921]</blockquote><br>
    Hi,
    We used to be able to change settings in all.js file in FF 3.x.x platform, for changing settings like, proxy, authentication, etc. We installed FF 4.0.1 in linux, but, I can't find the all.js file to change any of the global settings in FF 4.0.1.
    Could you please point me how to changeglobal settings in FF 4.x version?
    thanks in advance.

    Hi. A JDBC connection pool is a set of identical, interchangeable, pre-made
    connections, and the controls to make sure only one user uses a particular
    connection at any one time. If you want to have different DBMS users, you can
    have a separate pool for each DBMS user, which may contain as many or few
    connections as you want. Some applications has a pool for the accounting
    applications, and another for the sales applications etc. Some do have a
    separate pool for john, jane, joe etc, each with one connection. Pools
    can be created and destroyed dynamically using the dynamic pool API.
    Joe
    softstar wrote:
    >
    Hi all,
    I need to know how to set Multi User Environment in the weblogic 5.1
    properties file..
    Here my question is..:)
    1) I have a database with multiple users and having different privileges
    for the users.. and i need to use all the privileges when user aceess
    the database through weblogic server connectionPool.
    2)According to the user privileges i need access the database tables
    content and gives the frontEnd(jsp).
    3)How to modify dynamically weblogic.properties file in the weblogic
    5.1.
    If anybody having idea reg. this issues pl...help me..
    Thanks in advance
    Chandu([email protected],[email protected])

  • PHP 5.0.5 CLI: Am I able to set the Oracle home directory at runtime?

    I have two versions of Oracle installed on a SUN Solaris server:
    /opt/app/oracle/product/8.1.7
    /opt/app/oracle/product/9.2.0
    Am I able to set the Oracle home directory at runtime using PHP CLI?
    Thanks,

    The real answer is it depends how PHP loads Oracle. If the loading
    occurs when PHP starts and before your script executes then you will
    start to see problems. This could be as minor as missing error
    message text or it could be more subtle. In general set the Oracle
    environment before starting PHP.
    What about creating your scripts like:
    #!/bin/sh
    export ORACLE_HOME=/opt/app/oracle/product/9.2.0
    php ...-- cj

  • How to check the Oracle Release?

    Hi,
    How to check the release version in Oracle AS ?
    And
    How to find what oracle AS release has happened in year (example 2005)?
    Best Regards

    There are a couple of ways I use to find the version:
    1. Open the Oracle Universal Installer on the machine where the OAS is installed, click on Installed Products. That should display the product and the version number.
    2. Set the oracle environment variables, then run the command below
    +$ORACLE_HOME/jdk/jre/bin/java -jar $ORACLE_HOME/j2ee/home/oc4j.jar -version+
    This should display the version of the OC4J which generally is the version of the OAS (unless you have applied any one-off patches)
    Have no idea about the second part of your question. Sorry.
    - Steve

  • Oracle Environment Variable Problem - OCIEnvNlsCreate() failed

    We are using PHP 5.2.3 with oci8 version 1.2.3 in CentOS 5.0.
    We have installed Oracle 10g in the same machine where Apache (2.2.3) is running.
    First we tried to set the Oracle environment variable in httpd.conf as
    SetEnv ORACLE_HOME u01/app/..../db_1
    SetEnv ORACLE_SID oratest.
    But we were unable to connect and got the message 'OCIEnvNlsCreate() failed'.
    Then we tried to set the environment variables in root's bash profile.
    Then it did work in PHP command line interface. But it didn't work in browser. Interestingly, getenv function shows the environment variables correctly (even in the browser).
    We also given the read and execute permissions for all users in all directories of oracle. But still it gives the same error.
    Please help.

    While trying to get new oci8 php extension to work I remember trying to set parameters using SetEnv inside apache httpd.conf or inside .htaccess file. However this is not recommended and I remember seeing some suggestions as not to use SetEnv for Oracle environment variables. I also had issues with that before. I went and added bash
    export ORACLE_HOME=... to the Apache startup script in /etc/init.d and this has resolved the problem for me.
    I hope this helps.
    Gena01

  • How to set up J2ME CLDC?

    Hi everyone,
    I downloaded the J2ME CLDC 1.0.2 and have unzipped the file, however, insides the docs folder, i could not find any information on how to set up the environment for windows to developed Palm OS applications.
    If there's anyone who knows how to do it, or where i can find such information on how to setup the cldc, pls help me. thank you =)
    Yours sincerely,
    Javier

    [JavierHo],
    If you intend to deploy J2ME based applications on a PalmOS based device, you will need to have the kVM for PalmOS, i.e. Java Application Manager, installed onto the Palmtop in order to run the MIDlet application that you develop.
    You can start your development process by downloading:
    (1) MIDP 1.0 packages at:
    http://java.sun.com/products/midp/
    At the moment, there is a beta version of the MIDP for PalmOS available for download as well.
    You use the MIDP packages to develop the MIDlet J2ME based applications for J2ME devices.
    (2) J2ME Wireless Toolkit at:
    http://java.sun.com/products/j2mewtoolkit/index.html
    This package gives you an emulator environment within an IDE tool to compile, preverify and run/test your MIDlet before you deploy your MIDlet onto a real devices. The latest version is Wireless Toolkit 1.0.3 Beta which supports the PalmOS emulator.
    (3) PalmOS emulator at : http://www.palmos.com/dev/tech/tools/emulator/
    The PalmOS emulator works in conjunction with the J2ME Wireless Toolkit i.e. when you use the Toolkit and specify the emulator env. as the PalmOS emulator to test the MIDlets that you develop.
    HTH.
    Allen Lai
    Developer Technical Support
    SUN Microsystems
    http://www.sun.com/developers/support/

Maybe you are looking for

  • Report Version 4 since Leopard Update...I can not use Ichat anymore

    Hi, It seems that there is many pb with Ichat since Leopard, does anybody know what is wrong, I think I tried everything - turn off sharing internet - change the ports - change the bandwith - add Ichat into the security etc... Any help will be apprec

  • External SATA Port Multiplier

    Hi to all, I have an HP PAVILLON DV3550EL and I would like to buy an External SATA Port Multiplier in order to connect more than one hard disk to the eSATA port, but I don't know if the laptop is esata port multiplier compatible. Can anybody tell me

  • I cant shut down my macprobook its showing error that safari should be close first but the safari not open

    i have tried to close my macbook pro .but when i ma going to shutdown its showing me error message by saying safari need to be close but the safari is already closed its not geeting shutdown just i can make my mac in sleep mode

  • Recon for Vendor Master

    HI Guru's, How to system identify the Recon account for vendor master.. what is the link between vendor master and GL.. regards Dhana

  • Extraction program error

    Hi, While loading data from ECC, the BIREQU* jobs can not be released in some cases and remains as "scheduled". This reflection to BW is an error like: "Error   8 when starting the extraction program". When we check the logs in SM21, we see the follo