JDBC setup for j2ee with Oracle

try{
Context ic = new InitialContext();
DataSource ds = (DataSource).lookup "jdbc/Oracle");
System.out.println(ds.toString());
//Here it prints out
//com.sun.enterprise.resource.JdbcDataSource@6bba64
Connection conn = ds.getConnection("movies","movies");
// On Conn, I am getting an exception
conn.close();
}catch(Exception ex){
System.out.println(ex);
Exception I am getting is
com.sun.enterprise.InvocationException
My userCongig.bat file has
set J2EE_CLASSPATH=C:\drivers\classes12.zip;
My resource.properties file has
jdbcDataSource.5.name=jdbc/Oracle
jdbcDataSource.5.url=jdbc\ racle\:thin\:@localhost\:1526\ B816
jdbcDriver.2.name=oracle.jdbc.driver.OracleDriver

Hi,
The DataSource should lookup "jdbc/OracleDS" and not
"jdbc/Orcale".
Just try this out...

Similar Messages

  • Best setup for iMac with SSD & HDD? Best location of scratch & home folders

    Best setup for iMac with SSD and HDD? Best location of scratch & home folders?
    Computer:
    iMac 2.93 GHz Quad core i7, 8GB RAM, 1 TB HDD + 256 GB SSD
    There is not much info from Apple about the best way to set up an iMac with a Hard Drive and Solid state drive. I’ve looked at a few of the forum posts across the web and came up with a plan and lots of questions. (I do use photoshop frequently, but not on a professional level):
    1. I will keep OS and Applications on SSD
    2. About moving the home folder: I saw some posts about moving the whole home folder, but it makes more sense to me to only move selected fodlers withing the home folder tomake the best use of the SSD. So will keep the home folder on SSD, but move certain folders (document /music/iphoto/download) to 1 TB HDD via instructions I found on the macintoshperformanceguide website:
    cd
    sudo cp -r Documents /Volumes/Master
    sudo rm -rf Documents
    sudo ln -s /Volumes/Master/Documents Documents
    3. I would like to get 8 more RAM when I can afford it
    4. I will attach an external hard drive for most of my documents and backup storage
    5. Now here is where I’m not sure what’s best:
    a. Should I partition my internal 1 TB hard drive and use the first partition as a scratch disc for photoshop and other applications? How much should I partition? Is there any benefit to this if the rive is partitioned?
    b. Should I use an external drive as a scratch disc?
    c. Any advice on a good 1-2 TB external drive?
    d. Should I just leave things in factory settings?
    Don't assume I know the basics - I got all the above just by searching around. Any advice and commentary is appreciatedThanks.
    Message was edited by: sfandtheworld

    Thanks for the advice and the links. yes, I would like to speed up ps as much as possible.
    I wonder if putting the scratch disc on the same drive as the OS would cause them to interfere with each other? Even if they are on different partitions, they would not be able to be accessed at the same time, or could they? That's why I was wondering if I should place scratch disc on the internal HDD -- but then I don't know how much to partition for it (or to partition at all?)
    ALso, I read on a few places that too much read/write on the SSD wears it down over time? Is this more of a theoretical concerns - it does not make sense to me since it has no moving parts!
    thanks again for the advice ... I'm gonna go digest those links

  • ISetup for use with Oracle Incentive Compensation (OIC)

    I have read conflicting reports as to whether or not iSetup would be available for use to migrate Compensation Plans (and all other OIC configurations) across instances of Oracle Apps eBusiness.
    Does anyone know if R12 (12.04) is capable of handling OIC migrations? Is there any documentation available as to how one would configure iSetup for use with OIC?
    Thanks in advance.

    Hi,
    This is Mugunthan from iSetup development. OIC is not covered as a part of standard selection sets shipped by Oracle. You may consider logging a SR (product code - 841) to get the coverage.
    If you already have java program/scripts that migrate OIC, then you can plugin them with iSetup. You can also write your own BC4J APIs for migration of OIC setups and register with iSetup.
    To know more about writing BC4J iSetup Fwk APIs, please log a SR.

  • System monitoring setup for j2ee

    Hello,
    I am seeting up system monitoring in my solution manager7.0 for XI systems. I am able to configure abap engine but not j2ee. whenver i clicked on active check mark for dispatcher and server hearbeat it is turning to red colour where as user defined alert i am able to configure. When i click on dispatcher heart beat and try to open properties it is telling you cann ot maintain properties. Could someone guide me to setup system monitoring for j2ee.
    Thanks,
    Kiran.

    Check
    http://service.sap.com/diagnostics
    Did you set up the SMD agent on your XI system?
    Markus

  • Windows Server 2008 and SQL Server 2008 R2 - ?? for replication with Oracle

    Hello:
    I am running Windows Server 2008 and SQL Server 2008 R2 - 64 bit
    I need to replicate data between the SQL 2008 and Oracle 11.2 ?? with Oracle being the publisher
    I also would lile SqlPlus installed on the server.
    I need a definite answer as to what I should download from the Oracle download area. There are just so many packages and so many version I dont know what to download.
    Thanks

    Hi,
    Currently Microsoft Windows Server 2008 and SQL Server 2008 are not supported for SAP Business One.
    For detailed information about all supported platforms, we have the following link for your reference:
    www.service.sap.com/smb/sbo >product availability > supported platforms.
    Regarding the information on the service marketplace this is updated on a regular basis and provides the most up to date information regarding the supported platforms for Business One.
    Platforms not mentioned in this documentation are not supported.
    hope it helps,
    Regards,
    Ladislav
    SAP Business One Forum Team

  • Are there any tutorials for JDeveloper with Oracle XE?

    I have downloaded a tutorial for JDeveloper over Oracle.
    In this it uses a connection to the OE (Oracles order entry database?), however it does not contain this database in the XE version.
    There is however a HR (Human resources) database which I made some connection to, but this mean you cannot realy follow the whole tutorial, which is the point of a tutorial.
    Also I read that the License to XE expires the end of next Jan, so that dosent give me much time to check it out.
    thanks.

    You have two options:
    One get the OE creation script from some other Oracle install and install them on the XE database.
    More info on where to get it is here:
    http://www.oracle.com/technology/obe/obe_as_1012/j2ee/common/obeconnection.htm
    Or just use HR tables instead - most of the tutorials simply use a master details relationship - so in OE it is usually the customer who has order - and you can adopt it to the HR schema using the departments that has employees.
    Don't know about the XE license, you might want to ask this on the XE forum.
    Shay

  • How to create reports from my existing web application on Java/J2EE with Oracle Client 10g as the backend?? Help sought for

    Our company has developed an  Web Application and we are also looking out for the development of reports using Business Objects Exterprise XI Release 2 and for this purporse I do require some help from the forum who can literally show me how to get on and working on creating the reports.

    Thats why I thought I should make the following chain in the keystore, possibly in this order.
    1. My private key (simply generated in the server)
    2. Import Root certificates from NS
    3. Import Trusted certificate issued by NS
    Then when I sign with my private key surely an association will be formed to the trusted authority certificate. The problem I'm having is when I first made my private key I used openSSL as it was only intended for HTTPS. Now I need to create a keystore so I can use jarsigner to sign the jar file, and I can't see how to create a keystore using my existing private key. Surely if I created a new key and self sign, then import the trusted certificate the association will fail, as the private key will not be the same 1 that I used to make the CSR when applying for the trusted certificate.

  • How do I set miminum # of connections for pool with Oracle and Tomcat?

    Hi,
    I can't seem to find any attribute to initialize the number of connections for my connection pool. Here is my current context.xml file under my /App1 directory:
    <Context path="/App1" docBase="App1"
    debug="5" reloadable="true" crossContext="true">
    <Resource name="App1ConnectionPool" auth="Container"
    type="oracle.jdbc.pool.OracleDataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver"
    factory="oracle.jdbc.pool.OracleDataSourceFactory"
    url="jdbc:oracle:thin:@127.0.0.1:1521:oddjob"
    user="app1" password="app1" />
    </Context>
    I've been googling and reading forums, but haven't found a way to establish the minimum number of connections. I've tried all sorts of parameters like InitialLimit, MinLimit, MinActive, etc, with no success.
    Here is some sample code that I am testing:
    package web;
    import oracle.jdbc.pool.OracleDataSource;
    import oracle.jdbc.OracleConnection;
    import javax.naming.*;
    import java.sql.SQLException;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import java.util.Properties;
    public class ConnectionPool {
    String message = "Not Connected";
    public void init() {
    OracleConnection conn = null;
    ResultSet rst = null;
    Statement stmt = null;
    try {
    Context initContext = new InitialContext();
    Context envContext = (Context) initContext.lookup("java:/comp/env");
    OracleDataSource ds = (OracleDataSource) envContext.lookup("App1ConnectionPool");
    message = "Here.";
         String user = ds.getUser();
    if (envContext == null)
    throw new Exception("Error: No Context");
    if (ds == null)
    throw new Exception("Error: No DataSource");
    if (ds != null) {
    message = "Trying to connect...";
    conn = (OracleConnection) ds.getConnection();
    Properties prop = new Properties();
    prop.put("PROXY_USER_NAME", "adavey/xxx");
    if (conn != null) {
    message = "Got Connection " + conn.toString() + ", ";
              conn.openProxySession(OracleConnection.PROXYTYPE_USER_NAME,prop);
    stmt = conn.createStatement();
    rst = stmt.executeQuery("SELECT username, server from v$session where username is not null");
    while (rst.next()) {
    message = "DS User: " + user + "; DB User: " + rst.getString(1) + "; Server: " + rst.getString(2);
    rst.close();
    rst = null;
    stmt.close();
    stmt = null;
    conn.close(); // Return to connection pool
    conn = null; // Make sure we don't close it twice
    } catch (Exception e) {
    e.printStackTrace();
    } finally {
    // Always make sure result sets and statements are closed,
    // and the connection is returned to the pool
    if (rst != null) {
    try {
    rst.close();
    } catch (SQLException e) {
    rst = null;
    if (stmt != null) {
    try {
    stmt.close();
    } catch (SQLException e) {
    stmt = null;
    if (conn != null) {
    try {
    conn.close();
    } catch (SQLException e) {
    conn = null;
    public String getMessage() {
    return message;
    I'm using a utility to repeatedly call a JSP page that uses this class and displays the message variable. This utility allows me to specify the number of concurrent web requests and an overall number of requests to try. While that is running, I look at V$SESSION in Oracle and occassionaly, I will see a brief entry for app1 or adavey depending on the timing of my query and how far along the code has processed in this example. So it seems that I am only using one connection at a time and not a true connection pool.
    Is it possible that I need to use the oci driver instead of the thin driver? I've looked at the javadoc for oci and the OCIConnectionPool has a setPoolConfig method to set initial, min and max connections. However, it appears that this can only be set via Java code and not as a parameter in my context.xml resource file. If I have to set it each time I get a database connection, it seems like it sort of defeats the purpose of having Tomcat maintain the connection pool for me and that I need to implement my own connection pool. I'm a newbie to this technology so I really don't want to go this route.
    Any advice on setting up a proper connection pool that works with Tomcat and Oracle proxy sessions would be greatly appreciated.
    Thanks,
    Alan

    Well I did some more experiments and I am able to at least create a connection pool within my example code:
    package web;
    import oracle.jdbc.pool.OracleDataSource;
    import oracle.jdbc.OracleConnection;
    import javax.naming.*;
    import java.sql.SQLException;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import java.util.Properties;
    public class ConnectionPool {
    String message = "Not Connected";
    public void init() {
    OracleConnection conn = null;
    ResultSet rst = null;
    Statement stmt = null;
    try {
    Context initContext = new InitialContext();
    Context envContext = (Context) initContext.lookup("java:/comp/env");
    OracleDataSource ds = (OracleDataSource) envContext.lookup("App1ConnectionPool");
    message = "Here.";
         String user = ds.getUser();
    if (envContext == null)
    throw new Exception("Error: No Context");
    if (ds == null)
    throw new Exception("Error: No DataSource");
    if (ds != null) {
    message = "Trying to connect...";
    boolean cache_enabled = ds.getConnectionCachingEnabled();
    if (!cache_enabled){
    ds.setConnectionCachingEnabled(true);
    Properties cacheProps = new Properties();
    cacheProps.put("InitialLimit","5");
         cacheProps.put("MinLimit","5");
    cacheProps.put("MaxLimit","10");
    ds.setConnectionCacheProperties(cacheProps);
              conn = (OracleConnection) ds.getConnection();
    Properties prop = new Properties();
    prop.put("PROXY_USER_NAME", "adavey/xyz");
    if (conn != null) {
    message = "Got Connection " + conn.toString() + ", ";
              conn.openProxySession(OracleConnection.PROXYTYPE_USER_NAME,prop);
    stmt = conn.createStatement();
    //rst = stmt.executeQuery("SELECT 'Success obtaining connection' FROM DUAL");
    rst = stmt.executeQuery("SELECT user, SYS_CONTEXT ('USERENV', 'SESSION_USER') from dual");
    while (rst.next()) {
    message = "DS User: " + user + "; DB User: " + rst.getString(1) + "; sys_context: " + rst.getString(2);
    message += "; Was cache enabled?: " + cache_enabled;
    rst.close();
    rst = null;
    stmt.close();
    stmt = null;
    conn.close(OracleConnection.PROXY_SESSION); // Return to connection pool
    conn = null; // Make sure we don't close it twice
    } catch (Exception e) {
    e.printStackTrace();
    } finally {
    // Always make sure result sets and statements are closed,
    // and the connection is returned to the pool
    if (rst != null) {
    try {
    rst.close();
    } catch (SQLException e) {
    rst = null;
    if (stmt != null) {
    try {
    stmt.close();
    } catch (SQLException e) {
    stmt = null;
    if (conn != null) {
    try {
    conn.close();
    } catch (SQLException e) {
    conn = null;
    public String getMessage() {
    return message;
    In my context.xml file, I tried to specify the same Connection Cache Properties as attributes, but no luck:
    <Context path="/App1" docBase="App1"
    debug="5" reloadable="true" crossContext="true">
    <Resource name="App1ConnectionPool" auth="Container"
    type="oracle.jdbc.pool.OracleDataSource"
    driverClassName="oracle.jdbc.OracleDriver"
    factory="oracle.jdbc.pool.OracleDataSourceFactory"
    url="jdbc:oracle:thin:@127.0.0.1:1521:oddjob"
    user="app1" password="app1"
    ConnectionCachingEnabled="1" MinLimit="5" MaxLimit="20"/>
    </Context>
    These attributes seemed to have no effect:
    ConnectionCachingEnabled="1" ; also tried "true"
    MinLimit="5"
    MaxLimit="20"
    So basically if I could find some way to get these attributes set within the context.xml file instead of my code, I would be a happy developer :-)
    Oh well, it's almost Miller time here on the east coast. Maybe a few beers will help me find the solution I'm looking for.

  • SAP Webdispatcher Setup for J2EE 640

    Dear Basis Guru's,
    I am trying to setup SAP Webdispatcher for our customer system. J2EE Instance is installed  in a hostname called javadev which is in a domain where all other SAP Instnaces are setup ( XYZ.COM). I have installed SAP Webdispatcher in a other host called webdispdev which is existing in different domain (XYZWEB.com) Firewall rules are updated and J2EE Engine ports are opened to connect to this host.
    I have generated the SSL key pair  and got it certified by Digicert CA and imported it back. Now i have to configure url re direct for this webdispatcher so tht users  can access j2ee instnce using with webdispatcher hostname , I have tried adding the web service name provided by developer to the url_filter , I can access this webservice using with http port , I cant access it using with j2eeengine https port . I have addedd https port to the webdispatcher profile and it fails to start when i add https port.
    When i compare the new setup with existing prod systems i can see https port is addedd to sapwebdisp.pfl and users able to access it successfully. Although sap webdisp installed in one host name which is in XYZWEB.COM and users are accessing it using with diff hostname  which is in XYZ.COM (Ex: webdisp host - webdispprod.XYZWEB.COM  and they are accessing it using with webdispprod.XYZ.COM) looks like ur reditect setup in DNS?? I was not invloved in prod webdisp setup and i dont have any info how it was configured.
    Please help me to fix the below issues
    1.when i add https port to sapwebdisp.pfl wedispatcher failes to start - Error posted below
    ERROR => DlLoadLib: LoadLibrary(
    webdispdev\sapmnt
    SYS\exe\run\sapcrypto.dll) Error 126 [dlnt.c       237]
    [Thr 5492]         Error 126 = "The specified module could not be found."
    [Thr 5492] *** ERROR => secudessl_LoadLibrary(): Unable to load "
    webdispdev\sapmnt
    SYS\exe\run\sapcrypto.dll" [ssslsecu.c   352]
    [Thr 5492] *** ERROR => Loading of SSL library failed -- NO SSL available!
    [Thr 5492] =================================================
    2.I should access webdispatcher using with https port
    3. How can i access webdispatcher servevr exisitng in XYZWEB.com using with XYZ.COM using https port ?
    Do you think i should generate SSL Certificates for the both XYZ.COM and XYZWEB.COM ? If so i did that but may be i did not do correctly
    Please help me , Your help is appreciated
    Thanks,
    Ravin

    Hi Ravin,
    how do you want to config ssl on your web dispatcher, termination or passing refer to http://help.sap.com/saphelp_nw70ehp1/helpdata/en/39/09a63d7af20450e10000000a114084/frameset.htm
    can you post your .pfl file here?
    1.when i add https port to sapwebdisp.pfl wedispatcher failes to start - Error posted below
    ERROR => DlLoadLib: LoadLibrary(
    webdispdev\sapmnt
    SYS\exe\run\sapcrypto.dll) Error 126 http://dlnt.c 237
    Thr 5492 Error 126 = "The specified module could not be found."
    Thr 5492 *** ERROR => secudessl_LoadLibrary(): Unable to load "
    webdispdev\sapmnt
    SYS\exe\run\sapcrypto.dll" http://ssslsecu.c 352
    Thr 5492 *** ERROR => Loading of SSL library failed -- NO SSL available!
    Thr 5492 =================================================
    Did you installed SAP crypto library at: \webdispdev\sapmnt
    SYS\exe\run\sapcrypto.dll
    2.I should access webdispatcher using with https port
    that's a business requriement you'd check with the owner.
    3. How can i access webdispatcher servevr exisitng in XYZWEB.com using with XYZ.COM using https port ?
    the ssl server certificate should be applied for the domain which is used by the end user, not your server OS configuration, in your case, I assume it should be XYZ.com

  • Directory Setup for RAC and Oracle Restart

    I have three database installations that I'd like some insight on the initial directory structure and permissions. The three installations are:
    1) Prod RAC - OEL 5U2, 11.2.0.2 Grid Infrastructure, 11.2.0.2 DB EE with RAC option
    2) Test RAC - OEL 5U2, 11.2.0.2 Grid Infrastructure, 11.2.0.2 DB EE with RAC option
    3) Single Instance - OEL 5U2, 11.2.0.2 Grid Infrastructure Standalone (Oracle Restart), 11.2.0.2 DB EE
    The they all have two users GRID (for Grid Infrastructure Software Owner) and ORACLE (for Oracle Database Software Owner).
    We had a consultant install the databases. It's very weird since we have an inconsistency in directories and permission. I want to understand the inconsistency between RAC installations as well as Oracle Restart Install.
    SEE BELOW: The two RAC servers have different owners for /u01/app/11.2.0.2 directory. The Oracle Restart Installation - Single Instance has the same owner as Prod RAC but different than Test RAC. What the consultant said was that ORACLE_BASE would be /u01/app/oracle for both Grid Infrastructure and Database installations. This was to apply to TEST/PROD RAC (3 node, 3 instances, 1 instance/node) and Oracle Restart installation. The GRID_HOME would be /u01/app/11.2.0.2/grid and ORACLE_HOME would be /u01/app/11.2.0.2/db_1. It seems like the owners aren't setup correctly. Why? I don't want problems with patching or upgrading. If this setup is technically incorrect what is the best way to setup so there's no owner/permission issues. Is it necessary to have two separate ORACLE_BASE's like /u01/app/grid?
    PRODUCTION REAL APPLICATION CLUSTER (Displaying only one Node details)
    $ cd app
    drwxr-xr-x 6 root oinstall 4096 Feb 26 2011 .
    drwxr-xr-x 3 root oinstall 4096 Apr 21 2009 ..
    drwxrwxr-x 4 grid oinstall 4096 Feb 26 2011 11.2.0.2
    drwxrwxr-x 2 emagent oinstall 4096 Feb 26 2011 emagent
    drwxrwxr-x 9 oracle oinstall 4096 May 16 2011 oracle
    drwxrwx--- 7 grid oinstall 4096 Feb 26 2011 oraInventory
    $ cd 11.2.0.2
    drwxrwxr-x 4 grid oinstall 4096 Feb 26 2011 .
    drwxr-xr-x 6 root oinstall 4096 Feb 26 2011 ..
    drwxr-xr-x 79 oracle oinstall 4096 Mar 29 2011 db_1
    drwxr-xr-x 69 root oinstall 4096 Feb 26 2011 grid
    $ cd ..
    $ cd oracle
    9 oracle oinstall 4096 May 16 2011 .
    drwxr-xr-x 6 root oinstall 4096 Feb 26 2011 ..
    drwxr-xr-x 4 oracle oinstall 4096 Feb 26 2011 admin
    drwxr-xr-x 3 oracle oinstall 4096 Feb 26 2011 cfgtoollogs
    drwxrwxr-x 2 grid oinstall 4096 Feb 26 2011 Clusterware
    drwxrwxr-x 11 grid oinstall 4096 Feb 26 2011 diag
    drwxrwxr-x 3 grid oinstall 4096 Feb 26 2011 hqrac03
    drwxr----- 3 oracle oinstall 4096 May 16 2011 oradiag_oracle
    drwxr-xr-x 3 root root 4096 Mar 13 2011 oradiag_root
    TEST REAL APPLICATION CLUSTER (Displaying only one Node details)
    $ cd app
    drwxr-xr-x 6 root oinstall 4096 Jan 26 2011 ./
    drwxr-xr-x 3 root oinstall 4096 Jan 26 2009 ../
    drwxrwxr-x 4 root oinstall 4096 Jan 26 2011 11.2.0.2/
    drwxrwxr-x 2 emagent oinstall 4096 Mar 1 2011 emagent/
    drwxrwxr-x 10 grid oinstall 4096 May 16 2011 oracle/
    drwxrwx--- 7 grid oinstall 4096 Jan 27 2011 oraInventory/
    $ cd 11.2.0.2
    drwxrwxr-x 4 root oinstall 4096 Jan 26 2011 ./
    drwxr-xr-x 6 root oinstall 4096 Jan 26 2011 ../
    drwxr-xr-x 80 oracle oinstall 4096 Mar 17 2011 db_1/
    drwxr-xr-x 70 root oinstall 4096 Jan 27 2011 grid/
    $ cd ..
    $ cd oracle
    drwxrwxr-x 10 grid oinstall 4096 May 16 2011 ./
    drwxr-xr-x 6 root oinstall 4096 Jan 26 2011 ../
    drwxr-xr-x 4 oracle oinstall 4096 Feb 2 2011 admin/
    drwxr-xr-x 4 oracle oinstall 4096 Feb 2 2011 cfgtoollogs/
    drwxr-xr-x 2 grid oinstall 4096 Jan 26 2011 Clusterware/
    drwxrwxr-x 11 grid oinstall 4096 Jan 26 2011 diag/
    drwxr-xr-x 3 grid oinstall 4096 Jan 26 2011 hqract03/
    drwxr-xr-x 3 grid oinstall 4096 Mar 23 2011 oradiag_grid/
    drwxr----- 3 oracle oinstall 4096 May 16 2011 oradiag_oracle/
    drwxr-xr-x 3 root root 4096 Jan 27 2011 oradiag_root/
    SINGLE INSTANCE DATABASE (ORACLE RESTART)
    $ cd app
    drwxrwxr-x 6 503 oinstall 4096 Feb 26 2011 .
    drwxr-xr-x 3 root root 4096 Apr 16 2009 ..
    drwxrwxr-x 4 grid oinstall 4096 Feb 26 2011 11.2.0.2
    drwxrwxr-x 8 grid oinstall 4096 Feb 26 2011 oracle
    drwxrwx--- 6 grid oinstall 4096 Feb 26 2011 oraInventory
    $ cd 11.2.0.2
    drwxrwxr-x 4 grid oinstall 4096 Feb 26 2011 .
    drwxrwxr-x 6 503 oinstall 4096 Feb 26 2011 ..
    drwxr-xr-x 76 oracle oinstall 4096 Apr 6 2011 db_1
    drwxr-x--- 69 root oinstall 4096 Feb 26 2011 grid
    $ cd ..
    $ cd oracle
    drwxrwxr-x 8 grid oinstall 4096 Feb 26 2011 .
    drwxrwxr-x 6 503 oinstall 4096 Feb 26 2011 ..
    drwxrwxr-x 5 grid oinstall 4096 Feb 26 2011 admin
    drwxrwxr-x 7 grid oinstall 4096 Feb 26 2011 cfgtoollogs
    drwxrwxr-x 2 grid oinstall 4096 Feb 26 2011 checkpoints
    drwxrwxr-x 2 grid oinstall 4096 Feb 26 2011 Clusterware
    drwxrwxr-x 11 grid oinstall 4096 Feb 26 2011 diag
    drwxrwxr-x 3 grid oinstall 4096 Feb 26 2011 hqods01
    Thanks so much.

    Hello
    I did only check prod, as that is the important one.
    i am afraid that setup is not clean. I won't use the work is wrong, but need to be normalized.
    grid oracle base need to be separate from oracle oracle base, and the grid oracle home, MUST be outside of oracle base/oracle home of the oracle user.
    In a multi user setup, the structure should be as follow.
    grid user, group oinstall, asm* groups
    oracle user, group oinstall, dba and db* groups
    The GRID install, have, grid home and oracle base
    the oracle base for grid should be, /u01/app/grid
    the grid home should be, /u01/app/11.2.0.3/grid
    the Oracle user have several homes, and oracle base
    the oracle base for oracle should be, /u01/oracle
    so, for permissions, when I create this, i do as root
    mkdir -p /u01/app/11.2.0.3/grid
    mkdir -p /u01/app/grid
    mkdir -p /u01/app/oracle
    mkdir -p /u01/app/oraInventory
    chown -R grid:oinstall /u01
    chown -R oracle:oinstall /u01/app/oracle
    then, you install grid .. you have so say oracle home is /u01/app/grid and oracle home is /u01/app/11.2.0.3/grid
    at the end, the root.sh as part of the install will take care of the permissions for oraInventory, and the rest for grid.
    when grid is installed, you can move to the oracle db install you use oracle base as /u01/app/oracle and oracle home as /u01/app/oracle/product/11.2.0.3/dbhome_1
    that will give you
    2 4 drwxr-xr-x 6 root oinstall 4096 Sep 21 03:20 /u01
    5996545 4 drwxr-xr-x 6 root oinstall 4096 Sep 18 22:58 /u01/app
    5996546 4 drwxr-xr-x 8 grid oinstall 4096 Sep 18 22:50 /u01/app/grid
    5996547 4 drwxr-xr-x 3 root oinstall 4096 Sep 18 22:30 /u01/app/11.2.0.3
    5996548 4 drwxr-xr-x 69 root oinstall 4096 Sep 21 10:52 /u01/app/11.2.0.3/grid
    5996549 4 drwxrwx--- 5 grid oinstall 4096 Oct 30 22:08 /u01/app/oraInventory
    7406840 4 drwxr-xr-x 7 oracle oinstall 4096 Oct 30 22:09 /u01/app/oracle
    7406841 4 drwxr-xr-x 3 oracle oinstall 4096 Sep 18 22:58 /u01/app/oracle/product
    7406842 4 drwxr-xr-x 6 oracle oinstall 4096 Oct 30 22:04 /u01/app/oracle/product/11.2.0.3
    7766052 4 drwxr-xr-x 77 oracle oinstall 4096 Nov 2 01:20 /u01/app/oracle/product/11.2.0.3/dbhome_1
    Each user have to use his own oracle_base, as each oracle_base will store files and folders created for logs, admin, diagnostic with different permissions and different usages, for a reason you have role separation.
    example of the content of each oracle base
    $ find /u01/app/oracle/ -maxdepth 1 -ls
    7406840 4 drwxr-xr-x 7 oracle oinstall 4096 Oct 30 22:09 /u01/app/oracle/
    7406841 4 drwxr-xr-x 3 oracle oinstall 4096 Sep 18 22:58 /u01/app/oracle/product
    8749076 4 drwxrwxr-x 3 oracle asmadmin 4096 Sep 18 23:03 /u01/app/oracle/diag
    8749064 4 drwxr-x--- 6 oracle oinstall 4096 Oct 30 22:09 /u01/app/oracle/admin
    8716289 4 drwxr-xr-x 2 oracle oinstall 4096 Oct 30 22:18 /u01/app/oracle/checkpoints
    8749061 4 drwxr-x--- 5 oracle oinstall 4096 Sep 18 23:12 /u01/app/oracle/cfgtoollogs
    $ find /u01/app/grid/ -maxdepth 1 -ls
    5996546 4 drwxr-xr-x 8 grid oinstall 4096 Sep 18 22:50 /u01/app/grid/
    7307540 4 drwxrwxr-x 4 grid oinstall 4096 Sep 18 22:49 /u01/app/grid/diag
    7307474 4 drwxr-xr-x 2 grid oinstall 4096 Sep 18 22:33 /u01/app/grid/Clusterware
    7307265 4 drwxr-xr-x 2 grid oinstall 4096 Sep 18 22:33 /u01/app/grid/checkpoints
    7307532 4 drwxr-x--- 4 grid oinstall 4096 Sep 18 22:49 /u01/app/grid/cfgtoollogs
    7406796 4 drwxr-xr-x 3 root root 4096 Sep 18 22:50 /u01/app/grid/oradiag_root
    Take care,
    Alvaro.

  • Configuring DBI for use with Oracle 8i

    We have problem while openning the connection to Oracle 8i using DBI. The error we keep getting when we run a test script is:
    DBD::Oracle object version 1.03 does not match bootstrap parameter 0.47 at directory path/DynaLoader.pm line 188.
    The same script is working fine on another computer where we have Oracle 8.05 installed.
    Probably the DBD is not installed or configured properly. Is there anything we can do to fix this problem?
    Thanks.

    Based on your description, clearly the SPA941 is not registered to a VoIP provider or a SIP server PBX. I am not familiar with the BT bussinness hub if this serves as the PBX of the VoIP network but youb are correct in saying that you need to configure the URL set up of the unit. You need to access the URL via its IP address. To know the IP address of the unit, follow this link: 
    http://linksys.custhelp.com/cgi-bin/linksys.cfg/php/enduser/std_adp.php?p_faqid=5230&p_created=11688... 
    After this, forll thw link for the registration of the VoIP information: 
    http://linksys.custhelp.com/cgi-bin/linksys.cfg/php/enduser/std_adp.php?p_faqid=16560&p_created=1211... 
    You need to also place in this field the “User ID” (usually you phone number from the VoIP provider), the password and the codec being used but youu VoIP provider. Save the settings and check in the “Info” tab if the extension is “registered”.
    If you still have the same problem, I suggest contacting Cisco Tech support to further look into your concern. I believe this unit belongs to the business series devices that Cisco is now supporting. Try to go to this link for the other business series devices and the site where you can get hold of Cisco for support: 
    http://www.cisco.com/web/products/linksys/index.html

  • Certified Operating Systems for use with Oracle Designer Repository

    Hi all,
    We have Oracle Designer Repository version 10g(9.0.4.3.14) installed on Microsoft Windows 2000. As our OS and Network team is going to migrate the OS from Windows 2000 to Windows 2003, I want to know if Windows 2003 is certified for our Designer version or not.
    Thanks in advance.
    Iman

    I think you misunderstood Mark's statement. Oracle Designer has two distinct but tightly related parts. One is the Oracle Designer Client, which is a client/server application that only runs on Microsoft Windows. The latest versions are certified for Windows XP R3, but you'll have to check the current certification matrix to see on what OSs your version of the Designer client are certified.
    The other part is the Oracle Designer Repository. This is a set of tables, views and stored procedures that are installed in an Oracle database. The Oracle database can be on any OS or hardware for which that version of the database is certified. There is a certification matrix to show the certified versions of OS and database, and a separate matrix to show certified combinations of database and repository.
    The Oracle Designer Repository and the Oracle Designer client must be matched, but basically, if you run the Repository Administration Utility against a lower version of the repository, it will give you an option to upgrade the repository to the version that is compatible with your client. If you run against a higher version of the repository, it just won't work, and you'll have to upgrade your client.
    Unfortunately, the certification matrices seem to have disappeared from OTN, so they are only available through My Oracle Support.

  • E72 Email Setup for Yahoo with Automatic Delivery

    Hi All,
    How do you set up a Yahoo email account on the E72 with automaic delivery?  I have had it setup and working for months, but I deleted and re-installed Yahoo Mail and now it asks "Do you want to add to Nokia Messanger" or check manually.  What the hell is Nokia Messenger?  Why doesn't it work as before?  How can I get it to work as before?
    I looked went to the Nokia website and checked out the Messenger site, but I cannot fathom how it works.
    I'm about to go out and smash this phone, it is so frustrating! 
    Cheers.

    @Nad2288
    What happens if you go to Menu > Email > Settings > choose mailbox > Mailbox settings > Advanced mailb. settings > Incoming & Outgoing email settings - temporarily change Access point in use to "Always ask" and see what happens on next synchronisation?
    Happy to have helped forum with a Support Ratio = 42.5

  • Where to locate HTTP Server for use with Oracle Express 10g and Apex?

    Hello,
    Im a newbie and I downloaded oracle express 10g and Apex 3.2.1. The Apex install is referencing "choosing a HTTP Server" specifically "Oracle HTTP Server and mod_plsql and the embedded PL/SQL Gateway". My question is do the HTTP server or PL SQL embedded Gateway come with the 10g install or do I need to download them seperately? If so where can I locate them?
    Thank you!

    user12027813 wrote:
    If using Oracle XE, then which APEX install scenario would I used if I downloaded both the XE and apex from the OTN?Oracle XE includes APEX 2.1 and uses the PL/SQL Gateway for HTTP service work. No separate HTTP Server is required.
    If, after you install XE, you want to upgrade to APEX 3.x, you would select the PL/SQL Gateway for the upgrade.
    If the PL/SQL Gateway (EPG) does not provide the full set of services you need, you could put a regular Apache in front and redirect to APEX for those specific issues.
    If that is to complicated, then you could license Oracle Application Server Standard Edition 1 (for a fee) to get an Oracle HTTP Server and it's mod_plsql to replace the internal EPG.

  • Oracle Database Gateway for ODBC with Oracle XE

    Dear Colleague,
    Is it possible to use the Oracle Database Gateway for ODBC in conjunction with the Oracle Express Edition (or does one have to use the Standard or Enterprise Editions)? If yes, are there any restrictions when using the Oracle Database Gateway for ODBC in the context of Oracle XE?
    Best regards,
    Randy

    Hi,
    As it says, as long as you have an RDBMS license then you do not need a separate license for DG4ODBC. If the confusion is where it says "Oracle Database Gateway for ODBC can be installed and used on a machine different" then that is just to clarify that you can run the gateway on a completely separate machine from where the licensed RDBMS is running, but you can also run DG4ODBC on the same machine where the RDBMS is installed.
    If you install 11g DG4ODBC on the same machine where you have a 10g RDBMS then it must be installed into a separate ORACLE_HOME.
    If this is still not clear then please get back and let us know exactly what you need clarifying.
    Regards,
    Mike

Maybe you are looking for

  • File type filter mystery

    I am filtering by file type because I want to make sure all of my RAW (NEF) files are converted to DNG. When I now filter by RAW within the file type I have 467 files there. These files are DNG files and I cannot figure out why they are showing up as

  • How do I get History to show entries that have an empty Name field?

    I've noticed that if you go History/Show All History , it doesn't show entries with an empty Name field. If I enter part of the location URL in the "Search History" box (such as a Goggle search) the entries are there (with a Visit Date from yesterday

  • BAPI_CUSTOMER_CHANGEFROMDATA1 message 826

    I am using BAPI_CUSTOMER_CHANGEFROMDATA1 to change only Transportation Zone.  I get msg 826 "Contact Person Address Different from company address" for some customers. I am sending: lastname, city, post code, country, langu, region, kunnr, sls org, t

  • Making a Jar with a command prompt program

    I have a non GUI interface program (strictly command prompt) and i would like to make it automatically executable, what is the best way to do so, and how do i go about doing it?

  • I'm trying to print a file from my iBook G3 that has a broken display

    I'm trying to print a document from my iBook G3 that is connected to my USB printer. How do I select the USB printer as the one I want to print to. Its recognized my printer but it is not an option to select it as the one I want to print to..