Hey list,
>From my last post I was trying to integrate the list server (a red5
app developed by lonelyduck.se [ I've spoke w/ the owner and he
allowed me to use it ] source -
http://www.lonelyduck.se/thelist/source/thelistserver.zip ),
however I took Lee's advice and I'll elaborate about my actions.
Cause:
I really liked the list game (a game where you solve simple
programming problems upon time, if your time runs out - game over, if
not - you're onto the next level)
However since it was only Java-langauge-based (you could only solve
problems in Java language and not in different languages such as AS,
C, C#, etc) I wanted to extend it to support more languages and more
fun.
I contacted the admin (erik), ages ago and asked whether or not I
could use his code in order to develop a more complex version, he said
yes and I started fiddling around the list-server code.
Afterwards I just started messing around with red5 and got here.
Stages:
The first thing I wish to do is a task from a very old quote by John
Crenshaw --- "First make it, then make it work fast"
I first wish to run the list-server on my own red5 server, that is
exactly where I'm stuck now.
I've managed to run the red5 server, compile the source code of the
list-project but whenever I'm trying to run it I'm getting two sorts
of exceptions:
1. The first one is something I've managed to go through, it complains
about the war-deploy service that the file/project already exists as a
folder and not as a .war file
so I just went into red5-common.xml and comment'ed out these lines :
<bean id="warDeployService"
class="org.red5.server.service.WarDeployer" init-method="init"
destroy-method="shutdown">
<property name="scheduler" ref="schedulingService"/>
<property name="checkInterval" value="600000"/>
<property name="deploymentDirectory" value="${red5.root}/webapps"/>
</bean>
The full exception is shown here: http://zpaste.org/34473 *caution*
though, lots of lines and the main important thing is this error:
org.springframework.beans.factory.access.BootstrapException: Unable to
initialize group definition. Group resource name
[classpath*:red5.xml], factory key [default.context]; nested exception
is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'red5.common' defined in URL
[file:/C:/Users/Sapiens/Desktop/code/Flash/workspace/red5-second-test/dist/r4092/conf/red5.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class
[org.springframework.context.support.FileSystemXmlApplicationContext]:
Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'warDeployService' defined in class path
resource [red5-common.xml]: Invocation of init method failed; nested
exception is java.lang.RuntimeException:
org.quartz.ObjectAlreadyExistsException: Unable to store Job with
name: 'ScheduledJob_0' and group: 'DEFAULT', because one already
exists with this identification.
2. After commenting out those lines I got another exception
complaining about not being able to convert a value from red5.xml from
sometype to another, if to be more exact - here's the juicy line:
" nested exception is java.lang.IllegalStateException: Cannot convert
value of type
[org.springframework.context.support.FileSystemXmlApplicationContext]
to required type [org.springframework.context.ApplicationContext] for
property 'parentContext': no matching editors or conversion strategy
found"
The full log is shown here: http://zpaste.org/34474 *caution* lots of lines (;
Anyone got a clue how to solve this ? Or at least hint me a bit ?
Thanks in advance.
--Lightfault
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org