x


Enter your email address below to receive updates each time we publish new Video Tutorial.

Privacy guaranteed. We'll never share your info.

How to Deploy Red5 Application on Eclipse - Red5 Video Tutorial

DEAR VISITOR , YOU ARE WATCHING : How to Deploy Red5 Application on Eclipse - Red5 Video Tutorial .

[postlink] http://j2ee-tutorials-videos.blogspot.com/2011/02/how-to-deploy-red5-application-on.html [/postlink] http://www.youtube.com/watch?v=xHxAFfRRODUendofvid [starttext] This is a Video Tutorial explains
MAKE A WAR FILE: open a command prompt, and go to the directory where the application to deploy is located, like this:
cd C:\Documents and Settings\Administrator\My Documents\Eclipse\testapp

Now type in: ant -p
(this will list all the targets in the ant build file for this project)

Now type in:
ant

It should say BUILD SUCCESSFUL. This means you have built the war file.
A new dist directory will have been created inside your project directory. Go to the dist directory of your project, for example: cd C:\Documents and Settings\Administrator\My Documents\Eclipse\testapp\dist and you will see the war file there called testapp.war. Copy that war file and paste it into the webapps directory where you installed Red5. For example: C:\Program Files\Red5\webapps. Within 10 minutes, this war file will be turned into a directory called testapp and the project will be located there. (Red5 service has a WarDeployerService that runs every 10 minutes) But first you need to restart red5 (next step).

RESTART RED5: Open Control Panel, click on Administrative Tools, click on Services, find the Red5 service, right click on it and choose Stop, then right click on it again and choose Start
CONFIGURE WARDEPLOYERSERVICE INTERVAL: If you don't want to wait 10 minutes for the war file to deploy itself, you can change that 10 minute value. Go to the conf directory where you installed Red5, for example: C:\Program Files\Red5\conf, open the red5-common.xml file in notepad, find the WarDeployerService bean and change the checkInterval value. By default it is 600,000 miliseconds (or 10 minutes).





(On your local computer you may want to make it smaller so you don't have to wait 10 minutes, but on your server, you may want to leave it 10 minutes, because you won't deploy it as often, and it may take up extra resources to set it lower.)
TO MAKE CHANGES TO YOUR PROJECT AFTER LAUNCH: delete the war file and delete the new directory it creates. Copy the new war file into the webapps directory. Stop and start Red5, then wait 10 minutes for the WarDeployerService to deploy the war file and create the testapp directory.

[endtext]
This site does not store any files on its server.We only index and link to content provided by other sites.If you have any doubts about legality of content or you have another suspicions, feel free to contact us HERE - Thank you.

0 commentaires :

Post a Comment

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

You can see also

J2EE is an acronym for Java 2 Enterprise Edition. The Java 2 Enterprise Edition is Software that can be used along with the J2SE, the Java 2 Standard Edition which includes the compiler and the other fundamentals of Java. The J2EE software includes development and deployment systems for Java Servlet and Java ServerPages. Both of these combine Java and HTML to produce web pages on demand. Author Mohamed Habou . understand this powerful component of Java programming.

Android Cloud To Device Messaging Video Tutorial

JPA Video Tutorial

Spring MVC Video Tutorial

Spring Security Video Tutorial

Primefaces Video Tutorial

Struts Video Tutorial

free counters

Introduction to J2EE Videos Tutorials

Latest GWT Video Tutorials

Latest Spring Videos Tutorials

Latest Hibernate Videos Tutorials

Latest JAVA Video Tutorials

Latest Struts Videos Tutorials

J2EE is an acronym for Java 2 Enterprise Edition. The Java 2 Enterprise Edition is Software that can be used along with the J2SE, the Java 2 Standard Edition which includes the compiler and the other fundamentals of Java. The J2EE software includes development and deployment systems for Java Servlet and Java ServerPages. Both of these combine Java and HTML to produce web pages on demand. VTC Author Mohamed Habou takes you on a step by step guide to understanding this powerful component of Java programming.