I do not use the default red5.sh it didn't work for me... me startscript is like that:
export JAVA_HOME="/home/swagner/dateien/jdk1.5.0_06"
export RED5_HOME="/home/swagner/red5-latest/lib"
export CLASSPATH=".:$RED5_HOME/*.jar"
echo $CLASSPATH
cd /home/swagner/red5-latest/
nohup $JAVA_HOME/bin/java -jar red5.jar&
I was just wondering that the other demo-apps are all working and i would expect i do not have to add special path to my classpath for the webapp-Directory of Red5 because it will be added anyway and the server will look for Classes to deploy in the WEB-INF directory. ... i don't think that it is a typo cause I've tried it several times :-) but anyway thx a lot for your help
regards
sebastian
2006/4/22, Joachim Bauch <
[EMAIL PROTECTED]>:
Hi Sebastian,
Sebastian Wagner wrote:
> hmm i tried it but it doesn't work to set up a new webapp.
> Are you really sure that:
> "
> <bean id="web.handler"
> class=" the.path.to.my.Application"
> singleton="true" />
> "
> is the only place where i have to specify the directory/classpath of my
> application. In the server debug-log there are messages like "Class not
> found" :
>
> From the server Log:
>
> "org.springframework.beans.factory.BeanDefinitionStoreException : Error
> registering bean with name 'web.handler' defined in ServletContext
> resource [/WEB-INF/red5-web.xml]: Bean class
> [org.red5.server.laszloApp.Application] not found; nested exception is
> java.lang.ClassNotFoundException : org.red5.server.laszloApp.Application
> "
> But I'm quite sure that the class-File is definitly at the right position.
Well, the error message reports that it is not stored in your classpath :)
By default the red5.sh / red5.bat scripts set the " red5.jar" and the
"conf" directory, so you might need to set your CLASSPATH environment
variable.
You can also start Red5 using "ant server", then the "bin" directory
containing the compiled files will be used as well.
Joachim
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
--
Sebastian Wagner
http://www.webbase-design.de
http://www.laszlo-forum.de
Bleichstraße 92
75173 Pforzheim
Tel.: 0177-7341829
Home: 07231-417456
[EMAIL PROTECTED]
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
