Task of  a job in 11g

Hi,
I am finding some error related with some automated task in oracle 11g.It is like
ORA-12012: error on auto execute of job "SYS"."BSLN_MAINTAIN_STATS_JOB".
But i don't know what is the task of this job. As this is in PROD system, i am afraid to drop and recreate the DBNMS user, If there is any problem!!
So..would anyone give some idea about the job BSLN_MAINTAIN_STATS_JOB?? If this job does not run for a long time,will there be a problem??
Regards,

user8983130 wrote:
I have checked the status already. It shows failed:
LOG_DATE STATUS
15-SEP-12 11.00.02.159078 PM +06:00 FAILED
11-SEP-12 08.26.50.432359 PM +06:00 FAILED
08-SEP-12 11.00.02.194598 PM +06:00 FAILEDUse this
SQL> @?/rdbms/admin/catnsnmp.sql
SQL> @?/rdbms/admin/catsnmp.sql

Similar Messages

  • Custom Escalation in Human Task in Oracle SOA BPM 11g

    This is a sample that demonstrates custom escalation in Human Task in Oracle SOA BPM 11g.
    package oracle.bpel.services.workflow.assignment.dynamic.patterns;
    import java.util.Map;
    import oracle.bpel.services.workflow.assignment.dynamic.DynamicAssignmentException;
    import oracle.bpel.services.workflow.assignment.dynamic.IDynamicTaskEscalationFunction;
    import oracle.bpel.services.workflow.task.impl.WorkflowUtil;
    import oracle.bpel.services.workflow.task.model.Task;
    import oracle.tip.pc.services.identity.LocalIdentityService;
    public class CustomEscalation implements IDynamicTaskEscalationFunction {
    public CustomEscalation() {
    super();
    public String getTaskEscalationUser(Task task) throws DynamicAssignmentException {
    String currentAssignee;
    try
    currentAssignee = WorkflowUtil.getCurrentAssignee(task);
    return getTaskEscalationUser(currentAssignee);
    } catch (Exception e) {
    throw new DynamicAssignmentException(e);
    public String getTaskEscalationUser(String user) throws DynamicAssignmentException {
    try
    if (user == null)
    return null;
    String manager = null;
              * Replace below code with your acutal logic.
    // if( user.equalsIgnoreCase("john")){
    // manager="jcooper" ;
    return manager;
    } catch (Exception e) {
    throw new DynamicAssignmentException(e);
    public void setInitParams(Map map) {
    public String getFunctionName() {
    return "CUSTOM_ESCALATION";
    public String getDescription() {
    return "Custom Escalation";
    Please refer below link to register above custom escalation class on SOA Server.
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/bp_hwfmodel.htm
    regards.

    Thanks for your reply and confirmation, really appreciate it.
    Yes, I found the difference of the invoking process API and was able to invoke bpel process using direct and ADF-BC binding by following Edwin's blog. But I have not found any official reference to compare this API difference between 10g and 11g ( I will mark this question as answered if anyone can find an official source from oracle, need to prove it to the team). The API to work with human task workflow seems pretty much the same between 10g and 11g.

  • EXECUTE permission denied on sp_sqlagent_log_jobhistory when running a maintenance task or sql job

    Hi folks,
    I have a scheduled maintenance plan and associated jobs in SQL Server 2008 SP2 that have been working but stopped about two months ago. When I run a maintenance task or sql job using any account (sa, sysadmin-priveleged domain account, etc) I get the following
    entries in the SQL Server Agent log (see below). I've tried changing the SQL Server Agent account, applied the latest hotfixes (CU2 for 2008 SP2) and set permissions manually so that the service accounts have dbo access to the msdb database. Anyone got other
    ideas? I've avoided recreating the msdb database, but that may be my only option.
    Date  4/02/2011 3:42:40 PM
    Log  SQL Server Agent (Current - 4/02/2011 3:23:00 PM)
    Message
    [298] SQLServer Error: 229, The EXECUTE permission was denied on the object 'sp_sqlagent_log_jobhistory', database 'msdb', schema 'dbo'. [SQLSTATE 42000] (ConnExecuteCachableOp)
    Date  4/02/2011 3:42:40 PM
    Log  SQL Server Agent (Current - 4/02/2011 3:23:00 PM)
    Message
    [298] SQLServer Error: 229, The EXECUTE permission was denied on the object 'agent_datetime', database 'msdb', schema 'dbo'. [SQLSTATE 42000] (ConnExecuteCachableOp)
    Date  4/02/2011 3:42:40 PM
    Log  SQL Server Agent (Current - 4/02/2011 3:23:00 PM)
    Message
    [298] SQLServer Error: 229, The EXECUTE permission was denied on the object 'sp_sqlagent_log_jobhistory', database 'msdb', schema 'dbo'. [SQLSTATE 42000] (ConnExecuteCachableOp)

    And just to add to the confusion - I created a SQL login called sql-maintjobs and have it sysadmin priveleges. I then logged in to SQL using this account on the instance that is failing and ran the following:
    declare
    @backupjobid uniqueidentifier
    select
    @backupjobid=CONVERT(uniqueidentifier,
    '2C4974D4-53BE-4E38-8EC0-8F5398CADE88')
    exec
    sp_sqlagent_log_jobhistory
    @job_id = @backupjobid,
    @step_id
    =1,
    @sql_message_id
    = 0,
    @sql_severity
    = 0,
    @message
    =
    NULL,
    @run_status
    =1,
    -- SQLAGENT_EXEC_X code
    @run_date
    =19900101,
    @run_time
    =1,
    @run_duration
    =1,
    @operator_id_emailed
    = 0,
    @operator_id_netsent
    = 0,
    @operator_id_paged
    = 0,
    @retries_attempted
    =0,
    @server
    =
    NULL,
    @session_id
    = 0
    This sql worked fine - no permission errors at all. That would suggest the account does have permission to EXECUTE that stored procedure... very confusing!

  • Problem in ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4

    I am running an ant task in Oracle JDeveloper 11g Tech Preview 4
    the Task is as follows :
    <target name="generate-from-wsdl5" >
    <oracle:jaxwsGenImpl
    wsdl="contract/wsdl/${SRC_WSDL}"
    />
    </target>
    The Output is :
    D:\Pras3\WebServiceRi\ws>ant generate-from-wsdl5
    Buildfile: build.xml
    [taskdef] File D:\Pras3\WebServiceRi\ws\oracle\antlib.xml does not exist
    generate-from-wsdl5:
    BUILD FAILED
    D:\Pras3\WebServiceRi\ws\build.xml:188: Problem: failed to create task or type antlib:oracle:jaxwsGenImpl
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    This appears to be an antlib declaration.
    Action: Check that the implementing library exists in one of:
    -D:\Jdev11-Tecpr4\ant\lib
    -C:\Documents and Settings\jnandi\.ant\lib
    -a directory added on the command line with the -lib argument
    Total time: 0 seconds
    I am getting the above error can sommeone please help me and please tell me how to use the ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4 or Jdev 11G Tech Prev 4 dont support this
    Thanks and Regards
    Jyoti

    Hi,
    the JDeveloper 11 forum is: JDeveloper and OC4J 11g Technology Preview
    Frank

  • Problem :ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4

    Hi,
    I am running an ant task in Oracle JDeveloper 11g Tech Preview 4
    the Task is as follows :
    <target name="generate-from-wsdl5" >
    <oracle:jaxwsGenImpl
    wsdl="contract/wsdl/${SRC_WSDL}"
    />
    </target>
    The Output is :
    D:\Pras3\WebServiceRi\ws>ant generate-from-wsdl5
    Buildfile: build.xml
    [taskdef] File D:\Pras3\WebServiceRi\ws\oracle\antlib.xml does not exist
    generate-from-wsdl5:
    BUILD FAILED
    D:\Pras3\WebServiceRi\ws\build.xml:188: Problem: failed to create task or type antlib:oracle:jaxwsGenImpl
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    This appears to be an antlib declaration.
    Action: Check that the implementing library exists in one of:
    -D:\Jdev11-Tecpr4\ant\lib
    -C:\Documents and Settings\jnandi\.ant\lib
    -a directory added on the command line with the -lib argument
    Total time: 0 seconds
    I am getting the above error can sommeone please help me and please tell me how to use the ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4 or Jdev 11G Tech Prev 4 dont support this
    Thanks and Regards
    Jyoti

    Hi,
    the JDeveloper 11 forum is: JDeveloper and OC4J 11g Technology Preview
    Frank

  • ESS tasks related to Jobs.

    Hi,
    I am setting up the ESS application for a client, and I am not sure where tasks related to job descriptions are stored in ECC 5.0 or higher, in e-recruiting or? Anyone with a quick answer on this?
    cheers,
    hilde

    Hello hilde,
    Could you please be more specific on this?
    Thanks.
    Bentow.

  • XML Parsing in a Schedule Job (OIM 11g R1)

    Hi,
    I am writing a lookup recon - schedule task in OIM 11g R1 to connect to a webservice and get the lookup attribute values. Now, I am able to fetch the values in a xml format. I am facing an issue while trying to parse the xml values (tried both as a string and from a file).
    I have tried using both the SAX and the DOM parser. PFA the snippet for the DOM Parser:
                        DocumentBuilderFactory builderFactory =
                            DocumentBuilderFactory.newInstance();
                        DocumentBuilder builder = null;
                        try {
                            builder = builderFactory.newDocumentBuilder();
                        } catch (ParserConfigurationException e) {
                            e.printStackTrace();
                        org.w3c.dom.Document doc =
                            (org.w3c.dom.Document)builder.parse(file);
                        System.out.println("Parsed the xml");
                        org.w3c.dom.NodeList nodes =
                            doc.getElementsByTagName("entry");
                        System.out.println("Total Profiles fetched:: " +
                                           nodes.getLength());
    This is giving the nodes.getLength() as 0. Though the code runs fine in the Java Client (directly from eclipse)
    The snippet for the SAX method is :
                SAXParserFactory factory = SAXParserFactory.newInstance();
                SAXParser saxParser = factory.newSAXParser();
                DefaultHandler handler = new DefaultHandler() {
                    boolean bfname = false;
                    boolean blname = false;
                    boolean bnname = false;
                    boolean bsalary = false;
                    public void startElement(String uri, String localName,
                                             String qName,
                                             Attributes attributes) throws SAXException {
                        //   System.out.println("Start Element :" + qName);
                        if (qName.equalsIgnoreCase("d:Name")) {
                            blname = true;
                    public void endElement(String uri, String localName,
                                           String qName) throws SAXException {
                        //     System.out.println("End Element :" + qName);
                    public void characters(char[] ch, int start,
                                           int length) throws SAXException {
                        if (blname) {
                            System.out.println("d:Name : " +
                                               new String(ch, start, length));
                            blname = false;
                           saxParser.parse("home/oracle/UserProfiles.xml", handler);
    This is throwing a java.net.malformedurlexception: no protocol: /home/oracle/userprofiles.xml exception. I tried to pass it as "file://home/oracle/UserProfiles.xml" but then is gives a
    java.net.ConnectException: Connection refused Even this code is running fine in the Java Client when ran directly. It seems there is some weblogic configurations I am missing for the XML parsing?
    Please do help, if anyone has faced any issues parsing an xml in a Schedule job. Will highly appreciate your inputs.
    Thanks,
    Anuj.  

    Hi,
    I am writing a lookup recon - schedule task in OIM 11g R1 to connect to a webservice and get the lookup attribute values. Now, I am able to fetch the values in a xml format. I am facing an issue while trying to parse the xml values (tried both as a string and from a file).
    I have tried using both the SAX and the DOM parser. PFA the snippet for the DOM Parser:
                        DocumentBuilderFactory builderFactory =
                            DocumentBuilderFactory.newInstance();
                        DocumentBuilder builder = null;
                        try {
                            builder = builderFactory.newDocumentBuilder();
                        } catch (ParserConfigurationException e) {
                            e.printStackTrace();
                        org.w3c.dom.Document doc =
                            (org.w3c.dom.Document)builder.parse(file);
                        System.out.println("Parsed the xml");
                        org.w3c.dom.NodeList nodes =
                            doc.getElementsByTagName("entry");
                        System.out.println("Total Profiles fetched:: " +
                                           nodes.getLength());
    This is giving the nodes.getLength() as 0. Though the code runs fine in the Java Client (directly from eclipse)
    The snippet for the SAX method is :
                SAXParserFactory factory = SAXParserFactory.newInstance();
                SAXParser saxParser = factory.newSAXParser();
                DefaultHandler handler = new DefaultHandler() {
                    boolean bfname = false;
                    boolean blname = false;
                    boolean bnname = false;
                    boolean bsalary = false;
                    public void startElement(String uri, String localName,
                                             String qName,
                                             Attributes attributes) throws SAXException {
                        //   System.out.println("Start Element :" + qName);
                        if (qName.equalsIgnoreCase("d:Name")) {
                            blname = true;
                    public void endElement(String uri, String localName,
                                           String qName) throws SAXException {
                        //     System.out.println("End Element :" + qName);
                    public void characters(char[] ch, int start,
                                           int length) throws SAXException {
                        if (blname) {
                            System.out.println("d:Name : " +
                                               new String(ch, start, length));
                            blname = false;
                           saxParser.parse("home/oracle/UserProfiles.xml", handler);
    This is throwing a java.net.malformedurlexception: no protocol: /home/oracle/userprofiles.xml exception. I tried to pass it as "file://home/oracle/UserProfiles.xml" but then is gives a
    java.net.ConnectException: Connection refused Even this code is running fine in the Java Client when ran directly. It seems there is some weblogic configurations I am missing for the XML parsing?
    Please do help, if anyone has faced any issues parsing an xml in a Schedule job. Will highly appreciate your inputs.
    Thanks,
    Anuj.  

  • Can not Deploy Task Display Form[Workflow] in 11g

    Hi,
    I have created a human task based on the example 'VacationRequest' in the oracle complete guide for 11g.
    i have also created a Task display form(workflow) for the human task, the workflow is a seperate project in the same application.
    I am able to deploy the BPEL process containing the human task.
    but when i try deploying the workflow associated to the BPEL process, i get the following error during deployment..
    [04:36:23 PM] ---- Deployment started. ----
    [04:36:23 PM] Target platform is (Weblogic 10.3).
    [04:36:25 PM] Entering Target Selection Dialog
    [04:36:28 PM] Retrieving existing application information
    [04:36:38 PM] Running dependency analysis...
    [04:36:38 PM] Building...
    [04:38:06 PM] Deploying profile...
    [04:38:09 PM] Wrote Web Application Module to C:\JDeveloper\mywork\VacationRequest\TestFlow\deploy\TestFlow.war
    [04:38:10 PM] Deploying Application...
    [04:38:31 PM] [Deployer:149191]Operation 'deploy' on application 'TestFlow' is initializing on 'soa_server1'
    [04:38:44 PM] [Deployer:149193]Operation 'deploy' on application 'TestFlow' has failed on 'soa_server1'
    [04:38:44 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application TestFlow on soa_server1.: Failed to load webapp: 'TestFlow.war'.
    [04:38:44 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'TestFlow.war'
    [04:38:44 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
    [04:38:44 PM] See server logs or server console for more details.
    [04:38:44 PM] weblogic.application.ModuleException: Failed to load webapp: 'TestFlow.war'
    [04:38:44 PM] #### Deployment incomplete. ####
    [04:38:44 PM] Deployment Failed
    I am following all the steps in the tutorial.
    tutorial details:
    name: Developer’s Guide for Oracle SOA Suite 11g Release 1 (11.1.1)
    page number: *589.(How To Create a Task Display Form Using the Complete Task with Payload Drop Handler)*
    How can I solve this issue ?
    Response requested at the earliest......

    While deploying the example 'VacationRequest' in the oracle complete guide for 11g, i got an exception like this
    "12:08:15 PM] Deploying Application...
    [12:11:16 PM] [Deployer:149191]Operation 'deploy' on application 'VacationRequestTaskFlow' is initializing on 'soa_server1'
    [12:11:24 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application VacationRequestTaskFlow on soa_server1.: [Deployer:149145]Unable to contact 'bam_server1'. Deployment is deferred until 'bam_server1' becomes available.; nested exception is:
         java.rmi.UnknownHostException: Could not discover administration URL for server 'bam_server1'.
    [12:11:24 PM] [Deployer:149193]Operation 'deploy' on application 'VacationRequestTaskFlow' has failed on 'soa_server1'
    [12:11:24 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application VacationRequestTaskFlow on soa_server1.: Failed to load webapp: 'VacationRequestTaskFlow.war'.
    [12:11:24 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'VacationRequestTaskFlow.war'
    [12:11:24 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
    [12:11:24 PM] See server logs or server console for more details.
    [12:11:24 PM] weblogic.application.ModuleException: Failed to load webapp: 'VacationRequestTaskFlow.war'
    [12:11:24 PM] #### Deployment incomplete. ####
    [12:11:24 PM] Deployment Failed"
    Can anyone help in this.

  • Submitting multiple tasks within a job?

    So far I have been submitting scripts/commands to my grid which execute as single tasks. I want to learn how to submit multiple tasks within a single submitted job. Does anyone know a good reference to learn this topic? I tried the man pages but I would like something less cryptic to read.

    So far I have been submitting scripts/commands to my grid which execute as single tasks. I want to learn how to submit multiple tasks within a single submitted job. Does anyone know a good reference to learn this topic? I tried the man pages but I would like something less cryptic to read.

  • Gather Stats Job in 11g

    Hi,
    I am using 11.1.0.7 on IBMAIX Power based 64 bit system.
    In 10g, if i query dba_scheduler_jobs view, i see the GATHER_STATS_JOB for automated statistics collection but in 11g i don't see this rather i see BSLN_MAINTAIN_STATS_JOB job which executes BSLN_MAINTAIN_STATS_PROG program for stats collection.
    And if i query DBA_SCHEDULER_PROGRAMS, i also see GATHER_STATS_PROG program here. Can gurus help me understanding both in 11g. Why there are two different programs and what is the difference?
    Actually the problem is that i am receiving following error message in my alert log file
    Mon Aug 16 22:01:42 2010
    GATHER_STATS_JOB encountered errors.  Check the trace file.
    Errors in file /oracle/diag/rdbms/usgdwdbp/usgdwdbp/trace/usgdwdbp_j000_1179854.trc:
    ORA-00054: resource busy and acquire with NOWAIT specified or timeout expiredThe trace files shows
    *** 2010-08-14 22:10:14.449
    *** SESSION ID:(2028.20611) 2010-08-14 22:10:14.449
    *** CLIENT ID:() 2010-08-14 22:10:14.449
    *** SERVICE NAME:(SYS$USERS) 2010-08-14 22:10:14.449
    *** MODULE NAME:(DBMS_SCHEDULER) 2010-08-14 22:10:14.449
    *** ACTION NAME:(ORA$AT_OS_OPT_SY_3407) 2010-08-14 22:10:14.449
    ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
    *** 2010-08-14 22:10:14.450
    GATHER_STATS_JOB: GATHER_TABLE_STATS('"DWDB_ADMIN_SYN"','"TEMP_HIST_HEADER_LIVE"','""', ...)
    ORA-00054: resource busy and acquire with NOWAIT specified or timeout expiredBut we dont have GATHER_STATS_JOB in 11g and also the job BSLN_MAINTAIN_STATS_PROG runs only on weekend and the above error message came last night 16 August.
    Thanks
    Salman

    Thanks for the people who are contributing.
    I know from the information that table is locked, but i have tried manually locking a table and executing gather_table_stats procedure but it runs fine. Here i have two questions
    Where is GATHER_STATS_JOB in 11g as you can see the text of trace file where it says that GATHER_STATS_JOB failed, i dont see there is any GATHER_STATS_JOB in 11g.
    BSLN_MAINTAIN_STATS_JOB job is supposed gather statistics but only on weekend nights, then how come i see this error occurring last night at 22:11 on 16th August which is not a week end night.
    Salman

  • How to assign a task to Reuestor in OIM 11g

    How to assign a task to a requestor (who has raised a request for other user).
    I created a Task assignment adapter and mapped variable in Process definition as
    Map To: Request Info
    Qualifier: Requester User Login
    Still it returns null and default task is assigning to System adminstrator. I am pasting the Task Assignment code here. User key value coming as Null.
    Do you have any idea what is the exact mapping required in Process definition.?? Pls note: I am using OIM version 11.1.1.5.0
    public class TaskAssignmentToUserAdapter {
         Logger logger = Logger.getLogger("COM.IDM.PROV.COMMON.ADAPTERS");
         public String getTargetType(String targetType){
              return targetType;
         public String assignTaskToUser(String userKey,tcDataProvider dataProvider ){
              System.out.println("The user key value:" +userKey);
              return userKey;
         }

    Not sure what sample code I can give you, but you need to do a query in your adapter like:
    select REQUEST_KEY from OIU where ORC_KEY='?'
    Here ORC_KEY should be mapped to the process instance key.
    Once you have the Request key, you can use RequestServcie APIs to get the requester information. http://docs.oracle.com/cd/E14571_01/apirefs.1111/e17334/oracle/iam/request/api/RequestService.html#getBasicRequestData_java_lang_String_
    Or if you don't care then get the requester key from the request table. Thus you can have the final query as:
    select USR_LOGIN from USR where USR_KEY=(select REQUESTER_KEY from REQUEST where REQUEST_KEY = (select REQUEST_KEY from OIU where ORC_KEY='?'))
    HTH,
    BB

  • Process Task dependency issue in OIM 11g

    Hello,
    I created 3 process tasks (Task1, Task2 and Task3) .I would like to trigger Task3 when both Task1 and Task2 get completed status.
    So what I did is I put both Task1 and Task2 as depedent tasks in Task 3 "Task Dependecy" tab. In this case both Task1 and Task2 get triggered and completed , however Task3 is NOT triggering.
    Even I tried putting both Task 1 and Task2 as Preceeding tasks for Task3, still it does not work.
    Could you please let me know how can we trigger Task3 once both Task1 and Task2 completes.
    Thanks for you help.

    By Task Dependency you can just control the order of the tasks being executed but you cannot invoke/insert a target.
    Ideally what you did as suggested in the latter option is correct: Task1 and Task2 as preceding task of Task3.
    To invoke Task3, you can do multiple things, the easiest here would be to go to the Responses tab of Task2 select the response Completed and then in Tasks to Generate section add Task3

  • SAP CS 8.0 - question to parallel tasks in one job chain

    Dear all,
    I have a question about job chains in SAP CPS/Redwood
    We have a job chain like this:
    Job 1
         Job 1.1
                   Job 1.1.1
                   Job 1.1.2
         Job 1.2
                    Job 1.2.1
    The Jobs 1.1.1 and 1.1.2 should start  when the Job 1.1 is compled and don't have to wait until Job 1.2 is complete.
    How could I release it in Redwood in one job chain? Should I use a precondition in the job definition of 1.1 and 1.2?
    Thank you for your help.
    Best regards,
    Hans

    Assumptions :
    Job 1.1.1 and Job 1.1.2 are running in parallel.
    Job 1.1, job 1.2 are also running in parallel.
    Chain A -
    Step 1 - Job 1.1
    Step 2 - Job 1.1.1, Job 1.1.2 (these both will start as soon as Job 1.1 completes)
    Chain B -
    Step 1 - Job 1.2
    Step 2 - Job 1.2.1
    Chain C
    Step 1 - Job 1
    Step 2 - Chain A, Chain B (Chain A and Chain B will start as soon as Job 1 completes).
    Submit Chain C.
    Preconditions are usually  used to check the timewindow, for example , if you want to execute a step in a job chain, only if it is a Friday.
    thanks
    Nanda

  • Error when attempting to maintain cube by submitting task to Job Queue

    Hi,
    I've been working with Cubes/Dimensions on AWM 10.2.0.3 for the last little while and have been maintaining cubes by selecting the Run maintenance task immediately in this session. This has been working reasonable well for me.
    I am now looking at how this can be put into production and trying to use the Submit the task to the Job Queue selection. When I choose this option and select the Run immediately radio item I have no problems. However when I choose to run this in the future I receive the following error:
    Action BUILDDATABASE failed on object OLAPBI.DUBDEV_OLAPBI
    oracle.AWXML.AWException: Action BUILDDATABASE failed on object OLAPBI.DUBDEV_OLAPBI
    at oracle.AWAction.BuildDatabase.Execute(BuildDatabase.java:737)
    at oracle.olap.awm.wizard.awbuild.BuildWizardHelper.runBuild(BuildWizardHelper.java:275)
    at oracle.olap.awm.navigator.node.modeler.cube.ModelerCubeNode.actionPerformed(ModelerCubeNode.java:480)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: oracle.AWXML.AWException: ***Error Occured in BUILD_DRIVER:
    at oracle.AWAction.BuildDatabase.Execute(BuildDatabase.java:731)
    ... 27 more
    I am only setting the time to be a couple of minutes in the future in order to verify that it is working but I receive this error for the GLOBAL_AW schema as well as my own AW Schema.
    Any ideas??
    Thanks in advance,
    LM

    Hi LM,
    I have not seen this specific issue before but there are a few things you can check:
    1) Did you exit AWM before the scheduled job started? You must exit AWM before the jobs starts as the job will try to attach the AW in read-write mode which is the default mode used by AWM. Therefore, if you are still in AWM when the job starts the job will fail. Usually you will get a more helpful error message that says something like "unable to attach AW".
    2) Try scheduling the job one hour in the future. Then start Enterprise Manager and look at the job queue. You should find a job with the prefix AW$ which will be your job. Look at the details for the job and make sure the program to be executed looks correct, ie it actually contains a program and a name of a cube/dimension. I created a job once, that for some reason did not contain a PL/SQL command block. No idea why.
    3) If the PL/SQL block is present try running it from the command line and see what happens, login in to SQLPlus as the same user as you use for AWM.
    Hope this helps
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • Orchestration Process Cleanup Task schedule job getting failed

    Hi All,
    We have an out of the box scheduled job "Orchestration Process Cleanup Task". This job is getting failed with the below error.
    "Failed.oracle.iam.platformservice.exception.OrchDataCleanupException:java.sql.SQLSyntaxErrorException:ora00913:too many values"
    This recon take two parameters in which we have given values as below:
    Batch size:100
    Delete Just One Batch: No
    I am not able to find how this job is configured or how it's deleting the values.
    Please help me out and if anyone know about the links where I can get the info on this job, it will be much helpful.
    Thanks
    Ishank

    As far as the
    http://docs.oracle.com/cd/E21764_01/doc.1111/e14308/scheduler.htm#r26c1-t8
    is concerned,
    Batch Size: Use this attribute to specify the number of completed orchestration processes to be deleted in each iteration.
    Delete Just One Batch: Use this attribute to specify the value true or false. Only a single batch is deleted if the value is true. All the completed events are deleted batch at a time in a loop if the value is false.
    So, let's try:
    Batch Size: 1 (just 1)
    Delete Just One Batch: yes (radio button)

Maybe you are looking for