I have been tinkering with this issue, but I am finding that it is difficult
to understand the rationale behind the config files. I had stated earlier
that I was using the wrong config files, but I actually was using the right
config files.

Being that this operates within a framework, where is the documentation for
the framework? What is the best approach to understand this system?

I would like to survive the weekend with at least some hope for progress.


Here is another screendump that the server is reporting.

There are problems with the environment that I cannot seem to find a way to
change. The webapp root is actually /usr/lib/red5/webapp. In the default
environment, it lists it as the same as the Red5 root. I have found two
config files that seem to refer to the webapp root, but neither has a
declaration that allows me to change the setting.

Thanks for any help in advance.



[INFO] 0 main:( org.red5.server.Standalone.main ) RED5 Server (
http://www.osflash.org/red5)
[INFO] 6 main:( org.red5.server.Standalone.main ) Loading red5 global
context from: red5.xml
[INFO] 8 main:( org.red5.server.Standalone.main ) Setting configuation root
to /usr/lib/red5/conf
[INFO] 11 main:( org.red5.server.Standalone.main ) Setting Red5 root to
//usr/lib/red5
[INFO] 12 main:( org.red5.server.Standalone.main ) Setting webapp root to
//usr/lib/red5
[INFO] 110 main:(
org.springframework.context.support.ClassPathXmlApplicationContext.prepareRefresh)
Refreshing
[EMAIL PROTECTED]:
display name [
[EMAIL PROTECTED];
startup date [Sun Aug 26 12:36:16 CDT 2007]; root of context hierarchy
Exception in thread "main" org.xml.sax.SAXParseException:
cvc-complex-type.2.3: Element 'beans' cannot have character [children],
because the type's content type is element-only.
        at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
        at
org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown
Source)
        at 
org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown
Source)
        at
org.apache.xerces.impl.xs.XMLSchemaValidator.elementLocallyValidComplexType(Unknown
Source)
        at
org.apache.xerces.impl.xs.XMLSchemaValidator.elementLocallyValidType(Unknown
Source)
        at
org.apache.xerces.impl.xs.XMLSchemaValidator.processElementContent(Unknown
Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.handleEndElement(Unknown
Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown
Source)
        at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at
org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(
DefaultDocumentLoader.java:76)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions
(XmlBeanDefinitionReader.java:351)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions
(XmlBeanDefinitionReader.java:303)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions
(XmlBeanDefinitionReader.java:280)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions
(AbstractBeanDefinitionReader.java:131)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions
(AbstractBeanDefinitionReader.java:147)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions
(AbstractBeanDefinitionReader.java:173)
        at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions
(AbstractXmlApplicationContext.java:112)
        at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions
(AbstractXmlApplicationContext.java:79)
        at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory
(AbstractRefreshableApplicationContext.java:101)
        at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory
(AbstractApplicationContext.java:389)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(
AbstractApplicationContext.java:324)
        at
org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition
(ContextSingletonBeanFactoryLocator.java:141)
        at
org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory
(SingletonBeanFactoryLocator.java:382)
        at org.red5.server.Standalone.main(Standalone.java:151)


James Throgmorton

"Constant Developer"
360percent.com

ScientistSuperstar
"Innovation Technology"
-Integration of Information Technology
Dunn-Richmond Econ. Dev. Ctr.
150 e pleasant hill rd.
Carbondale il 62903
(618)203-4377

Confidentiality Notice

This e-mail and any attachments are covered by the Electronic
Communications Privacy Act, 18 U.S.C. §§ 2510-2521, are confidential,
and may be legally privileged. If you are not the intended recipient,
you are hereby notified that any retention, dissemination, distribution,
or copying of this communication is strictly prohibited. Please reply to
   --== [EMAIL PROTECTED] ==--    that you have received this
communication in error and immediately delete and destroy
all copies of this email and any attachments.
Thank you.




"What is the percentage of non-macs in the music department? 0% -Hyphenate"

On 8/26/07, Anze Cesar <[EMAIL PROTECTED]> wrote:
>
> It could be that you're trying to open a privileged port as a
> non-privileged user (ports below 1000 if memory serves me). Although this
> shouldn't be the case with default configuration. Maybe it's not the port at
> all ... it could be a mis configured address ...
>
> On 8/26/07, James Throgmorton <[EMAIL PROTECTED]> wrote:
> >
> > Thank you,
> >
> > It still dies after changing the port, and netstat does not show
> > anything using the ports called for in /usr/lib/red5/conf/red5.properties
> >
> > I am running debian. Do you know how to test my java environment? I can
> > run java -version
> >
> > java version "1.5.0_12"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
> > Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode, sharing)
> >
> >
> > The error shows a number of available ports that java seems to not be
> > able to bind to. If the error is Java related, I do not know how to know if
> > it is a Java issue or a Red5 configuration issue.
> >
> >
> >
> >
> >
> > --
> > James Throgmorton
> >
> > "Constant Developer"
> > 360percent.com
> >
> > ScientistSuperstar
> > "Innovation Technology"
> > -Integration of Information Technology
> > Dunn-Richmond Econ. Dev. Ctr.
> > 150 e pleasant hill rd.
> > Carbondale il 62903
> > (618)203-4377
> >
> > Confidentiality Notice
> >
> > This e-mail and any attachments are covered by the Electronic
> > Communications Privacy Act, 18 U.S.C. §§ 2510-2521, are confidential,
> > and may be legally privileged. If you are not the intended recipient,
> > you are hereby notified that any retention, dissemination, distribution,
> > or copying of this communication is strictly prohibited. Please reply to
> >
> >    --== [EMAIL PROTECTED] ==--    that you have received this
> > communication in error and immediately delete and destroy
> > all copies of this email and any attachments.
> > Thank you.
> >
> >
> >
> >
> > "What is the percentage of non-macs in the music department? 0%
> > -Hyphenate"
> >
> > On 8/26/07, Anze Cesar < [EMAIL PROTECTED]> wrote:
> > >
> > > It looks to me like you're trying to use a port that is already in
> > > use. Try changing it to something else, or find out what is using the
> > > offending port and kill it :) Configuration files for your red5 should be 
> > > in
> > > /usr/lib/red5/conf (cant remember exactly :)
> > >
> > > On 8/26/07, James Throgmorton < [EMAIL PROTECTED]> wrote:
> > >
> > > > I am trying to setup red5 on my server, but I am having no luck.
> > > >
> > > > I do not know anything about bean factories, but I want to get this
> > > > service running so that I can use open meetings.
> > > >
> > > > This is the output that I get when I run red5.sh
> > > >
> > > >
> > > > Is there help for me?
> > > > Thanks
> > > >
> > > >
> > > > [INFO] 0 main:( org.red5.server.Standalone.main ) RED5 Server 
> > > > (http://www.osflash.org/red5)
> > > >
> > > > [INFO] 6 main:( org.red5.server.Standalone.main ) Loading red5
> > > > global context from: red5.xml
> > > > [INFO] 8 main:( org.red5.server.Standalone.main ) Setting
> > > > configuation root to /usr/lib/red5/conf
> > > > [INFO] 12 main:( org.red5.server.Standalone.main ) Setting Red5 root
> > > > to //usr/lib/red5
> > > > [INFO] 12 main:( org.red5.server.Standalone.main ) Setting webapp
> > > > root to //usr/lib/red5
> > > > [INFO] 112 main:( 
> > > > org.springframework.context.support.ClassPathXmlApplicationContext.prepareRefresh
> > > > ) Refreshing
> > > > [EMAIL PROTECTED]: display name [
> > > > [EMAIL PROTECTED];
> > > > startup date [Sat Aug 25 18:17:45 CDT 2007]; root of context hierarchy
> > > > [INFO] 4148 main:(
> > > > org.springframework.context.support.ClassPathXmlApplicationContext.obtainFreshBeanFactory)
> > > >  Bean factory for application context [
> > > > [EMAIL PROTECTED]:
> > > >
> > > > [EMAIL PROTECTED]
> > > > [INFO] 4182 main:(
> > > > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons)
> > > >  Pre-instantiating singletons in
> > > > [EMAIL PROTECTED]:
> > > > defining beans [red5.common,red5.core,context.loader,jetty6.server];
> > > > root of factory hierarchy
> > > > [INFO] 4377 main:(
> > > > org.springframework.context.support.FileSystemXmlApplicationContext.prepareRefresh)
> > > >  Refreshing
> > > > [EMAIL PROTECTED]:
> > > > display name [
> > > > [EMAIL PROTECTED]; startup date [Sat Aug 25 18:17:49 CDT 2007]; root of 
> > > > context hierarchy
> > > > [INFO] 4606 main:(
> > > > org.springframework.context.support.FileSystemXmlApplicationContext.obtainFreshBeanFactory)
> > > >  Bean factory for application context [
> > > > [EMAIL PROTECTED]:
> > > >
> > > > [EMAIL PROTECTED]
> > > > [INFO] 4890 main:(
> > > > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons)
> > > >  Pre-instantiating singletons in
> > > > [EMAIL PROTECTED]:
> > > > defining beans 
> > > > [placeholderConfig,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,flvreader.impl,mp3reader.impl,
> > > > org.springframework.beans.factory.config.MethodInvokingFactoryBean,
> > > > org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,streamExecutor,playlistSubscriberStream,clientBroadcastStream];
> > > > root of factory hierarchy
> > > > [INFO] 5092 main:( org.red5.server.jmx.JMXAgent.init ) JMX HTML
> > > > adapter was not enabled
> > > > [INFO] 5970 main:( org.red5.server.jmx.JMXAgent.init ) JMX RMI
> > > > connector server successfully started
> > > > [INFO] 7599 main:(
> > > > org.springframework.context.support.FileSystemXmlApplicationContext.prepareRefresh)
> > > >  Refreshing
> > > > [EMAIL PROTECTED]:
> > > > display name [
> > > > [EMAIL PROTECTED];
> > > > startup date [Sat Aug 25 18:17:52 CDT 2007]; parent:
> > > > [EMAIL PROTECTED]
> > > > [INFO] 7675 main:(
> > > > org.springframework.context.support.FileSystemXmlApplicationContext.obtainFreshBeanFactory)
> > > >  Bean factory for application context [
> > > > [EMAIL PROTECTED]:
> > > >
> > > > [EMAIL PROTECTED]
> > > > [INFO] 7803 main:(
> > > > org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties)
> > > >  Loading properties file from class path resource [
> > > > red5.properties]
> > > > [INFO] 7811 main:(
> > > > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons)
> > > >  Pre-instantiating singletons in
> > > > [EMAIL PROTECTED]:
> > > > defining beans
> > > > [customEditorConfigurer,placeholderConfig,rtmpHandler,rtmpMinaIoHandler,rtmpTransport,rtmpMinaConnection,rtmptHandler,rtmptConnection,
> > > > rtmpt.server]; parent:
> > > > [EMAIL PROTECTED]
> > > > [INFO] 7863 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start) 
> > > > RTMP Mina Transport Settings
> > > > [INFO] 7864 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start) IO 
> > > > Threads: 1+1
> > > > [INFO] 7865 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start) 
> > > > Event Threads: core: 16+1 max: 32+1 queue: -1 keepalive: 60
> > > > [INFO] 7937 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start) 
> > > > TCP No Delay: false
> > > > [INFO] 7942 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start) 
> > > > Receive Buffer Size: 65536
> > > > [INFO] 7943 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start) 
> > > > Send Buffer Size: 271360
> > > > [INFO] 7979 main:(
> > > > org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons)
> > > >  Destroying singletons in
> > > > [EMAIL PROTECTED]: defining beans
> > > > [customEditorConfigurer,placeholderConfig,rtmpHandler,rtmpMinaIoHandler,rtmpTransport,rtmpMinaConnection,rtmptHandler,rtmptConnection,
> > > > rtmpt.server]; parent:
> > > > [EMAIL PROTECTED]
> > > > [INFO] 7981 main:(
> > > > org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons)
> > > >  Destroying singletons in
> > > > [EMAIL PROTECTED]:
> > > > defining beans [ red5.common,red5.core,context.loader,jetty6.server];
> > > > root of factory hierarchy
> > > > [INFO] 7982 main:(
> > > > org.springframework.context.support.FileSystemXmlApplicationContext.doClose)
> > > >  Closing
> > > > [EMAIL PROTECTED]: display name [
> > > > [EMAIL PROTECTED];
> > > > startup date [Sat Aug 25 18:17:49 CDT 2007]; root of context hierarchy
> > > > [INFO] 7983 main:(
> > > > org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons)
> > > >  Destroying singletons in
> > > > [EMAIL PROTECTED]:
> > > > defining beans 
> > > > [placeholderConfig,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,flvreader.impl,mp3reader.impl,
> > > > org.springframework.beans.factory.config.MethodInvokingFactoryBean,
> > > > org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,streamExecutor,playlistSubscriberStream,clientBroadcastStream];
> > > > root of factory hierarchy
> > > > Exception in thread "main" java.net.BindException: Address already
> > > > in use
> > > >         at sun.nio.ch.Net.bind(Native Method)
> > > >         at sun.nio.ch.ServerSocketChannelImpl.bind(
> > > > ServerSocketChannelImpl.java:119)
> > > >         at sun.nio.ch.ServerSocketAdaptor.bind(
> > > > ServerSocketAdaptor.java:59)
> > > >         at
> > > > org.apache.mina.transport.socket.nio.SocketAcceptor.registerNew(
> > > > SocketAcceptor.java:400)
> > > >         at
> > > > org.apache.mina.transport.socket.nio.SocketAcceptor.access$900 (
> > > > SocketAcceptor.java:55)
> > > >         at
> > > > org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(
> > > > SocketAcceptor.java:235)
> > > >         at org.apache.mina.util.NamePreservingRunnable.run(
> > > > NamePreservingRunnable.java:43)
> > > >         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> > > > ThreadPoolExecutor.java:650)
> > > >         at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> > > > ThreadPoolExecutor.java:675)
> > > >         at java.lang.Thread.run (Thread.java:595)
> > > >
> > > > _______________________________________________
> > > > Red5 mailing list
> > > > [email protected]
> > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > > >
> > > >
> > >
> > >
> > > --
> > > lp,
> > > Anže
> > > _______________________________________________
> > > Red5 mailing list
> > > [email protected]
> > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > >
> > >
> >
> > _______________________________________________
> > Red5 mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
> >
>
>
> --
> lp,
> Anže
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to