The easiest way to get Cloud42 up and running is to use the binary distribution from the download page. This
description assumes you have already installed Java and Apache Tomcat or another Servlet-Container. Furthermore, the binary distribution is
intented to be used with Amazon EC2 only.
Important: If you want to use Cloud42 to administrate an Eucalyptus instance, you need to install it from source (see below).
tools/hsqldb/database and typejava -classpath ../lib/hsqldb.jar org.hsqldb.Server.
cloud42.war contains the
Web application for the graphical part of the management framework, whereas the file cloud42WS.war contains the
Web service interface of Cloud42.That's it!
To test your installation, browse to http://localhost:8080/Cloud42 to access the GUI part of Cloud42.
The WSDLs for the Web service interface can be found at http://localhost:8080/Cloud42WS/Cloud42BaseService?wsdl,
http://localhost:8080/Cloud42WS/Cloud42FileService?wsdl,
http://localhost:8080/Cloud42WS/Cloud42RemotingService?wsdl and
http://localhost:8080/Cloud42WS/Cloud42NotificationService?wsdl .
This section describes the steps required if you want to build Cloud42 yourself. You must follow these instructions if you want to use Cloud42 together with Eucalyptus.
The project uses the Maven build system along with Jetty, a lightweight container. This makes installing and deploying Cloud42 very easy. Here are the instructions for you when working with the source code.
JAVA_HOME environment variable is set.
core/service/src/main/resources/config.properties. Please read the comments in this file carefully and adjust all(!) the settings
to your needs.
core/module-configuration/src/main/resources/test-config.properties-Dmaven.test.skip to the mvn clean install command mentioned below.
mvn clean installfrom the directory where you unpacked the files.
tools/hsqldb/database and typejava -classpath ../lib/hsqldb.jar org.hsqldb.Server
webapp folder, runmvn jetty:run
http://localhost:8080/Cloud42 and enjoy.
webservice folder, typemvn jetty:run
http://localhost:8080/Cloud42WS/Cloud42BaseService?wsdl,
http://localhost:8080/Cloud42WS/Cloud42FileService?wsdl,
http://localhost:8080/Cloud42WS/Cloud42RemotingService?wsdl and
http://localhost:8080/Cloud42WS/Cloud42NotificationService?wsdl .
-Djetty.port=8081 to your command.
target folders in the subdirectories webapp/ or webservice/.
Some useful hints when working with the code:
mvn eclipse:clean eclipse:eclipsefrom the root folder and import the resulting project files into your Eclipse workspace.
M2_REPO pointing to your local Maven repository.
mvn sitefrom the root folder to create the Maven project site. Then:
mvn site:stage -DstagingDirectory="(your_folder)"to deploy it to a folder of your choice.
utils/NotificationEndpoint contains a tool that is very useful for testing the Cloud42 notification mechanism.
See the corresponding readme file.
BPEL/Cloud42BPELSample contains a sample BPEL process created with Oracle JDeveloper.