Drop/Create sequence using Oracle Job Scheduler

IDE for Oracle SQL Development: TOAD 9.0
Question: I am trying to do the following:
1. Check if a certain sequence exists in the user_sequences table
2. Drop the sequence if it exists
3. Re-create the same sequence afterward
All in a job that is scheduled to run daily at 12:00 AM.
What I would like to know is if this is even possible in the first place with Oracle jobs. I tried the following:
1. Create the actual "BEGIN...END" anonymous block in the job.
2. Create a procedure that uses a dynamic SQL string using the same "BEGIN...END" block that drops and recreates the sequence using the EXECUTE IMMEDIATE commands
But I have failed on all accounts. It always produces some sort of authorization error which leads me to believe that DDL statements cannot be executed using jobs, only DML statements.
BTW, by oracle jobs, I mean the SYS.DBMS_JOBS.SUBMIT object, not the job scheduler.
Please do not ask me why I need to drop and recreate the sequence. It's just a business requirement that my clients gave me. I just want to know if it can be done using jobs. If not, I would like to know if there are any work-arounds possible.
Thank you.

Please do not ask me why I need to drop and recreate the sequence. It's just a business requirement that my clients gave me. I just want to know if it can be done using jobs. If not, I would like to know if there are any work-arounds possible.Well, I won't ask you then, but can you ask your clients why on earth they would want that?
Do they know that doing DDL 'on the fly' will invalidate the dependent objects?
Best shot you can give at it is reset the sequence. And you could do it in a job, yes, as long as it's interval is during some maintenance window (no active users).
Regarding resetting a sequence, you, (and your clients) should read this followup:
http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:1119633817597
(you can find lots more info on sequences and jobs by doing a search from the homepage http://asktom.oracle.com)
Regarding the authorization errors: your DBA should be able to provide you the nessecary privileges.
But in the end, this is something I'd rather not would like to see implemented on a production system...

Similar Messages

  • Backing up Jobs, Chains and Programs in Oracle Job Scheduler

    What is the best way to back up Jobs, Chains and Programs created in the Oracle Job Scheduler via Enterprise Manager - and also the best way to get them from one database to another. I am creating quite a long chain which executes many programs in our test database and wish to back everything up along the way. I will also then need to migrate to the production database.
    Thanks for any advice,
    Susan

    Hi Susan,
    Unfortunately there are not too many options.
    To backup a job you can use dbms_scheduler.copy_job. I believe EM has a button called "create like" for jobs and programs but I am not sure about chains and this can be used to create backups as well.
    A more general purpose solution which should also cover chains is to do a schema-level export using expdp i.e. a dump of an entire schema.
    e.g.
    SQL> create directory dumpdir as '/tmp';
    SQL> grant all on directory dumpdir to public;
    # expdp scott/tiger DUMPFILE=scott_backup.dmp directory=dumpdir
    You can then import into a SQL text file e.g.
    # impdp scott/tiger DIRECTORY=dumpdir DUMPFILE=scott_backup SQLFILE=scott_backup.out
    or import into another database (and even another schema) e.g.
    # impdp scott/tiger DIRECTORY=dumpdir DUMPFILE=scott_backup
    Hope this helps,
    Ravi.

  • Email notification using Oracle Job

    Hi,
    I am trying to setup a email notification job using Oracle 11gR2. Per online documnetation I have done the following setup, but the email notification job is failing. If you guys have any ideas, please assist.
    Step 1:
    BEGIN
      DBMS_SCHEDULER.set_scheduler_attribute('email_server', 'oracle.kotaise.com:25');
      DBMS_SCHEDULER.set_scheduler_attribute('email_sender', '[email protected]');
    END;
    Step2:
    BEGIN
      DBMS_SCHEDULER.create_job (
        job_name        => 'email_notification_job',
        job_type        => 'PLSQL_BLOCK',
        job_action      => 'BEGIN NULL; END;',
        start_date      => SYSTIMESTAMP,
        repeat_interval => 'freq=minutely; bysecond=0',   
        enabled         => TRUE);
    END;
    Step 3:
    BEGIN
    DBMS_SCHEDULER.ADD_JOB_EMAIL_NOTIFICATION (
      job_name   =>  'email_notification_job',
      recipients =>  '[email protected]',
      sender     =>  '[email protected]',
      subject    =>  'Scheduler Job Notification-%job_owner%.%job_name%-%event_type%',
      body       =>   '%event_type% occurred at %event_timestamp%. %error_message%',
      events     =>  'JOB_FAILED, JOB_BROKEN, JOB_DISABLED, JOB_SCH_LIM_REACHED');
    END;
    Step 4:
    I have created the following  job that executes a package which executes a package "test_package.pdata". This package is not created yet, becuase I wanted to see whether the email notification is working or not. As expected the "TEST_JOB" is failed becuase of missing package. But the email notification job "'email_notification_job'", which runs every minute, failed to send an email notification.
    BEGIN
      SYS.DBMS_SCHEDULER.CREATE_JOB
           job_name        => 'test_job'
          ,start_date      => SYSTIMESTAMP
          ,repeat_interval => 'freq=minutely; bysecond=0'
          ,end_date        => NULL
          ,job_class       => 'DEFAULT_JOB_CLASS'
          ,job_type        => 'PLSQL_BLOCK'
          ,job_action      => 'BEGIN test_package.pdata; END;'
          ,comments        => NULL
          ,enabled         => TRUE
    end;
    I have queried the DBA_SCHEDULER_NOTIFICATIONS table, and I see that the email notification job did not started.
    JOB_NAME                                      RECIPIENT                     EVENT
    EMAIL_NOTIFICATION_JOB      [email protected]      JOB_FAILED
    EMAIL_NOTIFICATION_JOB      [email protected]      JOB_BROKEN
    EMAIL_NOTIFICATION_JOB      [email protected]      JOB_SCH_LIM_REACHED
    EMAIL_NOTIFICATION_JOB      [email protected]      JOB_DISABLED
    Thanks

    Hi,
    The DBA_SCHEDULER_NOTIFICATIONS show the notification settings, not the notifications that were sent. To see that, run the follwoing query:
    select queue,
           msg_state,
           enq_time,
           enq_user_id,
           deq_time,
           deq_user_id,
           t.user_data.event_type,
           t.user_data.object_owner,
           t.user_data.object_name,
           t.user_data.event_timestamp
      from sys.AQ$SCHEDULER$_EVENT_QTAB t;
    Does it show anything for your job?

  • Window oracle job scheduler and Oracle server scheduler relationship

    Hi Experts,
    We use oracle 10G R4 in window 2003 server.
    From window server panel,we can see OracleJobSchedulerORCAID server is disable. However, I check oracle Jobs from EM.
    I can saw schedule jobs are running in there.
    What relationship is between window scheduler server and Oracle Schdeler?
    As I know we can stop/start window Oracle database serve,r DBconsle EM server and Listener server in window server to control oracle
    .Why window oracle schedule does not affect Oracle schdule job?
    Thanks Experts to explaining?
    JIm

    10g R4 is not an existing Oracle version. 10.2.0.4 is.
    Oracle EM has three different schedulers:
    - dbms_job
    - dbms_scheduler
    - EM's own scheduler. Jobs submitted in the EM scheduler are spawned by the Management Agent.
    Sybrand Bakker
    Senior Oracle DBA

  • Problem kicking off process chains using Tivoli Job Scheduling

    In our pre-production BW system testing,when the process chains are being kicked off through Tivoli,they are not working.
    We dont get issues when the chains are run directly in BW,without using Tivoli.
    The jobs with 'after event' RSPROCESS setting that kick off next node on each node's completion,are not leaving out a 'copy' after a scheduled run.
    So in the next run from Tivoli,the dependency job isnt there in scheduled status,which fails the chain.
    We tried manually copying the dependency jobs on the nodes.Doing this,chain does kick off from Tivoli.But again jobs dont leave copies and next run from
    Tivoli fails.We tried using 'periodic job' setting.This leaves copies of job.But then why is BW able to copy out and kick off jobs,while this isnt happening when kicked off through Tivoli.
    A node in the process chain is BLUE when it has a scheduled job ready in sm37,but turns GREY(no scheduled job is there in sm37),once the Tivoli kicks off chains after the manual copy.
    We suspect this either to be a authorization problem or an issue with how it works when kicked off through Tivoli.Process chain 'context' is somehow not created when it runs through Tivoli.
    Anyone seen such an issue before?Suggestions are welcome..
    cheers,
    Vishvesh

    Hi Manfred,
    The chain does get kicked off from Tivoli.
    But the job fails in Tivoli as..when it tries to hand over execution to the 1st local chain in the 'meta chain' the required job isnt there in scheduled status,with the 'after event' RSPROCESS dependency set on it.
    cheers,
    Vishvesh

  • OracleAS job scheduler

    And.. is the job scheduler only available in the 10.1.3 release or is there some way we can use the oracle.ias.scheduler packages now?

    The job scheduler is a 10.1.3 feature.
    Frank

  • Creating reports using oracle application server

    Hello All,
    I am a complete newbie with Oracle Application Server(OAS) and Oracle reports. My task is to generate HTML and PDF reports using OAS. The current application has a aspx pages(ASP.NET as front end) which calls a third party tool Fast Radar Report which fetches data as per the user need(like month, day, year, product name....) and displays it in a grid format. I have to remove the FastRadar part and use OAS's OracleAS Reports Services components to generate those reports
    I went through chapter 12 of Oracle.Application.Server.10g.Essentials by OReilly 2004 edition
    It briefly glances through that part. But, it seems to mention about Oracle Reports something like "Oracle Reports has a wizard-based frontend called Oracle Reports Developer that can build reports. Oracle Reports Developer is part of the Oracle Developer Suite. The reports created with Oracle Reports Developer can be deployed to the Web using OracleAS Reports Services support in Oracle Application Server."
    I am unclear what to do. Do I need to create the report format in Oracle Reports using wizard-based frontend called Oracle Reports Developer and then deploy it using OracleAS Reports Services?
    Or, is there a way to create the report format using OracleAS Reports Services without using Oracle Reports. I am told we have just OAS installed, don't know if Oracle reports is installed or not as it is done on a remote site.
    Any suggestions would be highly appreciated.
    Thanks a lot.

    Hi,
    One has to develop reports using Oracle Reports developer and then has to deploy it into the application server. To do so you need the Oracle developer suite installed, this has wizards which can be used to develop reports.
    This link might help you http://www.oracle.com/technology/products/reports/index.html.
    Mark it if it helps

  • Generate alphanumeric sequence using oracle sequence

    Hi,
    Can we generate alphanumeric sequence from Oracle sequence.
    Sequence would be something like this. Please advice
    TEMP-0001
    TEMP-0002
    TEMP-0010
    Thanks,
    Lak

    hi,
    You can try below procedure...
    SQL> create sequence sec
      2  minvalue 0
      3  start with 001
      4  increment by 1
      5  nocache;
    Sequence created.
    SQL> select 'temp-'||to_char(sec.nextval) from dual;
    'TEMP-'||TO_CHAR(SEC.NEXTVAL)
    temp-1

  • Using Oracle Enterprise Scheduling Service  (ESS)

    Hi,
    I am trying to install Oracle Enterprise Scheduling Service (ESS) on windows 2008 server where WebLogic server is already installed. As per Install guide we have to install Network Integrity software before proceeding to ESS installation. But Network Integrity System Requirements says Network Integrity software is supported only by a select few Linux OS.
    Is this true ? Does that mean ESS cannot be installed on Windows OS ?
    If anybody has installed ESS on Windows OS, please help.
    Thanks
    Swarup

    Hi,
    Please check your setupinfo.txt file under the Forms home /install directory to find the exact EM URL to access.
    Please note that this forum is for EM High Availability configurations. You may want to use the Fusion Middleware forums instead for these questions.
    I hope this helps.
    Thank you,
    Farouk

  • Oracle Job scheduling issue

    We have issue with scheduling job in the oracle database. Requirement is to have a procedure A get executed every day at 11am. This procedure update record in the table and puts data time stamp.
    We have created a Job but when I check the the record in the table it does not show 11am but show 8am.
    Earlier we had old job that was executing the same procedure at 8am. We have dropped that Job. Not sure why 11am change does not take an effect. We have Oracle 10g and the change in the job [drop and re-create] has been done using a TOAD database user and not as a DBA. Can this be a problem?
    Please advice.

    Using SYS.DBMS_JOB
    Script...
    BEGIN
    SYS.DBMS_JOB.REMOVE(82);
    COMMIT;
    END;
    DECLARE
    X NUMBER;
    BEGIN
    SYS.DBMS_JOB.SUBMIT
    ( job => X
    ,what => 'GET_XXX_UPDATES;'
    ,next_date => to_date('14/08/2009 11:00:00','dd/mm/yyyy hh24:mi:ss')
    ,interval => 'TRUNC(SYSDATE+1)+11/24'
    ,no_parse => FALSE
    SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
    COMMIT;
    END;

  • Rwrun reports stop working after a period of time using a job scheduler

    Hello, I am having a strange issue. We use either Control-M or Windows Task scheduler to run a VBS script that calls rwrun to generate multiple reports for multiple properties. Initially everything worked without issues then after about 2 months the VB Script running through Control-M started Failing. I could still run them from command line on the same server without Issues. So I set them up in Windows Task Scheduler and again they worked for about 3 weeks then started to Fail. Again I could still run the same scripts from command line on the server and have no issues. So we moved the scripts to another App server and went back to Control-M. This time after about 3 months the jobs started to fail. Moved them to Windows TS and again after about 1 week they started to fail. The TRACEALL shows nothing but I am getting this error in the hs_err_pidxxxx.log files that it creates. Does anyone know if some type of Temp location needs to be cleared or what my issue might be? Stumped at this point. Also point out the the servers were rebooted and no patches or modifcations where done to them before they start to fail. Thanks for any suggestions.
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x64CA84F2
    Function=utqks2q+0x90
    Library=e:\oracle\10gdevr2\bin\UTL.dll
    Current Java thread:
         at oracle.reports.engine.EngineImpl.CRunReport(Native Method)
         at oracle.reports.engine.EngineImpl.run(EngineImpl.java:437)
         at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:916)
         - locked <0x100a0040> (a oracle.reports.engine.EngineImpl)
         at oracle.reports.server.ExecAsynchJobThread.run(ExecAsynchJobThread.java:54)
    Dynamic libraries:
    0x00400000 - 0x00424000      e:\oracle\10gdevr2\bin\rwrun.exe
    0x7D600000 - 0x7D6F0000      C:\WINDOWS\system32\ntdll.dll
    0x7D4C0000 - 0x7D5F0000      C:\WINDOWS\syswow64\kernel32.dll
    0x77BA0000 - 0x77BFA000      C:\WINDOWS\syswow64\MSVCRT.dll
    0x7D930000 - 0x7DA00000      C:\WINDOWS\syswow64\USER32.dll
    0x7D800000 - 0x7D890000      C:\WINDOWS\syswow64\GDI32.dll
    0x004E0000 - 0x0057B000      C:\WINDOWS\syswow64\ADVAPI32.dll
    0x7DA20000 - 0x7DB00000      C:\WINDOWS\syswow64\RPCRT4.dll
    0x7D8D0000 - 0x7D920000      C:\WINDOWS\syswow64\Secur32.dll
    0x66220000 - 0x6623C000      e:\oracle\10gdevr2\bin\nn.dll
    0x64CE0000 - 0x64DBD000      e:\oracle\10gdevr2\bin\UIW.dll
    0x64CA0000 - 0x64CB1000      e:\oracle\10gdevr2\bin\UTL.dll
    0x64CD0000 - 0x64CD7000      e:\oracle\10gdevr2\bin\UTC.dll
    0x60730000 - 0x607DC000      e:\oracle\10gdevr2\bin\oracore10.dll
    0x608D0000 - 0x60963000      e:\oracle\10gdevr2\bin\oranls10.dll
    0x62B40000 - 0x62B53000      e:\oracle\10gdevr2\bin\oraunls10.dll
    0x60C40000 - 0x60C47000      e:\oracle\10gdevr2\bin\orauts.dll
    0x71C00000 - 0x71C17000      C:\WINDOWS\system32\WS2_32.dll
    0x71BF0000 - 0x71BF8000      C:\WINDOWS\system32\WS2HELP.dll
    0x76AA0000 - 0x76ACD000      C:\WINDOWS\system32\WINMM.dll
    0x77670000 - 0x777A9000      C:\WINDOWS\syswow64\ole32.dll
    0x64CC0000 - 0x64CC9000      e:\oracle\10gdevr2\bin\UTJ.dll
    0x64F10000 - 0x64F21000      e:\oracle\10gdevr2\bin\UIIM.dll
    0x73070000 - 0x73097000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x77530000 - 0x775C7000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.3790.3959_x-ww_78FCF8D0\COMCTL32.dll
    0x64ED0000 - 0x64EF6000      e:\oracle\10gdevr2\bin\UIOLE.dll
    0x762B0000 - 0x762F9000      C:\WINDOWS\syswow64\comdlg32.dll
    0x00580000 - 0x005D2000      C:\WINDOWS\syswow64\SHLWAPI.dll
    0x7C8D0000 - 0x7D0CF000      C:\WINDOWS\syswow64\SHELL32.dll
    0x663D0000 - 0x66414000      e:\oracle\10gdevr2\bin\CA.dll
    0x66340000 - 0x6636A000      e:\oracle\10gdevr2\bin\mmc.dll
    0x616B0000 - 0x61891000      e:\oracle\10gdevr2\bin\oraclient10.dll
    0x62B60000 - 0x62B66000      e:\oracle\10gdevr2\bin\oravsn10.dll
    0x60D30000 - 0x60DE8000      e:\oracle\10gdevr2\bin\oracommon10.dll
    0x60300000 - 0x60720000      e:\oracle\10gdevr2\bin\orageneric10.dll
    0x629C0000 - 0x629D2000      e:\oracle\10gdevr2\bin\orasnls10.dll
    0x62B80000 - 0x62C86000      e:\oracle\10gdevr2\bin\oraxml10.dll
    0x5C6C0000 - 0x5C6D1000      C:\WINDOWS\system32\MSVCIRT.dll
    0x607E0000 - 0x608CC000      e:\oracle\10gdevr2\bin\oran10.dll
    0x62000000 - 0x6202C000      e:\oracle\10gdevr2\bin\oranl10.dll
    0x62030000 - 0x62042000      e:\oracle\10gdevr2\bin\oranldap10.dll
    0x62090000 - 0x62184000      e:\oracle\10gdevr2\bin\orannzsbb10.dll
    0x61E10000 - 0x61E52000      e:\oracle\10gdevr2\bin\oraldapclnt10.dll
    0x61F30000 - 0x61F47000      e:\oracle\10gdevr2\bin\orancrypt10.dll
    0x71BB0000 - 0x71BB9000      C:\WINDOWS\system32\WSOCK32.dll
    0x76CF0000 - 0x76D0A000      C:\WINDOWS\system32\iphlpapi.dll
    0x76B70000 - 0x76B7B000      C:\WINDOWS\system32\PSAPI.DLL
    0x005E0000 - 0x0066B000      C:\WINDOWS\syswow64\OLEAUT32.dll
    0x621A0000 - 0x621D7000      e:\oracle\10gdevr2\bin\oranro10.dll
    0x621F0000 - 0x621FC000      e:\oracle\10gdevr2\bin\orantcp10.dll
    0x61F70000 - 0x61F76000      e:\oracle\10gdevr2\bin\oranhost10.dll
    0x61F20000 - 0x61F26000      e:\oracle\10gdevr2\bin\orancds10.dll
    0x62210000 - 0x62216000      e:\oracle\10gdevr2\bin\orantns10.dll
    0x60970000 - 0x60C31000      e:\oracle\10gdevr2\bin\orapls10.dll
    0x62500000 - 0x62507000      e:\oracle\10gdevr2\bin\oraslax10.dll
    0x627B0000 - 0x628B3000      e:\oracle\10gdevr2\bin\oraplp10.dll
    0x618B0000 - 0x61905000      e:\oracle\10gdevr2\bin\orahasgen10.dll
    0x622B0000 - 0x622E6000      e:\oracle\10gdevr2\bin\oraocr10.dll
    0x622F0000 - 0x62315000      e:\oracle\10gdevr2\bin\oraocrb10.dll
    0x71C40000 - 0x71C97000      C:\WINDOWS\syswow64\NETAPI32.dll
    0x62A80000 - 0x62AF6000      e:\oracle\10gdevr2\bin\orasql10.dll
    0x65050000 - 0x6576D000      e:\oracle\10gdevr2\bin\rw.dll
    0x64AB0000 - 0x64AC4000      e:\oracle\10gdevr2\bin\ZRC.dll
    0x66AC0000 - 0x66AC5000      e:\oracle\10gdevr2\bin\D2SC.dll
    0x66810000 - 0x66A2B000      e:\oracle\10gdevr2\bin\DE.dll
    0x627A0000 - 0x627AF000      e:\oracle\10gdevr2\bin\oraplc10.dll
    0x64E30000 - 0x64E93000      e:\oracle\10gdevr2\bin\UIREM.dll
    0x659A0000 - 0x659EE000      e:\oracle\10gdevr2\bin\ROS.dll
    0x662F0000 - 0x66320000      e:\oracle\10gdevr2\bin\mmi.dll
    0x64F50000 - 0x64F66000      e:\oracle\10gdevr2\bin\UICC.dll
    0x662C0000 - 0x662DF000      e:\oracle\10gdevr2\bin\mms.dll
    0x662A0000 - 0x662B0000      e:\oracle\10gdevr2\bin\mmv.dll
    0x73AC0000 - 0x73AD8000      C:\WINDOWS\system32\AVIFIL32.dll
    0x77B70000 - 0x77B84000      C:\WINDOWS\system32\MSACM32.dll
    0x75FC0000 - 0x75FE2000      C:\WINDOWS\system32\MSVFW32.dll
    0x66250000 - 0x6627E000      e:\oracle\10gdevr2\bin\mmw.dll
    0x64FB0000 - 0x64FDA000      e:\oracle\10gdevr2\bin\UCOL.dll
    0x665F0000 - 0x665F5000      e:\oracle\10gdevr2\bin\dfc.dll
    0x66210000 - 0x66215000      e:\oracle\10gdevr2\bin\obs.dll
    0x65010000 - 0x6503E000      e:\oracle\10gdevr2\bin\rws.dll
    0x64AD0000 - 0x64C05000      e:\oracle\10gdevr2\bin\VGS.dll
    0x7DBD0000 - 0x7DCD3000      C:\WINDOWS\WinSxS\WOW64_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-ww_5FA17F4E\comctl32.dll
    0x08000000 - 0x08139000      E:\oracle\10gdevr2\jdk\jre\bin\client\jvm.dll
    0x10000000 - 0x10007000      E:\oracle\10gdevr2\jdk\jre\bin\hpi.dll
    0x024E0000 - 0x024EE000      E:\oracle\10gdevr2\jdk\jre\bin\verify.dll
    0x024F0000 - 0x02509000      E:\oracle\10gdevr2\jdk\jre\bin\java.dll
    0x02510000 - 0x0251D000      E:\oracle\10gdevr2\jdk\jre\bin\zip.dll
    0x05500000 - 0x0550F000      E:\oracle\10gdevr2\jdk\jre\bin\net.dll
    0x7DB30000 - 0x7DBB0000      C:\WINDOWS\System32\mswsock.dll
    0x76ED0000 - 0x76EFA000      C:\WINDOWS\system32\DNSAPI.dll
    0x76F70000 - 0x76F77000      C:\WINDOWS\System32\winrnr.dll
    0x76F10000 - 0x76F3E000      C:\WINDOWS\syswow64\WLDAP32.dll
    0x76F80000 - 0x76F85000      C:\WINDOWS\system32\rasadhlp.dll
    0x056C0000 - 0x056C6000      E:\oracle\10gdevr2\BIN\rwu.dll
    0x5F270000 - 0x5F2CA000      C:\WINDOWS\system32\hnetcfg.dll
    0x71AE0000 - 0x71AE8000      C:\WINDOWS\System32\wshtcpip.dll
    0x06300000 - 0x06306000      E:\oracle\10gdevr2\jdk\jre\bin\ioser12.dll
    0x76C10000 - 0x76C38000      C:\WINDOWS\syswow64\imagehlp.dll
    0x6D580000 - 0x6D628000      C:\WINDOWS\syswow64\dbghelp.dll
    0x77B90000 - 0x77B98000      C:\WINDOWS\syswow64\VERSION.dll
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 445K [0x10010000, 0x100b0000, 0x113c0000)
    eden space 512K, 74% used [0x10010000, 0x1006f488, 0x10090000)
    from space 64K, 100% used [0x100a0000, 0x100b0000, 0x100b0000)
    to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
    tenured generation total 2192K, used 1577K [0x113c0000, 0x115e4000, 0x20010000)
    the space 2192K, 71% used [0x113c0000, 0x1154a448, 0x1154a600, 0x115e4000)
    compacting perm gen total 4864K, used 4697K [0x20010000, 0x204d0000, 0x24010000)
    the space 4864K, 96% used [0x20010000, 0x204a6670, 0x204a6800, 0x204d0000)
    Local Time = Tue Dec 08 10:53:04 2009
    Elapsed Time = 1
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_06-b03 mixed mode)
    #

    I realize this is an old post, however I've had the exact same issue over the last week with the same UTL.dll showing in the hs_err_pidxxxx file.
    Our VB6 app ran as a Windows 2003 scheduled task for almost two years before stopping all of a sudden. It ran fine when logged on, but would fail when we logged off. The task would run, but the program would fail. While we never did get the scheduled task working properly, I did find an alternate solution.
    Instead of using rwrun.exe I updated the code in our app to use rwclient.exe. The command for rwrun and rwclient are very similar with rwclient requiring a server= setting.
    Oracle Reports Components Overview

  • Oracle job scheduling for 2 different timezones

    I have a procedure which needs to be scheduled for different timezones based on one of the column in the table (ex: region).
    If region is California, it needs to be scheduled at 8:00am, if Newyork at 6:00am.
    Any ideas much appreciated!

    user497841 wrote:
    In my procedure, I populate a snapshot table for all regions.
    The procedure includes different inserts into the table per region.
    But insert for california should be scheduled at 8:00 and insert for newyork should be scheduled at 6:00am.
    Also, the job needs to take care of daylight savings.
    So i got to schedule the same procedure to run at 8:00am and 6:00 am.Assuming that you use DBMS_SCHEDULER then if you take a look at the definition of create schedule (or create job etc) then you will find that the scheduled time is timezone aware. eg
    DBMS_SCHEDULER.CREATE_SCHEDULE (
       schedule_name          IN VARCHAR2,
       start_date             IN TIMESTAMP WITH TIMEZONE DEFAULT NULL,
       repeat_interval        IN VARCHAR2,
       end_date               IN TIMESTAMP WITH TIMEZONE DEFAULT NULL,
       comments               IN VARCHAR2 DEFAULT NULL);This should then make your jobs timezone (and hence dst) aware.
    Niall Litchfield
    http://www.orawin.info/

  • Need help in creating Aria using Oracle APEX

    Hi,
    I am trying to develop an employee lookup using DBCON's PDF(http://www.dbcon.com/oracle_apex_ebook_aria.html).
    I downloaded the Oracle XE, version 11.0.0.28844 and used the APEX from this. But, the files provided by DBCON seem to be old. I tried using the AriaTheme.sql file in the APEX, but, it errors out complaining that the file is not compatible.
    As this did not work, I downloaded the APEX(apex_4.0.1) and am trying to proceed with this. This comes with a large package and it is not clear on how to install and where to start off to build ARIA.
    Please help me out with the latest compatible theme or suggest the XE version that I need to download.
    Thanks,
    Divya.

    I downloaded it from: http://www.oracle.com/technetwork/database/express-edition/downloads/102xewinsoft-090667.html(Oracle Database 10g Express Edition (Universal) )
    Could you please comment on the 'Aria' setup, if you are aware?

  • Not able to create partitions using Oracle 10g express edition

    Hello Everyone,
    I downloaded Oracle 10g express edition as the documentation for the same says that it supports partitioning of the table.
    But when I try to run a command like
    CREATE TABLE sales_range
    (salesman_id NUMBER(5),
    salesman_name VARCHAR2(30),
    sales_amount NUMBER(10),
    sales_date DATE)
    PARTITION BY RANGE(sales_date)
    PARTITION sales_jan2000 VALUES LESS THAN(TO_DATE('02/01/2000','DD/MM/YYYY')),
    PARTITION sales_feb2000 VALUES LESS THAN(TO_DATE('03/01/2000','DD/MM/YYYY')),
    PARTITION sales_mar2000 VALUES LESS THAN(TO_DATE('04/01/2000','DD/MM/YYYY')),
    PARTITION sales_apr2000 VALUES LESS THAN(TO_DATE('05/01/2000','DD/MM/YYYY'))
    I get the following error
    "ORA-00439: feature not enabled: Partitioning"
    Please let me know what is causing the issue/error and how to resolve it.
    Thanks.

    Where did you read that the express edition supports partitioning? I would strongly suspect that there was an error in the documentation-- partitioning is an extra cost option on top of an enterprise edition database. Perhaps you are confusing the personal edition (which does support partitioning) with the express edition?
    Justin

  • Oracle Job Scheduler

    Hi all,
    May i know how to identify if it is event-based jobs and its event condition/spec from ALL_SCHEDULER_JOBS?
    Thank you,

    sol.beach - you may be usually correct, but you're wrong on this one
    https://docs.oracle.com/cd/B28359_01/server.111/b28310/scheduse008.htm#ADMIN12361
    StarterAman - sorry I don't know the answer to your question offhand.

Maybe you are looking for

  • Video and audio files from dvd using FCP

    Hi Trying to get footage from a dvd using fcp. I can import the clips ok using file >import but they have no audio with them and the audio folder on the dvd is blank...any ideas???????? cheers

  • Moving photos between libraries

    I take lots of photos, and, with previous incarnations of iPhoto, this was a bit of a problem. To get around it, I created multiple users on my computer, each with a themed library (family, travel, hobbies, etc.) With iPhoto 6 I can have much larger

  • MM Source List export to SRM Vendor List

    Hi Friends , I learnt that  we need to create the Vendor List in SRM separtly . Can any one suggest/ confirm me , whether the Source List  craeted in ECC , can be export to SRM ? If yes , how ? Regards NAP

  • Problem with starting iPhoto!

    I open it up, and it just keeps loading and won't let me do anything... Just loads.

  • Buying Center error

    Hi u all I  have just checked for buying center function on Account form. Some fields are not active such as: Date, Reference opportunity. I also can't choose any value in field " Sales Organization". I donn't know why. Have u have any idea? Regards