[Red5] Calling Ubuntu Red5 Users...
Tyler Kocheran
rfkrocktk at gmail.com
Fri Nov 21 12:01:46 PST 2008
I've attached a screenshot of what I see when I run bootstrap. On windows,
it's a completely blank terminal window. On linux, it says "Starting Red5
Bootstrap..."
Is there something I've forgotten to do?
On Fri, Nov 21, 2008 at 11:00 AM, Dominick Accattato
<daccattato at gmail.com>wrote:
> Bootstrap will provide console output too.
>
>
> On Fri, Nov 21, 2008 at 12:20 PM, Tyler Kocheran <rfkrocktk at gmail.com>wrote:
>
>> Sorry, I guess I'm just used to Standalone and being able to watch its
>> output in Red5Plugin through the Console view. I'm new to using bootstrap
>> and the way it does logging. Can I configure bootstrap to print output to
>> the main console? Otherwise, how can I monitor it without opening log files?
>>
>>
>> On Fri, Nov 21, 2008 at 9:13 AM, Dominick Accattato <daccattato at gmail.com
>> > wrote:
>>
>>> I still don't understand why you want to use Standalone when we've given
>>> you every reason to use bootstrap ?
>>>
>>>
>>> On Fri, Nov 21, 2008 at 12:51 AM, Tyler Kocheran <rfkrocktk at gmail.com>wrote:
>>>
>>>> If I edit Red5's classpath to include the correct JARs (or edit Ivy to
>>>> include the) wouldn't that automatically fix the classpath errors then?
>>>> Isn't the classpath written on build to the META-INF file? I'm thinking of
>>>> contributing an article on how to set up a trunk development environment for
>>>> Red5, since almost all of this is news to me. If I need to modify the
>>>> META-INF file manually, I guess I'll have to do it. Watching the red5-debug
>>>> script is so much easier than having to open up a log file after every
>>>> startup.
>>>>
>>>> On Thu, Nov 20, 2008 at 9:29 PM, Mondain <mondain at gmail.com> wrote:
>>>>
>>>>> To use Standalone you will need to open the jar and hand-edit the
>>>>> meta-inf file (adding libs - not fun, not recommended).. or you can continue
>>>>> to use Bootstrap and add any jar you wish into the red5/lib dir.
>>>>>
>>>>> Paul
>>>>>
>>>>>
>>>>> On Thu, Nov 20, 2008 at 8:31 PM, Tyler Kocheran <rfkrocktk at gmail.com>wrote:
>>>>>
>>>>>> Uninstalled the Java 5 distribution from my machine, made sure the
>>>>>> RED5_HOME environment variable is set to my distribution's home directory,
>>>>>> double-checked the JAVA_HOME environment variable. When I run
>>>>>> red5-bootstrap.sh, the server starts without any problems, no errors output
>>>>>> to the stdout.log file, the red5.log file, or the error.log files. In fact,
>>>>>> I can see that it found my MySQL driver just fine in the other MySQL
>>>>>> connector JAR. Ok, so how do I get the regular Standalone server to start
>>>>>> correctly now? I'll add the rest of my beans to my Spring file again, and
>>>>>> see if I can get all of them to wire correctly.
>>>>>>
>>>>>> On Thu, Nov 20, 2008 at 2:47 PM, Tyler Kocheran <rfkrocktk at gmail.com>wrote:
>>>>>>
>>>>>>> Paul, I'll try that. *All* of my JARs are already in the common lib,
>>>>>>> but maybe bootstrap will work for me. One thing I just noticed was that I've
>>>>>>> got two Java installations on Ubuntu, 1.5 and 1.6. My JAVA_HOME var is
>>>>>>> pointing to the 1.6 distribution, but would having two distros cause
>>>>>>> classloader issues?
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Nov 20, 2008 at 2:30 PM, Mondain <mondain at gmail.com> wrote:
>>>>>>>
>>>>>>>> Start with Bootstrap instead of Standalone and make sure you dont
>>>>>>>> have any of the spring jars in your webapps/<your app name here>/WEB-INF/lib
>>>>>>>> directory.
>>>>>>>> Paul
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Nov 20, 2008 at 1:58 PM, Tyler Kocheran <
>>>>>>>> rfkrocktk at gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Ok, so here are my full exceptions:.
>>>>>>>>> This is my actual "ClassNotFoundException" on startup:
>>>>>>>>>
>>>>>>>>> [ERROR] [main] org.red5.server.tomcat.TomcatLoader - Error setting
>>>>>>>>> up context: /persistence_abstraction due to: Error creating bean with name
>>>>>>>>> 'web.context' defined in ServletContext resource [/WEB-INF/red5-web.xml]:
>>>>>>>>> Unsatisfied dependency expressed through bean property 'clientRegistry': :
>>>>>>>>> Cannot find class
>>>>>>>>> [org.springframework.jdbc.datasource.DriverManagerDataSource] for bean with
>>>>>>>>> name 'dataSource' defined in ServletContext resource
>>>>>>>>> [/WEB-INF/red5-web.xml]; nested exception is
>>>>>>>>> java.lang.ClassNotFoundException:
>>>>>>>>> org.springframework.jdbc.datasource.DriverManagerDataSource; nested
>>>>>>>>> exception is org.springframework.beans.factory.CannotLoadBeanClassException:
>>>>>>>>> Cannot find class
>>>>>>>>> [org.springframework.jdbc.datasource.DriverManagerDataSource] for bean with
>>>>>>>>> name 'dataSource' defined in ServletContext resource
>>>>>>>>> [/WEB-INF/red5-web.xml]; nested exception is
>>>>>>>>> java.lang.ClassNotFoundException:
>>>>>>>>> org.springframework.jdbc.datasource.DriverManagerDataSource
>>>>>>>>> org.springframework.beans.factory.UnsatisfiedDependencyException:
>>>>>>>>> Error creating bean with name 'web.context' defined in ServletContext
>>>>>>>>> resource [/WEB-INF/red5-web.xml]: Unsatisfied dependency expressed through
>>>>>>>>> bean property 'clientRegistry': : Cannot find class
>>>>>>>>> [org.springframework.jdbc.datasource.DriverManagerDataSource] for bean with
>>>>>>>>> name 'dataSource' defined in ServletContext resource
>>>>>>>>> [/WEB-INF/red5-web.xml]; nested exception is
>>>>>>>>> java.lang.ClassNotFoundException:
>>>>>>>>> org.springframework.jdbc.datasource.DriverManagerDataSource; nested
>>>>>>>>> exception is org.springframework.beans.factory.CannotLoadBeanClassException:
>>>>>>>>> Cannot find class
>>>>>>>>> [org.springframework.jdbc.datasource.DriverManagerDataSource] for bean with
>>>>>>>>> name 'dataSource' defined in ServletContext resource
>>>>>>>>> [/WEB-INF/red5-web.xml]; nested exception is
>>>>>>>>> java.lang.ClassNotFoundException:
>>>>>>>>> org.springframework.jdbc.datasource.DriverManagerDataSource
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1091)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:982)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>>>>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
>>>>>>>>> at
>>>>>>>>> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
>>>>>>>>> at
>>>>>>>>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
>>>>>>>>> at
>>>>>>>>> org.red5.server.tomcat.TomcatLoader.init(TomcatLoader.java:475)
>>>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>>>> at
>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>>>>>> at
>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1413)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1374)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>>>>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
>>>>>>>>> at
>>>>>>>>> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
>>>>>>>>> at
>>>>>>>>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
>>>>>>>>> at
>>>>>>>>> org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:141)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:384)
>>>>>>>>> at org.red5.server.Standalone.main(Standalone.java:154)
>>>>>>>>> Caused by:
>>>>>>>>> org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find
>>>>>>>>> class [org.springframework.jdbc.datasource.DriverManagerDataSource] for bean
>>>>>>>>> with name 'dataSource' defined in ServletContext resource
>>>>>>>>> [/WEB-INF/red5-web.xml]; nested exception is
>>>>>>>>> java.lang.ClassNotFoundException:
>>>>>>>>> org.springframework.jdbc.datasource.DriverManagerDataSource
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1138)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:524)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1174)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:222)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:652)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1076)
>>>>>>>>> ... 36 more
>>>>>>>>> Caused by: java.lang.ClassNotFoundException:
>>>>>>>>> org.springframework.jdbc.datasource.DriverManagerDataSource
>>>>>>>>> at
>>>>>>>>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
>>>>>>>>> at
>>>>>>>>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
>>>>>>>>> at
>>>>>>>>> org.springframework.util.ClassUtils.forName(ClassUtils.java:242)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:383)
>>>>>>>>> at
>>>>>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1135)
>>>>>>>>> ... 43 more
>>>>>>>>>
>>>>>>>>> If I cd into the lib directory of my red5 distribution and type dir
>>>>>>>>> (to list the contents) this is what is output (for completeness sake):
>>>>>>>>> activation-1.1.jar
>>>>>>>>> annotations-api-.jar
>>>>>>>>> antlr-2.7.6.jar
>>>>>>>>> aopalliance-.jar
>>>>>>>>> asm-2.2.3.jar
>>>>>>>>> asm-commons-2.2.3.jar
>>>>>>>>> aspectjweaver-1.5.2a.jar
>>>>>>>>> bcprov-jdk16-139.jar
>>>>>>>>> bsh-2.0b4.jar
>>>>>>>>> catalina-6.0.18.jar
>>>>>>>>> cglib-nodep-2.1_3.jar
>>>>>>>>> commons-beanutils-1.8.0.jar
>>>>>>>>> commons-codec-1.3.jar
>>>>>>>>> commons-collections-3.2.1.jar
>>>>>>>>> commons-httpclient-3.1.jar
>>>>>>>>> commons-lang-2.4.jar
>>>>>>>>> commons-modeler-2.0.1.jar
>>>>>>>>> commons-pool-1.3.jar
>>>>>>>>> dom4j-1.6.1-sources.jar
>>>>>>>>> ehcache-1.4.1.jar
>>>>>>>>> ehcache-1.6.0-beta1.jar
>>>>>>>>> ejb3-persistence-.jar
>>>>>>>>> el-api-.jar
>>>>>>>>> groovy-1.0.jar
>>>>>>>>> hibernate-3.2.6.ga.jar
>>>>>>>>> hibernate-annotations-3.4.0.GA.jar
>>>>>>>>> hibernate-commons-annotations-3.3.0.ga-javadoc.jar
>>>>>>>>> jasper-6.0.18.jar
>>>>>>>>> jasper-el-6.0.18.jar
>>>>>>>>> jasper-jdt-6.0.18.jar
>>>>>>>>> jaudiotagger-1.0.8.jar
>>>>>>>>> javassist-3.4.ga.jar
>>>>>>>>> jcl-over-slf4j-1.5.3.jar
>>>>>>>>> jcl-over-slf4j-1.5.5.jar
>>>>>>>>> jetty-6.1.9.jar
>>>>>>>>> jetty-util-6.1.9.jar
>>>>>>>>> jetty-xbean-6.1.9.jar
>>>>>>>>> jmxremote-1.0.1.jar
>>>>>>>>> jmxtools-1.2.1.jar
>>>>>>>>> jruby-1.0.3.jar
>>>>>>>>> jsp-api-2.1.jar
>>>>>>>>> jta-1.0.1B.jar
>>>>>>>>> jul-to-slf4j-1.5.3.jar
>>>>>>>>> jul-to-slf4j-1.5.5.jar
>>>>>>>>> jython-2.5.jar
>>>>>>>>> log4j-over-slf4j-1.5.3.jar
>>>>>>>>> log4j-over-slf4j-1.5.5.jar
>>>>>>>>> logback-classic-0.9.10-SNAPSHOT.jar
>>>>>>>>> logback-core-0.9.10-SNAPSHOT.jar
>>>>>>>>> mina-core-1.1.7.jar
>>>>>>>>> mina-filter-ssl-1.1.7.jar
>>>>>>>>> mina-integration-jmx-1.1.7.jar
>>>>>>>>> mina-integration-spring-1.1.7.jar
>>>>>>>>> mysql-connector-java-5.1.7-bin.jar
>>>>>>>>> naming-factory-.jar
>>>>>>>>> naming-resources-.jar
>>>>>>>>> quartz-1.6.1.jar
>>>>>>>>> rmissl-1.0.1.jar
>>>>>>>>> servlet-api-2.5.jar
>>>>>>>>> slf4j-api-1.5.3.jar
>>>>>>>>> slf4j-api-1.5.5.jar
>>>>>>>>> spring-aop-2.5.5.jar
>>>>>>>>> spring-beans-2.5.5.jar
>>>>>>>>> spring-context-2.5.5.jar
>>>>>>>>> spring-context-support-2.5.5.jar
>>>>>>>>> spring-core-2.5.5.jar
>>>>>>>>> spring-jdbc-2.5.5.jar
>>>>>>>>> spring-orm-2.5.5.jar
>>>>>>>>> spring-tx-2.5.5.jar
>>>>>>>>> spring-web-2.5.5.jar
>>>>>>>>> tomcat-coyote-6.0.18.jar
>>>>>>>>> tomcat-juli-slf4j-1.5.0.jar
>>>>>>>>> xercesImpl-2.9.0.jar
>>>>>>>>> xml-apis-2.9.0.jar
>>>>>>>>> xmlrpc-2.0.1.jar
>>>>>>>>>
>>>>>>>>> I have omitted all of my defined beans in the Spring file except
>>>>>>>>> for this one, which is throwing the error:
>>>>>>>>> <bean id="dataSource"
>>>>>>>>> class="org.springframework.jdbc.datasource.DriverManagerDataSource">
>>>>>>>>> <property name="driverClassName"
>>>>>>>>> value="${jdbc.driverClassName}"/>
>>>>>>>>> <property name="url" value="${jdbc.url}"/>
>>>>>>>>> <property name="username" value="${jdbc.username}"/>
>>>>>>>>> <property name="password" value="${jdbc.password}"/>
>>>>>>>>> </bean>
>>>>>>>>>
>>>>>>>>> Even in Eclipse, the DriverManagerDataSource class is being found
>>>>>>>>> correctly in Red5's classpath. If I omit this and all of my own defined
>>>>>>>>> beans, I get no errors on startup. What else should I try?
>>>>>>>>>
>>>>>>>>> On Thu, Nov 20, 2008 at 10:49 AM, Dominick Accattato <
>>>>>>>>> daccattato at gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> no, if you are running Red5 from the plugin, there is no need to
>>>>>>>>>> set RED5_HOME since the plugin runs the shell script from the same directory
>>>>>>>>>> as your distribution.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Thu, Nov 20, 2008 at 1:19 PM, Tyler Kocheran <
>>>>>>>>>> rfkrocktk at gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Yes, I am using 0.2. I'll make sure and change everything over to
>>>>>>>>>>> red5-debug, that's what I've always used in the past. So do I need to set
>>>>>>>>>>> the RED5_HOME variable to my Red5 distribution directory? I will see if I
>>>>>>>>>>> can isolate the problem.
>>>>>>>>>>>
>>>>>>>>>>> On Thu, Nov 20, 2008 at 10:05 AM, Dominick Accattato <
>>>>>>>>>>> daccattato at gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> try removing functionality from your application until no errors
>>>>>>>>>>>> are produced.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Thu, Nov 20, 2008 at 1:04 PM, Dominick Accattato <
>>>>>>>>>>>> daccattato at gmail.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> What version of the Red5Plugin are you targeting? v0.2 I'm
>>>>>>>>>>>>> assuming. You should not be choosing red5-bootstrap as your startup script
>>>>>>>>>>>>> when using the plugin. red5-debug.sh should be used for both non-debug and
>>>>>>>>>>>>> debug when used in the plugin.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Thu, Nov 20, 2008 at 12:46 PM, Tyler Kocheran <
>>>>>>>>>>>>> rfkrocktk at gmail.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Yeah, I'm on Hardy 8.x. What is the Red5 home directory? Is
>>>>>>>>>>>>>> that the /dist/ directory? I followed your advice in a previous thread and
>>>>>>>>>>>>>> created separate folders for working copies: ie "dist_3324" & "dist_3000".
>>>>>>>>>>>>>> I'm definitely starting the server via the startup scripts in my
>>>>>>>>>>>>>> distribution directories0 through Red5Plugin. So does that mean I absolutely
>>>>>>>>>>>>>> need to set the RED5_HOME variable?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I only have one webapp that I'm running, a personal testing
>>>>>>>>>>>>>> project for exploring and abstracting persistence and the like. I don't have
>>>>>>>>>>>>>> the MySQL jar (or any JARs except my compiled project source code JAR as per
>>>>>>>>>>>>>> Red5Plugin) in my webapp's library, all of my JARs are in the common
>>>>>>>>>>>>>> library. I did this because I heard that the latest server is still having
>>>>>>>>>>>>>> Tomcat problems with finding JARs.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I'll have to fool around with my Java distribution, but I *
>>>>>>>>>>>>>> think* it's working fine. I can compile, JAR, and run other
>>>>>>>>>>>>>> non-Red5 applications just fine, so I assume that means that there's nothing
>>>>>>>>>>>>>> wrong with my Java distro.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> This is the least of my worries right now, but I've noticed
>>>>>>>>>>>>>> that when starting BootStrapper, I get no console output. Is there a way to
>>>>>>>>>>>>>> turn console output on? I've been working around this on Windows by using a
>>>>>>>>>>>>>> "tailer" file which updates itself at an interval, reading the stdout.log
>>>>>>>>>>>>>> file.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Thu, Nov 20, 2008 at 9:28 AM, Dominick Accattato <
>>>>>>>>>>>>>> daccattato at gmail.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I run Red5 on Ubuntu Hardy v8. Setting the RED5_HOME is not
>>>>>>>>>>>>>>> necessary if you run Red5 from it's home directory. If you are starting it
>>>>>>>>>>>>>>> anywhere else, you will need that set. For instance, if you have a startup
>>>>>>>>>>>>>>> script, that needs to be set. Running red5-bootstrap is my preferred
>>>>>>>>>>>>>>> method. Let me get understand better. This happens only for one
>>>>>>>>>>>>>>> application of yours? Do you have identical MySQL jar files in both the
>>>>>>>>>>>>>>> common lib and the webapps lib directory?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> you should use the Java 1.6 runtime.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> The difference between Standalone and BootStrapper is that
>>>>>>>>>>>>>>> BootStrapper goes through all the jar files in your common lib folder
>>>>>>>>>>>>>>> weeding out older jar files. It adds these to the classpath and creates a
>>>>>>>>>>>>>>> new classloader with that classpath. Last it starts up the server in that
>>>>>>>>>>>>>>> classloader.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Wed, Nov 19, 2008 at 9:36 PM, Tyler Kocheran <
>>>>>>>>>>>>>>> rfkrocktk at gmail.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I've been experiencing quite a few problems with Red5 these
>>>>>>>>>>>>>>>> days, namely with using it on Ubuntu. After a really long time of fooling
>>>>>>>>>>>>>>>> around with it, I got the trunk up and running on my Ubuntu laptop at home.
>>>>>>>>>>>>>>>> It starts great, runs well, does what it's told, etc... However, it is
>>>>>>>>>>>>>>>> having a few classloader issues. I have incorporated the MySQL Connector
>>>>>>>>>>>>>>>> (jdbc driver) in my distribution folder's lib directory that my application
>>>>>>>>>>>>>>>> relies on. Without my application, the server starts fine, binds all ports,
>>>>>>>>>>>>>>>> gets up and going, and so on and so forth. When I include my application in
>>>>>>>>>>>>>>>> the distro's webapps directory, I get ClassLoader failures when trying to
>>>>>>>>>>>>>>>> locate the class in the MySQL Connector JAR in the common library. (I SWEAR,
>>>>>>>>>>>>>>>> IT'S IN THE COMMON LIB!!!)
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I've read some of the recent articles in the community on
>>>>>>>>>>>>>>>> how to set up Red5 on linux machines and I wonder if I'm missing something.
>>>>>>>>>>>>>>>> Following Dominick's suggestions in past threads, I created a few of my own
>>>>>>>>>>>>>>>> distributions of certain releases for testing. Do I have to "CHMOD" or
>>>>>>>>>>>>>>>> "CHOWN" the distribution directory? Could that be causing some of the errors
>>>>>>>>>>>>>>>> I'm experiencing?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Also, another thought I had was that perhaps my Java
>>>>>>>>>>>>>>>> distribution is screwed up. I wasn't really sure what to get, but I think I
>>>>>>>>>>>>>>>> got the Sun Open Java 1.6 edition. I know I'm at least at Java 1.6 with
>>>>>>>>>>>>>>>> whatever distribution I have. Could having a crappy distribution on my
>>>>>>>>>>>>>>>> machine screw up class loading? If so, what Java distribution should I get?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> When I run the "red5-bootstrap.sh" script, I get class
>>>>>>>>>>>>>>>> loader exceptions on startup for different classes. I'm also using some
>>>>>>>>>>>>>>>> classes from the spring-hibernate JAR, and my AnnotationSessionFactoryBean
>>>>>>>>>>>>>>>> class is the class that isn't being loaded at that point. What is the
>>>>>>>>>>>>>>>> difference between the regular Standalone and the Bootstrap startups? I've
>>>>>>>>>>>>>>>> looked at the source, but I'm still kind of unclear.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I myself have not manually set the RED5_HOME environment
>>>>>>>>>>>>>>>> variable. Should I do so? When I run "echo $RED5_HOME" on terminal, I get a
>>>>>>>>>>>>>>>> blank line for output. Could this be the reason I'm having issues?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I know it's a lot of questions, but I really need to get my
>>>>>>>>>>>>>>>> development environment set up on Ubuntu before Thanksgiving... so I can
>>>>>>>>>>>>>>>> code through the holidays :) Anyway, if anyone could help out, I would very
>>>>>>>>>>>>>>>> much appreciate it. I know I can't be the only one affected by these issues
>>>>>>>>>>>>>>>> and I think it would help the community out to address some of these
>>>>>>>>>>>>>>>> problems.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> - TK
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> And do this, knowing the time, that now it is high time to
>>>>>>>>>>>>>>>> awake out of sleep;
>>>>>>>>>>>>>>>> for now our salvation is nearer than when we first believed.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> Red5 mailing list
>>>>>>>>>>>>>>>> Red5 at osflash.org
>>>>>>>>>>>>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Dominick Accattato, CTO
>>>>>>>>>>>>>>> Infrared5 Inc.
>>>>>>>>>>>>>>> www.infrared5.com
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> Red5 mailing list
>>>>>>>>>>>>>>> Red5 at osflash.org
>>>>>>>>>>>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> And do this, knowing the time, that now it is high time to
>>>>>>>>>>>>>> awake out of sleep;
>>>>>>>>>>>>>> for now our salvation is nearer than when we first believed.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Red5 mailing list
>>>>>>>>>>>>>> Red5 at osflash.org
>>>>>>>>>>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Dominick Accattato, CTO
>>>>>>>>>>>>> Infrared5 Inc.
>>>>>>>>>>>>> www.infrared5.com
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Dominick Accattato, CTO
>>>>>>>>>>>> Infrared5 Inc.
>>>>>>>>>>>> www.infrared5.com
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Red5 mailing list
>>>>>>>>>>>> Red5 at osflash.org
>>>>>>>>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> And do this, knowing the time, that now it is high time to awake
>>>>>>>>>>> out of sleep;
>>>>>>>>>>> for now our salvation is nearer than when we first believed.
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Red5 mailing list
>>>>>>>>>>> Red5 at osflash.org
>>>>>>>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Dominick Accattato, CTO
>>>>>>>>>> Infrared5 Inc.
>>>>>>>>>> www.infrared5.com
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Red5 mailing list
>>>>>>>>>> Red5 at osflash.org
>>>>>>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> And do this, knowing the time, that now it is high time to awake
>>>>>>>>> out of sleep;
>>>>>>>>> for now our salvation is nearer than when we first believed.
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Red5 mailing list
>>>>>>>>> Red5 at osflash.org
>>>>>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> http://gregoire.org/
>>>>>>>> http://osflash.org/red5
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Red5 mailing list
>>>>>>>> Red5 at osflash.org
>>>>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> And do this, knowing the time, that now it is high time to awake out
>>>>>>> of sleep;
>>>>>>> for now our salvation is nearer than when we first believed.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> And do this, knowing the time, that now it is high time to awake out
>>>>>> of sleep;
>>>>>> for now our salvation is nearer than when we first believed.
>>>>>>
>>>>>> _______________________________________________
>>>>>> Red5 mailing list
>>>>>> Red5 at osflash.org
>>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> http://gregoire.org/
>>>>> http://osflash.org/red5
>>>>>
>>>>> _______________________________________________
>>>>> Red5 mailing list
>>>>> Red5 at osflash.org
>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> And do this, knowing the time, that now it is high time to awake out of
>>>> sleep;
>>>> for now our salvation is nearer than when we first believed.
>>>>
>>>> _______________________________________________
>>>> Red5 mailing list
>>>> Red5 at osflash.org
>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>
>>>>
>>>
>>>
>>> --
>>> Dominick Accattato, CTO
>>> Infrared5 Inc.
>>> www.infrared5.com
>>>
>>> _______________________________________________
>>> Red5 mailing list
>>> Red5 at osflash.org
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>
>>>
>>
>>
>> --
>> And do this, knowing the time, that now it is high time to awake out of
>> sleep;
>> for now our salvation is nearer than when we first believed.
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>
>
> --
> Dominick Accattato, CTO
> Infrared5 Inc.
> www.infrared5.com
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
--
And do this, knowing the time, that now it is high time to awake out of
sleep;
for now our salvation is nearer than when we first believed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20081121/63546fd6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.png
Type: image/png
Size: 3056 bytes
Desc: not available
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20081121/63546fd6/attachment-0001.png>
More information about the Red5
mailing list