|
Installing CCE Server and Client Modules
Requirements
To install 'CCE Client' or 'CCE Server' make sure you have: Apache Ant 1.6.1, Apache Tomcat andApache Axis installed CATALINA_HOME and JAVA_HOME environment variables properly set.
Installing CCE Client
- Download cceclient.tar
- Extract the archive (this will create a directory called "cceclient").
- Go to cceclient/webapps/cce/WEB-INF/classes
- Edit GMLServices.properties file to reflect your own configuration
- Change "Local paths for downloaded catalogs"
replace all <path-to-your-home> with the actual path (eg. "/home/gaydin")
- Change "Web Services URLs"
replace all <server-name>:<server-port-no> with your server's info (eg. "gf1.ucs.indiana.edu:6060") If you are not installing CCE Server module you can use gf3.ucs.indiana.edu:6060 to replace with <server-name>:<server-port-no> This is all the change you need to make, do not forget to save the changes.
- Go back to cceclient directory and type 'ant'
- This will deploy the client web application into the webapps directory of your Jakarta Tomcat installation. (<jakarta-tomcat-home>/webapps/cce)
- Point your webbrowser to http://<your-server-name>:<portnum>/cce/sql
Installing CCE server
- Download cceserver.tar
- Extract the archive (this will create a directory called cceserver).
- Go to cceserver/src directory
- Edit GMLServices.properties file to reflect your server's configuration
- Change "Local paths for downloaded catalogs"
replace all <path-to-your-home> with the real path (eg. "/home/gaydin")
- Change "Web Services URLs"
replace all <server-name>:<server-port-no> with your server's info (eg. "gf1.ucs.indiana.edu:6060")
- Go back to cceserver directory
- Open build.xml file to edit
- Change the values in the following three lines for the web server name, port number and ccebasedir:
<property name="server.hostname" value="gf1.ucs.indiana.edu"/> <property name="server.portnum" value="5050"/> .. <property name="ccebasedir" value="export/home/gaydin/cce"/>
Save the changes.
- Go back to cceserver dir and type 'ant'
- This will :
- compile the source code and create a directory called "classes.ant" for classes
- copy classes to web applications
- copy libraries to web applications
- deploy the axis web services
- deploy the client web application (cce) into the webapps directory of your Jakarta Tomcat installation.
- Restart Tomcat server (This may not be necessary at all times)
- Point your web browser to http://<your-server-name>:<portnum>/cce/sql to test your installation
- To see a list of deployed web services go to
http://<your-server-name>:<portnum>/servlet/AxisServlet
To see a demo of CCE Server and CCE Client go to
http://gf3.ucs.indiana.edu:6060/cce/sql/ |