This is a simple example of creating a servlet that uses Rio to resolve a service's codebase using the artifact: URL. The steps to recreate this are as follows:
- Download Tomcat version 7
- Download and start Rio
- Build the project
- Deploy resources/conf/ops.groovy using the Rio UI
- Copy resources/setenv.sh to apache-tomcat-7.xx/bin/ directory
- Make sure that you either set RIO_HOME in your environment or set it in the setenv.sh script
- Copy the resources/catalina.policy to apache-tomcat-7.xx/conf/ directory
- Start tomcat with security (bin/catalina.sh start -security)
- Run the web-test servlet