Installing IBM Websphere Advanced Edition 3.0 and connecting to Oracle 81 database

When we install IBM Websphere Advanced Edition 3.o for Solaris and try connecting to the Oracle 81 database some errors were faced as below
003.820 1ef19816 ConnectionPoo W Failure while creating connection java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(Compiled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionPool.<init>(Compiled Code)
at com.ibm.ejs.dbm.jdbcext._ConnMgrBaseImpl.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionManager.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.SMDataSource.getConnection(Compiled Code)
at com.ibm.ejs.ns.CosNaming.CreateNsTables.dbInit(Compiled Code)
at com.ibm.ejs.ns.CosNaming.NameServer.init(Compiled Code)
at com.ibm.ejs.sm.server.ManagedServer.initializeNameService(Compiled Code)
at com.ibm.ejs.sm.server.ManagedServer.initializeRuntime(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.main(Compiled Code)
003.856 1ef19816 CreateNsTable W Failed to get a connection java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(Compiled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionPool.<init>(Compiled Code)
at com.ibm.ejs.dbm.jdbcext._ConnMgrBaseImpl.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionManager.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.SMDataSource.getConnection(Compiled Code)
at com.ibm.ejs.ns.CosNaming.CreateNsTables.dbInit(Compiled Code)
at com.ibm.ejs.ns.CosNaming.NameServer.init(Compiled Code)
at com.ibm.ejs.sm.server.ManagedServer.initializeNameService(Compiled Code)
at com.ibm.ejs.sm.server.ManagedServer.initializeRuntime(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.main(Compiled Code)
004.208 1ef19816 AdminServer A Initializing WebSphere Administration server
004.228 1ef1ff18 DrAdminServer A DrAdmin available on port 36,133
004.248 1ef19816 ConnectionPoo W Failure while creating connection java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(Compiled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.Connect ionPool.<init>(Compiled Code)
at com.ibm.ejs.dbm.jdbcext._ConnMgrBaseImpl.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionManager.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.SMDataSource.getConnection(Compiled Code)
at com.ibm.ejs.sm.util.db.DBMgr.initialize(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.startConnectionMgr(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.main(Compiled Code)
004.263 1ef19816 DBMgr F Failed to create a data source: java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(Compiled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionPool.<init>(Compiled Code)
at com.ibm.ejs.dbm.jdbcext._ConnMgrBaseImpl.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionManager.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.SMDataSource.getConnection(Compiled Code)
at com.ibm.ejs.sm.util.db.DBMgr.initialize(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.startConnectionMgr(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.main(Compiled Code)
FATAL Failed to create a data source: {0} java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(Compiled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionPool.<init>(Compiled Code)
at com.ibm.ejs.dbm.jdbcext._ConnMgrBaseImpl.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionManager.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.SMDataSource.getConnection(Compiled Code)
at com.ibm.ejs.sm.util.db.DBMgr.initialize(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.startConnectionMgr(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.main(Compiled Code)
java.lang.Throwable
at java.lang.Throwable.<init>(Compiled Code)
at com.ibm.ejs.ras.CBuffLogger.fatalEvent(Compiled Code)
at com.ibm.ejs.ras.Tr.fireTraceEvent(Compiled Code)
at com.ibm.ejs.ras.Tr.fatal(Compiled Code)
at com.ibm.ejs.sm.util.db.DBMgr.initialize(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.startConnectionMgr(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.main(Compiled Code)
Please help
Thanks in Advance
null

When we install IBM Websphere Advanced Edition 3.o for Solaris and try connecting to the Oracle 81 database some errors were faced as below
003.820 1ef19816 ConnectionPoo W Failure while creating connection java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(Compiled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionPool.<init>(Compiled Code)
at com.ibm.ejs.dbm.jdbcext._ConnMgrBaseImpl.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionManager.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.SMDataSource.getConnection(Compiled Code)
at com.ibm.ejs.ns.CosNaming.CreateNsTables.dbInit(Compiled Code)
at com.ibm.ejs.ns.CosNaming.NameServer.init(Compiled Code)
at com.ibm.ejs.sm.server.ManagedServer.initializeNameService(Compiled Code)
at com.ibm.ejs.sm.server.ManagedServer.initializeRuntime(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.main(Compiled Code)
003.856 1ef19816 CreateNsTable W Failed to get a connection java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(Compiled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionPool.<init>(Compiled Code)
at com.ibm.ejs.dbm.jdbcext._ConnMgrBaseImpl.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionManager.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.SMDataSource.getConnection(Compiled Code)
at com.ibm.ejs.ns.CosNaming.CreateNsTables.dbInit(Compiled Code)
at com.ibm.ejs.ns.CosNaming.NameServer.init(Compiled Code)
at com.ibm.ejs.sm.server.ManagedServer.initializeNameService(Compiled Code)
at com.ibm.ejs.sm.server.ManagedServer.initializeRuntime(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.main(Compiled Code)
004.208 1ef19816 AdminServer A Initializing WebSphere Administration server
004.228 1ef1ff18 DrAdminServer A DrAdmin available on port 36,133
004.248 1ef19816 ConnectionPoo W Failure while creating connection java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(Compiled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.Connect ionPool.<init>(Compiled Code)
at com.ibm.ejs.dbm.jdbcext._ConnMgrBaseImpl.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionManager.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.SMDataSource.getConnection(Compiled Code)
at com.ibm.ejs.sm.util.db.DBMgr.initialize(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.startConnectionMgr(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.main(Compiled Code)
004.263 1ef19816 DBMgr F Failed to create a data source: java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(Compiled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionPool.<init>(Compiled Code)
at com.ibm.ejs.dbm.jdbcext._ConnMgrBaseImpl.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionManager.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.SMDataSource.getConnection(Compiled Code)
at com.ibm.ejs.sm.util.db.DBMgr.initialize(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.startConnectionMgr(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.main(Compiled Code)
FATAL Failed to create a data source: {0} java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.dbaccess.DBError.throwSqlException(Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(Compiled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionPool.<init>(Compiled Code)
at com.ibm.ejs.dbm.jdbcext._ConnMgrBaseImpl.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.ConnectionManager.getConnectionPool(Compiled Code)
at com.ibm.ejs.dbm.jdbcext.SMDataSource.getConnection(Compiled Code)
at com.ibm.ejs.sm.util.db.DBMgr.initialize(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.startConnectionMgr(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.main(Compiled Code)
java.lang.Throwable
at java.lang.Throwable.<init>(Compiled Code)
at com.ibm.ejs.ras.CBuffLogger.fatalEvent(Compiled Code)
at com.ibm.ejs.ras.Tr.fireTraceEvent(Compiled Code)
at com.ibm.ejs.ras.Tr.fatal(Compiled Code)
at com.ibm.ejs.sm.util.db.DBMgr.initialize(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.startConnectionMgr(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime(Compiled Code)
at com.ibm.ejs.sm.server.AdminServer.main(Compiled Code)
Please help
Thanks in Advance
null

Similar Messages

  • Using jdk1.3.1 and connecting to oracle database

    The following is my program of servlet connecting to database and viewing the data from table,
    I am getting an error of SQLException caught which i wrote in my second catch block.I didn't understand what to do.Is that i have to download jdbc seperately with jdk1.3.1 or it is there in the kit.Please give me reply.I also created my dsn ,i have my odbc loaded in my pc.
    Thanks
    import java.io.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class EmpServlet extends HttpServlet
    public void init(ServletConfig sc) throws ServletException
         super.init(sc);
    public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException,
    IOException
         Connection con=null;
         Statement st=null;
         ResultSet rs=null;
    res.setContentType("text/html");
    PrintWriter out=res.getWriter();
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con=DriverManager.getConnection("jdbc:odbc:plk","scott","tiger");
    st=con.createStatement();
    rs=st.executeQuery("select uname,upwd from userinfo");
    out.println("<html><title>empservlet</title>");
    out.println("<body>");
    out.println("<ul>");
    while(rs.next())
    out.println("<Li>" rs.getString("uname") " " + rs.getString("upwd"));
    out.println("</ul>");
    out.println("</body></html>");
    catch(ClassNotFoundException e)
              out.println("could not load database driver");
    catch(SQLException se)
              out.println("sql exception caught");
    finally
         con.close();
    }

    Instead of using the odbc driver to connect to the Oracle server, why don't you use the JDBC driver from Oracle?
    By using the ODBC driver, you need to configure two things in addition to your Java program - ODBC setup (to setup the DSN) and also the SQLnet (to connect to the oracle server).
    However, with the Oracle JDBC thin client, you just have to configure in your java program.
    I hope this helps.

  • IBM WebSphere Community Edition

    Hi,<BR><BR>Has anyone tried IBM WebSphere Community Edition with any Hyperion product? WebSphere CE is based on Apache's Geronimo J2EE server. Any good / bad experience?<BR><BR>Regards,<BR>Gerd

    step 1: find the manual
    step 2: read the manual
    step 3: understand the manual
    step 4: follow the instructions found in the manual
    problem solved (though with IBM manuals I will have to practice caution there, they're not always good but mostly the bad parts are the obscure ones).

  • Error when installing 9.0.1.4.0 patch set for the Oracle Database Server.

    Hi to all.
    Currently, i am trying to install patches for portal server.
    The server OS is Sun Solaris 8.
    We are using Oracle9iAS.
    Now, we are installing 9.0.1.4.0 patch set for the Oracle Database Server.
    We managed to install the patch, but have problem with the Post Install Action.
    We managed to run
    -ALTER SYSTEM ENABLE RESTRICTED SESSION;
    -@rdbms/admin/catpatch.sql
    -ALTER SYSTEM DISABLE RESTRICTED SESSION;
    -CONNECT / AS SYSDBA
    -update obj$ set status=5 where type#=29 and owner#!=0;
    -commit;
    But, when we come to the next command, which is to shutdown, it gives us like
    this..
    SQL> update obj$ set status=5 where type#=29 and owner#!=0;
    1402 rows updated.
    SQL> commit;
    Commit complete.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01219: database not open: queries allowed on fixed tables/views only
    We tried to startup the database..it gives us this error..
    SQL> startup
    ORA-01081: cannot start already-running ORACLE - shut it down first
    So, we tried to shutdown again..
    SQL> shutdown immediate
    ORA-01089: immediate shutdown in progress - no operations are permitted
    I been informed that this is maybe a Database problem related. Any ideas?
    Best Wishes,
    Rushdan Md Saad.

    Patchsets could be obtained (only) from http://metalink.oracle.com
    You need to have valid CSI for access.
    P.S: Sorry Werner, I didn't see you post.
    Message was edited by:
    Ivan Kartik

  • How to connect to oracle database from visual basic 2010 express edition

    I have installed visual basic 2010 express edition on windows xp. But visual basic 2010 express edition supports Microsoft sql server database file,Microsoft sql server compact 3.5, Microsoft access database file. I want to connect to oracle database from visual basic 2010 express edition. So what drivers are required and how to do connectivity?

    Hello,
    I wasn't clear on what you were using to make the connection. I had a look in Visual Studio 2010 (don't have express to test sorry).
    I think you mean the Data Sources available under the menu Data-> Datasources. this seems to match the description you give when I
    look at the list of datasource options.
    In here you can make ODBC connections via the Microsoft .net Data Provider .
    If you select ODBC as a datasource you can see listed the DSN's you created - for example I see 2 which use the Oracle ODBC driver.
    This assumes you installed an Oracle Client + the oracle version of the ODBC driver (comes with the oracle client).
    Once you created a server connection then you should see it in the server explorer.
    You can also download the Oracle Developer Tools for Visual Studio which is an add on for VS.
    ** I suspect this is only for VS 2010 and I didn't see that Express was supported.
    http://www.oracle.com/technetwork/developer-tools/visual-studio/overview/index-097110.html
    Let me know if that helps.
    John

  • Cloning and Renaming an Oracle Database

    Hi All,
    Can someone please tell me, in brief, the steps to;
    1. Create a clone of a database?
    2. Rename an existing Database?
    Any help will be greatly appreciated.
    Thanks in advance.

    Hello,
    1. Create a clone of a database?
    You can use RMAN Duplicate and if you have access to metalink you can find tons of documents and notes for cloning
    2. Rename an existing Database?
    Here is stepwise procedure to rename existing database.
    1. Take full backup (RMAN, export or datapump)
    2. Stepwise instructions (Windows but it should very similar for unix/linux as well).
    Edit tnsnames.ora entry
    orcl =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = orionnet-24d24b)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    Add new one
    ODS =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = orionnet-24d24b)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = ODS)
    C:\ set ORACLE_SID=orcl
    C:\>sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Dec 21 20:35:17 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
    SQL> select instance_name, status from v$instance;
    INSTANCE_NAME    STATUS
    orcl             OPEN
    SQL> create pfile='C:\oracle\product\10.2.0\ods\admin\pfile\initorcl.ora' from spfile;
    File Created
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount pfile='C:\oracle\product\10.2.0\ods\admin\pfile\initorcl.ora';
    ORACLE instance started.
    Total System Global Area  209715200 bytes
    Fixed Size                  1248116 bytes
    Variable Size              67110028 bytes
    Database Buffers          134217728 bytes
    Redo Buffers                7139328 bytes
    Database mounted.
    Open a new cmd session from Start-> Run -> cmd
    C:>nid TARGET=sys/whateveryourpassword@orcl DBNAME=ODS SETNAME=Y
    where orcl=old database name, ODS=new database name
    DBNEWID: Release 10.2.0.1.0 - Production on Sun Dec 21 20:43:33 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to database ORCL (DBID=2232941135)
    Connected to server version 10.2.0
    Control Files in database:
        C:\ORACLE\PRODUCT\10.2.0\ORADATA\ODS\CONTROL01.CTL
        C:\ORACLE\PRODUCT\10.2.0\ORADATA\ODS\CONTROL02.CTL
        C:\ORACLE\PRODUCT\10.2.0\ORADATA\ODS\CONTROL03.CTL
    Change database name of database ORCL to ODS? (Y/[N]) => Y
    Proceeding with operation
    Changing database name from ORCL to ODS
        Control File C:\ORACLE\PRODUCT\10.2.0\ORADATA\ODS\CONTROL01.CTL - modified
        Control File C:\ORACLE\PRODUCT\10.2.0\ORADATA\ODS\CONTROL02.CTL - modified
        Control File C:\ORACLE\PRODUCT\10.2.0\ORADATA\ODS\CONTROL03.CTL - modified
        Datafile C:\ORACLE\PRODUCT\10.2.0\ORADATA\ODS\SYSTEM01.DBF - wrote new name
        Datafile C:\ORACLE\PRODUCT\10.2.0\ORADATA\ODS\UNDOTBS01.DBF - wrote new name
        Datafile C:\ORACLE\PRODUCT\10.2.0\ORADATA\ODS\SYSAUX01.DBF - wrote new name
        Datafile C:\ORACLE\PRODUCT\10.2.0\ORADATA\ODS\USERS01.DBF - wrote new name
        Datafile C:\ORACLE\PRODUCT\10.2.0\ORADATA\ODS\TEST.DBF - wrote new name
        Datafile C:\ORACLE\PRODUCT\10.2.0\ORADATA\ODS\TEMP01.DBF - wrote new name
        Control File C:\ORACLE\PRODUCT\10.2.0\ORADATA\ODS\CONTROL01.CTL - wrote new name
        Control File C:\ORACLE\PRODUCT\10.2.0\ORADATA\ODS\CONTROL02.CTL - wrote new name
        Control File C:\ORACLE\PRODUCT\10.2.0\ORADATA\ODS\CONTROL03.CTL - wrote new name
        Instance shut down
    Database name changed to ODS.
    Modify parameter file and generate a new password file before restarting.
    Succesfully changed database name.
    DBNEWID - Completed succesfully.
    C:\>oradim -DELETE -SID orcl
    Instance deleted.
    Edit initorcl.ora file and replace "ORCL" with "ODS"
    C:>oradim -new -sid ODS -intpwd mypassword -startmode AUTO -pfile 'C:\oracle\product\10.2.0\admin\ODS\initorcl.ora'
    Instance created.
    C:\>set ORACLE_SID=ODS
    C:\>sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Dec 21 20:50:30 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup mount pfile='C:\oracle\product\10.2.0\admin\ODS\pfile\initorcl.ora';
    ORACLE instance started.
    Total System Global Area  209715200 bytes
    Fixed Size                  1248116 bytes
    Variable Size              67110028 bytes
    Database Buffers          134217728 bytes
    Redo Buffers                7139328 bytes
    ORA-01103: database name 'ODS' in control file is not 'ORCL'
    Note: If you don't modify initorcl.ora file and replace it with ODS, you will get ORA-01103 error.
    SQL> shutdown immediate;
    ORA-01507: database not mounted
    Edit initorcl.ora file and replace "ORCL" with "ODS"
    ORACLE instance shut down.
    SQL> startup mount pfile='C:\oracle\product\10.2.0\admin\ODS\pfile\initods.ora';
    ORACLE instance started.
    Total System Global Area  209715200 bytes
    Fixed Size                  1248116 bytes
    Variable Size              67110028 bytes
    Database Buffers          134217728 bytes
    Redo Buffers                7139328 bytes
    Database mounted.
    SQL>
    SQL> alter database open;
    Database altered.
    NOte: My verification if TESTUSER exists or not after database name change
    SQL> select username from dba_users;
    USERNAME
    SYS
    SYSTEM
    TESTUSER
    OUTLN
    MDSYS
    ORDSYS
    ANONYMOUS
    EXFSYS
    DBSNMP
    WMSYS
    XDB
    USERNAME
    ORDPLUGINS
    SI_INFORMTN_SCHEMA
    DIP
    TSMSYS
    15 rows selected.
    NOte: ANother test for object existence
    SQL> select table_name from dba_tables where owner='TESTUSER';
    TABLE_NAME
    TESTME
    MY_OBJECTS
    Note: Final test
    SQL> select count(*) from testuser.my_objects;
      COUNT(*)
         38174Regards

  • Using php to connect to Oracle Database 11g Release 2 Enterprise Edition EE

    Greetings everyone!
    Please i dont know how to connect to Oracle Database 11g Release 2 Enterprise Edition with php even though i connected with php successfully with Oracle Database 11g Express Edition with the php code below. can someone help please...Note im referring to oracle EE not XE.
    define('ORA_CON_UN', 'hr'); // User name
    define('ORA_CON_PW', 'Adlibs14$'); // Password
    define('ORA_CON_DB', '//localhost/EE'); // Connection identifier
    // use constants defined in anyco_cn.inc
    $conn = oci_pconnect(ORA_CON_UN, ORA_CON_PW, ORA_CON_DB);
    if (!$conn) {
    db_error(null, __FILE__, __LINE__);
    Edited by: user11273096 on Jul 15, 2011 12:03 AM

    Find the hostname and service name of the database and use those values in the ORA_CON_DB constant.
    Use 'lsnrctl status' on the database host to find the service name.
    If you use a "tns" alias, you may need to create a tnsnames.ora file where PHP can access it.
    Set the environment variable TNS_ADMIN (on Linux) to the directory containing the file.
    See the section "Oracle Database Name Connection Identifiers" p 102 of the free book
    http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html

  • Difference between upgrdae and migration about oracle database

    Difference between upgrdae and migration about oracle database
    please give the comments

    Well, the question is almost philosophic...<br>
    In 9i, there is a Migration Guide whereas in 10g there is a Upgrade Guide.<br>
    Furthermore, in 9i, there is the command line startup migrate whereas in 10g that's startup upgrade.
    Somebody think upgrade when go to new release, and migration when go to new version.<br>
    Others think upgrade when new version replace database in place, and migration when new version include a move of database.<br>
    Another point of view is : upgrade is for technical, and migration for application/data.<br>
    <br>
    Well, after these explanations, your upgrade/migratation notion will not be more clear, but I think that is not very important, only a terminology game. The most important is to know what you need : new version or new release.<br>
    <br>
    Nicolas.

  • Convert flat file to XML document and store into Oracle database

    First:
    I have a flatfile and created external table to read that file in Oracle
    Now I want to create an XML document for each row and insert into Oracle database, I think that XMLtype.
    Could you please provide me some information/steps.
    Second:
    Is there performance issues, because everyday I need to check that XML document stored in the database against the in coming file.
    Thank You.

    Oracle 11g R2 Sun Solaris
    Flat file is | (pipe delimited), so I did create an EXTERNAL Table
    row1     a|1|2|3|4
    row2     b|2|3|4|5
    row3     c|6|7|8|9
    I want to store each record as XML document. So it will be easy to compare with next day's load and make insert or update.
    The reason is:
         First day the file comes with 5 columns
         after some days, the file may carry on some additional columns more than 5
         In this case I do not want to alter table to capture those values, if I use XML than I can capture any number of columns, CORRECT!. Please make me correct If I am wrong.
         This is the only reason to try to use the XMLType (XML Document)
         On Everyday load we will be matching these XML documents and update it if there is any column's value changes
    daily average load will be 10 millions and initial setup will be 60-80 millions
         Do I have anyother option to capture the new values without altering the table.
    Please advise!.

  • Read data from Excel and write into oracle database

    Hi
    I want  to know how can i read data from excel and write into oracle database using java.Kindly help me out to find a solution.
    Thanks and Regards
    Neeta

    Hai,
    I am suggesting the solution.
    I will try out and let u know soon.
    Make a coma separated file from your excel file.
    Assuming that your requirement allows to make a csv file.
    This file may be passed as an file object to be read by java.Using JDBC you must be able to populate the data base.You can also use String Tokenizer if needed.
    You do not want to  go via sql Loader?
    For reading the excel file itself do you want java?

  • Using php to connect to Oracle Database 11g Release 2 Enterprise Edition

    Greetings everyone!
    Please i dont know how to connect to Oracle Database 11g Release 2 Enterprise Edition with php even though i connected with php successfully with Oracle Database 11g Express Edition with the php code below. can someone help please...
    define('ORA_CON_UN', 'hr'); // User name
    define('ORA_CON_PW', 'Adlibs14$'); // Password
    define('ORA_CON_DB', '//localhost/XE'); // Connection identifier
    // use constants defined in anyco_cn.inc
    $conn = oci_pconnect(ORA_CON_UN, ORA_CON_PW, ORA_CON_DB);
    if (!$conn) {
    db_error(null, __FILE__, __LINE__);
    Edited by: user11273096 on Jul 14, 2011 3:41 PM

    Note that this forum is for XE Beta, not EE.
    Can you connect from some other client tool, such as sqlplus?
    There's a {forum:id=178} forum that may be more suitable, if basic connectivity outside php works (i.e. issue is only php specific).

  • Database Web Services and OC4J in Oracle Database Standard Edition

    Hi all,
    Oracle Database Standard Edition has database web services, which require OC4J if the database is to be used as web service provider. So, can OC4J be used in production with Oracle Database Standard Edition?
    Thank you for this clarification :)
    Mitko

    Yes. :)

  • Connecting to Oracle Database 10g Express Edition

    Hello guys,
    Im running Windows XP SP2.
    Ive just installed Oracle SQL Developer and Oracle Database 10g Express Edition.
    Im trying to connect via SQL Developer with:
    hr/hr (yes, ive unlocked this user)
    localhost:1521
    sid:orcl
    but then it says:
    "Status: Failure -Listener refused the connection with the following error:ORC-12505, TNS:listener does not currently know of SID given in connect descript..."
    i guess its smth wrong with my SID.
    Im total newbie to oracle, keep that in mind.
    Please help!

    The default SID for Oracle Database 10g Express Edition is XE.

  • Resource estimation/Sizing (i.e CPU and Memory) for Oracle database servers

    Hi,
    I have came across one of the requirement of Oracle database server sizing in terms of CPU and Memory requirement. Has anybody metalink notes or white paper to have basic estimation or calculation for resources (i.e CPU and RAM) on based of database size, number of concurrent connections/sessions and/or number of transactions.
    I have searched lot on metalink but failed to have such, will be great help if anybody has idea on this. I'm damn sure it has to be, because to start with implementation of IT infrastructure one has to do estimation of resources aligned with IT budget.
    Thanks in advance.
    Mehul.

    You could start the other way around, if you already have a server is it sufficient for the database you want to run on it? Is there sufficient memory? Is it solely a database server (not shared)? How fast are the disks - SAN/RAID/local disk? Does it have the networking capacity (100mbps, gigabit)? How many CPUs, will there be intensive SQL? How does Oracle licensing fit into it? What type of application that will run on the database - OLTP or OLAP?
    If you don't know if there is sufficient memory/CPU then profile the application based on what everyone expects, again, start with OLTP or OLAP and work your way down to the types of queries/jobs that will be run, number of concurrent users and what performance you expect/require. For an OLAP application you may want the fastest disks possible, multiple CPUs and a large SGA and PGA (2-4GB PGA?), pay a little extra for parallel server and partitioning in license fees.
    This is just the start of an investigation, then you can work out what fits into your budget.
    Edited by: Stellios on Sep 26, 2008 4:53 PM

  • Trying to add oinstall and dba (for Oracle Database and Enterprise Manager) to my LDAP account

    I want to add groups to my LDAP user account abc. Currently I have uid=243782(abc) gid=10(wheel) groups=1275(nsn-emp),9834(nsn-moh),10(wheel), but I want groups oinstall, oper and dba added.
    According to the database installation document, local os group must include oinstall and dba.
    The following local operating system groups and users are required if you are
    installing Oracle Database:
    ■ The Oracle Inventory group (typically, oinstall)
    ■ The OSDBA group (typically, dba)
    ■ The Oracle software owner (typically, oracle)
    I tried to add abc groups oinstall and dba using root user, but it failed.
    Could you please inform me how to add these groups?
    Thanks.
    lf

    Folks,
    Hello. Thanks a lot for replying. I do the following command: [user@localhost bin]$ wget http://localhost.localdomain:1158/em
    The command returns the message:
    --11:36:33-- http://localhost.localdomain:1158/em
    Resolving localhost.localdomain... 127.0.0.1
    Connecting to localhost.localdomain|127.0.0.1|:1158... connected.
    HTTP request sent, awaiting response... 200 No headers, assuming HTTP/0.9
    Length: unspecified
    Saving to: `em'
    [ <=>                                                                                                              ] 7 --.-K/s in 0.002s
    11:36:33 (4.15 KB/s) - Read error at byte 7 (Connection reset by peer).Retrying.
    --11:36:34-- (try: 2) http://localhost.localdomain:1158/em
    Connecting to localhost.localdomain|127.0.0.1|:1158... connected.
    HTTP request sent, awaiting response... 200 No headers, assuming HTTP/0.9
    Length: unspecified
    Saving to: `em.1'
    100%[=================================================================================================================>] 7 --.-K/s in 0s
    11:36:34 (16.8 KB/s) - Read error at byte 7 (Connection reset by peer).Retrying.
    The above message repeats again and again until finally returns the following message:
    11:39:02 (40.2 KB/s) - Read error at byte 7 (Connection reset by peer).Giving up.
    In browser, http://localhost.localdomain:1158/em cannot display and pop up a Windows with the message: You have chosen to open whicn is BIN file from http://localhost.localdomain:1158 What sholud FireFox do with this file ? Save to Disk ?
    My question is:
    I don't know how to display http://localhost.localdomain:1158/em in Browser. How to solve the issue ?
    Thanks.

Maybe you are looking for

  • Transporting a Web Dynpro Application

    Hello Friends,                      Transporting a webdynpro application, is it similar to usual transport for any other ABAP development. How to call Code Wizard in the editior. Cheers, Sam

  • How do I make it so firefox can only go to 1 website?

    I have an environment that only allows the users to work off 1 website and they want everything else locked out. How do I do this with in Firefox?

  • How do I recreate an iPhoto library?

    I am having trouble printing an iPhoto book on my iMac and so I decided to move the library that it was in to my laptop (it worked for the last book). Instead of just moving it over the local network, I dragged the library to Dropbox. There it is sto

  • Java.lang.LinkageError in SessionBean

    I get this error: Error occurred in server thread; nested exception is: java.lang.LinkageError: Class org/jdom/Document violates loader constraints I try to call method from SessionBean like this: org.jdom.Document doc = home.getJDOMDocument(); Remot

  • Scaling factors for queries with cell references

    Hello Experts, We have this issue, we have queries which have 2 global structures with the cell references for few of the elements of rows and columns structure. we need the scaling factors and currencies of the query which are defined in the rows an