AMS Installation

From EGEE-see WIki

Jump to: navigation, search

This Wiki page is a part of SEE-GRID Gridification Guide. It is contributed by Belgrade University Computer Centre.

Contents

Introduction

Here you can find instructions on how to install and run Alert Messaging Service.

Download

AMS binary releases are available for download here. Additional glite security libraries are available here as a seperate download.

Requirements

  • Java 6 or newer
  • lcg-CA package installed (if certificate based auth is used)
  • JEE Application Server Jboss 5 - http://www.jboss.org/jbossas/ (Jboss 5.1.0 GA recommended)
  • SQL database

Installation

Simply copy the exploded (unpacked) EAR archive to the deploy folder of the Application Server. Also copy additional libraries to the appropriate lib folder of the AS (lib folder location depands of the chosen AS configuration).

Configuration

Configuration files and examples are located in the EAR archive, folders ams.ear/conf/props/examples, ams.ear/META-INF/examples, ams.ear/ams-web.war/WEB-INF

Configuring SSL auth via glite-trustmanager

If SSL is used (recommended!) configuring JEE AS to support it is necessary. Certificate based authorization relies on glite-trustmanager library. In order to configure it, for web containers based on tomcat, server.xml configuration file needs to be modified.

Manual tomcat configuration:

server.xml:

8080 port:
- comment out the 8080 port definition

8443 port:
- remove comment around 8443 port definition
- change clientAuth from false to true
- add lines (with proper values):
-------------------------
               sSLImplementation="org.glite.security.trustmanager.tomcat.TMSSLImplementation"
               sslCAFiles="/etc/grid-security/certificates/*.0"
               crlFiles="/etc/grid-security/certificates*.r0"
               sslCertFile="/etc/grid-security/hostcert.pem"
               sslKey="/etc/grid-security/hostkey.pem"
               log4jConfFile="/var/log4j-trustmanager.properties"
--------------------------

Contact

Milan Potocnik [milan (d) potocnik (a) rcub (d) bg (d) ac (d) rs]

Personal tools