[Red5] deploy to tomcat

Dan Rossi spam at electroteque.org
Sun Oct 22 00:44:42 EDT 2006


Michael Klishin wrote:
> On Sun, 2006-10-22 at 13:29 +1000, Dan Rossi wrote:
>   
>   
>> Im not a 100% java developer, I do many things so please be patient.
>>     
>
> I'm sorry man, never meant to be rude ;)
>   

No you arent but i think some care needs to be added for new comers and 
people who arent java people but flash people trying to implement it. Id 
like to help you create a better howto, in fact where is it man ? We 
should add stuff to the trac wiki and/or red5 blog at least. Give me a 
login and i can start !

> I see. That is both good (Java is a great school of coding) and bad
> (Java is an ocean and it takes a lifetime to swim it over) for Red5
> newcomers.
>   
Hmm its not the java technology as such, well Java5 has alot of stuff im 
finding appearing in the code so yeh learning the new bits as im going 
:) Its more to do with the red5 code itself or the technologies used 
within that (spring, log4j, jetty) and how everything is glued together 
and configured.

>
> What configs do you mean? There are actual Jetty configs mixed with
> Spring context files (which are not configs of any kind at all, they are
> object containers actually... although they might contain configurers
> and object processors).
>   

Red5 configs within the conf directory and various examples configs how 
to setup other servlets, application servers in the future if you know 
what i mean ? Ie you meantioned in a different thread how to setup 
different caching, as i said im using the default configs until i work 
out how to configure stuff myself so better example configs on setting 
up caching or how to setup another caching system or links to the 
various settings would be nice.
> If you mean deployment configuration, then it's a good idea to include
> it in the documentation or at least provide links to Tomcat/JBoss
> references.
>   

I didnt mean application configs if thats what you mean.
>
> I'd like to be guru at anything... but I'm just a "guru wannabe". ;)
>   
Neither, maybe that was an over statement, maybe  "experienced at" is a 
better word :P

I'll get to the config part very shortly, as i like messing with 
settings to optimise anything and then maybe document stuff, but there 
is still unresolved issues in the red5 code itself, ive actually dug 
into alot of it to help resolve problems already so thats a priority. 
Next will be customising settings in the configs and the big one is 
customising logs and seperating the root spring/red5 messages for each 
application, as it will end up going to the last or first listener setup 
within an app very dodgy.

>
>
> Try to change java call in Red5 bat launcher to javaw. javaw is the same
> as java, it launches Java application by execution main method from the
> class in the classpath, but it gives you no console view.
>   
Ill check it out, however how to i set it up to start on boot and run in 
the background ? I guess it needs to be added into the services console ?

> About live logs from the log file... I'm not sure how good admin console
> is now but the quite easy way I see is to develop a Flex application
> that recieves messages from Red5.
>   
Ahh like a flash admin console to collect the logging in there like FMS 
? Ive built quite a few flex apps atm, i could look into it just 
finishing setting up my new server and getting it stored in a data 
centre at the moment takes some time :\

>
>
> This is a quite misleading way that had been show in the documentation
> back to March or earlier...
>
> When you run ant server you actually run server target (I mean build
> target called "server"). It recompiles the server itself and then runs
> it. You see that it's an overhead, no need to recompile Red5 everytime
> you change a bit in your own application. Just compile it, package as
> JAR, copy that JAR into appropriate location
> (your-killer-app/WEB-INF/lib) and restart Red5.
>
>   
ok each time you make a change just run ant jar or whatever , it gets 
added to the webapp lib directory and then ie on windows run the 
standalone red5 found in red5.bat ?

> And again... we end up with a huge need for Red5 IDE on top of Eclipse
> JDT ;)
>   
a red5 specific plugin would be kiilla, i looked at eclipse plugins a 
while back still yet to actually make one.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20061022/a5e940b1/attachment-0001.htm


More information about the Red5 mailing list