|
|
JClarens Installation GuidePrerequisitesThe only prerequisite for installing/running JClarens is the Java development Kit 1.4.2 and above. If you do NOT wish to install JClarens using the JClarens installer executable, the JClarens RPM or the jclarens-full zip file, then Jakarta Tomcat 5.0.28 and above is also required. ProcedureInstalling JClarens from the VDTSee the VDT Installation notes.Installing JClarens using the JClarens RPM /install package:Linux Installation:1. Download
the JClarens RPM from http://sourceforge.net/project/showfiles.php?group_id=53073&package_id=114981,
which will have a name of the form 2. As root, run the rpm by issuing the commands:
3. Start the Tomcat servlet container using the command:
4. Test the installation by using your browser to navigate to http://localhost:8080/jclarens/xmlrpc?status. A successful initialization message indicates that the servlet is running and deployed. To test if the web interface is up, simply point your browser to http://localhost:8080/jclarens/. The Clarens web interface should load up. 5. (Optional) To use the web interface, you will have
to install in your browser either the JClarens client certificate (available at http://clarens.sourceforge.net/jclarens/client.p12),
or a certificate issued by a valid certificate authority (email to: thomas@hep.caltech.edu for a certificate by the GAE certificate authority).
Most US and European Grid CAs are accepted by JClarens. Once that is done, you can point your browser to https://localhost:8443/jclarens/.
Click the 6. (Optional)
To get JClarens to run automatically during system startup/shutdown, you will need to
download and install the Windows Installation: 1. Download the JClarens installer exe from http://sourceforge.net/project/showfiles.php?group_id=53073&package_id=114981 2. Run the installer program, and follow the instructions. The installer will add a program folder named JClarens in the Start Menu, and will also optionally create a JClarens service in the Windows Services list. 3. You can start and stop JClarens either using the icons provided in the JClarens program folder in the Start menu, or from the Windows Services list. 4. Test the installation by using your browser to navigate to http://localhost:8080/jclarens/xmlrpc?status. A successful initialization message indicates that the servlet is running and deployed. To test if the web interface is up, simply point your browser to http://localhost:8080/jclarens/. The Clarens web interface should load up. 5. (Optional) To use the web interface, you will have
to install in your browser either the JClarens client certificate (available at http://clarens.sourceforge.net/jclarens/client.p12),
or a certificate issued by a valid certificate authority (email to: thomas@hep.caltech.edu for a certificate by the GAE certificate authority).
Most US and European Grid CAs are accepted by JClarens. Once that is done, you can point your browser to https://localhost:8443/jclarens/.
Click the Installing JClarens in pre-installed Tomcat:First of all you need to make sure Java is installed on your system and the JAVA_HOME environment variable is set. Secondly, Apache Tomcat 5.0.28 and above is required. The zip file for Tomcat can be downloaded from http://jakarta.apache.org/site/binindex.cgi. Unzip this file into a suitable directory. From here onwards, the directory created by unzipping this file will be termed as TOMCAT_HOME. 1. Download the file named like 2. Extract the 3. Place the 4. Create a directory named "jclarens" in
the 5. Setup the paths of the server's host certificate
and host key in the Note: In case of Windows, paths should have double backslashes (\\) in place of backslashes (\). 6(Optional). If Clarens authentication using SSL certificates is required instead of auth() style Basic Authentication, then you will need to do the following steps: a.
To configure Tomcat and JClarens for operation over SSL connections, go
to
JClarens' sample server certificate ( b. Secondly, you will have to copy the 7. Start up tomcat by running Tomcat's startup script,
8. Test the installation by using your browser to navigate to http://localhost:8080/jclarens/xmlrpc?status. A successful initialization message indicates that the servlet is running and deployed. 9 (Optional). It is recommended that the maximum http header size is increased to 8192 for the
http Connector in
<Connector port="8080"
Adding Access Control Lists
JClarens uses an internal database to store access control lists.
The access control lists allow the server administrator to
restrict access to individual services and service methods to
specific users and groups. By default, the query methods
|