[Red5] Calling Ubuntu Red5 Users...

Tyler Kocheran rfkrocktk at gmail.com
Thu Nov 20 09:46:59 PST 2008


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20081120/af18c0fd/attachment-0001.html>


More information about the Red5 mailing list