[Red5] hibernate stop working after a few hours?(hibernate example)
Kalr Mertens
karl.mertens61 at web.de
Tue Jun 23 08:52:46 PDT 2009
To anshwere myself the questions...
1) yes many, many ppl had this problem since many many years
2) bingo, its a jdbc setting, good lord
for those that are having some problem with hibernate colsing the connection after a while which might looks like this:
http://pastebin.com/m47cc20d5
you may whant to have a read here for the explanation and solution:
http://cephas.net/blog/2004/04/14/hibernate-communication-link-failure-javaioioexception/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
i choosen the
?autoReconnect=true
solution, from the first comment
if it works ... iŽll see tomorrow:^)
greetz
> -----Ursprüngliche Nachricht-----
> Von: "Kalr Mertens" <karl.mertens61 at web.de>
> Gesendet: 23.06.09 07:57:00
> An: red5 at osflash.org
> Betreff: [Red5] hibernate stop working after a few hours?(hibernate example)
> Hello, i once reported to list (i think during a thread regarding to annother Topic than hibernate)
> that my Application or red5 stops working after a few hours, well iam not acctualy about
> searching and fixing this issue, but on the past few times i read the logfile when trying to connect
> and connection get rejected.
>
> I discovered that Hibernate is reponsible for a non succesfull authentifiation of the user, because it
> doesent opens and closes the sessions properly, unfortunatly this error occours not after a specific time
> or amount of connected clients, so its not easy to find out what is going wrong there.
>
> this issue may also affects the hibernate example because the authentification is based on the hibernate example from red5.
>
> so my questions to the list are:
>
> 1) did someone had the same problem?
> 2) is that maybe a config problem from my mySQL DB or of the JDBC driver?
>
> when i stop red5 and restart it, everything works like expected... for somehow 6-18 hrs than the first connection get refused.
>
>
>
>
> ______________________________________________________
> GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://movieflat.web.de
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de
More information about the Red5
mailing list