Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Update build 1.8.0_251-b08 makes MediaPlayer freeze

pietblokApr 20 2020 — edited May 11 2020

Good day,

Last week my JRE got updated to build 1.8.0_251-b08, by the semi automatic update process. Yes, I clicked update now.

To my horror, the one and only javafx application that I have ever written, for my own pleasure and convenience, stopped working after that update. It is an application that heavily uses the javafx.scene.media package.

I tried to figure out how to roll back the update, but that seems impossible. I have only the JRE and not an SDK. I develop and compile with Eclipse.

The problem: as said is with the media package. I created my own fully fledged media player with this package. What happens is the following:

1) A media file is selected

2) Media, MediaPlayer and MediaView instances are created

3) The MediaView is incorporated in the scene tree

4) The player is started

What happened before the update:

The media is shown playing (the image is moving), the sound is audible and an indicator of the time is displayed. The media player status is shown as "PLAYING". In short: everything works fine and as intended.

After the update however, the image is frozen: I can hear the audio, the time indicator is running and the status is "PLAYING". When stopping the video, everything stops, and when restarting the video restarts at that point, only with a frozen image. In short: my application has become useless.

Has anyone seen this behaviour in the updated JRE? Has anyone succeeded to play a video in the updated JRE without freeze at all? Has anyone a suggestion as what might be wrong here?

Does anyone know of a way to revert to the previous JRE build (I believe this is 1.8.0_241-b07)?

Any help is appreciated,

Piet

This post has been answered by pietblok on May 11 2020
Jump to Answer

Comments

Emad Al-Mousa

please check this documentation from oracle: http://docs.oracle.com/cd/B19306_01/network.102/b14213/sqlnet.htm

recommended value is 10

SQLNET.EXPIRE_TIME=10

can you try it and update us if it works fine with you...

garywicke

Thanks for the quick response.


I have set the parameter to 120 minutes due to the way the application needs to connect to the database.  It holds the connection open on purpose and I need it to be 120 minutes to cover the gap in processing time. 


I'm looking to find out more details about when and why the database connection is being dropped by the database if indeed it is being dropped from the database side at all.


I was hoping there was an database audit command but I haven't found it yet.


Thanks again!!


-gary

Ratnesh Kumar Roy

Hello,

Where  do you get this issue.  It usually comes in sql developer when you connect to database.

Regards.

garywicke

Thanks for your response!


As noted above the application holds the database connection open while it does some SELECTs and some processing and then tries to write the data back out to the database but by that time it appears the connection has been open too long and the application gets a 'Connection closed' error message.


I've raised the SQLNET.EXPIRE_TIME to 120 minutes and the error occurs before that much time has expired so I'm assuming that parameter is not the cause.


The profile for the user has the IDLE_TIME set to UNLIMITED so I ruled out that as well.


The network folks say there is no firewall parm set to cancel a connection.


I'm looking for the AUDIT command or whatever setting I can change in the database to increase the audit trail detail to try and identify who is breaking the connection and why. 


Is there a database tracing parm I can set to see all the detail about the connections and especially when the database terminates one?



Thanks very much!

-gary

garywicke

This did indeed turn out to be a firewall setting.

My original question was never answered so I'm closing the discussion.

I'll try elsewhere.

-gary

1 - 5

Post Details

Added on Apr 20 2020
1 comment
585 views