Package script generation in oracle lite 9i

Dear All,
I have a test oracle 9i lite server and deployed some packages. Now, i want to install the same packages in production database. since the packages were created by other user, i don't have the script for the same.
can anyone tell me how to generate the same from test server and update the production server??

I did upgrade to 10G R2 and the database is running fine. Working on 10G R3 upgrade.

Similar Messages

  • Need ant script to compile, package, and deploy to Oracle AS 10.3.1

    I have a test app with ADF faces/jsf for front-end and EJB 3.0 Session Facade/Entity beans for back-end. The project structure/layout is similar to the SRDEMO app in JDeveloper. I was able to compile, package, and deploy within JDeveloper 10g to Oracle AS 10g successfully. Is there a sample ant script to compile, package, and deploy to Oracle AS 10g that I can run from command line? The build.xml that came with SRDEMO only do the compilation, not packaging and deployment. I was able to modify the SRDEMO's build.xml to compile my test app though. I still need the script to package and deploy it.
    Thanks,

    Hi,
    How are you referring to the class path. I have created my custom build file and I refer like this.
    <path id="classpath">
      <pathelement location="${oracle.home}/lib/aia.jar"/>
      <pathelement location="${oracle.common.home}/modules/org.apache.commons.logging_1.0.4.jar"/>
    </path> oracle.home is the location where my aia.jar resides.
    In the compile-classes target I have
    <!--Target for Class path details -->
    <target name="compile-classes">
      <mkdir dir="${sca-inf.classes.dir}"/>
      <javac destdir="${sca-inf.classes.dir}"   classpathref="classpath"
             debug="on"                         nowarn="${javac.nowarn}"
             deprecation="${javac.deprecation}" encoding="Cp1252"
             source="1.6"                       target="1.6">
        <src path="${src.dir}"/>
      </javac> 
    </target> Regards,
    Neeraj Sehgal

  • Can't patch mobile 6 client package to Oracle Lite 10.3

    hi,
    I installed Oracle lite 10.3 successfully, and try to install oracle client patch for mobile 6. I do this according to the readme,but failed,the message says,
    Oracle Interim Patch Installer version 1.0.0.0.57
    Copyright (c) 2007 Oracle Corporation. All Rights Reserved..
    We recommend you refer to the OPatch documentation under
    OPatch/docs for usage reference. We also recommend using
    the latest OPatch version. For the latest OPatch version
    and other support related issues, please refer to document
    293369.1 which is viewable from metalink.oracle.com
    Oracle Home : d:\olite10g_1
    Oracle Home Inventory : D:\olite10g_1\inventory
    Central Inventory : C:\Program Files\oracle\inventory
    from : N/A
    OUI location : D:\olite10g_1\oui
    OUI shared library : D:\olite10g_1\oui\lib\win32\oraInstaller.dll
    Java location : "D:\olite10g_1\jre\1.4.2\bin\java.exe"
    Log file location : d:\olite10g_1/.patch_storage/<patch ID>/*.log
    Creating log file "D:\olite10g_1\.patch_storage\6344826\Apply_6344826_03-10-2008_10-13-37.log"
    ERROR: OPatch failed during pre-reqs check.
    any help? thank u

    Ok, I finally found it.....
    Oracle Database Lite Administration and Deployment Guide Release 10.3 (E12089-02)
    7.4.3.1 Enable a Platform for Your Mobile Client
    Not all of the possible platforms are enabled on the Mobile client setup screen. To enable a platform for your client device, do the following:
    On the Mobile Devices screen, click Platforms.
    On the Platforms screen in the Search pulldowns, select the language and either Disabled or All and click Go.
    Select the platform name that you want to enable.
    Enable the device by selecting Yes in the Enable pulldown.
    Click OK. The device is now enabled and will be visible in the client setup screen.
    =====================================================================
    I was on the Platform screen before, but missed the "Enabled" setting under Search.  I looked at the screen and saw only the enabled list, and assumed this was 'all' of the platforms....
    Once I switched the search setting from "Enabled" to "All" I saw my disabled SQLite options.
    7.4.3.1 was under 7.4.3 Extend or Create a Custom Platform.  Wasn't trying to do either of these, so never looked under there before.  Only ran into it when I was going to attempt to create a custom SQLite platform.
    I thought it was just a bad setting somewhere....  Just couldn't find where....
    Thanks for all who looked at my question and userBDBDMS-Oracle for trying to help.

  • 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.

  • JDBC API ( JSR 169 ) Implementation for accessing oracle lite database

    We are developing an application using IBM J9 (CDC and Foundation Profile) on Pocket PC 2003 environment with SWT as the front end development. We are using Oracle Lite 9i as the Client database.
    We have sucessfully installed Oracle Lite and was able to create tables in the database.. however we could not find the JDBC API (java.sql and javax.sql packages which is JSR 169 JDBC 2.0/3.0) inorder to load the JDBC driver(OLITE40.jar) and access the oracle Lite Database on Pocket PC.
    IBM J9 Micro Environement does not have this support.
    I am wondering if Oracle provides this implementation.
    If not is there a get around.
    the client database is crucial to the application and i would really appreciate an answer to our problem.

    Check out
    http://groups.google.com/groups?hl=en&lr=&threadm=cjgl3g%248hhm%241%40news.boulder.ibm.com&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26group%3Dibm.software.websphere.studio.device-developer
    I have had the same issue before.
    Regards,
    Ron

  • How to reduce excessive redo log generation in Oracle 10G

    Hi All,
    Please let me know is there any way to reduce excessive redo log generation in Oracle DB 10.2.0.3
    previously per day there is only 15 Archive log files are generating but now a days it is increased to 40 to 45
    below is the size of redo log file members:
    L.BYTES/1024/1024     MEMBER
    200     /u05/applprod/prdnlog/redolog1a.dbf
    200     /u06/applprod/prdnlog/redolog1b.dbf
    200     /u05/applprod/prdnlog/redolog2a.dbf
    200     /u06/applprod/prdnlog/redolog2b.dbf
    200     /u05/applprod/prdnlog/redolog3a.dbf
    200     /u06/applprod/prdnlog/redolog3b.dbf
    here is the some content of alert message for your reference how frequent log switch is occuring:
    Beginning log switch checkpoint up to RBA [0x441f.2.10], SCN: 4871839752
    Thread 1 advanced to log sequence 17439
    Current log# 3 seq# 17439 mem# 0: /u05/applprod/prdnlog/redolog3a.dbf
    Current log# 3 seq# 17439 mem# 1: /u06/applprod/prdnlog/redolog3b.dbf
    Tue Jul 13 14:46:17 2010
    Completed checkpoint up to RBA [0x441f.2.10], SCN: 4871839752
    Tue Jul 13 14:46:38 2010
    Beginning log switch checkpoint up to RBA [0x4420.2.10], SCN: 4871846489
    Thread 1 advanced to log sequence 17440
    Current log# 1 seq# 17440 mem# 0: /u05/applprod/prdnlog/redolog1a.dbf
    Current log# 1 seq# 17440 mem# 1: /u06/applprod/prdnlog/redolog1b.dbf
    Tue Jul 13 14:46:52 2010
    Completed checkpoint up to RBA [0x4420.2.10], SCN: 4871846489
    Tue Jul 13 14:53:33 2010
    Beginning log switch checkpoint up to RBA [0x4421.2.10], SCN: 4871897354
    Thread 1 advanced to log sequence 17441
    Current log# 2 seq# 17441 mem# 0: /u05/applprod/prdnlog/redolog2a.dbf
    Current log# 2 seq# 17441 mem# 1: /u06/applprod/prdnlog/redolog2b.dbf
    Tue Jul 13 14:53:37 2010
    Completed checkpoint up to RBA [0x4421.2.10], SCN: 4871897354
    Tue Jul 13 14:55:37 2010
    Incremental checkpoint up to RBA [0x4421.4b45c.0], current log tail at RBA [0x4421.4b5c5.0]
    Tue Jul 13 15:15:37 2010
    Incremental checkpoint up to RBA [0x4421.4d0c1.0], current log tail at RBA [0x4421.4d377.0]
    Tue Jul 13 15:35:38 2010
    Incremental checkpoint up to RBA [0x4421.545e2.0], current log tail at RBA [0x4421.54ad9.0]
    Tue Jul 13 15:55:39 2010
    Incremental checkpoint up to RBA [0x4421.55eda.0], current log tail at RBA [0x4421.56aa5.0]
    Tue Jul 13 16:15:41 2010
    Incremental checkpoint up to RBA [0x4421.58bc6.0], current log tail at RBA [0x4421.596de.0]
    Tue Jul 13 16:35:41 2010
    Incremental checkpoint up to RBA [0x4421.5a7ae.0], current log tail at RBA [0x4421.5aae2.0]
    Tue Jul 13 16:42:28 2010
    Beginning log switch checkpoint up to RBA [0x4422.2.10], SCN: 4872672366
    Thread 1 advanced to log sequence 17442
    Current log# 3 seq# 17442 mem# 0: /u05/applprod/prdnlog/redolog3a.dbf
    Current log# 3 seq# 17442 mem# 1: /u06/applprod/prdnlog/redolog3b.dbf
    Thanks in advance

    hi,
    Use the below script to find out at what hour the generation of archives are more and in the hour check for eg. if MV's are running...or any programs where delete * from table is going on..
    L
      1  select
      2    to_char(first_time,'DD-MM-YY') day,
      3    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'00',1,0)),'999') "00",
      4    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'01',1,0)),'999') "01",
      5    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'02',1,0)),'999') "02",
      6    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'03',1,0)),'999') "03",
      7    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'04',1,0)),'999') "04",
      8    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'05',1,0)),'999') "05",
      9    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'06',1,0)),'999') "06",
    10    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'07',1,0)),'999') "07",
    11    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'08',1,0)),'999') "08",
    12    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'09',1,0)),'999') "09",
    13    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'10',1,0)),'999') "10",
    14    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'11',1,0)),'999') "11",
    15    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'12',1,0)),'999') "12",
    16    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'13',1,0)),'999') "13",
    17    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'14',1,0)),'999') "14",
    18    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'15',1,0)),'999') "15",
    19    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'16',1,0)),'999') "16",
    20    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'17',1,0)),'999') "17",
    21    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'18',1,0)),'999') "18",
    22    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'19',1,0)),'999') "19",
    23    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'20',1,0)),'999') "20",
    24    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'21',1,0)),'999') "21",
    25    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'22',1,0)),'999') "22",
    26    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'23',1,0)),'999') "23",
    27    COUNT(*) TOT
    28    from v$log_history
    29  group by to_char(first_time,'DD-MM-YY')
    30  order by daythanks,
    baskar.l

  • Oracle lite with JDBC crashes

    I am connecting to an Oracle lite database on NT Server 4.0 with
    JDBC and trying to run an simple insert statement. If I try to
    run the same statement again (which should throw an exception
    since the pk already exists) I get an application error - not an
    exception as expected - I get the same thing when executing a
    "delete from.." stmt on an empty table. These same stmts work
    fine in Oracle8i.
    Also, if I use access with ODBC to view the tables access will
    often freeze up on me.
    Any Help would be appreciated.
    Dylan
    null

    You probably mean if you can call a Java Stored Procedure from ADOCE application. PL/SQL packages are not supported in Oracle Lite database. The answer is no. For more information see Developers' Guide for WindowsCE, Chapter 4

  • How to into stall oracle Lite on Desktop

    Hi I have oracle 8i personal edition installed in my desktop. When i try to install oracle Lite it is asking me for the default oracle home. If i enter oracle8i as default home it immediately gives an error "enter new oracle home" I want to connect to existing oracle 8i home,
    How do i solve this probelm?
    Thanks
    Srini

    thanks totten,
    the jar file created by NetBeans is runable and running properly.
    however, i have another question for u.
    now the jar file is inside the project package under the dist folder, when i deploy it on another pc, i need to put the whole package into the pc right?
    thank you for your reply.
    gabriel

  • Where is Oracle Lite DB installed? In Soa Suite inst. dir? Service needed?

    As far as I know Soa Suite can use a separate "full" Oracle (Express) DB.
    However user can omit this separate DB and use the built-in "Oracle lite" Database.
    Is this Oracle lite DB installed in the installation directory of Soa Suite or somewhere else on the hard disc?
    Does it need a Win service to run (similar to "full" Oracle DB) or does it run on-demand
    in AppServer?
    Peter

    you can go from olite to full DB, but not the other way round. When you do this change you may lose state in your inflight messages.
    to migrate from olite to Oracle DB do the following:
    1.) Ensure that the new target database is running.
    2.) Run IRCA script to create schemas for BPEL, ESB and OWSM in the new Database:
    Eg: irca all "localhost 1521 v102" welcome -overwrite3.) Make a backup of the file:
    ${OC4J_HOME}\config\data-sources.xml4.) Change the following ESB and BPEL connection pools to point to new DB resource.
    * BPELPM_CONNECTION_POOL
    * ESBAQJMSPool
    * ESBPool
    You can use either Enterprise Manager Console to perform this changes or edit the file: ${OC4J_HOME}\config\data-sources.xml
    Below is a sample of configuration for BPELPM_CONNECTION_POOL:
    <connection-pool name="BPELPM_CONNECTION_POOL">
    <connection-factory factory-class="oracle.jdbc.pool.OracleDataSource"
    user="orabpel_OracleAS_1"
    password="orabpel" url="jdbc:oracle:thin:@localhost:1521:xe"/>
    </connection-pool>5.) If you are changing from Olite DB to Oracle EE, look in the project's build.properties files for DB_URL and change DB_VENDOR from "olite" to "oracle"
    DB_VENDOR=oracleotherwise no change is neccesary.
    6.) Update ESB Metadata - Log into ESB schema (ORAESB) and change the value of DT_OC4J_HOST and DT_OC4J_HTTP_PORT to match your environment Hostname and Port and by running the following SQL script:
    insert into esb_parameter values('ACT_ID_RANGE', '400');
    insert into esb_parameter values('DT_OC4J_HOST', 'soainternal.mycompany.com');
    insert into esb_parameter values('DT_OC4J_HTTP_PORT', '7777');
    insert into esb_parameter values('PROP_NAME_INITIAL_CONTEXT_FACTORY', 'com.evermind.server.rmi.RMIInitialContextFactory');
    insert into esb_parameter values('PROP_NAME_DEFERRED_TCF_JNDI', 'OracleASjms/MyTCF');
    insert into esb_parameter values('PROP_NAME_DEFERRED_XATCF_JNDI', 'OracleASjms/MyXATCF');
    insert into esb_parameter values('PROP_NAME_DEFERRED_TOPIC_JNDI','OracleASjms/ESBDeferredTopic');
    insert into esb_parameter values('PROP_NAME_ERROR_TCF_JNDI', 'OracleASjms/MyTCF');
    insert into esb_parameter values('PROP_NAME_ERROR_XATCF_JNDI', 'OracleASjms/MyXATCF');
    insert into esb_parameter values('PROP_NAME_ERROR_TOPIC_JNDI', 'OracleASjms/ESBErrorTopic');
    insert into esb_parameter values('PROP_NAME_ERROR_RETRY_JNDI', 'OracleASjms/ESBErrorRetryTopic');
    insert into esb_parameter values('PROP_NAME_ERROR_RETRY_TCF_JNDI', 'OracleASjms/MyXATCF');
    insert into esb_parameter values('PROP_NAME_MONITOR_TCF_JNDI', 'OracleASjms/MyTCF');
    insert into esb_parameter values('PROP_NAME_MONITOR_TOPIC_JNDI', 'OracleASjms/ESBMonitorTopic');
    insert into esb_parameter values('PROP_NAME_CONTROL_TCF_JNDI', 'OracleASjms/MyXATCF');
    insert into esb_parameter values('PROP_NAME_CONTROL_TOPIC_JNDI', 'OracleASjms/ESBControlTopic');
    commit;
    select * from esb_parameter7.) Restart the SOA container and verify the opmn and J2EE container logs for any errors.
    cheers
    James

  • DECIMAL = HEX CONVERSION PACKAGE 생성 SCRIPT

    제품 : SQL*PLUS
    작성날짜 : 2002-04-12
    DECIMAL <=> HEX CONVERSION PACKAGE 생성 SCRIPT
    ==============================================
    Purpose
    Oracle내에서는 여러가지 값을 HEX 값으로 보여주는 경우가 있다.
    이런 경우 DB내에서 decimal 값으로 변환하기 위한 방법을 알아보자.
    Explanation
    다음은 decimal <=> hexa 의 conversion을 위한 package 생성문으로서
    system user로 수행하여 사용한다.
    create or replace package support as
    function dectohex (a number) return varchar2;
    pragma restrict_references
    (dectohex, WNDS, WNPS, RNDS, RNPS);
    function hextodec (a varchar2) return number;
    pragma restrict_references
    (hextodec, WNDS, WNPS, RNDS, RNPS);
    end support;
    create or replace package body support as
    FUNCTION hextodec(a IN VARCHAR2) RETURN NUMBER IS
    x NUMBER := 0;
    y NUMBER;
    z VARCHAR2(1);
    BEGIN
    IF length(a) > 8 THEN
    RAISE invalid_number;
    END IF;
    FOR i IN 1..length(a) LOOP
    z := upper(substr(a,i,1));
    IF z = 'A' THEN
    y := 10;
    ELSIF z = 'B' THEN
    y := 11;
    ELSIF z = 'C' THEN
    y := 12;
    ELSIF z = 'D' THEN
    y := 13;
    ELSIF z = 'E' THEN
    y := 14;
    ELSIF z = 'F' THEN
    y := 15;
    ELSE
    y := to_number(z,9);
    END IF;
    x := x * 16;
    x := x + y;
    END LOOP;
    RETURN x;
    END hextodec;
    FUNCTION dectohex(a IN NUMBER) RETURN VARCHAR2 IS
    x VARCHAR2(8) := '';
    y VARCHAR2(1);
    z NUMBER;
    w NUMBER;
    BEGIN
    IF a > power(2,32) OR a < 0 THEN
    RAISE invalid_number;
    END IF;
    w := a;
    WHILE w > 0 LOOP
    z := w mod 16;
    IF z = 10 THEN
    y := 'A';
    ELSIF z = 11 THEN
    y := 'B';
    ELSIF z = 12 THEN
    y := 'C';
    ELSIF z = 13 THEN
    y := 'D';
    ELSIF z = 14 THEN
    y := 'E';
    ELSIF z = 15 THEN
    y := 'F';
    ELSE
    y := to_char(z);
    END IF;
    w := trunc(w / 16);
    x := concat(y,x);
    END LOOP;
    RETURN x;
    END dectohex;
    END support;
    drop public synonym support;
    create public synonym support for system.support;
    grant execute on support to public;

    FYI: The new xf86-video-intel (2.9) has just been released:
    http://article.gmane.org/gmane.comp.fre … xorg/40733
    According to the release announcement, the new driver fixes the backlight issue with KMS:
    * Add support for BACKLIGHT property when using kernel modesetting
      (KMS). This allows backlight adjustment with programs such as
      "xbacklight -set <percentage>" or "xrandr --set BACKLIGHT <value>".

  • Conflicts resolution methods in Oracle Lite

    Can anyone please provide the answers of the following questions?
    1_What Methods are used for Conflict detection and resolution for concurrent updates by multiple clients in Oracle lite databases?
    2_ Is there any method that extract semantic relation from the concurrent update transactions and create a global update schedule?
    3_ Does oracle lite use conflict avoidance mechanism?
    4_ What replication method is used by Oracle Lite Database?

    In terms of conflict resolution with oracle lite, which end do you mean? conflict resolution in the client database (ie: oracle lite) or on the server side when processing client uploads (this is just a standard oracle database), also not sure what you are trying to achieve
    *1_What Methods are used for Conflict detection and resolution for concurrent updates by multiple clients in Oracle lite databases?*
    I assume in the following that you are talking about dealing with uploads
    Depending on how the publication items are defined, the process is quite different.
    a) fast refresh publication items
    When the client synchronises, the upload data is uploaded as a packed binary file which is then unpacked and inserted into in queue tables in the mobileadmin repsitory (table names begin CFM$ followed by the publication item name). This is the only action that happens during the actual sync process.
    A second and independent process, not linked to the actual synchronisation - the MGP process, runs on the mobile server, and this has three phases - apply, process logs and compose that run one after the other. You can set the MGP to only do the apply phase, or all three.
    during the apply phase the data in the in queue tables for a particular user/transaction will be applied to the server database. Normally the MGP process is set to have three threads (this can be changed, but three is the default), and therefore three client uploads will be processed in parallel, but each of these threads is independant of the others and therefore should be seen as seperate transactions.
    It should be noted that even if you have 50 or 100 users synchronising concurrently, only three upload sets will be processed at any one time, and almost certainly a period of time after the synchronisation has completed (may be many hours depending on the MGP cycle time)
    As each of the apply threads is a seperate transaction, there is no concept of concurrency built in, and the only conflict resolution by default is based on the server wins/client wins setting of the publication item. where multiple users are updating the the same server record with 'client wins', the first user will update the data, and then the next user will update the data (just a repeat of the previous one). NOTE also that in the case of an update, ALL columns in the record are updated, there is no column level update.
    There are customisation options available to provide finer grained control over the apply process, look at the PLSQL callback packages registered against each publication item for beforeapply, afterapply, beforetranapply and aftertranapply, Apply DML procedures against the publication items and also the CUSTOMIZE package at the MGP level
    b) complete refresh publication items
    where the publication as a whole has a mixture of fast and complete refresh publication items, these normally work in the same way as the fast refresh described above. Where however you just have complete refresh items the data MAY be written directly to the server table on upload
    c) queue based publication items
    These work in realtime, rather than with a delay for the MGP process to pick up the data.
    When the user synchronises, the uploaded data is is written to the in queue tables in the same way, but when this is completed, a package (defined as part of the publication definition) is called, and the procedure upload_complete is run passing in the user and transaction identifiers. This package needs to be hand crafted, but you have full control over what and how all of the uploaded data is processed, but again this is a single transaction for that user. If you want to look at other sessions running, you need to find a way to implement this.
    *2_ Is there any method that extract semantic relation from the concurrent update transactions and create a global update schedule?*
    As noted above, the uploads may be processed in parallel, but they are seperate transactions, so no built ins
    *3_ Does oracle lite use conflict avoidance mechanism?*
    Only the basic oracle stuff, unless you use the customisation options to write your own
    *4_ What replication method is used by Oracle Lite Database?*
    The different types of publication items select data from the server database for download in different ways
    a) fast refresh
    change logging tables and triggers are created in the server database. These are scanned during the MGP process logs phase to determine what changes have happened since the last MGP compose, and what publication items they affect. The MGP compose then runs and this uses the same three threads to process the users in alphabetical order using the change keys to populate data in out queue tables (prefixed CMP$) in the repository. These have the PK values for the data, plus a transaction types (insert/update/delete). All the MGP process does is populate these out queue tables.
    When the user synchronises, the data in the out queue tables is used as a key list to extract the data from the actual server tables into a packed binary file, and this is sent to the client.
    b) complete refresh
    there is no pre-preparation in this case, the data is streamed directly from the server database into the packed binary download file
    c) queue based items
    in real time when the user is synchronising after the apply has been done by the uploade_complete procedure, a second procedure download_init is called. Within this you have to code the data extract, and MUST populate tables (you also need to create them) CTM$<publication item name> these are effectively out queue tables, but contain all of the data, not just the PK values. At the end of the procedure, the data is streamed from these into the binary file for download.
    Depending on the definition of your apublication, you could have one or more of the above types (VERY bad idea to mix queue based and fast refresh unless you are very sure about what you are doing) and therefore there may be a mix of different actions happening at different times
    In conclusion i would say that try and send seperate data to clients so that they do not interfere with each other, and for inserts use uniqueue keys or sequences. If you MUST send the same data to different clients for update, then the queue based approach provides the best control, but as it is real time is not as scalable for large data sets.

  • Oracle Lite Triggers

    Hi,
    What is the best way to handle triggers in Oracle Lite?
    The application table on my live server (oracle 9i) has many triggers and most of them are not required on oracle Lite. So, i don't include triggers will packaging. But I get error while publishing the application.
    Pls advice.
    Regards,
    Deepak

    Hi,
    I am qouting below from the oracle 8i Lite documentation which says it supports triggers . Please clarify.
    Oracle Lite DBMS
    Oracle Lite DBMS is a lightweight (50KB - 750KB), Java enabled database designed from the ground up for laptops, handheld computers, PDAs and smartphones. It supports industry standard ODBC, JDBC, SQLJ, and Java Stored Procedures and Triggers. It provides a streaming fast "C" interface, OKAPI, to its object kernel. It also supports Java Access Classes, JAC, a fast and easy way to make Java Objects persistent. Oracle Lite DBMS now supports all popular mobile platforms, including Palm OS, EPOC, and Windows CE, letting you deploy enterprise applications on virtually any mobile device.
    Regards
    null

  • Oracle Lite with AdoCE+eVb

    Please, I'm getting started with Oracle Lite and I want to know if is possible call a PROCEDURE or PACKAGE using ADOCE...
    Anybody can help me ?

    You probably mean if you can call a Java Stored Procedure from ADOCE application. PL/SQL packages are not supported in Oracle Lite database. The answer is no. For more information see Developers' Guide for WindowsCE, Chapter 4

  • Setting up Oracle Lite 8i

    I'm trying to get a demo copy of Oracle Lite 8i working on my machine, but I can't seem to get tables setup on the databases. I'm running a sql script through SQLPlus and it says it is creating tables, but when I go to navigator I can't see anything. Does anyone have any ideas on what I'm doing wrong?
    Thanks in advance.
    Tim

    The difference in Olite versus Oracle Server SQL is here:
    OLite does NOT automatically commit DDLs.
    That means that a CREATE TABLE is not written to the database until You issue a COMMIT.
    When disconnecting from OLite without COMMITting the freshly created tables, they are GONE because of an automatic rollback upon disconnection.
    Short line:
    always do a COMMIT after DDLs, or Your tables are ROLLED BACK and gone upon disconnect or invisible to other clients until COMMIT.

  • OEM - Refresh Template script generation wizard don't work

    (Oracle 9.2.0.8, single-master-many-mviews)
    Hi,
    I have never trusted in OEM but this time I hoped it will help me. Alas!
    I created the deployment template using an OEM wizard. Now I need to generate the template script. The template script generation wizard supposed to do this but when I reach "Step 4 of 5 - Set refresh schedule" I set the interval and then... pressing "Next" button just does nothing. I can't pass to Step 5 despite all the information has been provided correctly. Anyone has any ideas about this or should I do it manually as usual and forget about OEM?
    Oleh

    Welcome to our community, Linda
    In RoboHelp, if you open the Glossary pod (View > Pods > Glossary > Select Glossary) do you see terms and definitions listed there?
    If not, that would explain it as the Glossary has no entries.
    Assuming it does have entries, you may simply need to enable the tab by clicking View > Pods > Project Set-up. Expanding the Windows section in the pod and double-clicking your CHM window.
    A CHM window looks like this:
    If you don't see a CHM window, you will need to create one. If you do see a CHM window, double-click it. Then ensure the Glossary is enabled.
    Keep us posted! Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

Maybe you are looking for