Oracle 9i database service

hi guys,
can u tell me how to create a oracle database service in 9i(not net service name) after installation.also how do i associate this service name with the existing database.( again not net service name)

Hi,
If you mean an Operating system service (Windows systems) you can use the ORADIM command. You can see the syntax by typing ORADIM from a dos window.
Paolo

Similar Messages

  • How to use the Oracle Cloud Database Service

    Hi,
    I got the trial version of Oracle cloud Database service. How to use that?
    I wanted it to deploy the schema for my application. It needs the db to be pingable. I should be able to ping the db using the tnsping command.
    Can any body help in this regard?
    Regards
    Anil

    Anil -
    You cannot communicate with the Database Cloud Service from outside the Public Cloud with SQL*Net or over TCP/IP, as explained in the FAQ, located here https://cloud.oracle.com/mycloud/f?p=service:database_faq:0:::::.   The Database Cloud Service is a PaaS, not a DBaaS, so you won't be able to ping it in the way you describe.
    Hope this helps.
    - Rick Greenwald

  • Application deployed on Oracle Java Cloud Service - SaaS Extension is not connecting with cloud database.

    Hello Experts,
    I have deployed an ADF application on Oracle Java Cloud Service - SaaS Extension and also deployed database objects from local environment to cloud using JDeveloper. I can see the cloud database has tables and data which I have deployed but when I access the application it seems it is not able to connect with cloud database.
    I have followed below document and same sample application (HRSystem). 
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/JDeveloperPart1/jdeveloperPart1.html
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/JDeveloperPart2/jdeveloperPart2.html
    Please guide me what can be the issue.
    Regards
    Gulam Dyer

    Hi,
    Can you give us more details about your issue? Any error messages?
    Thanks,
    Bogdan

  • Database Service Name or Global Database Name with Oracle 10G, when Oracle

    I have an old installation of Oracle 9i (SID=ORCL) and now have installed Oracle 10G (SID=ORC2). I can get connection to Oracle 10G if i define it as an Oracle 8 compatible identification (ie I access to a SID, and don´t provide a Service Name.
    Now I want to install Oracle HTML DB, and succeeded to install the SQL-script that came with the download, but when I install Apache and HTML DB from the Oracle Companion CD I am asked to give the Database Service Name (in the Help it is explained as the Global Database Name).
    When i give the Net Service Name I get error messages (incomprehensible).
    When I look in Net Manager, the Net Service Name does not have a Service Name, but only points to a SID (ie ORC2).
    Where can I find the Database Service Name (or Global Database Name), OR define it if it is not defined??
    Thanks for your help,

    create a net service for oracle10g and provide the name of this service during HTML DB installation it is required for installation.

  • What is the function of _xdb and _xpt services in oracle 10g database.

    what is the function of xdb and xpt services in oracle 10g database.?

    Hi,
    If you are troubleshooting check the below link too:
    Issues installing.  Listener not working
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com/

  • Data services connectivity with Oracle 8i database

    Query 1:
    We are using Data services XI R3 for pulling data from Oracle 8i data soure to Oracle 10g target.
    Our repository is also a 10g database.
    We created a datastore for 8i source and tried to import the table.
    Below is the error that we get when try to import the table:
    Error: Cannot import metadata.
    Oracle <....> error message for operation <OCIStmtExecute> : <ORA-00904: Invalid column name>..(BODI-1112338)
    While creating datastore, we entered database type as Oracle.
    We were able to import the table with same 8i source , target and repository of 10g version by using Data Integrator XI R2 tool but when we try the same thing with Data services, we are getting this error.
    Any other alternative other than using System DSN?
    Query 2:
    Also,is there any performance impact if we use ODBC System DSN name as the data source instead of Oracle while creating data store in Data services XI R3?
    We have used DSN since we were not able to import table from Oracle 7 and 8i databases(source) into repository (Oracle 10g) if we give Oracle as the data source. Target database is also Oracle 10g database.
    Edited by: Amardeep Pandey on Jun 26, 2009 8:51 AM

    the following issue is fixed in XI 3.2, you will be able to import the tables, but Oracle 8i and 7 are not supported oracle datastore versions, you will have to select oracle 9i in the datastore
    Oracle <....> error message for operation <OCIStmtExecute> : <ORA-00904: Invalid column name>..(BODI-1112338)
    no there is no other alternate than using ODBC

  • Database access from Oracle Java Cloud Service application

    I have registered for Oracle Java Cloud Service for trial period. I want to deploy a Spring MVC 3.2 and Hibernate 4.0 web application.
    I created a table in the Database Cloud. I am not sure how do I access the Database Cloud Service from my application.
    Need your guidance/pointers/references that can help me establish connection from my application to the database.
    Thanks,
    Ujjwal

    Hi,
    Use JPA - see the visitors example, it uses @PersistenceUnit injection with previously weaved .class entity files.
    You can use application managed EMF's and EntityManagers with code like the following - which is not preferable to using @PersistenceContext injection on an @Stateless session EJB but...
              EntityManagerFactory emf = Persistence.createEntityManagerFactory("JPAServletPU");
              EntityManager em = emf.createEntityManager();
              EntityTransaction transaction = null;
              try {
                   transaction = em.getTransaction();
                   transaction.begin();
                   Visitor entity = new Visitor();
                   entity.setName(name);
                   entity.setNum(num);
                   em.persist(entity);
                   transaction.commit();
                   System.out.println("Committing: " + entity);
              } catch (Exception e) {
                   e.printStackTrace();
              } finally {
                   em.close();
                   emf.close();
    Use a persistence.xml like the following
    <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
    <persistence-unit name="JPAServletPU" transaction-type="JTA">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
         <!--https://cloud.oracle.com/mycloud/f?p=5300:1000:259334829915901-->
    <jta-data-source>database</jta-data-source>
    <class>com.vision.cloud.jpa.Visitor</class>
    <exclude-unlisted-classes>false</exclude-unlisted-classes>
    <properties>
         <property name="eclipselink.target-database" value="Oracle10g" />
    <property name="eclipselink.ddl-generation" value="create-tables"/>
    <!-- property name="eclipselink.ddl-generation" value="drop-and-create-tables"/-->
    </properties>
    </persistence-unit>
    </persistence>
    Check out a tutorial on WebLogic JPA ORM usage here to get started as well.
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial

  • How to let SOA Suite automatically start Oracle Database services if necess

    It occurs from time to time that I forget to start Oracle database services
    before I start Soa Suite. Can I somehow let SOa Suite startup script check in advance
    if Oracle database services need to be started (and start them automatically if necessary)?
    Peter

    Hi,
    This is a familiar issue. I've come up with the following solutions.
    1) On my linux machine, I start the database (EE) and soa suite at boot time using /etc/oratab.
    2) On my windows machine, I start the database (XE) at boot time, as a service that automatically starts. The soa suite is started manually. I could start the suite automatically as a service also, but because it takes up so much memory and I do not always want to run the suite, I prefer to start manually. In any way, the database is started automatically before the soa suite.
    Hope this will help you.
    Kind regards,
    H

  • Problem Oracle 10g database Installation on Windows 2003 Server

    Hi All,
    I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
    I double-insured that there is enough disk-space and I am also in the Administrators-Group.
    Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
    Regards
    Muhammad Shoaib

    898118 wrote:
    Hi All,
    I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
    I double-insured that there is enough disk-space and I am also in the Administrators-Group.
    Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
    Regards
    Muhammad ShoaibOracle really doesn't like to be installed into directories with spaces in their names.

  • 11gR2 Install Error, Listener is not up or database service is not registered with it

    Hi all,
    I'm currently studying towards my OCA, I've passed 1z0-051 (SQL Fundementals I), and now I'm moving onto 1z0-052 (Admin 1).
    Im really having trouble creating a database in Oracle 11g R2 Enterprise Edition. I install the software no problem. Then I create a database, and during the creation I have to createsa listener which uses TCP (default port:1521) and IPC. whilst creating the database I get the following error
    'Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM configuration Assistant again.'
    Now, before you lynch me, I have searched this forum for answer to this for a day and a half. I've also tried google, i just can't find a answer that sorts out my problem. please assist me.
    I'm running on Windows 7 Professional (32bit) (I have previously tried on the 64 bit version with teh same results).
    Here's teh contents of my listener.ora file:
    # listener.ora Network Configuration File: C:\app\Damien\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\Damien\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\Damien\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = ipc))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.4)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    ADR_BASE_LISTENER = C:\app\Damien
    Here's the contents of my tsnames.ora:
    # tnsnames.ora Network Configuration File: C:\app\Damien\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Here is the last fe lines of my emConfig.log:
    Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: orcl, oracleHome: C:\app\Damien\product\11.2.0\dbhome_1, and user: SYSMAN
    Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
    CONFIG: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1655)
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1903)
    at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:3230)
    at oracle.sysman.emcp.EMReposConfig.unlockMGMTAccount(EMReposConfig.java:1001)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:346)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
    at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
    at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
    at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
    at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
    at java.lang.Thread.run(Thread.java:595)
    Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
    Refer to the log file at C:\app\Damien\cfgtoollogs\dbca\orcl\emConfig.log for more details.
    Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
    at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:3245)
    at oracle.sysman.emcp.EMReposConfig.unlockMGMTAccount(EMReposConfig.java:1001)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:346)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
    at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
    at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
    at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
    at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
    at java.lang.Thread.run(Thread.java:595)
    Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to C:\app\Damien\product\11.2.0\dbhome_1\oui
    My Listner status output is here:
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-JAN-2014 10:14:39
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=ipc)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                18-JAN-2014 09:27:34
    Uptime                    0 days 0 hr. 47 min. 6 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\Damien\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         c:\app\damien\diag\tnslsnr\LONDON\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\ipcipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.4)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    I can login as sys into my database through sqlplus, so it seems the database is up and running, it just seems to be a listener problem maybe??
    Many thanks for any assistance that you give. I'm learning so be gentle...
    Damien

    SOLVED!
    OK all solved now, thanks to the link to Ed Stevens website that Baris posted (mucho respect )
    Seems that like Barus said I was not using Dynamic Registration, which means that I would need to manua
    ly update the listerner.ora file. On top of that it seems that for some my tnsnames.ora wasn't resolving mt database name so the tnsping wasfailing.
    What I did to solve the name resolution problem
    1. Opened the
    Network Configuration Assistant and saw that my listener didnt have my DB registered with it. So I added it. What this horrible GUI tool does is update the tnsnames and listener.ora files for you. So once that was done I went to the command prompt and did ;'tnsping <dn name> and hey presto it was getting a nice response.
    Then I re-ran my DB Configuration Assistant and tried to reconfigure my database. However it aing failed and gave me the same message that I was originally getting about the DB Service not being registered etc..the lister status still said that same thing:
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    the 'unknown' means that the DB  didnt tell the listener that it was there but instead the listener is in manual mode and will just use the configuration in the listener.ora to know where the DB is.
    So then I followed the steps on the ED Stevens website (follow the link). He has steps which show how to enable Dynanmic registration so that your DB regusters itself with the listener. In a nutshell, he states that he listener actually doesnt need the listerner.ora if using dynamic registration. I shutdown the DB, stopped the listener then I renamed the lsitener.ora to listerner.old, then started the lietener and checked the status and it said 'the listener supports no service' I then started the DB and, then resched teh listener status, it then read 'status: READY'... hooray!, the DB had dynamically registered itself with the listener. I then was able to successfully start up and run Enterprise Manager.
    Thanks for all your help Baris, and Ed Steven website.
    I know more now than when I started so I'm happy.
    Thanks.

  • Install on vista with Oracle Lite Multiuser Service -  SERVICE_START_PENDIN

    Hi all,
    I'm trying to install app server 10.1.3 on Vista, but on Configuration assistant screen, it stops at BPEL process manager configuration manager ,
    error in oraInstall.err:
    C:\Users\victoria\AppData\Local\Temp>echo updating ODBC.ini
    updating ODBC.ini
    C:\Users\victoria\AppData\Local\Temp>echo off
    C:\Users\victoria\AppData\Local\Temp>echo updating ODBCINST.ini
    updating ODBCINST.ini
    C:\Users\victoria\AppData\Local\Temp>echo off
    C:\Users\victoria\AppData\Local\Temp>echo updating POLITE.ini
    updating POLITE.ini
    C:\Users\victoria\AppData\Local\Temp>echo off
    C:\Users\victoria\AppData\Local\Temp>exit
    Oracle JAAS [Mon May 18 08:36:05 GMT 2009] admin password is changed successfully
    opmnctl: starting opmn and all managed processes...
    OliteService reports the following status:
    The service is installed.
    OliteService reports the following status:
    The service start pending.
    The current status of Oracle Lite Multiuser Service:
    Current State : SERVICE_START_PENDING
    Acceptable Control Code : (0x0)
    installaction.log:
    BUILD SUCCESSFUL
    Total time: 3 minutes 35 seconds
    C:\product\10.1.3.1\OracleAS_1\bpel\samples>ENDLOCAL
    BUILD SUCCESSFUL
    Total time: 4 minutes 43 seconds
    Exit: 0
    TASK: oracle.tip.install.tasks.UpdateConfigFiles
    Updating configuration files ...
    Exit: 0
    TASK: oracle.tip.install.tasks.RegisterOlite
    Registering Olite ...
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OB_HOME=C:\product\10.1.3.1\OracleAS_1\bpel
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OLITE_LIB=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OLITE_BIN=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set PATH=C:\product\10.1.3.1\OracleAS_1\jdk\bin;C:\product\10.1.3.1\OracleAS_1\ant\bin;C:\oracle\product\10.2.0\db_1\bin;C:\app\product\11.1.0\db_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\product\10.1.3.1\OracleAS_1\MOBILE\sdk\bin;C:\product\10.1.3.1\OracleAS_1\jdk\jre\bin\server
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set CLASSPATH=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olite40.jar;C:\product\10.1.3.1\OracleAS_1\MOBILE\Sdk\bin\OLITE40.JAR;
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /stop
    OliteService reports the following status:
    The service stop is pending.
    OliteService reports the following status:
    The service is stopped.
    The current status of Oracle Lite Multiuser Service:
    Current State : SERVICE_STOPPED
    Acceptable Control Code : (0x0)
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /remove
    OliteService reports the following status:
    The service is removed.
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /install
    OliteService reports the following status:
    The service is installed.
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /start
    OliteService reports the following status:
    The service start pending.
    OliteService reports the following status:
    The service is running...
    port = 1531
    wdir = C:\Windows\system32
    The current status of Oracle Lite Multiuser Service:
    Current State : SERVICE_RUNNING
    Acceptable Control Code : (0x1) SERVICE_ACCEPT_STOP
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>mkdir "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite"
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>del /f "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb"
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>"C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\createdb.exe" orabpel "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb" manager
    Database C:\PRODUCT\10.1.3.1\ORACLEAS_1\BPEL\SYSTEM\DATABASE\OLITE\ORABPEL.odb created (VolID = 1736).
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>exit 0
    Could Not Find C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb
    Oracle Lite CREATEDB Version 10.2.0.2.0.
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Exit: 0
    TASK: oracle.tip.install.tasks.DeployApps
    Deploy applications and adapters
    Port value is 6003
    Buildfile: bpminstall.xml
    init-midtier:
    Trying to override old definition of datatype echoproperties
    common_update_server.xml:
    Adding shared library apache.junit ...
    Adding shared library oracle.db.lite ...
    Adding shared library apache.commons 10.1.3 ...
    Adding shared library apache.jdom ...
    Adding shared library apache.slide ...
    Running batch script by:
    java admin_client.jar deployer:oc4j:opmn://victoria-PC:6003/home -script C:\product\10.1.3.1\OracleAS_1\bpel\system\services\install\ant-tasks/bpel_admin_client_script_sl.txt
    Failed at "Could not get DeploymentManager".
    This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
    More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
    update_server.xml:
    restart.container:
    Stopping home container ...
    opmnctl: stopping opmn managed processes...
    ================================================================================
    opmn id=victoria-PC:6200
    no processes or applications matched this request
    Restarting home container ...
    opmnctl: starting opmn managed processes...
    ================================================================================
    opmn id=victoria-PC:6200
    0 of 1 processes started.
    ias-instance id=oapp1013.victoria-PC
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    default_group/home/default_group/
    Error
    --> Process (index=1,uid=503452990,pid=3000)
    failed to start a managed process after the maximum retry limit
    Log:
    C:\product\10.1.3.1\OracleAS_1\opmn\logs\\default_group~home~default_group~1.log
    init-midtier:
    Setting up the dehydration store [olite]...
    dehydrationStore:
    Configuring data sources for olite dehydration store ...
    Deploying ORABPEL Applications...
    deploy-applications:
    Deploying Oracle BPEL Process Manager ...
    Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
    Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
    Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
    Updating jar: C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib\orabpel.ear
    Running batch script by:
    java admin_client.jar deployer:oc4j:opmn://my-PC:6003/home -script C:\product\10.1.3.1\OracleAS_1\bpel\system\services\install\ant-tasks/bpel_deployapps.txt
    Failed at "Could not get DeploymentManager".
    This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
    More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
    Please advise what's wrong?
    thanks
    andrew

    The following procedure describes the steps required to deploy the DbAdapter.rar file using admin_client.jar:
    1. Copy the following libraries from server.xml in an OC4J_SOA container to a server.xml file for a new
    container:
    oracle.bpel.common
    apache.junit
    oracle.db.lite
    apache.commons
    apache.jdom
    apache.slide
    For example, for oracle.bpel.common, copy the following extract from one server.xml to another and
    do the same for all other libraries:
    <shared-library name="oracle.bpel.common" version="10.1.3">
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/classes"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-common.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-thirdparty.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bpm-infra.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/wdk.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/connector15.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-exts.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-ant.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/ant_1.6.5.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bipres.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bicmn.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/uix2.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/jewt4.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/regexp.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/share.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jdk/lib/tools.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/ldapjclnt10.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/schema"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/config"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/bpm-services.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/wfapi.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/fndctx.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/phaos.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/pushapi.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/oracle_http_client.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/uddiclient_api_v3.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/wasp.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/uddiclient_core.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/saaj.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/jaxm.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/builtin_serialization.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/core_services_client.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/jaxrpc.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/rl.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/rulesdk.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/webdavrc.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/jr_dav.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/webservices/lib/wsif.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/oraesb.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/bpm-ide-common.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/rdbms/jlib/xdb.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/ide.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/javatools.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/xmleditor.jar"/>
    <import-shared-library name="oracle.dms"/>
    <import-shared-library name="oracle.jdbc"/>
    <import-shared-library name="oracle.xml"/>
    <import-shared-library name="oracle.jwsdl"/>
    <import-shared-library name="soap"/>
    <import-shared-library name="oracle.ws.client"/>
    <import-shared-library name="oracle.toplink"/>
    <import-shared-library name="apache.junit"/>
    <import-shared-library name="oracle.db.lite"/>
    <import-shared-library name="apache.commons.logging"/>
    <import-shared-library name="oracle.cache"/>
    <import-shared-library name="apache.commons"/>
    <import-shared-library name="apache.slide"/>
    <import-shared-library name="apache.jdom"/>
    </shared-library>
    2. Restart the container to make sure that server.xml was updated correctly.
    3. From the configtools.log file find the opmn port number, for example:
    deployer:oc4j:opmn://dimak.au.oracle.com:6012/home
    dimak.au.oracle.com - is the machine name and
    6012 - port number
    4. Launch a new command prompt
    and set path and classpath, for example:
    set PATH=$ORACLE_HOME\jdk\bin;%PATH%
    set classpath=.
    where in the classpath there is only one entry - the dot, which stands for the current directory.
    5. change directory to the following:
    $ORACLE_HOME\j2ee\home
    and run the following command (written all on one line) to deploy the DbAdapter:
    java -jar admin_client.jar deployer:oc4j:opmn://dimak.au.oracle.com:6012/test oc4jadmin
    manager1 -deploy -file $ORACLE_HOME\integration\esb\lib\DBAdapter.rar -deploymentName
    DbAdapter2 -parent default
    where
    * dimak.au.oracle.com should be substituted with your machine name
    * 6012 should be substituted with your port which you found in step 3
    * test is the name of the container you want to deploy the adapter to
    * manager1 should be substituted with your oc4jadmin password
    * $ORACLE_HOME\integration\esb\lib\DBAdapter.rar is the location of the DBAdapter.rar file
    * deploymentName DbAdapter2 - should be different from DbAdapter, as that name is already used in the OC4J_SOA container.

  • Restore Oracle XE database to another machine

    I have an oracle XE database on a Windows XP machine, and I want to copy it to a Windows 7 machine.
    On the XP, I performed a backup through the "Backup Database" from the GUI (BACKUP.BAT). The Oracle backup created 3 new folders underneath C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\
    ARCHIVELOG
    AUTOBACKUP
    BACKUPSET
    I installed XE on the Windows 7 machine and it seems to work well.
    Then I coped the 3 backup folders onto a jump drive and put them in the corresponding folder structure on the new Windows 7 machine. I ran the Restore from the GUI as an administrator (RESTORE.BAT). The restore failed, and I can't seem to figure out why. I'm not sure what the Sequence Numbers are all about.
    Now I can't get into Apex or Apex_Admin
    Thanks for taking a look at this.
    The contents of the OXE_RESTORE file are as follows:
    Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:33:11 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Windows NT Version V6.1
    CPU : 8 - type 586, 4 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:6031M/8183M, Ph+PgF:13737M/16364M, VA:1973M/2047M
    Starting with debugging turned off
    connected to target database: xe (not mounted)
    RMAN> set echo on;
    2> restore (spfile from autobackup db_recovery_file_dest='C:\oraclexe\app\oracle\flash_recovery_area\');
    3> startup nomount force;
    4> restore (controlfile from autobackup);
    5> alter database mount;
    6> configure controlfile autobackup off;
    7> restore database;
    8>
    echo set on
    Starting restore at 08-JAN-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=37 devtype=DISK
    recovery area destination: C:\oraclexe\app\oracle\flash_recovery_area\
    database name (or database unique name) used for search: XE
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
    channel ORA_DISK_1: SPFILE restore from autobackup complete
    Finished restore at 08-JAN-11
    Oracle instance started
    Total System Global Area 805306368 bytes
    Fixed Size 1289996 bytes
    Variable Size 239075572 bytes
    Database Buffers 562036736 bytes
    Redo Buffers 2904064 bytes
    Starting restore at 08-JAN-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=36 devtype=DISK
    recovery area destination: C:\oraclexe\app\oracle\flash_recovery_area
    database name (or database unique name) used for search: XE
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
    channel ORA_DISK_1: control file restore from autobackup complete
    output filename=C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
    Finished restore at 08-JAN-11
    database mounted
    released channel: ORA_DISK_1
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    new RMAN configuration parameters are successfully stored
    Starting restore at 08-JAN-11
    Starting implicit crosscheck backup at 08-JAN-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=35 devtype=DISK
    Crosschecked 1 objects
    Finished implicit crosscheck backup at 08-JAN-11
    Starting implicit crosscheck copy at 08-JAN-11
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 08-JAN-11
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC
    File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC
    File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF
    restoring datafile 00002 to C:\ORACLEXE\ORADATA\XE\UNDO.DBF
    restoring datafile 00003 to C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF
    restoring datafile 00004 to C:\ORACLEXE\ORADATA\XE\USERS.DBF
    restoring datafile 00005 to C:\ORACLEXE\ORADATA\XE\APEX_1244616068553754.DBF
    channel ORA_DISK_1: reading from backup piece C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_.BKP
    channel ORA_DISK_1: restored backup piece 1
    piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_.BKP tag=TAG20110107T194642
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:56
    Finished restore at 08-JAN-11
    Recovery Manager complete.
    Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:34:37 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Windows NT Version V6.1
    CPU : 8 - type 586, 4 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:6021M/8183M, Ph+PgF:13238M/16364M, VA:1973M/2047M
    Starting with debugging turned off
    connected to target database: XE (DBID=2604800077, not open)
    RMAN> set echo on;
    2> recover database;
    3> alter database open resetlogs;
    4>
    echo set on
    Starting recover at 08-JAN-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=38 devtype=DISK
    starting media recovery
    archive log thread 1 sequence 375 is already on disk as file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC
    archive log thread 1 sequence 376 is already on disk as file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC
    archive log filename=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC thread=1 sequence=375
    archive log filename=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC thread=1 sequence=376
    unable to find archive log
    archive log thread=1 sequence=377
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 01/08/2011 18:34:47
    RMAN-20000: abnormal termination of job step
    RMAN-06054: media recovery requesting unknown log: thread 1 seq 377 lowscn 11715842
    Recovery Manager complete.

    After playing around a little bit I fixed the problem.
    There are a total of four folders in \FLASH_RECOVERY_AREA\XE\ I had only copied three of the four.
    ARCHIVELOG
    AUTOBACKUP
    BACKUPSET
    The Windows services keep the files in ONLINELOG open, so I had to shut down the services and then work with the folder. Therefore four folders have to be transported and copied onto the new machine:
    ARCHIVELOG
    AUTOBACKUP
    BACKUPSET
    ONLINELOG
    If you run as an administrator "Backup" from the GUI, it executes BACKUP.BAT, a batch file which calls RMAN. Once that's done, copy the four folders to the same location on the target machine and then run as an administrator "Restore" (RESTORE.BAT).
    In another forum someone said to be sure that the "Archive Logs" are copied. It should be interpreted to mean not just the "ARCHIVELOG" folder, but all four folders.
    Edited by: PhilMan2 on Jan 11, 2011 11:28 AM

  • Oracle 9I Database, and Mobile Server install history

    Dear Oracle technical representative:
    This TAR started out as a true request for help in solving installation problems with Oracle 9i Release 2 Enterprise Edition, and Oracle 9i Mobile Server Release 5.0.1, but it has turned into a history of frustration with out of date, laconic, and often incorrect, and misleading documentation. As a software developer, I understand that documentation is always out of date, at least mine is. Nonetheless, I must speak my mind while understanding, and sympathizing with your situation.
    I struggled through the documentation, and managed to get everything working. While I was doing that, I wrote down the step by step procedure that I used to get Database, and Mobile Server running. By sharing this rough install history with you, it is my hope that it will help prevent others from experiencing the same difficulties that I have had. It has been my observation that when a user has problems installing a trial software package they give up quickly, and do not purchase a copy. It is thus extremely important that the installation instructions, and quick start guide be accurate, attentive to detail, and well written. The first impression is the one that counts.
    The Oracle 9i Lite Installation, and Configuration Guide for Windows NT shipped with Oracle 9i Lite Release 5.0.1 definitely requires, and emergency rewrite. It is terribly out of date, inaccurate, and laconic. My guess is that it is a very sloppy rewrite of poorly written 8i documentation. The Oracle 9i Database Installation Guide for Windows is somewhat better. It however should do a better job informing you that before installing onto a old server the Microsoft Foundation Class (MFC), and VC runtime libraries must be up to date. The history describes the trouble with not having the MFC42.dll at version 6. Another corker is that the default port the installer presents is 2030, and not 1521, and that leads to major confusion in the both the Database, and Mobile Server installs.
    Thank you for looking at the history. I hope that it will be of use to you when you update your documentation.
    Thomas G. Matney
    Mississippi State University
    [email protected]
    (662)325-2791
    TAR for Oracle 9i Release 2 Database Enterprise Edition, and Oracle Lite Release 5.0.1 Mobile Server
    Installation problems are highlighted in red.
    Installation sequence/history:
         1. Installed Windows NT 4.0 Server SP1 on Dell Power Edge 4300 dual x86 server to wipe the slate clean.
         2. Setup TCP/IP, and IPX/SPX networks
              Computer name YGGDRASILL
              Host name = YGGDRASILL
              Domain = CFR.MSSTATE.EDU
              Internet name = YGGDRASILL.CFR.MSSATE.EDU = 130.18.130.225
         3. Installed NT SP3, and Internet Explorer 4.01 from the NT 40 Options Pack CD as the gateway to installing MTS 2.0, and IIS 4.0.
         4. Installed MTS 2.0, and IIS 4.0 from NT 4.0 Optins Pack CD.
         5. Applied NT 4.0 SP6.
         6. Installed Internet Explorer 5.5 as a prerequisite to installing MADAC 2.6.          
         7. Installed MDAC 2.6
         8. Installed Paint Shop Pro 7 for capturing error screens.
         9. As previous install errors stated that the ordinal function xxxx could not be found in MFC42.dll, the latest version (6.0.8665.0) of the dll was installed, and registered from MS VC++ SP5. Also I upgraded MSVCIRT.dll, MSVCRT.dll, MSCRT40.dll, and added MSVC60.dll from SP5 to be on the safe side.
    According to the installation documents all the prerequisites for installing Oracle 9i Release 2 Database Enterprise Edition are satisfied.
         10. Began install of Oracle Database Enterprise Edition with target parameters:
              Home directory = D:\Oracle\Ora92
              Database directory = D:\Oracle\oradata
              Global database name = FIA.YGGDRASILL.CFR.MSSTATE.EDU
              Port = 2030
              SID = FIA
              SYSTEM Password = phwphw
              SYS Password = phwphw
              SCOTT Password = phwphw
              DBSNMP Password = I left this one unassigned or empty.
              tnsnames.ora entry for remote TCP/IP connection
              a. CD 1 of 3 load
                   1. Error writting to MFC42u.dll. Action ignore. A check indicated that MFC42u.dll version did not match the updated version of MFC42.dll. Plan is to update after install. Unicode version of MFC is probably not used by the installer.
              b. CD 1 completed with only one problem, and CD 2 load begins.
              c. CD 2 installed without incident., and CD 3 load begins, and completes without farther problems. The only issue to address at this time is to update the MFC42u.dll.
                   HTTP Server URLs
                        http://7778
                        https://4443
         12. Evaluation of install success begins.
              a. Oracle HTTP Service will not start. It is of particular interest that on installs that I do not upgrade the MFC42.dll the Oracle HTTP Service will start correctly, but during the install I get the error message Ordinal nnnn not found in MFC42.dll, and the Oracle MTS Recovery Service crashes during the install. I am caught between a rock and hard spot on this one. See the Figure 1. At the end of this document. I do not need the HTTP Server at this time but I will need it later and this issue must be resolved. It appears that it hangs during startup. I am sorry but I lost the ordinal number nnnn.
              When I try to start the HTTP server from the Programs menu. It Hangs, and does not return an error message. See Figure 2, and the included Apache Setup.txt, the install log, and the HTTPd.conf . The conf, and setup files look OK to me. What is the problem?          
              b. All other services start correctly.
              c. Logged into the database as SCOTT on the server with SQL Plus using the connection information:
                   FIA.CFR.MSSTATE.EDU =
                   (DESCRIPTION =
                   (ADDRESS_LIST =
                   (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill)(PORT = 1521))
                   (CONNECT_DATA =
                   (SERVER = DEDICATED)
                   (SERVICE_NAME = FIA.YGGDRASILL.CFR.MSSTATE.EDU)
              I created some tables, inserted data, and queried for the data. Everthing seems to be working correctly.
              d. Logged in remotely from my AOL account on a dial-up line using Oracle 9i Release 2 Personal Edition installed on my ThinkPad. Every thing tested out as above. I used the connection information:
                   FIA.CFR.MSSTATE.EDU =
                   (DESCRIPTION =
                   (ADDRESS_LIST =
                   (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill.cfr.msstate.edu)(PORT = 1521))
                   (CONNECT_DATA =
                   (SERVER = DEDICATED)
                   (SERVICE_NAME = FIA.YGGDRASILL.CFR.MSSTATE.EDU)
         13. I concluded that except for the Oracle HTTP Server Service not starting correctly, and that after updating the MFC42u.dll to VC++ SP5 level the stage is set for installing Oracle 9i Mobile Server Release 5.0.1. I copied the MFC42u.dll to the server and registered it successfully.
         14. As Visual Studio 6.0 Professional updates all of the MFC stuff, I decides to install it at this juncture, and apply SP5.
         15. Installed JDK1.3.1 required for Oracle 9i Mobile Server Release 5.0.1
    At this time the prerequisites for installing Oracle 9i Mobile Server Release 5.0.1 are satisfied, and MFC, and rt are at version 6.
    It is important to note that after installing MS Visual Studio Professional 6.0 SP5, the HTTP server started working. It is clear that prior to installing Oracle Database it is essential that MFC, and possibly other components are upgraded before starting an installation of Oracle. This probably only applies to old NT servers, but it should be mentioned in the installation instructions.
         16. Attempt to install Oracle Mobile Server Release 5.0.1
              a. File locations Screen
                   Name: = OraLite501               
                   Path: = D:\OraLite501
              b. Select Mobile Server at Installation Screen
              c. Mobile Server Repository Database Information Screen
                   Hostname = YGGDRASILL = hostname from tnsnames.ora
                   Port = 2030 = same as Database port
                        It is troublesome that the port in tsnames.ora is 1521, and not 2030 as was specified in the database install. I will try this port on the reinstall. On the retry, it worked. The problem was that I was mislead by the default port of 2030 at the database install. The database was actually installed on port 1521, and I was not given an error message, or warning. As I am a first time installer of Oracle products this threw me for a loop. The default port for the database needs to be 1521, if regardless of what the user specifies for a port you are going to install on port 1521.
                   Net Service Name = FIA.YGGDRASILL.CFR.MSSTATE.EDU = Global database name as required by installation instructions.
              d. Yes. At Do you want to install the Mobile Server Repository question.
              e. At Oracle Protocol Support, I checked the SPX box.
              f. Summary, and Install screens function to specifications.
              g. Mobile Server Repository Wizard
                   Database System password:
                        Password = phwphw
              h. Mobile Server Repository Wizard
                   Schema Name: fiafield
                   Password : fiafield
              i. Success at last with the install part. The problem was the wrong port number. See my above comments on this problem, and how Oracle could grease the skids for the next first time installer.
         j. I could not find the httpd.conf file in the place the install instructions said it should be for running the Mobile Server in Oracle HTTP Server. Since only one copy of httpd.conf existed, I added the include D:\OraLite501\mobile\server\bin\wtgias.conf to the bottom of the file assuming that it is the correct one. I the re-booted instead of using apache -k restart. The Oracle HTTP Server started, so there is hope. The install instructions state that the httpd.conf file would most likely be in the program files directory, when they are really installed in the Oracle Lite home directory.
         k. According to the documentation the Mobile Server should start when the Oracle HTTP Server starts with the wtgias.conf file added to the httpd.conf file. It does not. If I use Process Explorer, I know that Apache loaded the wtgias.conf, because both Apache.exe processes that are running have the wtgias.dll loaded. The facts are at this stage of the game are
              1. OraMTSRecoveryService is started
              2. OracleOraHome92HTTPService is started
              3. OracleOraHome92Listener is started on port
              4. OracleServiceFIA is started
              5. Apache.exe has the wtgias.dll loaded
              6. The Moble Server is not running and it should be if the documentation is correct.
              7. If I start the Mobile Server either as a service using wtgsvc -i or with the webtogo command from the DOS prompt, the Mobile Server starts, but when I attempt to log in with the URL http://Yggdrasill:7778/webtogo/startup it inform me the Mobile Server is not started and it is. Figure 3 shows the response I receive from the login attempt.
         l. I finally ran the Mobile Server in total debug mode using the command webtogo -d0", and it gave me the subtle hint that the correct URL is
              http://Yggdrasill.cfr.msstate.edu/webtogo/startup.
         When I use the above URL and I can login to the Mobile Server with UN = fiafield, and PW = fiafield. I was confused by the documentation. I was under the assumption that the host address would be either http://Yggdrasill:7778, or http://Yggdrasill:4443. After all when I, installed Oracle Database these URLs were listed. It needs to be made clear in the installation guide for the mobile server that the Mobile Server address is http://Your servers WWW address/webtogo/startup, and the statements about the Mobile Server will start when the Oracle HTTP Server is started needs to be removed since they are incorrect. Also, the documentation should clearly state that the Schema Name, and Password given in the Repository Wizard Screen are synonymous with the username, and password for the Mobile Server login.
         m. After determning the hard way that the Mobile Server does not start when the the Oracle HTTP Server starts, and that the correct URL is http://Internet address/webtogo/startup = http://Yggdrasill.cfr.msstate.edu/webtogo/startup, I decide to start the Mobile Server as a service with the command wtgsvc -i. After I re-booted, to my surprise, I could not login to the Mobile Server. When I checked the system services, the webtogo service was running. So to give the start as a service thing a fair chance I re-booted again, but obtained the same results. I thus concluded that the Mobile Server will not run correctly as a service. As it turns out my conclusion was wrong. After waiting a few minutes, my login try was successful. The documentation should indicate that after booting it may be a minute or two before the Mobile Server service become available.
         n. After some serious problems with the installer, and the documentation everything is working. I have a green light to go on to the next stage, which is program the handheld to take advantage of the Mobile Server. I will be glad to get back to programming, and am so thankful that I am not a network administrator.
         Appendix
    HTTPd.Conf (Abstract only), Apache Setup.txt,
    tsnames.ora, and listener.ora.
    HTTPd.conf (Abstract only)
    # Based upon the NCSA server configuration files originally by Rob McCool.
    # Include the Oracle configuration file for custom settings
    include "D:\oracle\ora92\Apache\Apache\conf\oracle_apache.conf"
    include "D:\OraLite501\mobile\server\bin\wtgias.conf "
         tsnames.ora
    # TNSNAMES.ORA Network Configuration File: D:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    INST1_HTTP.CFR.MSSTATE.EDU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    FIA.CFR.MSSTATE.EDU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = FIA.YGGDRASILL.CFR.MSSTATE.EDU)
    EXTPROC_CONNECTION_DATA.CFR.MSSTATE.EDU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
              listener.ora
    # LISTENER.ORA Network Configuration File: D:\oracle\ora92\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = FIA.YGGDRASILL.CFR.MSSTATE.EDU)
    (ORACLE_HOME = D:\oracle\ora92)
    (SID_NAME = FIA)
              Apache SetupInfo.txt
    The following information is available in:
    D:\oracle\ora92\Apache\Apache\setupinfo.txt
    The HTTP Server can be accessed using the following URLs:
    http://yggdrasill:7778
    https://yggdrasill:4443

    You can find information regarding enabling the iSQLPLUS in the following Oracle manual.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14357/ch2.htm

  • Unable to connect SQL Developer 4.0.2 to Oracle REST Data Services 2.0.7 (Apex Listener)

    Background
    1. Weblogic 10.3.6.0 running on Oracle Linux 6.5 with Oracle JRockit(R) (build R28.2.3-13-149708-1.6.0_31-20120327-1523-linux-x86_64, compiled mode)
    2. Oracle Apex 4.2.1
    3. Apex Listener 1.1.3
    4. Apex and Apex Listener running on the Weblogic box above
    5. SQL Developer 4.0.2 running on Windows 7 64 bit / Java 1.7.0_55
    Updated Apex to 4.2.5 via p17966818_425_Generic.zip patchset. Apex environment running fine as do all applications via Listener 1.1.3
    Updated Oracle Listener to the latest version of Oracle REST Data Services 2.0.7
    Current Status
    Apex Applications and RESTful services are running fine.
    Problem
    Unable to connect SQL Developer 4.0.2 to Oracle REST Data Services 2.0.7
    Error message in SQL Developer - Cannot connect to DEV. HTTP/1.1 403 Target service not allowed
    Additional Information
    Steps followed -
    1. The oracle users APEX_LISTENER and APEX_REST_PUBLIC_USER did not exist, so I ran apex_rest_config.sql from the APEX 2.4.1 patchset whilst connected sys as sysdba and provided the same password as APEX_PUBLIC_USER for both users.
    2. I also ran
    grant insert, delete on APEX_040200.wwv_flow_rt$privilege_groups to APEX_LISTENER;
    alter session set current_schema = APEX_LISTENER;
    create or replace synonym wwv_flow_rt$privilege_groups for APEX_040200.wwv_flow_rt$privilege_groups;
    as per Oracle SQL Developer User's Guide Release 4.0
    3. copied ords.war to apex.war
    4. java -jar apex.war configdir /u01/app/oracle/admin/apex/devdomain1/
    5. java -jar apex.war
    Jun 5, 2014 5:15:31 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /u01/app/oracle/admin/apex/devdomain1/apex
    Enter the name of the database server [localhost]:dbservername
    Enter the database listen port [1521]:
    Enter 1 to specify the database service name, or 2 to specify the database SID [1]:1
    Enter the database service name:dbservicename
    Enter the database user name [APEX_PUBLIC_USER]:
    Enter the database password for APEX_PUBLIC_USER:
    Confirm password:
    Enter 1 to enter passwords for the RESTful Services database users (APEX_LISTENER,APEX_REST_PUBLIC_USER), 2 to use the same password as used for APEX_PUBLIC_USER or, 3 to skip this step [1]:2
    Jun 5, 2014 5:16:52 PM oracle.dbtools.common.config.file.ConfigurationFiles update
    INFO: Updated configurations: defaults, apex, apex_al, apex_rt
    Enter 1 if you wish to start in standalone mode or 2 to exit [1]:2
    6. java -jar apex.war user adminlistener "Listener Administrator"
    Jun 5, 2014 5:18:52 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /u01/app/oracle/admin/apex/devdomain1/apex
    Enter a password for user adminlistener:
    Confirm password for user adminlistener:
    Jun 6, 2014 5:19:12 PM AM oracle.dbtools.standalone.ModifyUser execute
    INFO: Created user: adminlistener in file: /u01/app/oracle/admin/apex/devdomain1/apex/credentials
    7. Updated the defaults.xml file
    Added
    <entry key="apex.security.user.roles">RESTful Services</entry>
    <entry key="apex.security.developer.roles">OAuth2 Client Developer, SQL Developer</entry>
    as per Oracle SQL Developer User's Guide Release 4.0
    Changed
    <entry key="debug.printDebugToScreen">false</entry>
    to
    <entry key="debug.printDebugToScreen">true</entry>
    for RESTful debugging
    Added
    <entry key="security.verifySSL">false</entry>
    to use OAuth2 in Non HTTPS Environment as per Oracle® REST Data Services Installation and Configuration Guide, Release 2.0
    8. Deleted the Admin and Manager Roles within the apex application deployment which were part of the Apex Listener 1.1.3 install
    9. Deployed the apex.war in weblogic
    10. Stopped and started the weblogic server to which apex.war was deployed
    11. In SQL Developer, View, RESTful Services. In the RESTful services windows hit connect, Create a new connection,
    Connection Name DEV
    Username adminlistener
    selected http protocol
    Hostname weblogicservername
    Port 7250
    Server Path /apex
    Workspace (blank)
    On the Authentication dialog
    Username adminlistener
    Password passwordsuppliedabove in step 6
    Response is a dialog box titled Authentication Failed
    message - Cannot connect to DEV. HTTP/1.1 403 Target service not allowed
    NOTHING UNUSUAL IN ANY OF THE WEBLOGIC LOG FILES, EXCEPT THAT IT STATES
    'Oracle REST Data Services version : 2.0.6.27.18.06' when I've installed 2.0.7.
    Any help much appreciated

    Further to the above post, I thought I'd simplify my Apex Listener install just to see if I can connect to it via SQL Developer
    So downloaded the latest version 2.0.8 and decided to configure and run the Listener on my pc whilst still connecting to the same database.
    Operating system : Window 7 Pro 64 bit
    Oracle Apex Listener 2.0.8
    Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
    Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
    Went through the configuration as above, once started I tried again to access the listener via SQL Developer. This time I received this output from the listener:
    INFO: Error: ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_RT$APPROVALS_SGID_FK) violated - parent key not found, occurred during execution of: [CALL, insert into wwv_flow_rt$approvals (user_name,status,client_id,security_group_id,created_by,created_on,updated_by,updated_on) values(/*in:user_id*/?,/*in:status*/?,/*in:client_id*/?,/*in:tenant_id*/?,upper(/*in:user_id*/?),/*in:created*/?,upper(/*in:user_id*/?),/*in:created*/?), [tenant_id, in, class java.math.BigInteger], [client_id, in, class java.math.BigInteger], [user_id, in, class java.lang.String], [status, in, class oracle.dbtools.rt.oauth.ApprovalRequest$Status], [created, in, class java.sql.Timestamp]]with values: [adminlistener, APPROVED, 3858401374580004, -1, adminlistener, 2014-06-23 12:19:18.785, adminlistener, 2014-06-23 12:19:18.785]
    SQL Developer responded with an Authentication Failed titled dialog with the following displayed in the body of the dialog
    Cannot connect to DEV.
    <!DOCTYPE html>
    <!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->
    <!--[if IE 7 ]> <html class="ie7 no-css3"> <![endif]-->
    <!--[if IE 8 ]> <html class="ie8 no-css3"> <![endif]-->
    <!--[if IE 9 ]> <html class="ie9"> <![endif]-->
    <!--[if (gt IE 9)|!(IE)]><!-->
    <html>
    <!--<![endif]-->
    <html lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <style type="text/css" media="screen">html,body,div,span,h3,p,ol,ul,li,header,hgroup{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}header,hgroup{display:block}body{font:normal 12px/16px Arial,sans-serif;margin:0 auto;background:#6a9cda}header#xHeader{border-bottom:1px solid #8fa4c0;position:relative;z-index:10;background:none #000}header#xHeader hgroup{width:974px;margin:0 auto;position:relative;height:36px;background:none #000}header#xHeader a#uLogo{margin:8px 0;display:inline-block;font:bold 14px/20px Arial,sans-serif;color:#AAA;text-decoration:none}header#xHeader a#uLogo span.logo{color:#F00}.no-css3 div#xContentContainer div.xContent{padding-top:14px}.no-css3 div#xContentContainer div.xContent div.xMainLeft h2{margin-top:0}div#xWhiteContentContainer{margin-bottom:30px}div#xWhiteContentContainer.xContentWide{background:#FFF;margin-bottom:0}div#xWhiteContentContainer.xContentWide div.xWhiteContent{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}div#xWhiteContentContainer div.xWhiteContent{width:974px;margin:0 auto;padding:0 0 20px 0;background:#FFF;min-height:500px;-moz-border-radius:0 4px 4px 4px;-webkit-border-radius:0 4px 4px 4px;border-radius:0 4px 4px 4px;-moz-box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15)}div#xContentHeaderContainer{background:#6a9cda;-moz-box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset;-webkit-box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset;box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset}div#xContentHeaderContainer div.xContentHeader{width:974px;margin:0 auto;padding:30px 0 32px 0;position:relative;min-height:60px}div#xContentHeaderContainer div.xContentHeader h3{font:bold 24px/24px Arial,sans-serif;color:#fff;text-shadow:0 2px 1px rgba(0,0,0,0.25);margin:0 0 20px 0}div#xFooterContainer{min-height:200px;border-top:1px solid rgba(0,0,0,0.15);background:#6a9cda}body.errorPage div#xContentHeaderContainer div.xContentHeader{min-height:30px}body.errorPage div#xContentHeaderContainer div.xContentHeader h3{font:bold 30px/30px Arial,sans-serif;color:#FFF;text-shadow:0 1px 2px rgba(0,0,0,0.25);margin:0}div.errorPage p{font:normal 14px/20px Arial,sans-seri;color:#666;padding:0 0 10px 0}div.errorPage ul{list-style:disc outside;padding:0 10px 0;margin:0 0 20px 0}div.errorPage ul li{font:normal 12px/16px Arial,sans-serif;color:#666;margin:0 0 8px 10px}pre{font-family:Consolas,"Lucida Console","Courier New",Courier,monospace}
    </style>
    <script type="text/javascript" charset="utf-8">
      'header hgroup'.replace(/\w+/g,
      function(n) {
      document.createElement(n)
    </script>
    <title>Internal Server Error</title>
    </head>
    <body class="errorPage">
      <header id="xHeader">
      <hgroup>
      <a id="uLogo" href="./"><span class="logo">ORACLE</span>
      REST DATA SERVICES</a>
      </hgroup>
      </header>
      <div id="xContentHeaderContainer">
      <div class="xContentHeader">
      <h3>
      <span class="statusCode">500</span> - <span
      class="statusMessage">Internal Server Error</span>
      </h3>
      </div>
      </div>
      <div id="xWhiteContentContainer" class="xContentWide">
      <div class="xWhiteContent">
      <div class="errorPage">
      <p>
      <ul class="reasons">
      </ul>
      </p>
      <p>
      <pre>Request Path passes syntax validation
    Mapping request to database pool: PoolMap [_failed=false, _lastUpdate=-1, _pattern=null, _poolName=apex, _regex=null, _type=REGEX, _workspaceIdentifier=null, _serviceName=null]
    Applied database connection info
    Attempting to process with PL&#x2F;SQL Gateway
    Not processed as PL&#x2F;SQL Gateway request
    Attempting to process as a RESTful Service
    Choosing: oracle.dbtools.rt.oauth.TokenHandler as current candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=NONE], originsAllowed=[], corsEnabled=true]
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    No Tenant Principal established yet, continuing processing
    APEX_LISTENER pool exists, continuing processing
    No matching tenant found for: oauth2, cannot dispatch
    Chose oracle.dbtools.rt.oauth.TokenHandler as the final candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=NONE], originsAllowed=[], corsEnabled=true] for: POST oauth2&#x2F;token
    oauth2&#x2F;token authorized as: p6xycV-2QceFnFHkWyJlnA..
    </pre>
      </p>
      <p>
      <pre>WebException [statusCode=500]
      at oracle.dbtools.rt.web.WebException.webException(WebException.java:343)
      at oracle.dbtools.rt.web.WebException.internalError(WebException.java:262)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApproval(JDBCOAuthDataAccess.java:514)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApprovedRequest(JDBCOAuthDataAccess.java:181)
      at oracle.dbtools.rt.oauth.OAuthAuthorization.resourceOwnerCredentials(OAuthAuthorization.java:654)
      at oracle.dbtools.rt.oauth.OAuthAuthorization.tokenRequest(OAuthAuthorization.java:273)
      at oracle.dbtools.rt.oauth.TokenHandler.post(TokenHandler.java:44)
      at oracle.dbtools.rt.web.RequestHandler.response(RequestHandler.java:268)
      at oracle.dbtools.rt.web.RequestHandler.dispatch(RequestHandler.java:361)
      at oracle.dbtools.rt.web.RequestHandler.dispatch(RequestHandler.java:85)
      at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:93)
      at oracle.dbtools.rt.web.ETags.checkPrecondition(ETags.java:93)
      at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:426)
      at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:164)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1059)
      at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:999)
      at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:434)
      at oracle.dbtools.standalone.SecureServletAdapter.doService(SecureServletAdapter.java:91)
      at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:379)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:196)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Unknown Source)
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_RT$APPROVALS_SGID_FK) violated - parent key not found
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
      at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)
      at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1046)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)
      at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3713)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1378)
      at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:230)
      at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:124)
      at com.sun.proxy.$Proxy44.execute(Unknown Source)
      at oracle.dbtools.common.jdbc.JDBCInsert.execute(JDBCInsert.java:58)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApproval(JDBCOAuthDataAccess.java:487)
      ... 34 more
    </pre>
      </p>
      </div>
      </div>
      </div>
      <div id="xFooterContainer">
      </div>
    </body>
    </html>
    I am assuming this must be part of the problem I am seeing this the Weblogic deployment in my original post.
    Does anyone have any suggestions on how best to tackle this?
    Regards,
    Derek

  • Oracle 9i Database and Developer Installation

    I am a student going through the Oracle Developer Certification and I am hoping someone can help me with some troubleshooting. This has to do with installing 2 different services on 2 home directories. I installed the Oracle 9i database enterprise edition on the c drive on my laptop. Today I installed the Developer software as well on the c drive on a different directory. I now have the problem that I cannot connect to SQLPlus on the database side and I can not access datatbase connection on the Developer/Form side either. When I installed the developer software I created a new directory called OracNT since it would not allow me to install it on the orahome90 directory (database was installed here)....Does anyone have any advice on what to do? I have install and unistalled both the database and the Developer software and I am getting the same issue...All help would be appreciated.
    lari

    Lari,
    Not quite the right forum for this, but I suspect your tnsnames.ora file in both the
    network directories under the two ORACLE_HOMEs does not have an entry
    for the local database.
    On trying to connect you should get an error message and number. Use these
    and search within metalink, there are a number of good articles on network
    configuration.
    There are also network configuration assistants available from the database windows program
    menu.
    David

Maybe you are looking for