[Red5] Shared objects dissapearing (not a persistance issue)

Thijs Triemstra | Collab lists at collab.nl
Fri Feb 9 14:08:42 EST 2007


You should give the latest version of Red5 a try, you can get it from  
svn:

http://svn1.cvsdude.com/osflash/red5/java/server/trunk

If that doesn't fix your problem, create a bug report on: http:// 
jira.red5.org

thanks,

Thijs


Op 9-feb-2007, om 18:33 heeft Naicu Octavian het volgende geschreven:

> I want to first congratulate teh Red5 team for havng done sucha  
> wonderful job on this server.
>
> I am now currently in the process of moving several of my FMS  
> applications to red5. I will send my thoughts in a sepaate email  
> but now I have come across a rather wierd issue.
>
> I am working with a lot of shared objects(3--5 at a time). I have  
> one where I keep the list of rooms (rooms_so) and another one for  
> each room in which i keep the users in those rooms which is  
> dynamically created.
>
> They are all initialized in the appStart and appJoin when needed  
> (because when everyone leaves the sos get deleted)
>
> When a user jumps from one roomto another inside the app i take hi  
> from one list so and put him in another list so but in this moment  
> something happens to the first so. here is the scenario:
>
> User moves from r1 to r2:
> shared objects before:[r1_users, r2_users, rooms_list]
> moving user object from r1_users to r2_users
> shared objects after:[r1_users, r2_users, rooms_list]
> Call to a function that returns getSharedObjectNames 
> (appScope).toString()
> Current shared objects:[r2_users, rooms_list, ip_so] (where did  
> r1_users go?)
>
>
> Now the user moves from r2 to r1:
> shared objects before:[r2_users, rooms_list]
> attempt to move the userbject from r2_users to r1_users ends up with:
>
> [ERROR] 15563 pool-1-thread-10: 
> ( org.red5.server.service.ServiceInvoker.error ) Error executing  
> call: Service: null Method: joinRoom Num Params: 30: r21: r12: 0
> [ERROR] 15578 pool-1-thread-10: 
> ( org.red5.server.service.ServiceInvoker.error ) Service invocation  
> error
>
> in the red5.log file.
>
> Do the shared objects get cleaned if they are stripped of all their  
> attirbutes? Altough i put dummy data in ant the behaviour was the  
> same... .
>
> I am using the 0.6 RC1 Red5 version on Windows. I can provide  
> source files at request.
>
> -- 
>
> ---------------------------------------------------------------------- 
> -------------------------
> This message is for the designated recipient only and may contain
> privileged or confidential information. If you have received it in  
> error,
> please notify the sender immediately and delete the original. Any  
> other
> use of this e-mail by you is prohibited.
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20070209/f25f5c17/attachment.htm


More information about the Red5 mailing list