ECL Documents >> Install ECL
Download and untar the file to a directory. You should have downloaded
Lionshare-peer code on your machine. If not please go to
lionshare.its.psu.edu and download lionshare-peer code before starting
the LS-Gateway installation.
You will need to modify two files - DOWNLOAD_DIR/build.xml, and DOWNLOAD_DIR/app/gateway_config/gateway_config.properties
_____________________________
1) Modifying DOWNLOAD_DIR/build.xml file
<property name="container.home" value="/home/ashaha/tomcat5.5" />
<property name="project.dir" value="/home/ashaha/code/current/sfu/ecl05" />
<property name="lionshare.code.base" value="/home/ashaha/code/current/lionshare-peer" />
container.home should point to the directory where tomcat is installed
project.dir should point to the directory where you extracted the source code.
lionshare.code.base should point to the directory that contains lionshare-peer code
________________________________________________________________________
2) Modifying DOWNLOAD_DIR/app/gateway_config/gateway_config.properties
This file holds the configuratino settings for the Gateway.
modify below fields
java.security.krb5.realm -- This should be Kerberos Realm
java.security.Krb5.kdc -- This should point to Kerberos KDC
saslca.serverName -- This should point to the SASL-CA server
saslca.serverPort -- This should point to the SASL-CA server port
saslca.username -- The username used to authenticate with SASL-CA
saslca.password -- The password to be used to authenticate with SASL-CA
Once
you have finished modification, type in command "ant install". This
will install compile required files, and install the Gateway in tomcat.
You should now start the tomcat.
The gateway would be installed on http://tomcatdirectory:tomcatport/lsgateway
You
should have the entry for this gateway in the UDDI registry. If you
donot have one and you would like to have one please contact
teap@sfu.ca or ashaha@sfu.ca