<OMG> It works! </OMG>

i've made it works.
i'm still working with red5 0.6rc1, tomorrow i will switch to latest svn  
version and make some extra test.

the point is that i've had to define my resource (the mysql db) in the  
$tomcat_home\conf\Catalina\localhost\red5-0.6rc1.xml (the xml file has the  
name of the red5 folder)

defining the resource in the  
$tomcat_home\webapps\red5-0.6rc1\META-INF\context.xml will result in this  
exeption:
JNDIExeption Cannot create JDBC driver of class '' for connect URL 'null'  
cause java.lang.NullPointerException

placing the definition under the <GlobalNamingResources> in the  
$tomcat_home\conf\server.xml file will result in the same error.

this exeption looks like tomcat can't find the driver or the resourcem but  
i don't know why.

the worst scenario is placing the resource definition under the <Host> tag  
in the $tomcat_home\conf\server.xml file. In my case this lead to a total  
crash of tomcat.

one last thing.
it's better to not define the path and docBase parameters in the <Context>  
tag, they will cause this warning:
A docBase XXX inside the host appBase has been specified, and will be  
ignored

tomcat 6 isn't so smart ...

it's a shame but after these days of work ... but i think i will use  
tomcat 5.5 on the end ^_^

Thanks everybody.

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

Reply via email to