[gull] Serveur d'applications JAVA

Vuko Brigljevic Vuko.Brigljevic at cern.ch
Thu Jul 15 16:03:02 CEST 2004


Bonjour,

On Thursday 15 July 2004 14:29, Duvanel Patrick (PDU) wrote:
> Je recherche un serveur d'applications qui me permet d'exécuter les JSP,
> SERVLET et idéalement les EJB.
>
> J'utilise actuellement TOMCAT pour le développement mais je ne vois pas
> comment l'utiliser dans un contexte de production. En effet, TOMCAT doit
> ?tre redémarré ? chaque modification des fichiers sources des applications
> Web.

Pour autant que mes souvenirs sont bons, ceci n'est
pas correct: TOMCAT permet bien de redeployer une
application web sur un serveur tomcat alors qu'il
fonctionne sans devoir le redemarrer, et je pense
bien avoir utilise cette possibilite. Je rajoute a la
fin de ce message la partie du fichier build.xml
(a utiliser avec ant) qui deploie dynamiquement
une application. Sauf erreur, ca vient du fichier
build.xml qui est donne comme exemple dans la doc
de tomcat.

Cette information se refere a la version 4.1.*. de tomcat.

Vuko


<!-- ==================== Install Target ================================== 
-->

<!--

  The "install" target tells the specified Tomcat 4 installation to 
dynamically
  install this web application and make it available for execution.  It does
  *not* cause the existence of this web application to be remembered across
  Tomcat restarts; if you restart the server, you will need to re-install all
  this web application.

  If you have already installed this application, and simply want Tomcat to
  recognize that you have updated Java classes (or the web.xml file), use the
  "reload" target instead.

  NOTE:  This target will only succeed if it is run from the same server that
  Tomcat is running on.

  NOTE:  This is the logical opposite of the "remove" target.

-->

  <target name="install" depends="compile"
   description="Install application to servlet container">

    <install url="${manager.url}"
        username="${manager.username}"
        password="${manager.password}"
            path="${app.path}"
             war="file://${build.home}"/>

  </target>




===========================================================|
 Vuko Brigljevic                                           |
 Rudjer Boskovic Institute                                 |
 --------------------------------------------------------- |
 Mail Address: Bijenicka cesta 54, P.O.B. 180              |
               10002 Zagreb Croatia                        |
 Phone       : +385-1- 468 0204                            |
 www         : http://cern.ch/vuko                         |
===========================================================|






More information about the gull mailing list