Ill test the latest war version on glassfish when I get a spare moment, I don't recall attempting it previously. In the interim you can edit the log4j file and set the Mina classes to DEBUG so that any issues opening ports will be exposed.
Paul On 9/3/07, Seif <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm trying to get Red5 work in my Glassfish server on a linux debian etch > box, so i deployed the red5-0.6-java5.war on /red5. > The red5 webapp run but flash demo applications doesn't connect. it seems > that the RTMP port doesn't open or something like that. > > Here is the Glassfish log: > > [#|2007-09-04T03:14: > 04.779+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=14;_ThreadName=Thread-27;|deployed > with moduleid = red5|#] > > [#|2007-09-04T03:14: > 06.114+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=Thread-26;red5;server;/red5;|WEB0100: > Loading web module [red5] in virtual server [server] at [/red5]|#] > > [#|2007-09-04T03:14: > 08.837+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=Thread-26;|WebModule[/red5] > ServletContext.log():Set web app root system property: 'webapp.root' = > [/home/seif/java/glassfishv1/domains/domain1/applications/j2ee-modules/red5/]|#] > > > [#|2007-09-04T03:14: > 08.897+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=Thread-26;|WebModule[/red5] > ServletContext.log():Initializing Log4J from > [/home/seif/java/glassfishv1/domains/domain1/applications/j2ee-modules/red5/WEB-INF/log4j.properties]|#] > > > [#|2007-09-04T03:14: > 09.673+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=Thread-26;|[INFO] > 0 Thread-26:( org.red5.server.MainServlet.contextInitialized ) RED5 Server > ( http://www.osflash.org/red5) > |#] > > [#|2007-09-04T03:14: > 09.768+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=Thread-26;|[INFO] > 117 Thread-26:( org.red5.server.MainServlet.contextInitialized ) Loading > red5 global context from: /WEB-INF/applicationContext.xml > |#] > > [#|2007-09-04T03:14: > 09.771+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=Thread-26;|[INFO] > 139 Thread-26:( org.red5.server.MainServlet.contextInitialized ) Path: > /home/seif/java/glassfishv1/domains/domain1/applications/j2ee-modules/red5/ > |#] > > [#|2007-09-04T03:14: > 09.775+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=Thread-26;|[DEBUG] > 143 Thread-26:( > org.red5.server.MainServlet.contextInitialized ) New classpath: > :/home/seif/java/glassfishv1/lib/appserv- > launch.jar:/home/seif/java/glassfishv1/lib/javaee.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/../lib/tools.jar:/home/seif/java/glassfishv1/lib/install/applications/jmsra/imqjmsra.jar:/home/seif/java/glassfishv1/lib/commons-launcher.jar:/home/seif/java/glassfishv1/imq/lib/jaxm-api.jar:/home/seif/java/glassfishv1/imq/lib/fscontext.jar:/home/seif/java/glassfishv1/imq/lib/imqbroker.jar:/home/seif/java/glassfishv1/imq/lib/imqjmx.jar:/home/seif/java/glassfishv1/imq/lib/imqxm.jar:/home/seif/java/glassfishv1/lib/ant/lib/ant.jar:/home/seif/java/glassfishv1/lib/appserv-ws.jar:/home/seif/java/glassfishv1/lib/mail.jar:/home/seif/java/glassfishv1/lib/jsf-api.jar:/home/seif/java/glassfishv1/lib/jsf-impl.jar:/home/seif/java/glassfishv1/lib/appserv-jstl.jar:/home/seif/java/glassfishv1/lib/appserv-env.jar:/home/seif/java/glassfishv1/lib/jmxremote_optional.jar:/home/seif/java/glassfishv1/lib/SUNWjdmk/5.1/lib/jdmkrt.jar:/home/seif/java/glassfishv1/lib/commons-logging.jar:/home/seif/java/glassfishv1/lib/activation.jar:/home/seif/java/glassfishv1/lib/appserv-rt.jar:/home/seif/java/glassfishv1/lib/appserv-admin.jar:/home/seif/java/glassfishv1/lib/appserv-cmp.jar:::/home/seif/java/glassfishv1/lib/com-sun-commons-logging.jar:/home/seif/java/glassfishv1/lib/jhall.jar:/home/seif/java/glassfishv1/lib/j2ee-svc.jar:/home/seif/java/glassfishv1/lib/dbschema.jar:/home/seif/java/glassfishv1/lib/appserv-upgrade.jar:/home/seif/java/glassfishv1/lib/appserv-launch.jar:/home/seif/java/glassfishv1/lib/appserv-jwsacc.jar:/home/seif/java/glassfishv1/lib/appserv-tags.jar:/home/seif/java/glassfishv1/lib/appserv-deployment-client.jar:/home/seif/java/glassfishv1/lib/appserv-ext.jar:/home/seif/java/glassfishv1/lib/admin-cli.jar:/home/seif/java/glassfishv1/lib/com-sun-commons-launcher.jar:/home/seif/java/glassfishv1/lib/toplink-essentials.jar:/home/seif/java/glassfishv1/lib/sun-appserv-ant.jar:/home/seif/java/glassfishv1/lib/toplink-essentials-agent.jar::/home/seif/java/glassfishv1/domains/domain1/applications/j2ee-modules/red5/WEB-INF:/home/seif/java/glassfishv1/domains/domain1/applications/j2ee-modules/red5/WEB-INF/classes > |#] > > [#|2007-09-04T03:14: > 09.779+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=Thread-26;|[INFO] > 148 Thread-26:( org.red5.server.MainServlet.contextInitialized ) Setting > configuation root to > /home/seif/java/glassfishv1/domains/domain1/applications/j2ee-modules/red5/WEB-INF > > |#] > > [#|2007-09-04T03:14: > 09.783+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=Thread-26;|[INFO] > 152 Thread-26:( org.red5.server.MainServlet.contextInitialized ) Setting > Red5 root to > //home/seif/java/glassfishv1/domains/domain1/applications/j2ee-modules/red5 > |#] > > [#|2007-09-04T03:14: > 10.346+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=Thread-26;|[INFO] > 715 Thread-26:( org.red5.server.MainServlet.contextInitialized ) Config > location files: 4 > |#] > > [#|2007-09-04T03:14: > 22.248+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=Thread-26;|[INFO] > 12616 Thread-26:( > org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons) > Destroying singletons in > [EMAIL PROTECTED]: > defining beans [global.clientRegistry,global.serviceInvoker, > global.mappingStrategy,global.context,global.handler,global.scope , > red5.scopeResolver,web.context,web.scope,red5.server,jmxFactory,jmxAgent,serializer,deserializer,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecFactory,streamableFileFactory,sharedObjectService,streamService,providerService,consumerService,BWControlService,schedulingService,threadFactory,remotingPool,remotingClient, > object.cache,keyframe.cache,flv.impl, > org.springframework.beans.factory.config.MethodInvokingFactoryBean, > org.springframework.beans.factory.config.MethodInvokingFactoryBean#1, > flvreader.impl,mp3reader.impl,streamExecutor,playlistSubscriberStream,clientBroadcastStream,customEditorConfigurer,placeholderConfig,rtmpHandler,rtmpMinaIoHandler,rtmpTransport,rtmpMinaConnection,rtmptHandler,rtmptConnection, > echo.context,echo.scope,echo.handler,ofla.context,ofla.scope,ofla.handler, > demoService.service,tutorial.context,tutorial.scope,tutorial.handler, > fitcDemo.context,fitcDemo.scope,fitcDemo.handler,SOSample.context, > SOSample.scope ,SOSample.handler]; root of factory hierarchy > |#] > > [#|2007-09-04T03:14: > 22.446+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=Thread-26;|[ERROR] > 12809 Thread-26:( org.red5.server.MainServlet.contextInitialized ) > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'customEditorConfigurer' defined in ServletContext resource > [/WEB-INF/red5-core.xml]: Cannot create inner bean ' > org.apache.mina.integration.spring.InetSocketAddressEditor#1964fe8 ' of > type [org.apache.mina.integration.spring.InetSocketAddressEditor] while > setting bean property 'customEditors' with key [TypedStringValue: value [ > java.net.SocketAddress], target type [null]]; nested exception is > org.springframework.beans.factory.CannotLoadBeanClassException: Cannot > find class [org.apache.mina.integration.spring.InetSocketAddressEditor] > for bean with name ' > org.apache.mina.integration.spring.InetSocketAddressEditor#1964fe8 ' > defined in ServletContext resource [/WEB-INF/red5-core.xml]; nested > exception is java.lang.ClassNotFoundException: > org.apache.mina.integration.spring.InetSocketAddressEditor > |#] > > [#|2007-09-04T03:14: > 22.449+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=Thread-26;|[INFO] > 12817 Thread-26:( > org.red5.server.MainServlet.contextInitialized ) Startup done in: 12818 ms > > |#] > > > The red5 war work fine with JBoss4 or tomat5 but i don't want to have two > j2ee servers on the same machine, cause i already have 6 j2ee apps running > on glassfish. > Does anybody know how to get it work on glassfish please ? > > > PS: I'm sorry if my English is too bad, but i speak generally French not > English :s > > -- > Cordialement > ------------------- > Seif > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > > -- It is difficult to free fools from the chains they revere. - Voltaire
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
