Contract Management Tool

This web application is used by a man power consultant to keep track of his client, candidates, contracts and requirements. It allows the employees of the consulting company to search for candidates who suite the profile of the requirements of clients and other operations related to contracts.

Technologies and Products used

The following are the steps to related to be taken to run the existing part of the application :

  1. Create cmtaccount with password cmt in Oracle10g Express Edition. This must be done after you log in as SYSTEM user.
          create user cmt identified by cmt;
          grant connect,resource to cmt;
        
  2. Create required tables in cmt account by using commands in tables.sql file of cmt.zip.
  3. Download cmt.zip and unzip it into d:\ directory. You can substitue d:\ with another path if you like.
  4. Start NetBeans 5.0 or above
  5. Open cmt project in NetBeans using File->Open Project option.
  6. Add Oracle Library - ojdbc14.jar, JSTL library to cmt project.
  7. Build and deploy the project to embeded Tomcat of NetBeans.
  8. Run this project - you must see index.jsp page.

Deploying Web Application In Tomcat of JBoss

The following procedure explains how to deploy a web application cmt, developed with Tomcat that is embeded with NetBeans to Tomcat embeded in JBOSS application server.
  1. You better change port number at which Tomcat in JBoss is running using JBOSS_HOME\server\default\deploy\jbossweb-tomcat55.sar\server.xml file. Change port number of HTTP Container from 8080 to 9999.
    This is required as Oracle10g also uses 8080.
  2. Copy cmt.war from dist directory of cmt project into JBOSS_HOME\server\default\deploy directory.
  3. Run the application using the following url:
       http://localhost:9999/cmt
     
  4. You should see login page of the application.