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 1.6 and Apache Tomcat 6.x or Jetty 6.x. Please note that Cloud42 was designed to work with one of these containers. It will run on other Servlet containers or newer versions of Tomcat/Jetty, too, but you may have to add or remove some of the libraries bundled with Cloud42 to get it working.
/etc/cloud42/config.propertiesor in your home folder (on Windows!). An example of this file comes with the binary distribution. Please copy it to the destination folder mentioned above and adjust it to your needs.
java -classpath ../lib/hsqldb.jar org.hsqldb.Server.
cloud42.warcontains the Web application for the graphical part of the management framework, whereas the file
cloud42WS.warcontains the Web service interface of Cloud42.
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
This section describes the steps required if you want to build Cloud42 yourself.
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_HOMEenvironment variable is set.
core/service/src/main/resources/config.properties. You should copy the file to
/etc/cloud42/config.propertiesor into your home folder (on Windows!). Please read the comments in the file carefully and adjust all(!) the settings to your needs.
/etc/cloud42or into your home folder, open it and fill in your keys.
mvn clean installcommand mentioned below.
mvn clean installfrom the directory where you unpacked the files.
java -classpath ../lib/hsqldb.jar org.hsqldb.Server
-Djetty.port=8081to your command.
targetfolders in the subdirectories
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_REPOpointing 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/NotificationEndpointcontains a tool that is very useful for testing the Cloud42 notification mechanism. See the corresponding readme file.
BPEL/Cloud42BPELSamplecontains a sample BPEL process created with Oracle JDeveloper.