You are on page 1of 2

EZilla Group

October 2009

1. Introduction
2. Installation and Configuration
1. Installation of EZilla CD Store
To run CDSTORE as a web application, you need have the following

• Tomcat 6.0
• MySQL 5.0
• Jetty 6.1
• axis2.war
• xstream-1.3.1.jar
• mysql-connector-java-5.1.7-bin.jar
• test_data.sql
• order.aar
• productcategory.aar
• user.aar
• .keystore

The steps to set up CDSTORE:

1. Set up database
a. create an database CDSTORE in MySQL, grant all privileges to user
ezilla with password ezilla
b. execute CDSTORE_TABLE_CREATION.sql to create tables in database
c. execute test_data.sql to insert some testing data into tables

2. Deploy CDSTORE.jar
a. put CDSTORE.war into %TOMCAT_HOME%/webapps
b. put .keystore into %TOMCAT_HOME%/CDSTOREkeystore/.keystore
c. put xstream-1.3.1.jar into %TOMCAT_HOME$/lib
d. change the connector part number to 80 by modifying

3. Deploy web services

a. put mysql-connector-java-5.1.7-bin.jar and xstream-1.3.1.jar into
b. extract axis2.war to %JETTY_HOME%/webapps
c. put order.aar, productcategory.aar, and user.aar into %JETTY_HOME

1. Configurations
1. Configuration Tomcat for SSL
put the following script into %TOMCAT_HOME%/conf/server.xml

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"

maxThreads="150" scheme="https" secure="true"
keystoreFile="\ CDSTOREkeystore \.keyCDSTORE" keystorePass="ezilla"
clientAuth="false" sslProtocol="TLS" />

2. Connection Pool Configuration

put the following script into %JETTY_HOME%/etc/jetty.xml

<New id="cdstore" class="">

<New class="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource">
<Set name="Url">jdbc:mysql://localhost:3306/cdstore</Set>
<Set name="User">ezilla</Set>
<Set name="Password">ezilla</Set>

2. Source Code Organization

3. Identification of Third Party libraries
xstream-1.3.1.jar: to transform back and forth the Java object and xml string
axis2.war: to provide axis web service framework