Hi there !

As this is my first message on list, let me introduce myself :
I am a developer for a montreal based web design compagny and we plan to deploy a application that permits to capture videos in Flash player.

Firstly I want to thank efforts for building such a great alternative to Adobe media server and, I hope my work with Red 5 will help other people. (I also want to apologize for my poor english).

I am working with latest version (rev. 1830) of Red 5 from trunk.

I am working on a linux ppc with the IBM jvm :
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pxp32dev-20070201 (SR4)) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux ppc-32 j9vmxp3223-20070201 (JIT enabled)
J9VM - 20070131_11312_bHdSMR
JIT  - 20070109_1805ifx1_r8
GC   - 200701_09)
JCL  - 20070126

Tomcat version is 6.0.10.

I want to proxy rtmp stream via apache to make stream available from anywhere (no firewall problems).

but i am still at newbie step :-)  :

I have been able without any troubles to follow Joachim's tutorial to deploy an application and it works like a charm when Red 5 is running as a standalone server. My application is just a simple test that returns an Object that contains a String field. In the actionscript code, i am able to retrieve the String without any trouble.

Now, building a war with "ant webwar" works perfectly and I am able to deploy the war file in tomcat and access red5 admin page (I have put a dump of catalina log below).
But:
- the log shows that my application is not deployed making it unavailable from flash app.
   - Obviously, netstream call in flash gives :
        code : NetConnection.Connect.InvalidApp q
        description : No scope "MonApplication" on this server.       

It probably comes from my red5 conf files and app config files as the scop is not available.

I have searched a bit on tomcat conf in red 5 but do you have good links cause ?

Do you see any troubles with working on IBM jvm ?

Why would I better choose to run red5 on tomcat than on jetty as a standalone app ?


Thank you for your work
Hadrien.


catalina.out  :
2007-04-04 20:22:07 org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/ibm-java2-ppc-50/jre/bin:/usr/local/ibm- java2-ppc-50/jre/bin:/usr/local/ibm-java2-ppc-50/jre/bin/classic:/usr/ local/ibm-java2-ppc-50/jre/bin:/usr/lib
2007-04-04 20:22:08 org.apache.coyote.http11.Http11Protocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
2007-04-04 20:22:08 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 4213 ms
2007-04-04 20:22:09 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
2007-04-04 20:22:09 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
2007-04-04 20:22:09 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive red5.war de l'application web
[INFO] 0 main:( org.red5.server.MainServlet.contextInitialized ) RED5 Server (http://www.osflash.org/red5) [INFO] 9 main:( org.red5.server.MainServlet.contextInitialized ) Loading red5 global context from: /WEB-INF/applicationContext.xml [INFO] 11 main:( org.red5.server.MainServlet.contextInitialized ) Path: /usr/local/tomcat/webapps/red5/ [DEBUG] 13 main:( org.red5.server.MainServlet.contextInitialized ) New classpath: :/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/ bin/commons-logging-api.jar:/usr/local/apache-tomcat-6.0.10/webapps/ red5/WEB-INF [INFO] 17 main:( org.red5.server.MainServlet.contextInitialized ) Setting configuation root to /usr/local/apache-tomcat-6.0.10/webapps/ red5/WEB-INF [INFO] 24 main:( org.red5.server.MainServlet.contextInitialized ) Setting Red5 root to //usr/local/apache-tomcat-6.0.10/webapps/red5 [INFO] 222 main:( org.red5.server.MainServlet.contextInitialized ) Config location files: 4 [INFO] 415 main:( org.springframework.core.CollectionFactory.info ) JDK 1.4+ collections available [INFO] 420 main:( org.springframework.core.CollectionFactory.info ) Commons Collections 3.x available [INFO] 4914 main: ( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer .info ) Loading properties file from class path resource [red5.properties] [INFO] 5216 main: ( org.springframework.beans.factory.support.DefaultListableBeanFactory.i nfo ) Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [global.clientRegistry,global.serviceInvoker,global.mappingStrategy,glob al.context,global.handler,global.scope,red5.scopeResolver,web.context,we b.scope,red5.server,serializer,deserializer,statusObjectService,rtmpCode cFactory,remotingCodecFactory,videoCodecFactory,streamableFileFactory,sh aredObjectService,streamService,providerService,consumerService,BWContro lService,schedulingService,threadFactory,remotingPool,object.cache,keyfr ame.cache,flv.impl,org.springframework.beans.factory.config.MethodInvoki ngFactoryBean,org.springframework.beans.factory.config.MethodInvokingFac toryBean#1,flvreader.impl,mp3reader.impl,playlistSubscriberStream,client BroadcastStream,customEditorConfigurer,placeholderConfig,threadExecutor, filterChainBuilder,socketAcceptor,rtmpHandler,rtmpMinaIoHandler,rtmptHan dler,rtmpMinaConnection,rtmptConnection,tutorial.context,tutorial.scope, tutorial.handler,fitcDemo.context,fitcDemo.scope,fitcDemo.handler,ofla.c ontext,ofla.scope,ofla.handler,demoService.service,SOSample.context,SOSa mple.scope,SOSample.handler,echo.context,echo.scope,echo.handler]; root of BeanFactory hierarchy] [INFO] 5922 main:( org.red5.server.Server.info ) Registering global scope: default [DEBUG] 9617 main:( org.red5.server.Server.debug ) Add mapping: localhost/tutorial => default [DEBUG] 9623 main:( org.red5.server.Server.debug ) Add mapping: 127.0.0.1/tutorial => default [DEBUG] 9629 main:( org.red5.server.Server.debug ) Add mapping: 192.168.1.2/tutorial => default [DEBUG] 9676 main:( org.red5.server.Scope.debug ) Has child scope? tutorial in [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default'] [DEBUG] 9806 main:( org.red5.server.Scope.debug ) Add child scope: [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'tutorial'] to [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default'] [DEBUG] 9813 main: ( org.red5.server.adapter.ApplicationAdapter.debug ) appStart: [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'tutorial'] [DEBUG] 10089 main:( org.red5.server.Server.debug ) Add mapping: / fitcDemo => default [DEBUG] 10092 main:( org.red5.server.Server.debug ) Add mapping: localhost/fitcDemo => default [DEBUG] 10094 main:( org.red5.server.Server.debug ) Add mapping: 127.0.0.1/fitcDemo => default [DEBUG] 10097 main:( org.red5.server.Scope.debug ) Has child scope? fitcDemo in [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default'] [DEBUG] 10101 main:( org.red5.server.Scope.debug ) Add child scope: [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'fitcDemo'] to [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default'] [DEBUG] 10145 main:( org.red5.server.Server.debug ) Add mapping: / oflaDemo => default [DEBUG] 10148 main:( org.red5.server.Server.debug ) Add mapping: localhost/oflaDemo => default [DEBUG] 10150 main:( org.red5.server.Server.debug ) Add mapping: localhost:5080/oflaDemo => default [DEBUG] 10152 main:( org.red5.server.Server.debug ) Add mapping: 127.0.0.1:5080/oflaDemo => default [DEBUG] 10157 main:( org.red5.server.Scope.debug ) Has child scope? oflaDemo in [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default'] [DEBUG] 10160 main:( org.red5.server.Scope.debug ) Add child scope: [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'oflaDemo'] to [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default'] [DEBUG] 10303 main:( org.red5.server.Server.debug ) Add mapping: / SOSample => default [DEBUG] 10305 main:( org.red5.server.Server.debug ) Add mapping: localhost/SOSample => default [DEBUG] 10308 main:( org.red5.server.Server.debug ) Add mapping: localhost:5080/SOSample => default [DEBUG] 10310 main:( org.red5.server.Server.debug ) Add mapping: 127.0.0.1:5080/SOSample => default [DEBUG] 10313 main:( org.red5.server.Scope.debug ) Has child scope? SOSample in [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default'] [DEBUG] 10316 main:( org.red5.server.Scope.debug ) Add child scope: [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'SOSample'] to [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default'] [DEBUG] 10319 main: ( org.red5.server.adapter.ApplicationAdapter.debug ) appStart: [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'SOSample'] [DEBUG] 10357 main:( org.red5.server.Server.debug ) Add mapping: / echo => default [DEBUG] 10361 main:( org.red5.server.Scope.debug ) Has child scope? echo in [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default'] [DEBUG] 10365 main:( org.red5.server.Scope.debug ) Add child scope: [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'echo'] to [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default'] [DEBUG] 10368 main: ( org.red5.server.adapter.ApplicationAdapter.debug ) appStart: [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'echo'] [INFO] 10376 main:( org.red5.server.MainServlet.contextInitialized ) Startup done in: 10377 ms
2007-04-04 20:22:30 org.apache.coyote.http11.Http11Protocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
2007-04-04 20:22:31 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
2007-04-04 20:22:31 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/292  config=null
2007-04-04 20:22:31 org.apache.catalina.startup.Catalina start
INFO: Server startup in 23230 ms
[DEBUG] 966890 pool-2-thread-2:( org.red5.server.Server.debug ) Check host and path: 10.11.12.2/MonApplication [DEBUG] 966892 pool-2-thread-2:( org.red5.server.Server.debug ) Check wildcard host with path: /MonApplication [DEBUG] 966893 pool-2-thread-2:( org.red5.server.Server.debug ) Check host with no path: 10.11.12.2/ [DEBUG] 966894 pool-2-thread-2:( org.red5.server.Server.debug ) Check default host, default path: / [DEBUG] 966916 pool-2-thread-2: ( org.red5.server.BaseConnection.debug ) Close, not connected nothing to do. [DEBUG] 966926 pool-2-thread-3: ( org.red5.server.BaseConnection.debug ) Close, not connected nothing to do.
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to