Edit Job Priority of Scheduling job in F110
Hi All,
I am having problem with F110.
In that transaction when I am creating Proposal, Running Proposal and Taking Printout, It creates background job with low priority.
My requirement is to make it with High priority.
I have done it in Proposal Create and run with BA, but I am not able to make it in Printout.
Is there any Exit / BADI / BTE for that.??
Regards,
Meet
HI,
For 'proposal' and 'payment run' (program- SAPF110S) a BADI
FI_F110_SCHEDULE_JOB is there, u can export the job name,using memory ID
ADK_JOBNAME_CLASS_A. Function module JOB_OPEN_ADK, SAP is importing our
job name. Here we with the help of that function module set the
priority from C to A.
Regards,
Kiran
Similar Messages
-
Changing the job priority of scheduled job
Hi gurus,
Please let me know how to change the priority of a already scheduled job.I mean to say if a job is scheduled with priority A,now i want to change it to some B or C .How can i do that.Please guide in step wise.....
Thanks in advance.
Regards,
Rakesh.A little tip which might help you in future: If the user only has the authority for object S_BTCH_JOB and not S_BTCH_ADM... then they will only ever be able to schedule class "C" jobs.
When you trace or debug SM37, do not be mislead by the check on S_BTCH_ADM... the user does not need it with the correct S_BTCH_JOB authority. It is only being checked to over-ride the S_BTCH_JOB authority for admins!
Cheers,
Julius -
Schedule jobs issue after the upgrade
We have Data Services jobs scheduled via management console in 4.0 Environment. I upgraded the repository to 4.2 and attach it in CMC and also in Server manager. Both the environments are in different servers.
Login to Data Services management console. Click on the upgraded repository schedules, scheduled jobs listed there. But there is no Job server atatched to it. When i try to activate or edit the schedule, i am getting below error.
Schedule:billing_rep Error:Socket is closed] When contacting the server above exception was encountered, so it will be assumed the schedule is not active anymore.
Am i missing any steps?Hi Jawahar,
Below is my suggestion regarding your query:
Edit existing Job server and update the details regarding Local reporsitory and save it.
Now try to map the same job server in scheduled jobs and check it was working or not
Or Else
Create new Job server and assign it to local repository.
In this case you have to update your all real time & batch Job configuration.
Thanks,
Daya -
Manually kick off scheduled jobs
Hi all, now and again I have a situation where the database that the BIP reports are run against is not availalbe in the morning when the BIP jobs are scheduled to run. When the database comes online mid-morning, I've been manually running all jobs that were scheduled to run earlier that morning.
Is there a way to manually kick off the scheduled jobs? The scheduled job already contains the report output name, format, destination etc. and having to go back to the original reports and manually run takes a lot of time. Any ideas?Hi Joe,
I have done migration Discoverer Admin EUL Layer into OBIEE repository using below methodology.
Navigate to the <installdrive>\OracleBI\server\Bin directory. There are two important files in this directory: the migration assistant executable file named MigrateEUL.exe and a properties configuration file named MigrationConfig.properties.
Could you please help me how to migrate discoverer plus workbooks and worksheets into OBIEE Answers?
go through below link, It will show navigation steps for migrating of EUL from Discoverer to OBIEE.But i need migration of workbooks and worksheets from Discoverer into OBIEE Answers.
http://www.oracle.com/technology/obe/obe_bi/discoverer/discoverer_1012/discomigration/migrate_disco_biee.htm
This is very great full help to me …
Advance thanks for your suggestions.
Regards
Duraga Prasad. -
Problem editing scheduled jobs
I just had a problem where 3.1, EA1 and EA2 all failed to edit a scheduled job in sqldev. A coworker was able to make the same edit using the same database ID, except he did it through SQL*Plus - that made me suspect a bug in sqldev.
Here are the symptoms:
In sqldev 3.1 (any flavor) > Scheduler > Jobs > edit an existing job > try to edit the JOB_ACTION field. In 3.1, double-clicking in the field only highlights the current word - it does not give me a cursor, and I cannot edit the contents.
In sqldev 3.0.4, editing the same job works as expected. I can edit the field, and save the changes.
Note that the server that I connect to is remote - it is hosted by Oracle OnDemand.Doesn't work for me either;
Here's the exception dumped in the console when selecting Edit:
oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: antlr.TokenStream
Dependent class: org.antlr.stringtemplate.language.DefaultTemplateLexer
Loader: ide-global:11.1.1.0.0
Code-Source: /C:/Archivos%20de%20programa/sqldeveloper3.1.06.82/sqldeveloper/lib/stringtemplate-3.1b1.jar
Configuration: <classpath> in /file:/C:/Archivos de programa/sqldeveloper3.1.06.82/sqldeveloper/extensions/oracle.sqldeveloper.jar!/META-INF/extension
.xml
The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2387)
at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1546)
at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:226)
at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1728)
at oracle.classloader.PolicyClassLoader.access$000(PolicyClassLoader.java:143)
at oracle.classloader.PolicyClassLoader$LoadClassAction.run(PolicyClassLoader.java:331)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1692)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1674)
at org.antlr.stringtemplate.StringTemplateGroup.<clinit>(Unknown Source)
at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.initGroupLoader(DBMSSchedulerCodeGenerator.java:321)
at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.<init>(DBMSSchedulerCodeGenerator.java:298)
at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.getInstance(DBMSSchedulerCodeGenerator.java:309)
at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2$ListTask.getQuery(NewJobCreateBase2.java:94)
at oracle.dbtools.raptor.backgroundTask.utils.DatabaseQueryTask.<init>(DatabaseQueryTask.java:62)
at oracle.dbtools.raptor.backgroundTask.utils.DatabaseQueryTask.<init>(DatabaseQueryTask.java:48)
at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2$ListTask.<init>(NewJobCreateBase2.java:86)
at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2.getListTask(NewJobCreateBase2.java:58)
at oracle.dbtools.scheduler.panels.common.ActionDialogBase.launch(ActionDialogBase.java:29)
at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2.launch(NewJobCreateBase2.java:81)
at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:192)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)And consecutive tries:
java.lang.NoClassDefFoundError: Could not initialize class org.antlr.stringtemplate.StringTemplateGroup
at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.initGroupLoader(DBMSSchedulerCodeGenerator.java:321)
at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.<init>(DBMSSchedulerCodeGenerator.java:298)
at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.getInstance(DBMSSchedulerCodeGenerator.java:309)
at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2$ListTask.getQuery(NewJobCreateBase2.java:94)
at oracle.dbtools.raptor.backgroundTask.utils.DatabaseQueryTask.<init>(DatabaseQueryTask.java:62)
at oracle.dbtools.raptor.backgroundTask.utils.DatabaseQueryTask.<init>(DatabaseQueryTask.java:48)
at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2$ListTask.<init>(NewJobCreateBase2.java:86)
at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2.getListTask(NewJobCreateBase2.java:58)
at oracle.dbtools.scheduler.panels.common.ActionDialogBase.launch(ActionDialogBase.java:29)
at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2.launch(NewJobCreateBase2.java:81)
at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:192)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)Hope that helps for debugging,
K. -
Edit cycles in Scheduled Jobs for Hyperion 11
I have created a scheduled job that has several cycles. The job is not running correctly and I can't find where to edit the cycles that I have already built, nor can I find documentation. I am running Oracle EMP with Hyperion 11.1.1.2
The following instructions assume that you saved your cycle definitions as a set of named parameters, otherwise you'll have to start again.
So right mouse over your job and choose Manage Job Schedules. Right mouse over the relevant schedule and choose Show Parameters. Right mouse over the parameters and choose Modify. Then you can modify the existing cycle(s) and add more if you so wish.
Hope that helps. -
Setting Job Priority outside of Scheduler Windows
We have a scheduled email job, EMAIL_RELAY, that should run every 15 minutes. We also have 8000
separate batch jobs that run in a Window, SAVED_SEARCHES_WINDOW, between
02:00 and 07:00. During the Window, the email job fails to run. When I look at the first email job that runs after the window closes I see that the job was requested to start at 02:00 but the actual start time was 07:00. The database is very busy during the saved searches window, but I would like the scheduler to run the email job every 15 minutes regardless. I have read in the docs that the you can prioritize jobs, but to me it looks like this is only within a window. I cannot see how I can add the EMAIL_RELAY job to the SAVED_SEARCHES_WINDOW as still get it to repeat every 15 minutes so changing the priority seems useless.
Any ideas?
ThanksHi,
- it is possible to prioritize jobs that are waiting to be run by setting the JOB_PRIORITY attribute of the job . You may run into an issue with so many (>1000) jobs in the waiting queue. If so you may need to put the higher priority e--mail jobs in a different class which points to a different service
- it may be that you have set the job slave limit too low. Please check the value of job_queue_processes
select value from v$parameter where name='job_queue_processes';
and of max_job_slave_processes (from the all_scheduler_global_attribute view) to make sure both are high enough.
- if both limits are high enough (or as high as you want to set them) but you want to make sure that your e-mail job always runs you can use the techniques on this thread
Run Jobs One After Another
to setup two classes, one for high-priority jobs and one for all other jobs and reserve a given number of slave processes for each class. You can have a resource plan in effect outside a window (as well as in a window) and the resource plan is what allocates resources between job classes (via resource consumer groups).
Hope this helps,
Ravi. -
Have just migrated up to Publisher 11g. I was hoping that the new version would allow you to modify/edit scheduled job parameters. It still doesn't look like you can do that. Is that correct?
Yes, that is correct. Once a job is scheduled all job settings are not modifiable at all.
regards
Jorge A. -
Troubled to get scheduler job to run?
Hi all friends:
I'm having trouble getting any scheduler jobs (here, troubled job name is CUSTMASTER_CHANGES_01) to actually run.
when
sql>select job_name,state,enabled,retry_count,failure_count,run_count,restartable,start_date,repeat_interval,job_class
from all_scheduler_jobs;
JOB_NAME STATE ENABL RETRY_COUNT FAILURE_COUNT RUN_COUNT RESTA START_DATE REPEAT_INTERVAL JOB_CLASS
CUSTMASTER_CHANGES_01 SCHEDULED TRUE 0 0 0 FALSE 14-JAN-08 09.46.14.6 FREQ=SECONDLY;I SCANNER_JO
72965 AM AMERICA/NEW NTERVAL=5 B_CLASS
_YORK
for job 'CUSTMASTER_CHANGES_01'
we can see RUN_COUNT 0 and restartable false.
I upped slave processes to 5. dbms_scheduler.run_job('CUSTMASTER_CHANGES_01') works, but it's still not executing on the schedule
when run as sysdba
SQL> exec dbms_scheduler.run_job('CUSTMASTER_CHANGES_01');
ERROR at line 1:
ORA-27475: "SYS.CUSTMASTER_CHANGES_01" must be a job
ORA-06512: at "SYS.DBMS_ISCHED", line 150
ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
ORA-06512: at line 1
to resolve that,
we found
When you create your job by using dbsm_scheduler, it has a parameter called ‘auto_drop’, is by default, =’true’, like, auto_drop => TRUE
see below;
dbms_scheduler.create_job(
job_name IN VARCHAR2,
job_type IN VARCHAR2,
job_action IN VARCHAR2,
number_of_arguments IN PLS_INTEGER DEFAULT 0,
start_date IN TIMESTAMP WITH TIME ZONE DEFAULT NULL,
repeat_interval IN VARCHAR2 DEFAULT NULL,
end_date IN TIMESTAMP WITH TIME ZONE DEFAULT NULL,
job_class IN VARCHAR2 DEFAULT 'DEFAULT_JOB_CLASS',
enabled IN BOOLEAN DEFAULT FALSE,
auto_drop IN BOOLEAN DEFAULT TRUE,
comments IN VARCHAR2 DEFAULT NULL);
The job you manually run once and then it drops itself when you test.
so I am specifiying auto_drop to be false, but it is showing it has true as the attribute.
DBMS_SCHEDULER.CREATE_JOB(
job_name => scanner.scanner_name,
job_type => 'PLSQL_BLOCK',
job_action => 'BEGIN IF EEG_SCAN.GET_RUNNING_JOBS_COUNT('
||''''||UPPER(scanner.scanner_name)||''''
||') < 2 THEN '||scanner.scanner_proc_name||'; END IF; END;',
repeat_interval => 'FREQ=SECONDLY;INTERVAL=5',
job_class => c_job_class_name,
auto_drop => FALSE,
enabled => true
scheduler job is still not working as expected.....?
Can you help me for this??
thanks a lot in advance.
Message was edited by:
jerrygreat
Message was edited by:
jerrygreatHi,
There are a few other limits you could check .
Make sure that you have not exceeded the maximum number of sessions or the maximum number of processes or the maximum number of scheduler jobs
select * from dba_scheduler_global_attribute;
and
select name,value from v$parameter where name like '%process%';
select name,value from v$parameter where name like '%session%';
Also check how many jobs are currently running
select count(*) from dba_scheduler_running_jobs;
select count(*) from dba_jobs_running ;
select count(*) from v$session ;
One of these limits may need to be increased.
The run_job succeeds because it runs in the current session by default, if you use use_current_session=>false, does it still work ?
Also auto_drop only drops the job when it has completed e.g. past its end_date or exceeded its max_runs.
Finally note that there is a dedicated forum for dbms_scheduler located here
Scheduler
Hope this helps,
Ravi. -
Background Processing? how schedule job for "System Error" Message .
Hello everyone,
in sap help i have read.
http://help.sap.com/saphelp_nw04/helpdata/en/5a/f72040599a8f5ce10000000a155106/frameset.htm
PCK> Monitoring>Message Monitoring-->Background Processing
you can schedule jobs for various background processing:
● Archiving of messages processed successfully
● Deletion of messages that are not to be archived
● Restarting of messages with errors
● Rescheduling of lost messages
can anyone understand this docu?
give me some introduction, how can i define and schedule these jobs ?
thx in advance!!
best regards
YaningBackground Processing
Prerequisites
You have started the message monitor on the initial screen of the PCK and are in Background Processing.
Features
Archiving
You require two archiving sessions to archive messages:
● One session to write the messages to the archive
● One session to delete the persisted messages that have been archived
To do this, you schedule an archiving job, which implicitly schedules the sessions to write to the archive and delete the archived messages.
You can define one or more rules for each archiving job; these rules contain conditions that a message must meet in order to be archived by the job. At least one of the defined rules must be met for archiving to take place.
All information that is displayed for a message in message monitoring is archived, in addition to the audit log for each message.
Deleting
A standard delete job is created automatically. It runs once a day. You can schedule additional delete jobs; however, you cannot define rules for them.
Restarting
Instead of restarting messages with errors manually with message monitoring, you can schedule a job to automatically restart these messages. This is possible for all messages for which the number of defined restart attempts has been exceeded (messages with the system error status).
You can define one or more rules for each job to restart messages; these rules contain conditions that a message must meet in order to be restarted by the job. At least one of the defined rules must be met for archiving to take place.
Rescheduling
A standard job to reschedule messages is created automatically. The job runs once a day and ensures that messages lost as a result of database failure, for example, are rescheduled. You can schedule additional rescheduling jobs; however, you cannot define rules for them.
Thx Aamir.
But I mean the messages with errors in Adapter Engine , not in Intergrations Engine.
the situation is like Naveen Pandrangi's WebLog
II. Errors in Adapter Engine [XI : How to Re-Process failed XI Messages Automatically|XI : How to Re-Process failed XI Messages Automatically]
I
Till now we have seen how to resubmit/restart message that failed in Integration Engine. One a message makes it from Integration Engine to Adapter Engine, the message is flagged as checked in Integration Engine. The status of the message in Adapter engine does not effect the processed state in Integration Engine. Now if this message was asynchronous, XI will by default try to restart the message 3 times at intervals of 5 minutes before the status of the message is changed from Waiting to System Error .
*how can i schedule a job to automatically restart these messages with errors?
best regards
Yaning
Edited by: Yaning Liu on Aug 18, 2008 1:43 PM -
How to stop a Scheduler Job in Oracle BI Publisher 10g
Hello!
Can someone tell me how can I stop a scheduler job in Oracle BI Publisher 10g?
I scheduled a bursting job to run a report but is running during two days.
I would like to stop it.
Thanks.
Edited by: SFONS on 19-Jan-2012 07:16Unfortunately there is no way to stop a job once it is being executed. Yes as you read, it is not possible once job has started.
Same thing applies for running queries.
Once queries are sent to the DB BIP loses control over them. The message you see (if any) "Click Here to Cancel" does not stop any query
it is just a message.
I guess you will have to stop/kill the process in your DB
regards
Jorge
p.s If you consider your question answered then please mark my answer as *"Correct"* or *"Helpful"* -
OIM11g: Error while running AD Reconcilliation Schedule Job
Hi All,
I am using OIM 11g BP05 and have deployed AD connector 11.1.1.5.0 using connector server. While running the AD Group/Organization/User Reconcilliation schedule job, I am getting below error in connector logs:
11/8/2012 4:25:59 PM <ERROR>: Class-> ActiveDirectoryUtils Method -> GetDirectoryEntry, Message -> Exception Stack Trace : at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_NativeObject()
at Org.IdentityConnectors.ActiveDirectory.ActiveDirectoryUtils.GetDirectoryEntry(String path, ActiveDirectoryConfiguration configuration) in c:\ADE\aime_oimcp\idc\bundles\dotnet\ActiveDirectory\ActiveDirectoryConnector\ActiveDirectoryUtils.cs:line 1423
11/8/2012 4:25:59 PM <ERROR>: Class-> ActiveDirectoryConnector Method -> ExecuteQuery, Message -> Caught Exception: Unable to get the Directory Entry11/8/2012 4:25:59 PM <ERROR>: Class-> ActiveDirectoryConnector Method -> ExecuteQuery, Message -> Stack Trace: at Org.IdentityConnectors.ActiveDirectory.ActiveDirectoryUtils.GetDirectoryEntry(String path, ActiveDirectoryConfiguration configuration) in c:\ADE\aime_oimcp\idc\bundles\dotnet\ActiveDirectory\ActiveDirectoryConnector\ActiveDirectoryUtils.cs:line 1456
at Org.IdentityConnectors.ActiveDirectory.ActiveDirectoryConnector.ExecuteQuery(ObjectClass oclass, String query, ResultsHandler handler, OperationOptions options, Boolean includeDeleted, SortOption sortOption, String serverName, String searchRoot, SearchScope searchScope, OperationOptions otherOptions) in c:\ADE\aime_oimcp\idc\bundles\dotnet\ActiveDirectory\ActiveDirectoryConnector\ActiveDirectoryConnector.cs:line 1048
at Org.IdentityConnectors.ActiveDirectory.ActiveDirectoryConnector.ExecuteQuery(ObjectClass oclass, String query, ResultsHandler handler, OperationOptions options) in c:\ADE\aime_oimcp\idc\bundles\dotnet\ActiveDirectory\ActiveDirectoryConnector\ActiveDirectoryConnector.cs:line 814
ConnectorServer.exe Error: 0 : Org.IdentityConnectors.Framework.Common.Exceptions.ConnectorException: Unable to get the Directory Entry
Also, I am seeing this error in log too:
*11/8/2012 4:25:59 PM <ERROR>: Class-> ActiveDirectoryUtils Method -> GetDirectoryEntry, Message -> Exception occured during the creation of directory entry.*
*11/8/2012 4:25:59 PM <ERROR>: Class-> ActiveDirectoryUtils Method -> GetDirectoryEntry, Message -> Exception Message : An invalid dn syntax has been specified.*
11/8/2012 4:25:59 PM <ERROR>: Class-> ActiveDirectoryUtils Method -> GetDirectoryEntry, Message -> Exception Stack Trace : at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_NativeObject()
at Org.IdentityConnectors.ActiveDirectory.ActiveDirectoryUtils.GetDirectoryEntry(String path, ActiveDirectoryConfiguration configuration) in
Any pointers for resolving this issue?
Regards,
Sunny
Edited by: ajmerasunny on Nov 8, 2012 4:32 PMHi All,
My bad, I gave wrong search base. Issue resolved.
However, I need to run the a trusted source recon for only active
Users. I gave filter as useraccountcontrol=512 but got casting exception.
Any pointers on how to specify the filter to get only active accounts from AD?
Regards,
Sunny -
Scheduled Job to gather stats for multiple tables - Oracle 11.2.0.1.0
Hi,
My Oracle DB Version is:
BANNER Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
In our application, we have users uploading files resulting in insert of records into a table. file could contain records ranging from 10000 to 1 million records.
I have written a procedure to bulk insert these records into this table using limit clause. After the insert, i noticed my queries run slow against these tables if huge files are uploaded simultaneously. After gathering stats, the cost reduces and the queries executed faster.
We have 2 such tables which grow based on user file uploads. I would like to schedule a job to gather stats during a non peak hour apart from the nightly automated oracle job for these two tables.
Is there a better way to do this?
I plan to execute the below procedure as a scheduled job using DBMS_SCHEDULER.
--Procedure
create or replace
PROCEDURE p_manual_gather_table_stats AS
TYPE ttab
IS
TABLE OF VARCHAR2(30) INDEX BY PLS_INTEGER;
ltab ttab;
BEGIN
ltab(1) := 'TAB1';
ltab(2) := 'TAB2';
FOR i IN ltab.first .. ltab.last
LOOP
dbms_stats.gather_table_stats(ownname => USER, tabname => ltab(i) , estimate_percent => dbms_stats.auto_sample_size,
method_opt => 'for all indexed columns size auto', degree =>
dbms_stats.auto_degree ,CASCADE => TRUE );
END LOOP;
END p_manual_gather_table_stats;
--Scheduled Job
BEGIN
-- Job defined entirely by the CREATE JOB procedure.
DBMS_SCHEDULER.create_job ( job_name => 'MANUAL_GATHER_TABLE_STATS',
job_type => 'PLSQL_BLOCK',
job_action => 'BEGIN p_manual_gather_table_stats; END;',
start_date => SYSTIMESTAMP,
repeat_interval => 'FREQ=DAILY; BYHOUR=12;BYMINUTE=45;BYSECOND=0',
end_date => NULL,
enabled => TRUE,
comments => 'Job to manually gather stats for tables: TAB1,TAB2. Runs at 12:45 Daily.');
END;Thanks,
SomiyaThe question was, is there a better way, and you partly answered it.
Somiya, you have to be sure the queries have appropriate statistics when the queries are being run. In addition, if the queries are being run while data is being loaded, that is going to slow things down regardless, for several possible reasons, such as resource contention, inappropriate statistics, and having to maintain a read consistent view for each query.
The default collection job decides for each table based on changes it perceives in the data. You probably don't want the default collection job to deal with those tables. You probably do want to do what Dan suggested with the statistics. But it's hard to tell from your description. Is the data volume and distribution volatile? You surely want representative statistics available when each query is started. You may want to use all the plan stability features available to tell the optimizer to do the right thing (see for example http://jonathanlewis.wordpress.com/2011/01/12/fake-baselines/ ). You may want to just give up and use dynamic sampling, I don't know, entire books, blogs and papers have been written on the subject. It's sufficiently advanced technology to appear as magic. -
Event based scheduler job - 2 events at the same time only 1 run
Hi,
i converted our dbms_job - jobs to the newer package dbms_scheduler.
It is a 10.2.0.4 patch 23(8609347) database on an windows server 2003 R2 Enterprise x64 Edition SP2.
The Jobs(about 130) are nothing special ... only some statistics, matview-refreshes and so on.
For the notification of failed jobs and jobs which run over the max_run_duration i downloaded and installed the job notification package.
The jobs are assigned to different departments and the corresponding developer teams in our company.
I created a notification job for each department and if a job fails we (the database administrators) and the corresponding deverlopers will be informed.
Now i ascertained that only 1 email will be send if 2 jobs of the same department fails at the same time.
The emailer-jobs are auto-generated by the job notification package. I only modified them to look after all jobs of special department and not only after one job. (--> event_condition ... object_name LIKE 'XXX%')
example for dba-jobs(copy of the script output of TOAD):
SYS.DBMS_SCHEDULER.CREATE_JOB
job_name => 'DBA_JOBS_EMAILER'
,start_date => NULL
,event_condition => tab.user_data.object_name LIKE ''DBA%'' AND tab.user_data.event_type in (''JOB_FAILED'',''JOB_OVER_MAX_DUR'')'
,queue_spec => 'SYS.SCHEDULER$_EVENT_QUEUE, JOB_FAILED_AGENT'
,end_date => NULL
,program_name => 'SYS.EMAIL_NOTIFICATION_PROGRAM'
,comments => 'Auto-generated job to send email alerts for jobs "DBA%"'
);I thought that a queue is used to manage all events from the scheduler jobs. So i made a test with 2 dba jobs and simulated a failure at the same time but i received only one mail.
So what is happend with the second event? I looked for the events in the qtab(SCHEDULER$_EVENT_QTAB) which belongs to the event queue(SYS.SCHEDULER$_EVENT_QUEUE) and no event was missing.
So i think the emailer job has to run 2 times.
Is anyone able to explain or to find my mistake?
I know that the easiest way is to create one emailer job for each normal job but i think this is a little bit costly because all the arguments are the same for one department.
Thanks & RegardsThanks for your fast answer.
You are right with the "enabled => TRUE;" part and i only forgot to post it.
So the Job is enabled (otherwise it would not send any mail). Because it is sending one mail i think it is also not necessary to hand over a job_type.
Additionally the job starts a program ... so it is right to set the job_type='STORED_PROCEDURE' isn't it?
And also right ... i already added the agent as subscriber to the queue.
Anyway i think the whole thing do what it have to do. So in my oppinion there are no big mistakes in creating the job or at adding the subscriber.
There are also no problem in raising the events by itself and enqueue them in the scheduler event queue.
There is only a problem when 2 jobs fails (or run out ouf max duration) at exactly the same time.
If i understand it right:
The agent/subscriber will find the "JOB_FAILED"-event for the first Job in the queue and starts the emailer Job.
The agent will also find the "JOB_FAILED"-event for the second Job and wants to start the emailer Job again.
I don't know if this is really the problem but perhaps the emailer-job can not be started in consequence of the second event because ist is already running.
I also don't know if this is a mistake of the agent or of the emailer-job by itself.
I only want that it runs two times (one run for each event). I my case it also doesn't matter which email is send at first. -
Hi
may i know the purpose of scheduled jobs in SRM like BBP_GET STATUS2 and CLEAN REQREQUP. i just want to know why/when we are using these jobs in SRM.
please suggest me with your finest solutions. kindly help.
Regards
sssHello,
BBP_GET_STATUS_2 Update Status Information
Description:
After the documents (purchase requisition, purchase order, reservation) have been created in the backend system for a requirement coverage request, the following references are stored in the requirement coverage request:
The name of the backend system in which the documents exist.
The document numbers
Subsequent activities for the documents can take place in the backend system. For example, a goods receipt for a purchase order. Using the report "Update requirement coverage requests", you can transfer the following information on subsequent activities from the backend system to the Enterprise Buyer System:
For the purchase requisition: the purchase order that was created with reference to the purchase requisition, the goods receipt quantity and the invoiced quantity for the purchase order
For the purchase order: the goods receipt quantity and the invoiced quantity
For the reservation: the quantity withdrawn
The report always updates all requirement coverage requests for which documents have been created.
You should only start the report in the background. We recommend starting the report daily. In this way, you ensure that the information that the user sees in the "Status and Delete" scenario is up-to-date.
Output
The report either issues a message stating that the changes have been made successfully, or issues an error log.
The log can contain the following types of errors:
In the Enterprise Buyer system, there is the information that the requirement coverage request has been transferred to the backend system (status 6), but no reference is transferred to the requirement coverage request.
The system did not find the R/3 document to which the cross-reference is made.
In this case, the report only writes the changes to the Enterprise Buyer system for those requirement coverage requests that do not contain errors.
Communication errors
CLEAN_REQREQ_UP reads table BBP_DOCUMENT_TAB and checks if the relevant follow-on document has been created for an SRM document.
If the follow-on document exists, the object relationships for the SRM document are updated, the status is set, and the relevant entry is deleted from table BBP_DOCUMENT_TAB.
If the follow-on document does not exist, the entry remains in table BBP_DOCUMENT_TAB, where it can be checked again the next time the report is run.
Background:
If follow-on documents (local or backend documents) are created for SRM documents, the checks to see if a follow-on document can be created are run synchronously. However, the actual creation of the follow-on document is carried out asynchronously.
In order to check if a follow-on document has actually been created, an entry is written to system BBP_DOCUMENT_TAB in SRM. This entry contains the object type and object ID of the SRM document and the object type, ID and system of the follow-on document.
You should schedule report CLEAN_REQREQ_UP as a job so that it runs at regular intervals.
Regards, Dean
Edited by: Dean Hinson on Jun 10, 2009 7:17 PM
Maybe you are looking for
-
If I try to seek (or read) with the position mode wired and set for START, I get error 4 (END OF FILE) if the file is larger than 2 GB. I'm only trying to move the file pointer 4096 bytes, not trying to seek or read more than 2GB, but I get the error
-
Display more than 8 traces in NI hypertrend
Hi I am having difficulty in displaying more than 8 traces in hypertrend. I am able to see them if I double click on the names in the legend. But I want it to be set programatically. I have tried the visible property node which doesn't do anything. C
-
HT5557 why can i bye a book from itunes libery but it will not open on this pc
why can i not open a book that i got from itunes on itunes
-
Liquid sites on Flash Catalyst.
Hello everybody, I'm here again to address other questions cruel. I want it to migrate my projects to Flash Catalyst CS5, but I know that at least 70% of this incredible tool. Well, let the doubt: I wonder if it is possible to sites that meet all the
-
Travel Expense Form attachment in decision workitem
Hi all, I have converted travel expense report to pdf file format. I used the following logic to attach the pdf file to attachment object container in the workflow When i run the workflow attachment is there in decision workitem when i open that it i