SOA Purge using delete_instances on SNAP

Hi,
We have SOA 11g 11.1.1.5. In our Production Database our SOA schema size is over 1.5 TB. The current purge script we have is not deleting all the instances and so the Database size is growing. We decided to use the below as we really don't need any data beyond 1 week.
SOA_SOAINFRA.soa.delete_instances(
   min_creation_date => min_creation_date,
   max_creation_date => max_creation_date,
   batch_size => batch_size,
   max_runtime => max_runtime,
   retention_period => retention_period,
   ignore_state => true,
   purge_partitioned_component => false);
In order to use this as a scheduled job we want to delete the old data first. It's taking way too long to even delete even a one week of old data. So we want to see if the below approach will work.
Take the SNAP of Production Database and then run the above script and purge the data.
Reclaim the space following Oracle Note "How to Free Space from LOB Segments in the SOA Schema (Doc ID 1380989.1)"
Use this version of SNAP for the Production Database.
Any feedback is appreciated
Thanks

Hi Vipin,
Thanks for your replay, I even tried with the commands you mentioned. I was trying to include the time frame in the below purge script it is not working:
DECLARE
MAX_CREATION_DATE timestamp;
MIN_CREATION_DATE timestamp;
batch_size integer;
max_runtime integer;
retention_period timestamp;
BEGIN
MIN_CREATION_DATE := to_timestamp('2010-01-01','YYYY-MM-DD');
MAX_CREATION_DATE := to_timestamp('2010-01-31','YYYY-MM-DD');
max_runtime := 60;
retention_period := to_timestamp('2010-01-31','YYYY-MM-DD');
batch_size := 10000;
soa.delete_instances(
min_creation_date => MIN_CREATION_DATE,
max_creation_date => MAX_CREATION_DATE,
batch_size => batch_size,
max_runtime => max_runtime,
retention_period => retention_period,
purge_partitioned_component => false);
END;

Similar Messages

  • Scheduling of SOA purge instances (11.1.1.7) generating logs

    What is best practice for scheduling the purging of SOA instances using the Oracle Soa purge strategy?
    Followed the instructions successfully http://docs.oracle.com/cd/E29542_01/admin.1111/e10226/soaadmin_partition.htm#SOAAG97268
    My requirements:
    For each purge run a unique log must be generated on the filesystem.
    The purging must be done frequently according to a schedule (i.e. daily 8pm).
    My issue:
    when I run the looped purge (soa.delete_instances), logs are not being generated as expected within the SOA_PURGE_DIR.
    logs are only generated in SOA_PURGE_DIR when I execute the parallel purge (soa.delete_instances_in_parallel). I need to run looped purge and not parallel purge.
    Current scenario (workaround to generate logs (seems a bit overkill)):
    DBMS_Scheduler job invoking a shell script
    Shell script invokes a custom sql script spooling the output to a log file
    Custom sql script invokes the Oracle soa.delete_instances procedure setting all the parameters
    soa.delete_instances runs.
    Preferred scenario (not working):DBMS_Scheduler job (PL/SQL block) -> Oracle SOA Purge procedure
    DBMS_Scheduler:
    BEGIN
    dbms_scheduler.create_job('SOA_PURGE',
        job_type             =>'EXECUTABLE',
        job_action           =>'/stage/scripts/sh/soa_purge.sh',
        number_of_arguments  =>0,
        start_date           =>TO_TIMESTAMP_TZ('27-NOV-2014 08.00.00.000000000 PM +01:00','DD-MON-RRRR HH.MI.SSXFF AM TZR','NLS_DATE_LANGUAGE=english'),
        repeat_interval      =>'FREQ=DAILY',
        end_date             =>NULL,
        job_class            =>'DEFAULT_JOB_CLASS',
        enabled              =>TRUE,
        auto_drop            =>FALSE,
        comments             =>'Job to purge the data from dehydration gateway database.'
    COMMIT;
    END;
    Shell script:
    SPOOL_FILE1=/stage/logs/soa_purge_$(date +%Y_%M_%DT%H_%M_%S).log
    sqlplus "user/password" <<EOF
    alter session set nls_date_format = 'dd/mm/yyyy hh24:mi:ss';
    SET linesize 100
    SET pagesize 300
    SET time on
    SET timing on
    spool ${SPOOL_FILE1}
    @@/stage/scripts/sql/debug_on.sql
    @@/stage/scripts/sql/soa_purge_test.sql
    @@/stage/scripts/sql/debug_off.sql
    spool off;
    set time off;
    exit;
    EOF
    Custom script (soa_purge_test.sql (above)):
    SET SERVEROUTPUT ON;
    DECLARE
      MAX_CREATION_DATE TIMESTAMP;
      MIN_CREATION_DATE TIMESTAMP;
      BATCH_SIZE        INTEGER;
      MAX_RUNTIME       INTEGER;
      RETENTION_PERIOD  TIMESTAMP;
    BEGIN
      MIN_CREATION_DATE := TO_TIMESTAMP(TO_CHAR(sysdate-90, 'YYYY-MM-DD'),'YYYY-MM-DD');
      MAX_CREATION_DATE := TO_TIMESTAMP(TO_CHAR(sysdate-30, 'YYYY-MM-DD'),'YYYY-MM-DD');
      RETENTION_PERIOD  := TO_TIMESTAMP(TO_CHAR(sysdate-29, 'YYYY-MM-DD'),'YYYY-MM-DD');
      MAX_RUNTIME       := 1380;
      BATCH_SIZE        := 250000;
      SOA.DELETE_INSTANCES(
        MIN_CREATION_DATE    => MIN_CREATION_DATE,
        MAX_CREATION_DATE    => MAX_CREATION_DATE,
        BATCH_SIZE           => BATCH_SIZE,
        MAX_RUNTIME          => MAX_RUNTIME,
        RETENTION_PERIOD     => RETENTION_PERIOD
    END;

    What is best practice for scheduling the purging of SOA instances using the Oracle Soa purge strategy?
    Followed the instructions successfully http://docs.oracle.com/cd/E29542_01/admin.1111/e10226/soaadmin_partition.htm#SOAAG97268
    My requirements:
    For each purge run a unique log must be generated on the filesystem.
    The purging must be done frequently according to a schedule (i.e. daily 8pm).
    My issue:
    when I run the looped purge (soa.delete_instances), logs are not being generated as expected within the SOA_PURGE_DIR.
    logs are only generated in SOA_PURGE_DIR when I execute the parallel purge (soa.delete_instances_in_parallel). I need to run looped purge and not parallel purge.
    Current scenario (workaround to generate logs (seems a bit overkill)):
    DBMS_Scheduler job invoking a shell script
    Shell script invokes a custom sql script spooling the output to a log file
    Custom sql script invokes the Oracle soa.delete_instances procedure setting all the parameters
    soa.delete_instances runs.
    Preferred scenario (not working):DBMS_Scheduler job (PL/SQL block) -> Oracle SOA Purge procedure
    DBMS_Scheduler:
    BEGIN
    dbms_scheduler.create_job('SOA_PURGE',
        job_type             =>'EXECUTABLE',
        job_action           =>'/stage/scripts/sh/soa_purge.sh',
        number_of_arguments  =>0,
        start_date           =>TO_TIMESTAMP_TZ('27-NOV-2014 08.00.00.000000000 PM +01:00','DD-MON-RRRR HH.MI.SSXFF AM TZR','NLS_DATE_LANGUAGE=english'),
        repeat_interval      =>'FREQ=DAILY',
        end_date             =>NULL,
        job_class            =>'DEFAULT_JOB_CLASS',
        enabled              =>TRUE,
        auto_drop            =>FALSE,
        comments             =>'Job to purge the data from dehydration gateway database.'
    COMMIT;
    END;
    Shell script:
    SPOOL_FILE1=/stage/logs/soa_purge_$(date +%Y_%M_%DT%H_%M_%S).log
    sqlplus "user/password" <<EOF
    alter session set nls_date_format = 'dd/mm/yyyy hh24:mi:ss';
    SET linesize 100
    SET pagesize 300
    SET time on
    SET timing on
    spool ${SPOOL_FILE1}
    @@/stage/scripts/sql/debug_on.sql
    @@/stage/scripts/sql/soa_purge_test.sql
    @@/stage/scripts/sql/debug_off.sql
    spool off;
    set time off;
    exit;
    EOF
    Custom script (soa_purge_test.sql (above)):
    SET SERVEROUTPUT ON;
    DECLARE
      MAX_CREATION_DATE TIMESTAMP;
      MIN_CREATION_DATE TIMESTAMP;
      BATCH_SIZE        INTEGER;
      MAX_RUNTIME       INTEGER;
      RETENTION_PERIOD  TIMESTAMP;
    BEGIN
      MIN_CREATION_DATE := TO_TIMESTAMP(TO_CHAR(sysdate-90, 'YYYY-MM-DD'),'YYYY-MM-DD');
      MAX_CREATION_DATE := TO_TIMESTAMP(TO_CHAR(sysdate-30, 'YYYY-MM-DD'),'YYYY-MM-DD');
      RETENTION_PERIOD  := TO_TIMESTAMP(TO_CHAR(sysdate-29, 'YYYY-MM-DD'),'YYYY-MM-DD');
      MAX_RUNTIME       := 1380;
      BATCH_SIZE        := 250000;
      SOA.DELETE_INSTANCES(
        MIN_CREATION_DATE    => MIN_CREATION_DATE,
        MAX_CREATION_DATE    => MAX_CREATION_DATE,
        BATCH_SIZE           => BATCH_SIZE,
        MAX_RUNTIME          => MAX_RUNTIME,
        RETENTION_PERIOD     => RETENTION_PERIOD
    END;

  • SOA Purging Scripts failing

    Hi All,
    I am following the below Oracle post for running the SOA Purging scripts.
    http://docs.oracle.com/cd/E23943_01/admin.1111/e10226/soaadmin_partition.htm#SOAAG97396
    When I follow Step 3 under 9.3.6 Executing the Purge Scripts the script is failing with the below errors. What I have observed is that @@ file name under package is not getting executed.
    For Example : purge_bpel_oracle.sql is failing because of @@ and all other files are failing because of this issue.
    CREATE OR REPLACE
    PACKAGE body soa_orabpel
    AS
    @orabpel_pruneOpenCompositeIDs.sql
    @orabpel_deleteComponentInstances.sql
    @orabpel_deleteNoCompositeIdInstances.sql
    @orabpel_deleteComponentInstancesDOP.sql
    @orabpel_isComponentPartitioned.sql
    END soa_orabpel;
    I tried giving complete path of the file even then it is failing.
    CREATE OR REPLACE
    PACKAGE body soa_orabpel
    AS
    @D:\WeblogicMiddleware1117\Oracle_SOA1\rcu\integration\soainfra\sql\soa_purge\orabpel\orabpel_pruneOpenCompositeIDs.sql
    @D:\WeblogicMiddleware1117\Oracle_SOA1\rcu\integration\soainfra\sql\soa_purge\orabpel\orabpel_deleteComponentInstances.sql
    @D:\WeblogicMiddleware1117\Oracle_SOA1\rcu\integration\soainfra\sql\soa_purge\orabpel\orabpel_deleteNoCompositeIdInstances.sql
    @D:\WeblogicMiddleware1117\Oracle_SOA1\rcu\integration\soainfra\sql\soa_purge\orabpel\orabpel_deleteComponentInstancesDOP.sql
    @D:\WeblogicMiddleware1117\Oracle_SOA1\rcu\integration\soainfra\sql\soa_purge\orabpel\orabpel_isComponentPartitioned.sql
    END soa_orabpel;
    SQL> @soa_purge_scripts.sql
    Procedure created.
    Procedure created.
    Procedure created.
    Procedure created.
    Function created.
    Function created.
    Function created.
    Function created.
    Procedure created.
    Function created.
    Procedure created.
    Procedure created.
    Type created.
    Type body created.
    PL/SQL procedure successfully completed.
    Package created.
    Warning: Package Body created with compilation errors.
    PL/SQL procedure successfully completed.
    Package created.
    Warning: Package Body created with compilation errors.
    PL/SQL procedure successfully completed.
    Package created.
    Warning: Package Body created with compilation errors.
    PL/SQL procedure successfully completed.
    Package created.
    Warning: Package Body created with compilation errors.
    PL/SQL procedure successfully completed.
    Package created.
    Warning: Package Body created with compilation errors.
    Package created.
    Warning: Package Body created with compilation errors.
    PL/SQL procedure successfully completed.
    Package created.
    SP2-0310: unable to open file "delete_instances.sql"
    SP2-0310: unable to open file "delete_insts_in_parallel_job.sql"
    SP2-0310: unable to open file "delete_instances_in_parallel.sql"
    Warning: Package Body created with compilation errors.
    SQL> show errors;
    Errors for PACKAGE BODY SOA:
    LINE/COL ERROR
    3/17     PLS-00323: subprogram or cursor 'DELETE_INSTANCES' is declared in
             a package specification and must be defined in the package body
    14/11    PLS-00323: subprogram or cursor 'DELETE_INSTANCES_IN_PARALLEL' is
             declared in a package specification and must be defined in the
             package body
    27/11    PLS-00323: subprogram or cursor 'DELETE_INSTS_IN_PARALLEL_JOB' is
             declared in a package specification and must be defined in the
             package body
    Can any one help me on the above issue.

    I resolved the issue.
    I logged in as dev_soa_infra user and changed all the relative path to absolute path and the script worked.

  • While deploying the soa components using ANT getting the 404 exception

    HI
    I am trying to deploy the soa composites using ANT i am getting the below exception.
    Please help me as it is need very urgert for client.
    Appriciate for the quick help
    Exception:
    ant -f build.xml deployOnlyApplication
    [WARN ][codegc ] Could not acquire large pages for 256Mbytes code (at 0xffffffff60000000).
    [WARN ][codegc ] Falling back to normal page size.
    Buildfile: build.xml
         [echo] property file   = /opt/oracle/SampleCode
    deployOnlyApplication:
        [input] Please enter Application Name:
    HelloWorld
         [echo] In deployOnlyApplication ApplicationName HelloWorld
         [echo] Application Name HelloWorld
         [echo] property file   = /opt/oracle/SampleCode
    deployApplication:
         [echo] deploy application HelloWorld
         [echo] /opt/oracle/SampleCode/code/HelloWorld/build.properties
         [echo] property file   = /opt/oracle/SampleCode
    deployProject:
         [echo] deploy project HelloProject for environment SIT
         [echo] partition default compositeName HelloProject compositeDir /opt/oracle/SampleCode/code/HelloWorld
         [echo] build sar package
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    clean:
         [echo] deleting /opt/oracle/SampleCode/code/HelloWorld/HelloProject/deploy/sca_HelloProject_rev1.0.jar
    init:
    scac-validate:
         [echo] Running scac-validate in /opt/oracle/SampleCode/code/HelloWorld/HelloProject/composite.xml
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    scac:
         [scac] Validating composite "/opt/oracle/SampleCode/code/HelloWorld/HelloProject/composite.xml"
         [scac]  info: File to validate does not exist fault-policies.xml
         [scac]  info: No test suites available
    package:
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    compile-source:
        [mkdir] Created dir: /opt/oracle/SampleCode/code/HelloWorld/HelloProject/dist
         [copy] Copying 17 files to /opt/oracle/SampleCode/code/HelloWorld/HelloProject/dist
         [copy] Warning: /opt/oracle/SampleCode/code/HelloWorld/HelloProject/src not found.
          [jar] Building jar: /opt/oracle/SampleCode/code/HelloWorld/HelloProject/deploy/sca_HelloProject_rev1.0.jar
       [delete] Deleting directory /opt/oracle/SampleCode/code/HelloWorld/HelloProject/dist
         [copy] Copying 1 file to /opt/oracle/SampleCode/builds/${build.number}
         [echo] deploy on http://10.51.80.64:7005 with user weblogic
         [echo] deploy sarFile /opt/oracle/SampleCode/code/HelloWorld/HelloProject/deploy/sca_HelloProject_rev1.0.jar
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
    deploy:
        [input] skipping input as property serverURL has already been set.
        [input] skipping input as property sarLocation has already been set.
        [input] skipping input as property password has already been set.
    [deployComposite] setting user/password..., user=weblogic
    [deployComposite] Processing sar=/opt/oracle/SampleCode/code/HelloWorld/HelloProject/deploy/sca_HelloProject_rev1.0.jar
    [deployComposite] Adding sar file - /opt/oracle/SampleCode/code/HelloWorld/HelloProject/deploy/sca_HelloProject_rev1.0.jar
    [deployComposite] INFO: Creating HTTP connection to host:10.51.80.64, port:7005
    [deployComposite] INFO: Received HTTP response from the server, response code=404
    [deployComposite] SEVERE: Problem in sending HTTP request to the server. Please make sure the server is up and/or check standard HTTP response code for 404
    [deployComposite] ---->response code=404, error:null
         [echo] stop activate HelloProject
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1/bin/..
    activateComposite:
        [input] skipping input as property host has already been set.
        [input] skipping input as property port has already been set.
        [input] skipping input as property user has already been set.
    [secure-input] skipping secure-input as property password has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1/bin/..
    compositeMgrTask:
         [java] [WARN ][codegc ] Could not acquire large pages for 256Mbytes code (at 0xffffffff60000000).
         [java] [WARN ][codegc ] Falling back to normal page size.
         [java] Connecting to: service:jmx:t3://10.51.80.64:7005/jndi/weblogic.management.mbeanservers.runtime
         [java] java.io.IOException: Unhandled exception in lookup
         [java]     at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:196)
         [java]     at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:84)
         [java]     at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerHelper.createJMXConnector(CompositeManagerHelper.java:91)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManager.initConnection(CompositeManager.java:48)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerAntWrapper.execute(CompositeManagerAntWrapper.java:221)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerAntWrapper.main(CompositeManagerAntWrapper.java:275)
         [java] Caused by: javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.NO_PERMISSION:   vmcid: 0x0  minor code: 0  completed: No]
         [java]     at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:291)
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:227)
         [java]     at javax.naming.InitialContext.lookup(InitialContext.java:392)
         [java]     at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:179)
         [java]     ... 6 more
         [java] Caused by: org.omg.CORBA.NO_PERMISSION:   vmcid: 0x0  minor code: 0  completed: No
         [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         [java]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         [java]     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         [java]     at java.lang.Class.newInstance0(Class.java:357)
         [java]     at java.lang.Class.newInstance(Class.java:310)
         [java]     at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:897)
         [java]     at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:99)
         [java]     at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:572)
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:471)
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:358)
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
         [java]     at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
         [java]     at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:80)
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:267)
         [java]     ... 9 more
         [echo] unit test HelloProject
         [echo] finish
         [echo] property file   = /opt/oracle/SampleCode
    deployProject:
         [echo] deploy project Project1 for environment SIT
         [echo] partition default compositeName Project1 compositeDir /opt/oracle/SampleCode/code/HelloWorld
         [echo] build sar package
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    clean:
         [echo] deleting /opt/oracle/SampleCode/code/HelloWorld/Project1/deploy/sca_Project1_rev1.0.jar
    init:
        [mkdir] Created dir: /opt/oracle/SampleCode/code/HelloWorld/Project1/deploy
    scac-validate:
         [echo] Running scac-validate in /opt/oracle/SampleCode/code/HelloWorld/Project1/composite.xml
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    scac:
         [scac] Validating composite "/opt/oracle/SampleCode/code/HelloWorld/Project1/composite.xml"
         [scac]  info: File to validate does not exist fault-policies.xml
         [scac]  info: No test suites available
    package:
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    compile-source:
        [mkdir] Created dir: /opt/oracle/SampleCode/code/HelloWorld/Project1/dist
         [copy] Copying 15 files to /opt/oracle/SampleCode/code/HelloWorld/Project1/dist
         [copy] Warning: /opt/oracle/SampleCode/code/HelloWorld/Project1/src not found.
         [copy] Copying 2 files to /opt/oracle/SampleCode/code/HelloWorld/Project1/dist/SCA-INF/classes
          [jar] Building jar: /opt/oracle/SampleCode/code/HelloWorld/Project1/deploy/sca_Project1_rev1.0.jar
       [delete] Deleting directory /opt/oracle/SampleCode/code/HelloWorld/Project1/dist
         [copy] Copying 1 file to /opt/oracle/SampleCode/builds/${build.number}
         [echo] deploy on http://10.51.80.64:7005 with user weblogic
         [echo] deploy sarFile /opt/oracle/SampleCode/code/HelloWorld/Project1/deploy/sca_Project1_rev1.0.jar
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
    deploy:
        [input] skipping input as property serverURL has already been set.
        [input] skipping input as property sarLocation has already been set.
        [input] skipping input as property password has already been set.
    [deployComposite] setting user/password..., user=weblogic
    [deployComposite] Processing sar=/opt/oracle/SampleCode/code/HelloWorld/Project1/deploy/sca_Project1_rev1.0.jar
    [deployComposite] Adding sar file - /opt/oracle/SampleCode/code/HelloWorld/Project1/deploy/sca_Project1_rev1.0.jar
    [deployComposite] INFO: Creating HTTP connection to host:10.51.80.64, port:7005
    [deployComposite] INFO: Received HTTP response from the server, response code=404
    [deployComposite] SEVERE: Problem in sending HTTP request to the server. Please make sure the server is up and/or check standard HTTP response code for 404
    [deployComposite] ---->response code=404, error:null
         [echo] stop activate Project1
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1/bin/..
    activateComposite:
        [input] skipping input as property host has already been set.
        [input] skipping input as property port has already been set.
        [input] skipping input as property user has already been set.
    [secure-input] skipping secure-input as property password has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1/bin/..
    compositeMgrTask:
         [java] [WARN ][codegc ] Could not acquire large pages for 256Mbytes code (at 0xffffffff60000000).
         [java] [WARN ][codegc ] Falling back to normal page size.
         [java] Connecting to: service:jmx:t3://10.51.80.64:7005/jndi/weblogic.management.mbeanservers.runtime
         [java] java.io.IOException: Unhandled exception in lookup
         [java]     at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:196)
         [java]     at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:84)
         [java]     at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerHelper.createJMXConnector(CompositeManagerHelper.java:91)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManager.initConnection(CompositeManager.java:48)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerAntWrapper.execute(CompositeManagerAntWrapper.java:221)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerAntWrapper.main(CompositeManagerAntWrapper.java:275)
         [java] Caused by: javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.NO_PERMISSION:   vmcid: 0x0  minor code: 0  completed: No]
         [java]     at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:291)
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:227)
         [java]     at javax.naming.InitialContext.lookup(InitialContext.java:392)
         [java]     at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:179)
         [java]     ... 6 more
         [java] Caused by: org.omg.CORBA.NO_PERMISSION:   vmcid: 0x0  minor code: 0
         [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
         [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC
         [java]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del
         [java]     at java.lang.reflect.Constructor.newInstance(Constructor.java:51
         [java]     at java.lang.Class.newInstance0(Class.java:357)
         [java]     at java.lang.Class.newInstance(Class.java:310)
         [java]     at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.get
         [java]     at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_
         [java]     at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSy
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherIm
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherIm
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke
         [java]     at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457
         [java]     at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.jav
         [java]     ... 9 more
         [echo] unit test Project1
         [echo] finish
         [echo] finished Composite HelloWorld deployment
    BUILD SUCCESSFUL
    Total time: 1 minute 7 seconds
    Note : All the server name and port no are depfined properly.
    Regards,
    Anilkumar P

    Hi,
    I was getting exactly same error. I have resolved it by putting the
    <target name="enterPassword" >
            <input message="Please enter Weblogic password:" addproperty="passwd">
                <handler classname="org.apache.tools.ant.input.SecureInputHandler" />
            </input>      
    in my build.xml
    It means that it was not able to read password properly in bin/ant-sca-mgmt.xml
    Password was the issue in my case. it is working now.
    Thanks,
    Arun Jadhav

  • Error in deploying SOA composite using ant

    Hi,
    When I try to deploy a SOA composite using ant utility, I am getting error as follows:
    C:\JDeveloper11\MiddlewareHome\jdeveloper\bin>ant -f ant-sca-deploy.xml -Dserver
    URL=http://gdiora001.in.ibm.com:7001 -DsarLocation=C:\po\POProcessing\POProcessi
    ng\deploy\sca_POProcessing_rev6-cmdline.jar -Doverwrite=true -Duser=weblogic -Dp
    assword=<<password>> -DforceDefault=true -Dconfigplan=C:\po\POProcessing\POProcessin
    g\POProcessing_dev_cfgplan.xml
    Buildfile: ant-sca-deploy.xml
    [echo] oracle.home = C:\JDeveloper11\MiddlewareHome\jdeveloper\bin/..
    deploy:
    [input] skipping input as property serverURL has already been set.
    [input] skipping input as property sarLocation has already been set.
    [deployComposite] setting user/password..., user=weblogic
    [deployComposite] Processing sar=C:\po\POProcessing\POProcessing\deploy\sca_POPr
    ocessing_rev6-cmdline.jar
    [deployComposite] Adding sar file - C:\po\POProcessing\POProcessing\deploy\sca_P
    OProcessing_rev6-cmdline.jar
    [deployComposite] Creating HTTP connection to host:gdiora001.in.ibm.com, port:70
    01
    [deployComposite] Received HTTP response from the server, response code=404
    [deployComposite] Problem in sending HTTP request to the server. Check standard
    HTTP response code for 404
    [deployComposite] ---->response code=404, error:null
    BUILD SUCCESSFUL
    Total time: 14 seconds
    C:\JDeveloper11\MiddlewareHome\jdeveloper\bin>
    Please note that I am able to successfully deploy the composite from EM, using same SAR and Config Plan files.
    The server URL is also correct.
    I am not sure what is wrong with above ant command.
    Can someone please help me.
    Thanks

    Hi,
    404 response indicates that soa-infra is not running in the host:port/gdiora001.in.ibm.com, port:7001
    Pl make sure that you have soa-infra running in that host/port.
    http://host:port/soa-infra
    For the logs,
    you can find the soa server logs under $DOMAIN_HOME/servers/soa_server1/logs

  • Error on SOA packaging using ant

    Hi,
    Im trying to deploy a SOA composite using Ant scripts. My composite refers to wsdl's present in mds. On trying to compile and package the composite, i get the below error. The same composite gets compiled when i try from JDev, can someone please help in letting me know if any configuration is to be done.
    +"+
    +[scac] not part of the command.+
    +[scac] Error redirected to /var/lib/jenkins/jobs/trunk_build_project_track_SOA/workspace/bpel_scripts/../tmp/SearchService.err+
    +[scac] info: Validating composite "/var/lib/jenkins/jobs/trunk_build_project_track_SOA/workspace/SearchMaintenanceApplication/SearchService/composite.xml"+
    +[scac] info: Pass+
    +[scac] error: location {/ns:composite}(12,61): Parse of component type files failed, check the adf-config.xml file : "*java.lang.NoClassDefFoundError: oracle/security/jps/internal/api/credstore/CredstoreUtil:* oracle/security/jps/internal/api/credstore/CredstoreUtil"+
    +[antcall] Exiting /var/lib/jenkins/jobs/trunk_build_project_track_SOA/workspace/bpel_scripts/build.xml.+
    +[antcall] Exiting /var/lib/jenkins/jobs/trunk_build_project_track_SOA/workspace/bpel_scripts/build.xml.+
    +[antcall] Exiting /var/lib/jenkins/jobs/trunk_build_project_track_SOA/workspace/bpel_scripts/build.xml.+
    +"+
    Thanks,
    Edited by: user526495 on Jul 16, 2012 2:54 PM

    Hi,
    404 response indicates that soa-infra is not running in the host:port/gdiora001.in.ibm.com, port:7001
    Pl make sure that you have soa-infra running in that host/port.
    http://host:port/soa-infra
    For the logs,
    you can find the soa server logs under $DOMAIN_HOME/servers/soa_server1/logs

  • Deploying a SOA COmposite using WLST

    Hi,
    can any one tell me step by step procedure to deploy an SOA composite using WLST..
    Thanks in advance..

    Hi,
    Go to the similar directory in your server in the command prompt...
    C:\Oracle\Middleware\home_11g\Oracle_SOA1\common\bin
    execute the WLST command..., wlst.cmd for windows, wlst.sh for unix...
    now...
    before executing the deploy command, make sure you generate the SAR file for the composite by deploy--->deploy to SAR--->check the file should be there under the project directory source location.
    now back to the command prompt...
    wls:/offline>sca_deployComposite(serverURL="http://localhost:8001",user="weblogic",password="welcome1",partition="Enterprise",sarLocation="C:\work\Test-App\WLSTSoaService\deploy\sca_WLSTSoaService_rev1.0.jar",forceDefault=true,overwrite=true);
    press enter, then the command will be executed successfully...
    check the composite in the EM console, it will be there.
    Hope this helps,
    N

  • Error while compiling SOA composite using Jdeveloper

    Hi,
    I am getting below given error while compiling the SOA composite using Jdeveloper..
    I m referring this PDF to develop a custom workflow.
    http://st-curriculum.oracle.com/obe/fmw/oim/oim_11g/developing_oim_custom_approval_process_for_self_registration/developing_oim_custom_approval_process_for_self_registration.pdf
    Error(45,34): Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "ApprovalProcess" of composite "default/SelfRegistrationApproval!1.0"
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    Can u please let me know what am I missing here.
    Regards,
    Ab

    Hi,
    If u have any custom jars..make sure to add them at SCA-INF/lib directory.
    Thanks,

  • Deploying a soa composite using ant

    hi
    can any one explain me how to deploy a soa application using ant? i had generated build.xml using jdev.but when deploying using ant am getting java.awt.HeadlessException.do i need to modify anything in the build.xml or build.properties ?please help

    Take a look at this blog post as well:
    http://soadiscovery.blogspot.com/2011/05/soa-11g-deploying-composite-through-ant.html
    Thanks,
    Navaneeth

  • Approving OIM/SOA requests using OIM 11g APIs

    I'm creating a SOA request using createRequest method in RequestService OIM API. I would like to approve/reject the work items using the API as well but I don't see any methods to approve/reject the tasks. Is this something I would have to use SOA's webservices to do it?
    Thanks

    You need to use BPEL worklist API for the same.
    http://technology.amis.nl/blog/1496/invoking-bpel-worklist-api-from-remote-server-with-java
    http://docs.oracle.com/cd/E12839_01/integration.1111/e10224/bp_worklistcust.htm
    -Bikash

  • Pixel accuracy - using ActionScript to snap to pixels?

    Is it possible to use ActionScript to snap to pixels,
    repositioning everything in ones Flash project to whole-number, or
    integer positions and sizes? Flash's "Snap to Pixels" doesn't
    really work, and despite making sure that everything I design (such
    as shapes and texts) has integer positions and sizes to begin with,
    they tend to end up at non-integer positions as time passes by. How
    the hell? It's is annoying, inaccurate, blurry, and it compromises
    my designs.
    Is there a fix?
    Many thanks for taking the time to read this!
    Have a great day,
    Kyrre

    Is it possible to use ActionScript to snap to pixels,
    repositioning everything in ones Flash project to whole-number, or
    integer positions and sizes? Flash's "Snap to Pixels" doesn't
    really work, and despite making sure that everything I design (such
    as shapes and texts) has integer positions and sizes to begin with,
    they tend to end up at non-integer positions as time passes by. How
    the hell? It's is annoying, inaccurate, blurry, and it compromises
    my designs.
    Is there a fix?
    Many thanks for taking the time to read this!
    Have a great day,
    Kyrre

  • SOA Domain using Silent mode

    Hi
    Can anybody tell me how to create a SOA domain using WLST?
    --Thanks in Advance                                                                                                                                                                               

    Hi
    I am getting the below exception any idea?
    Error: readTemplate() failed. Do dumpStack() to see details.
    Problem invoking WLST – Traceback (innermost last):
    File “c:\oracle\silentdomain.py”, line 3, in ?
    File “C:\Users\test\AppData\Local\Temp\WLSTOfflineIni1709266438475496258.py
    “, line 17, in readTemplate
    The template to read must be a jar file containing a valid domain configuration
    at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleExc
    eption(CommandExceptionHandler.java:51)
    at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(W
    LScriptContext.java:1538)
    at com.oracle.cie.domain.script.jython.WLScriptContext.readTemplate(WLSc
    riptContext.java:340)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.
    jython.WLSTException: com.oracle.cie.domain.script.ScriptException: unable to pa
    rse “template-info.xml” from template jar “C:\oracle\wlserver_10.3\common\templates\domains\wls.jar
    The template to read must be a jar file containing a valid domain configuration

  • Using top/bottom snap in openbox

    Hi friends,is there any way to use top/bottom snap windows in openbox. I was able to create right/left snap configuration for openbox.now i want to extend it to top/bottom.

    Gary,<BR><BR>Thanks for the quick reply. But is it just me, or does it seem somewhat lame that there's not a built-in functionality for top/bottom reports? Or could it be that that functionality falls more into the Analysis category than the basic reporting category, and that's why Analyzer has it and HR doesn't?<BR><BR>Jared

  • Best Practice for SOA-oc4j using more than 4 GB

    Hi,
    is there any best practice how to use the SOA container with more than 4GB?
    Oracle ships only java with 32 Bits...

    If you need to modify the myRIO FPGA personality you have a few options.
    The best option is to start with the myRIO FPGA sample project, add and remove components as needed and then build your bitfile.  Any registers (LV FPGA controls / indicators) you don't modify will still work with the Advanced IO VIs and Express VIs.  In order to use the new bitfile (FPGA Personality) you'll need to update the Open FPGA VI Reference in myRIO v1.1 Open.vi (LabVIEW 2013\vi.lib\myRIO\Common\Instrument Driver Framework\myRIO v1.0\myRIO v1.1 Open.vi).
    After doing this any time you use a myRIO Express VI or Advanced IO VI it will use your custom bitfile.  Any peripheral channels you've left in place will continue to work.  Any channels you've removed will still show up in the VIs, but will not work (they will probably throw errors at runtime) and any new channels you added will not show up in the VIs.  For new channels you'll need to use the FPGA Read / Write nodes to read and write the configuration and data register you created in the FPGA personality.  These changes will persist on that computer until you change the Open FPGA VI Reference back to the original bitfile.
    Let us know if you have questions about any of this.
    Thanks!
    -Sam K
    LabVIEW Hacker
    Join / Follow the LabVIEW Hacker Group on google+

  • Request-Reply in JMSAdapter SOA 11g using a Topic and a Queue

    Hi All
    We are trying to implement JMS Request\Reply with Tibco EMS Server using JMS Request\Reply. Problem is that Tibco has exposed a topic (where request message has been enqueued) and replies the message is a pre defined JMS queue.
    I am trying to use JMS adapter in SOA 11g (OSB doesnt support request\reply as soon as destination is selected as Topic ) with foreign JMS server setup in weblogic.
    Problem is that when i invoke the composite, it errors out saying that request destination has to be a queue. I tried to find any sample that talks about request-reply with topics but could not find any.
    Is request-reply pattern supported with topics or topic-queue combinations in JMS adapter 11g? Please let u know. Thanks

    Hi All
    The request-reply pattern is working with queues and topics, but not with topic and queue. The issue is with this:
    <adapter-config name="RemoteOSBJMSService" adapter="JMS Adapter"
    wsdlLocation="RemoteOSBJMSService.wsdl"
    xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/JMS/RequestReplyTopic"
    UIJmsProvider="WLSJMS" UiOperationMode="Asynchronous"
    UIConnectionName="chdsez147855d"/>
    <endpoint-activation portType="Reply_ptt" operation="Reply"
    UITransmissionPrimitive="Request-response">
    <activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
    <property name="PayloadType" value="TextMessage"/>
    <property name="UseMessageListener" value="false"/>
    <property name="DestinationName" value="jms.soa.local.response.q"/>
    </activation-spec>
    </endpoint-activation>
    <endpoint-interaction portType="Request_ptt" operation="Request"
    UITransmissionPrimitive="Request-response">
    <interaction-spec className="oracle.tip.adapter.jms.outbound.JmsProduceInteractionSpec">
    <property name="TimeToLive" value="0"/>
    <property name="PayloadType" value="TextMessage"/>
    <property name="DeliveryMode" value="Persistent"/>
    <property name="DestinationName" value="jms.soa.local.request.topic"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    The connection factory "eis/JMS/RequestReplyTopic" can either hold isTopic as false or true. If i set it to false, it doesnt even let me enqueue and if i set it to true. The reply doesnt arrive.
    Please help!

Maybe you are looking for

  • One apple account for family. Don't want husbands iPad to view my mail. How to change?

    Updated software for husbands iPad 2.  It said he can access my email account.  He needs to access his own email account on his iPad, while I access my own email account on my Mac Book and iPhone 4S...how do I change this? 

  • How can I use hyperion objects inside ASP?

    I want to access Essbase by hyperion objects with using in ASP.is it possible? if it is possible,how can I do this? I'll be glad if you help me...Thanks...

  • Is there a way to reduce the effective surface area of a magic mouse?

    I apparently cannot hold my mouse the "correct" way. My palm still wants to rest on the back half of the mouse, particularly when I want to scroll. And sometimes when I grab the mouse, my finger will swipe the edge and cause the screen to scroll. All

  • How to parse/encode foreign chars in XML

    I am sending a char string such as y.x.x.x.y except that the y is actually a "y" with a dot on top (german). The remote server's parser complains and returns an exception. They are using xerces. What should they be doing to encode/parse such foreign

  • External Table Problem - Need Urgent Help

    Hi All, I want to load flat file data to oracle database. I have used external table feautre for loading data. My data is like "F","1","1","KIAWAH ISLAND rated off the pace, rallied to gain command on the far turn, then" Now my problem is that fields