[Red5] made changes to code and now im getting no Handshake

Art Clarke aclarke at xuggle.com
Thu Mar 19 12:28:13 PST 2009


no problem; i just want people to get in the habit of checking their logs
EARLIER that the RTMPConnection failure to find all errors.  Of the ones
I've seen, the vast majority happen because the user's app throws a Java
exception.

- Art

2009/3/19 tom <tomabroad at gmail.com>

> well, i think so far my own logs, inlcuding logback: the onyl exception i
> do have, is that one:
>
> 2009-03-19 14:16:01,697 [Launcher:/admin] DEBUG
> org.red5.webapps.admin.UserDatabase - Setting derby home to:
> C:\WINDOWS\system32\config\systemprofile
> 2009-03-19 14:16:01,728 [Launcher:/admin] ERROR
> org.red5.webapps.admin.UserDatabase - Error in db setup
> javax.naming.NoInitialContextException: Cannot instantiate class:
> org.osjava.sj.SimpleContextFactory
>     at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
> [na:1.6.0_04]
>     at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
> [na:1.6.0_04]
>
> which was all the time present, so i didnt bother because the my app was
> running...sorry for asking so many questions.
> tom
>
>
> 2009/3/19 Art Clarke <aclarke at xuggle.com>
>
>> Hi Tom,
>>
>> You've asked variants on this question a lot, and I have one suggestion
>> that might really help you figure things out faster.
>>
>> When you get an error like this, look at your Red5 log files (all of them)
>> and look for instances where exceptions were thrown.
>>
>> Oftentimes the exception occurs MUCH earlier than the RTMPConnection being
>> closed.  As a rule, make sure you understand WHY every exception is
>> occurring.  99 out of 100 times it's an error in your application that is
>> easy to fix.
>>
>> Once you've done that (i.e. looked at, and fully understood your own
>> logs), and still can't find an issue, please then post your question along
>> with the information that was suggested for general inquiries (e.g. OS, log
>> files, etc.).
>>
>> Thanks,
>>
>> - Art
>>
>> 2009/3/19 tom <tomabroad at gmail.com>
>>
>>>  hi, all i did to my V8rc app was that i added some minor code to the app
>>> itself. after exporting it out of eclipse im getting now:
>>>
>>> [WARN] [DefaultQuartzScheduler_Worker-7]
>>> org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from
>>> 192.168.0.73 : 49245 to 192.168.0.70 (in: 3587 out 3213 ), with id 25979305
>>> due to long handshake
>>>
>>> how can i narrow this down?
>>>
>>> thx tom
>>>
>>>
>>> _______________________________________________
>>> Red5 mailing list
>>> Red5 at osflash.org
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>
>>>
>>
>>
>> --
>> http://www.xuggle.com/
>> xu‧ggle (zŭ' gl) v. To freely encode, decode, and experience audio and
>> video.
>>
>> Use Xuggle to get the power of FFMPEG in Java.
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>


-- 
http://www.xuggle.com/
xu‧ggle (zŭ' gl) v. To freely encode, decode, and experience audio and
video.

Use Xuggle to get the power of FFMPEG in Java.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20090319/e5fb7096/attachment.html>


More information about the Red5 mailing list