Dbms_job.submit - job is restarting but - not throwing any exceptions

We have a job that is a simple loop that looks for (wakes up by) looking for messages coming in using DBMS_PIPE.
The job has been restarting arbitrarily but - we're not seeing messages generated via any of the associated exception handlers.
No idea why it's restarting when it fails.... currently - I'm just looking for a way to have the dbms_job.submit call NOT automatically restart if it has issues.
Currently just calling as such:
DBMS_JOB.submit(jobno, 'pkg_package.listen;');
Running on 10.2.0.4.0
Any insight is appreciated.
Is there a way to prevent it from automatically restarting and - is there something I should be looking for specifically around dbms_job when it comes to the exception handling in the packages/procedures it's running??
Thanks.

We generate a log record in a table using an autonomous procedure when an exception is raised.
Where I'm seeing the log records stating an issue with the job - I'm also seeing the tracefile / alerts being generated.
When the job starts - we log a record stating it's started....
In many instances - I'm seeing it log a start but - there's no corresponding trace file (i.e. - it wasn't manually started - it was processing and - then - without exception 'died' - didn't generate an error but - just started up again).
I've no idea what's going on here. I've validated that everywhere through the underlying package the job is running that the exceptions are being logged. Yet - it's arbitrarily starting up again on some occassions (and - I can't seem to find any general commonality around when this is happening or - what would be causing it).
So - I'm thinking this is an issue with the DBMS_JOB or - something else funky going on....
As an FYI - This job is simply a loop that waits to receive a message on DBMS_PIPE that then fires off a package procedure when it receives the message.
In the interim - to alleviate data issues as a result of it processing the same data twice - I'm trying to prevent it from auto restarting... is there a way to do this?

Similar Messages

  • LookupXRef not throwing any exception

    Hi All,
    We are using ESB Cross referencing out of box functionality provided with 10.1.3.3 SOA Suite.We have a case where we need to have some busineess logic when the value we are trying to look up in the Cross Ref table doesnot exists , in that case we tried to use needAnException(set to true()) field in the lookupXRef function inside the transformation.However its not throwing any exception in the BPEL Process.Instead it is avoiding other fields in getting populated underneath it in that complex type.As a result we are losing important business data inside the BPEL Process.Same is the case for PopulateXRefRow function as well while we are trying to insert a duplicate value into the Cross referencing table from BPEL Process.
    We need an exception for the above two cases.Are there any work arounds for these.
    We are in an urgent need of it.Can any one help us?
    Regards,
    Venkat.

    hi,
    after using XREFTOOL to create my cross referencing:
    D:\productORACLE\10.1.3.1\SOA\Oracle_1\integration\esb\bin>xreftool.bat -shell
    listTablesTotal number of xref tables: "1"
    No. TableName
    1. MONREF
    listColumns MONREFTotal number of columns for xref table "MONREF" : "2"
    No. ColumnName
    1. SAP
    2. SIEBEL
    >
    i try to use (after a reboot of soa suite), xpath function xref:populateXRefRow inside a assign task of my bpel 10.1.3.3.
    i have the following exception :
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: XPath expression failed to execute.
    Error while processing xpath expression, the expression is "xref:populateXRefRow('monref','sap','123','siebel','2','ADD')", the reason is FOTY0001: type error.
    Please verify the xpath query.
    ORABPEL-05002
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: XPath expression failed to execute.
    Error while processing xpath expression, the expression is "xref:populateXRefRow('monref','sap','123','siebel','2','ADD')", the reason is FOTY0001: type error.
    Please verify the xpath query.
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:171)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    Is there a solution or did i miss something ??
    i try to use the same xpath function inside a ESB project (xslt transformation)
    <xsl:value-of select='xref:populateXRefRow("MONREF","SAP",/tns:name,"SIEBEL",ora:generateGUID(),"ADD")'/>
    and i've got the error message :
    XML-22016: (Error) Extension function namespace should start with 'http://www.oracle.com/XSL/Transform/java/'.

  • Persist does not throw any exception in a JUnit test

    I am implementing a JUnit test using Toplink as JPA provider. I must be missing something because I try to persist two times the same entity and no exception is thrown. Neither PersistenceException nor any other type of exception. The code cannot be easier:
    @Test
    public void testAddExistingTeam() throws Exception {
    Team team = new Team("team2");
    try{     
    EntityManagerFactory emf =
    Persistence.createEntityManagerFactory("fofo");
    EntityManager em = emf.createEntityManager();
    em.getTransaction().begin();
    em.persist(team);
    em.persist(team);
    em.getTransaction().commit();
    em.close();
    catch(Exception e){
    e.printStackTrace();
    Notice the two em.persist(team).
    This code does not seem to either enter the catch block or produce any sort of exception. On the other hand, I have checked that after the first
    em.persist(team); the team is really managed.
    The relevant parts of the Team class definition follow:
    @Entity
    @Table (name ="TEAM")
    public class Team implements Serializable {
    @Id
    @Column (name="NAME")
    private String name;
    @ManyToOne
    @JoinColumn (name="CLUB_NAME", referencedColumnName="NAME")
    private Club club;
    private Category category;
    private String email;
    @ManyToMany(mappedBy="teams")
    private List<Competition> competitions;
    public Team (String name){
    this.name = name;
    this.club = null;
    this.competitions = new ArrayList<Competition>();
    ....getters/setters....and more constructors.
    I am really puzzled by this issue. Somebody could help??? I would be really grateful!!!
    Josepma

    This is expected behavior as persist is a no-op if called on a managed entity (other than to cascade over relationships marked with cascade.Persist), and the first persist call makes the passed in team entity managed.
    Try calling em.flush(); and em.clear(); between the persist calls to get an exception.
    The first flush will ensure the team is inserted in the database, while clear will detach it so that the second persist call will try to insert the team. JPA providers are not required to throw the entityExistsException on persist - it can be delayed until the transaction is flushed or committed, so you are likely to get a PersistenceException from the commit instead of EntityExistsException from persist.
    Best Regards,
    Chris

  • Before partition by Boot Camp on Mac Book Pro With Mac OS Lion the computer restarts but not open wizard of Windows 7 and appears the apple with question mark...

    Before partition by Boot Camp on Mac Book Pro With Mac OS Lion the computer restarts but not open wizard of Windows 7 install and appears the apple with question mark...don't recognize disk..

    Apparently Zoo Tycoon can't be played on anything newer than 10.7.
    https://discussions.apple.com/message/21885910#21885910
    Roller Coaster Tycoon is available for purchase from the App Store.

  • No sound.  Mute is not checked, volume all the way up on iTunes and on status bar.  What am I doing wrong or missing?  I restarted last night and it worked before that but not since, any one have any ideas?

    No sound.  Mute is not checked, volume all the way up on iTunes and on status bar.  What am I doing wrong or missing?  I restarted last night and it worked before that but not since, any one have any ideas?
    Thanks, Rob

    First off did you go to System Preferences > Sound > Output > And is the correct output selected?
    Any red light coming out of the headphone jack? If so, you'll need to re-set the little switch in there by inserting a 3.5mm jack carefully in & out 20 odd times. Or grab a toothpick (non-conductive) and a flashlight.
    Tried anything else that produces a sound? On restart do you get the chime? Perhaps check into Audio Midi Setup to ensure your output is selected correctly using the cog at the bottom left.

  • Gmail question.  I'm getting an error message that states my username or password are incorrect.  I haven't changed anything and the gmail is working fine on the mac book.  The mail function worked yesterday on the iphone but not today - any solutions??

    Gmail question.  I'm getting an error message that states my username or password are incorrect.  I haven't changed anything and the gmail is working fine on the mac book.  The mail function worked yesterday on the iphone but not today - any solutions??

    Try Restarting / rebooting  your Mac before doing anything more drastic..
    S.

  • Trying to fetch the data from backend but its throwing an exception

    Trying to fetch the data from backend by clicking on a search button, but its throwing an exception
    ex: Could not create JCOClientConnection for logical System: MIGATEST_MODELDATA_DEST - Model: class org.wb.operations.testflightmodel.FlightModel. Please assure that you have configured the RFC connections and/or logical system name properly for this model!
    can anyone help me how i can proceed further.
    regards,
    Suresh.

    Hello,
    Go to http://<servername>:<port>/webdynpro/welcome and check whether the destination name MIGATEST_MODELDATA_DEST exists there and working fine.
    Ashu

  • Firefox is launching but not opening any links

    Problem : My firefox is launching successfully but not opening any links
    Details : For my Selenium automation , i have installed\uninstalled older and new versions on FF. Now
    my FF is not opening any links.
    As suggested
    -> tried FF version 18 - no luck
    -> Restarted with addons disabled - no luck
    -> Deselected 'Use hardware acceleration when available' - no luck
    Please help

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    When in Safe Mode... <br />
    * The status of plug-ins is not affected.
    * Custom preferences are not affected.
    * All extensions are disabled.
    * The default theme is used, without a persona.
    * userChrome.css and userContent.css are ignored.
    * The default toolbar layout is used.
    * The JIT Javascript compiler is disabled.
    * Hardware acceleration is disabled.
    If not, see this: <br />
    [https://support.mozilla.org/en-US/kb/troubleshoot-extensions-themes-to-fix-problems]

  • In ical I just added new calendars to a pre-existing calendar group, I can make events with these calendars, but not reminders, any suggestions?

    in ical I just added new calendars to a pre-existing calendar group, I can make events with these calendars, but not reminders, any suggestions?

    Hi,
    Lion has changed the way reminders (todos as was) work. They now seem to need to be in a seperate calendar.
    In iCal open the File menu and select New Reminder List... and select where to put it.
    Best wishes
    John M

  • I have installed iTunes on my Windows computer (XP sp2) but not in any way iTunes will start

    I have installed iTunes on my Windows computer (XP pro sp2 x32) but not in any way iTunes will start when new iPad 4 is usb connected with computer
    what can be wrong?

    I recommend you do as LexSchellings and I are telling you to do. If you have uninstalled iTunes and the reinstalled it from Apple's website and it still does not work, you will have to contact the Apple Technical Support section for them to guide you through steps to try and get it working.
    The US Contact Page is here: http://www.apple.com/contact/
    The UK Contact Page is here: http://www.apple.com/uk/contact/

  • How can I set Firefox 8.0 to accept 3rd party cookies ONLY from selected sites but NOT from any other sites?

    I do not like to accumulate 3rd party cookies and would simply not check the Accept 3rd Party Cookies box in Preferences. BUT in order to use my bank's web page I have to accept 3rd party cookies from a separate site that manages some of their transactions (like paying bills). This means I have to accept 3rd party cookies and then delete them by hand OR I have to check the accept box each time I use the bank's website and then uncheck it when I am done.

    Thanks, but that is not what I was trying to do. I do not want to block cookies from a single site. I do not want to block all 3rd party cookies.
    What I want to do is ACCEPT 3rd party cookies only from ONE site but NOT from any other site.

  • Using QuickTime Pro with an .mpg movie, why can I only get it to play from the beginning, but not from any other point in the video?

    Using QuickTime Pro with an .mpg movie, why can I only get it to play from the beginning, but not from any other point in the video? How can I fix this?
    Baffled in SB

    What format of MPG is this?  Is this an MPEG1 or MPEG2 video?  How was the video created?

  • (PDWordGetAttrEx(pdWord, 0) & WXE_LAST_WORD_ON_LINE) is working in one document but not in any other

    Hello,
    I am using (PDWordGetAttrEx(pdWord, 0) & WXE_LAST_WORD_ON_LINE) to get the line breaks in a pdf document. I'm getting the correct results on the plugin_apps_developer_guide.pdf (The reference guide for plugin development to Adobe Acrobat), but not on any other pdf document. I've tried the code on both tagged and un-tagged document, but only this document is giving me the right result.
    Can anyone please guide me what can be the possible reason in this and how this can be handled.
    Thank You
    Vaibhav

    Hi Srikanth,
    1. why there is no space between "HR.tblPeople" and "ORDER BY" in your query? I am surprised it works initially.
    dim objcmd as new OledbDataAdapter _
    ("SELECT * FROM HR.tblPeople" _
    & "ORDER BY LastName, FirstName",objConn)
    2. use
    Dim ds As New DataSet()
    Sinclair

  • My iPhone 3gs is not able to connect through internet. I have a Airtel wireless at home.Phone connects through wireless but not opens any page or itune or apllications

    My iPhone 3gs is not able to connect through internet. I have a Airtel wireless at home.Phone connects through wireless but not opens any page or itune or applications.

    Hi,
    can you provide a bit more detail, as can you use the 3G network to access the web, and what security is your wireless using?
    Regards
    Ryan

  • The apple coloured ball keeps appearing in photo elements 13 but not in any other programme. I have the latest IMac with plenty storage and ram

    The apple coloured ball keeps appearing in photo elements 13 but not in any other programme including premier elements and organiser. I have the latest IMac  with ample storage and ram

    I believe I have solved the problem.  I have 16mb ram so I went into photo
    preferences and raised to 75% what is available for photo
    I also reduced the cache from 6 to 2.  The last two sessions the coloured
    ball has not appeared.  Hope this might be usefull  to others
    Rgds J McBride
    On Sun, Jan 25, 2015 at 7:15 PM, Barbara B. <[email protected]>

Maybe you are looking for

  • Password for software?

    I am an exsisting iPod user and have just bought the new Nano for my wife. I would like to use the two different iPods from the same computer. When setting up my wifes Nano it required a software up date, which I downloaded. It then asked me for my p

  • How do I get Acrobat Reader to work with Firefox again? I'ver tried everything that I can find in the Help area.

    A while back now I lost use of Acrobat Reader's loading feature while in Firefox. I have tried all of the suggestions that I can find in the Help Menu, on blogs, etcetera, and nothing has worked to re-enable it. The Acrobat Reader seems to work fine

  • My computer is slow after upgrading to mavericks

    I just did the free upgrade to mavericks and now my laptop is running slow...ugh!! ran sophos for any threads and it was all clear. any suggestions???

  • How to reorganise the sales value in FD33 tcode

    Hi gurus,    I had a customer whose credit limit is "1" rupee, in general process when we raise a sales order for him get the proforma invoice and send to him and then he pays for that then only we deliver and invoice him, but now system allows him t

  • How to read fields from an ABAP Programa

    Hello everyone. The need of the client is to create an Interactive form and first ask for some data in order to query the rest of the information needed for the layout . All this is using only ECC Backend, we do not have portal yet. So I'm not sure i