Déploiement d'applications JMap Pro sur un proxy / Deployment of JMap Pro applications on a proxy server

Produit concerné / Related product

JMap

Versions

4.0, 5.0, 6.0, 6.5, 7.0


Jump to English version


Cet article explique comment déployer une application JMap et des rapports sur un serveur différent de celui qui exécute JMap Server.


Guide étape par étape

À noter que si vous faites des modifications au déploiement de l'application à partir de JMap Admin, il sera nécessaire de recopier le déploiement sur le proxy pour que les changements prennent effet.  Aussi, après l'installation d'une nouvelle version de JMap ou d'un correctif, il sera encore une fois nécessaire de mettre à jour votre application et la recopier sur le proxy.  

Pour déployer une application JMap:

  1. Copier l’application déployée de jmap\applications\deployed sur votre serveur web (ex: tomcat\webapps\)
  2. S'assurer que WEB-INF\jmsconnections.xml pointe vers l’adresse IP du serveur JMap  (<OBJECT PROPERTY="host" VALUE="127.0.0.1"/>)

  3. Selon votre version de JMap et proxy, il sera peut-être nécessaire de copier des jar de jmap\lib dans \WEB-INF\lib de votre application déployée:

Pour JMap 6.5:

  • jmap_spatial.jar
  • iText.jar
  • jmap_projections.jar
  • mail.jar

Pour déployer les rapports:

Voir la page Déploiement de rapports sur un proxy.


Pour JMap 7.0 Funafuti et +:

  • Téléchargez les fichiers services.war et reports.war (Gibraltar et +). Ces fichiers sont disponibles dans JMap Admin dans la page des déploiements en cliquant sur le bouton section. Il faut copier les fichiers sur votre serveur web dans le répertoire ex: Tomcat/webapps.
  • Redémarrez le service de Tomcat.





English version

This article explains how to deploy a JMap application with reports on a different server than the one running JMap Server.

Step-by-step guide

Please note that If you modify your deployed application from JMap Admin, you will need to recopy your deployed application for the changes to take effect on the proxy.  Also, if you update your JMap server, you will once again have to copy your updated application to your proxy for the changes to take effect.
 

To deploy a JMap application:

  1. Copy your deployed application from jmap\applications\deployed to your webserver (ex: tomcat\webapps\)
  2. Verify that WEB-INF\jmsconnections.xml contains the correct IP of your JMap Server  (<OBJECT PROPERTY="host" VALUE="127.0.0.1"/>)
  3. Depending on your JMap version and proxy, it might be necessary to copy the following jmap\lib jars in the \WEB-INF\lib of your deployed application:

For JMap 6.5:

  • jmap_spatial.jar
  • iText.jar
  • jmap_projections.jar
  • mail.jar

To deploy the reports:

Go to Deployment of reports on a proxy.


For JMap 7.0 Funafuti and + :

  • Download services.war and reports.war (Gibraltar and +) files, they are available on JMap Admin's Deployment page when clicking on the sections button. Those files need to be copied on your web server in ex:Tomcat/webapps directory.
  • Restart Tomcat's service.