Has anyone been successful at running the oflaDemo using sever side 
javascript? I tried and the server throws and exception when starting.

To try this, I just used the files shipped with oflaDemo (Version 0.6 
RC2 (0.6 RC2) on Mac)  In red5-web.xml, I simply uncommented the rhino 
related sections and commented out the sections for java. I got the 
following error while the server was starting.  Can anyone help?

[ERROR] 5107 main:( org.springframework.web.context.ContextLoader.error 
) Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'web.scope' defined in ServletContext resource 
[/WEB-INF/red5-web.xml]: Cannot resolve reference to bean 'web.handler' 
while setting bean property 'handler'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'scriptedObject.web.handler' defined in ServletContext 
resource [/WEB-INF/red5-web.xml]: Instantiation of bean failed; nested 
exception is 
org.springframework.beans.factory.BeanDefinitionStoreException: Factory 
method [public java.lang.Object 
org.red5.server.script.rhino.RhinoScriptFactory.getScriptedObject(org.springframework.scripting.ScriptSource,java.lang.Class[])
 
throws 
java.io.IOException,org.springframework.scripting.ScriptCompilationException] 
threw exception; nested exception is java.lang.NoSuchMethodError: 
javax.script.ScriptEngine.getBindings(I)Ljavax/script/Bindings;
Caused by: ....

jin


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to