Results 1 to 3 of 3

Thread: Thread dies in a few hours

  1. #1

    Default Thread dies in a few hours

    Hi all,

    we have developed a custom live stream module that has a thread witch reads a xml every 5 seconds and according to that xml it allows connections or disconnects/rejects connections by storing a value in a property file. The thread is instantiated in the onAppStart event (the property file is read in the "onConnect" event) and the and for a few hours everything runs perfect , but after that it doesn't run anymore. After restart everything is good again. Does anyone have an idea how to fix this?

  2. #2


    I have seen thread issues with openJDK which do not happen with the Oracle Java, not sure the cause, as it is still something I look at now and then.

    Are you using openJDK ? if so try Oracle JDK.

    Of course it may simply be a bug in your thread which is causing it to die. Try adding a try/catch block and see if you can trap the error on the thread.


  3. #3


    thank you for the response,

    we are using openJDK 1.7.0_09 and the thread run method has a while inside and inside it the is just a try/catch block, i'll try to use the oracle jdk.

    thank you again

Similar Threads

  1. sendClientOnStatusError from Thread
    By KoWa90 in forum Wowza Streaming Server Java API
    Replies: 1
    Last Post: 03-14-2014, 07:54 AM
  2. Replies: 1
    Last Post: 12-04-2013, 07:35 AM
  3. MediaCache dies after 30 seconds
    By hockey_dave in forum AddOn: Other AddOns
    Replies: 3
    Last Post: 04-17-2012, 06:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts