SPInstallation

=1 Windows Environment=
 * Setting up ****Symposium Planner System 2011/Rule Responder **

1.1 Prerequisites
Take note of the IP of your PC. In the following referred to it as %local-ip%. Java JDK:

[]
 * 1) Select windows and click download.
 * 2) Skip the registration step
 * 3) Download and install to the directory of your choice (I now will call %jdk-dir%)

Apache Tomcat:

[]
 * 1) Select the “zip” option under “Core:”
 * 2) Download and extract to a location (I now will call %apache-tomcat-dir%)

Eclipse:

 [] <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">Ports: <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">Ports Required by Rule Responder:
 * 1) <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">Select the appropriate package for you (typically “Eclipse IDE for Java Developers”) and Windows (32-bit or 64-bit).
 * 2) <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">Select the appropriate mirror, download, and then extract to the directory of your choice (I now will call %eclipse-dir%)
 * <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">Apache-HTTP-Server: 80
 * <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">Apache-Tomcat: 8080
 * <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">Mule: 8888
 * Latest Version of Maven:

<span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">1.2.1 Install Maven
> Under target add at the end: > -vm “%jdk-dir%\bin“ > (e.g. “C:\Documents and Settings\Administrator\.m2”) with the following contents: <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;"> <settings xmlns=" [] " <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;"> xmlns:xsi=" [] " <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;"> xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;"> [] "> <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;"> <localRepository>${user.home}/.m2/repository</localRepository> <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;"> <interactiveMode>true</interactiveMode> <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;"> <usePluginRegistry>false</usePluginRegistry> <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;"> false
 * 1) Inside eclipse go to Help->Software Updates->Available Software
 * 2) Instructions: []
 * 3) Install all Maven components you see to be safe.
 * 4) Enable VM option for eclipse: Create a shortcut for eclipse or use an existing one and properties it
 * 1) Create a “settings.xml” file under the .m2 folder located in your user home directory

<span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;"> <pluginGroups/> <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;"> <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;"> <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;"> <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;"> <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;"> <activeProfiles/> <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">

<span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">1.2.2 Configuring the Mule Distribution
<span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">http://dist.codehaus.org/mule/distributions/mule-standalone-3.0.1.tar.gz <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">You specify the location of a Mule 3.x distribution in Eclipse so that Mule and third-party libraries will be automatically added to Mule project classpaths. This distribution will also be used when launching a Mule server instance to test and debug your application.
 * <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">Download Mule from: **
 * <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">To configure a Mule distribution: **
 * 1) In the Eclipse workbench, choose Window > Preferences.
 * 2) Click Mule, and then click Add.
 * 3) Specify the root directory where the Mule distribution is unziped, and then click OK.
 * 4) Click the distribution's check box, and then click Apply. This distribution is now the default Mule distribution. You can configure multiple Mule directories, but only one can be the default.

<span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">1.2.3 Install Mule IDE
<span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">1. Inside eclipse go to Help->Software Updates->Available Software <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">2. Instructions: Mule IDE Update Site - http://dist.muleforge.org/mule-ide/updates-2.1.x/ 3. Install all Maven components you see to be safe.

<span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">1.2.4 Obtaining the Source Code of SP2011

 * 1) Download the source code from SourceForge: []
 * 2) upzip “SymposiumPlannerSystem.zip” and import the project into Eclipse workspace

<span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">1.3 Tomcat
Add the JAVA_HOME environment variable to point to java install directory: Properties on My Computer->Advanced->Environment Variables System Variables->New Variable Name: JAVA_HOME Variable Value: (JDK install directory, not bin just root of it, no quotes needed)

> “%apache-tomcat-dir%\bin\startUp.bat”
 * Obtaining the **** personal agents of Symposium Planner System 2011 **** : **
 * 1) Download from Source Forge: []
 * 2) unzip “webapps.zip” and copy all the directories to“%apache-tomcat-dir%/webapps”
 * 3) <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">Start Tomcat Server:
 * 1) <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">Right click on the mule-all-config.xml file of the Project, Run as -> Mule Server
 * 2) <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">Access [] in browser to send the Message to Mule Server.

<span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">1.4 Startup
> “%apache-tomcat-dir%\bin\startUp.bat”
 * 1) <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">Start Tomcat Server:
 * 1) <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">Right click on the mule-all-config.xml file of the Project, Run as -> Mule Server
 * 2) <span style="color: black; font-family: Arial,sans-serif; font-size: 9pt;">Access [] in browser to send the Message to Mule Server.


 * Installation Notes:**

Install jdk 1.6.0_26. Add variable JAVA_HOME to Enivornment variables. JAVA_HOME {C:\Program Files\Java\jdk 1.6.0_26}

Apache Tomcat 6.0.32 CATALINA_HOME{C:\Program Files\apache-tomcat-6.0.32}

**Eclipse (Java Developer)**

**Ports:** **Tomcat(8080)** **Mule(8888)**

**Maven:** **Help** **Install new software** **http://m2eclipse.sonatype.org/sites/m2e** **http://m2eclipse.sonatype.org/update/**

**Eclipse shortcut** **Target: "C:\Program Files\eclipse\eclipse.exe" -vm "C:\Program Files\Java\jdk 1.6.0_26\bin"**

**Create settings.xml in .m2 folder.** **C:\Documents and Settings\Usman\.m2** **<localRepository>C:\Documents and Settings\Usman\.m2\repository</localRepository>**

**Download Mule.**

**Put Mule in C Folder:** **C:\Mule\mule-standalone-3.0.1**

**Add in Eclipse (Help--> Install Software)** **Install Mule** **Window** **Shows up in preferences.** **Mule** **Add C:\Mule**

**Help Install software http://dist.muleforge.org/mule-ide/updates-2.1.x/**

**Download SymposiumPlannersystem.zip**

**Import in Eclipse.(Existing projects)**

**Download PersonalAgents.zip** **Unzip** **Copy to tomcat-webapps**

**Copy endorsed folder to C:\Program Files\Java\jdk 1.6.0_26\jre\lib**

**Endorsed Folder** **Resolver** **Serializer** **Xalan** **XercesImpl** **XercesSamples** **xml-apis**

**Tomcat** **Startup.bat**

**Eclipse** **Conf** **mule-all-config.xml (Right click--> Run as Mule Server}**