[Red5] SpringFramework error (TypeMismatchException) when Red5 starts up ...

oke _ loqi901 at yahoo.com
Mon Nov 5 17:21:26 PST 2007


I rolled forward to Red5 version 0.6.3 and I still see the same problem...
Anyone have any clue how to fix this Spring framework issue?
(happens upon Red5 startup):

INFO   | jvm 1    | 2007/11/05 20:04:59 | org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.red5.server.Server] to required type [org.red5.server.api.IServer] for property 'server'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.red5.server.Server] to required type [org.red5.server.api.IServer] for property 'server': no matching editors or conversion strategy found
INFO   | jvm 1    | 2007/11/05 20:04:59 | Caused by: java.lang.IllegalArgumentException: Cannot convert value of type [org.red5.server.Server] to required type [org.red5.server.api.IServer] for property 'server': no matching editors or conversion strategy found
INFO   | jvm 1    | 2007/11/05 20:04:59 |     at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231)
INFO   | jvm 1    | 2007/11/05 20:04:59 |     at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138)
INFO   | jvm 1    | 2007/11/05 20:04:59 |     at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:815)
INFO   | jvm 1    | 2007/11/05 20:04:59 |     at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:645)


oke _ <loqi901 at yahoo.com> wrote: Paul, thanks 4 the suggestion. I rolled back to an *earlier* version (0.6rc1) and the error has now disappeared.

Mondain <mondain at gmail.com> wrote: My advise is for you to try out 0.6.3 or trunk.

Paul

On 10/26/07, oke _ <loqi901 at yahoo.com> wrote: Folks, anyone seen this type of Spring framework error upon Red5 startup before?
Is there a classpath I need to set to get Spring to find the definitions of the "IServer" and "GlobalScope" classes? 
(I'm running Java1.6 and  Red5 v0.62)
Thanks.

===============
error in Red5 log file :
===============

[ERROR]  4500 WrapperSimpleAppMain:( org.springframework.web.context.ContextLoader.initWebApplicationContext  ) Context initialization failed 
INFO   | jvm 1    | 2007/10/26 03:10:39 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'web.scope' defined in ServletContext resource [/WEB-INF/red5- web.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (2) are:
INFO   | jvm 1    | 2007/10/26 03:10:39 | PropertyAccessException 1:  org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.red5.server.Server] to required type [org.red5.server.api.IServer] for property 'server'; nested exception is java.lang.IllegalArgumentException : Cannot convert value of type [org.red5.server.Server] to required type [org.red5.server.api.IServer] for property 'server': no matching  editors or conversion strategy found
INFO   | jvm 1    | 2007/10/26 03:10:39 | PropertyAccessException 2:  org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.red5.server.GlobalScope] to required type [org.red5.server.api.IScope] for property 'parent'; nested exception is java.lang.IllegalArgumentException : Cannot convert value of type [org.red5.server.GlobalScope] to required type [org.red5.server.api.IScope] for property 'parent': no matching editors or conversion strategy found
INFO   | jvm 1    |  2007/10/26 03:10:39 | Caused by: 
INFO   | jvm 1    | 2007/10/26 03:10:39 | org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessException details (2) are:
INFO   | jvm 1    | 2007/10/26 03:10:39 | PropertyAccessException 1: 
INFO   | jvm 1    | 2007/10/26 03:10:39 |  org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.red5.server.Server] to required type [org.red5.server.api.IServer] for property 'server'; nested exception is  java.lang.IllegalArgumentException: Cannot convert value of type [org.red5.server.Server] to required type [org.red5.server.api.IServer] for property 'server': no matching editors or conversion strategy found
INFO   | jvm 1    | 2007/10/26 03:10:39 | Caused by:  
INFO   | jvm 1    | 2007/10/26 03:10:39 | java.lang.IllegalArgumentException: Cannot  convert value of type [org.red5.server.Server] to required type [org.red5.server.api.IServer] for property 'server': no matching editors or conversion strategy found
INFO   | jvm 1    | 2007/10/26 03:10:39 |     at  org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231)

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around  
http://mail.yahoo.com 

_______________________________________________
Red5 mailing list
 Red5 at osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org

 



-- 
It is difficult to free fools from the chains they revere. - Voltaire _______________________________________________
Red5 mailing  list
Red5 at osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com _______________________________________________
Red5 mailing list
Red5 at osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org



 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20071105/c4881a0f/attachment.html 


More information about the Red5 mailing list