Steps to be followed for deploying the war file using Tomcat.#

  1. Oracle as a database should be available.
    1. Also corresponding data model has already been created in database.
      This can be done executing SQL-queries present in file embedded below: -

    1. Along with this please ensure that corresponding classes12.jar,, & classes111.jar files are available in SYSTEM CLASSPATH.
      Because these will be required at the time of running the application to register JDBC driver. These files can be found under following directory: -
  1. Tomcat as a application server (Tomcat 5.0 or Tomcat 4.0)
  2. JDK 1.4 or 1.5 should be installed.
    (Because source code present in current application is being compiled using jdk1.4’s compiler. So it can run in both Tomcat 4.x with jdk1.4 as well as Tomcat 5.x with jdk1.5)
    If any other lower java (jdk) version is being used then source code could be required to be re-compiled.

Steps to be followed to deploy the application: -

  1. Dump the attached inventory.war file (to be deployed) in standard webapps folder (available under %TOMCAT_HOME%) of tomcat.
  2. Start the server. (Starting tomcat server will result in creation of inventory folder corresponding to the inventory.war application deployed).
  3. Stop server.
  4. Navigate to folder inventory (%TOMCAT_HOME%/webapps/inventory/WEB-INF).
  5. Edit the file “” available in above-mentioned path. Change settings (values) available for various key properties (Host, Port, SID, Username & Password) corresponding to the TNS-ENTRY for the connection where data model (tables, sequences etc.) has been created.
    A Sample “” files is embedded as below, and can be seen as a simple text file using notepad.
  6. Re-start the server after changing the connection settings corresponding to following: - Host, Port, SID, Username & Password.
  7. After re-starting the server application can be tested navigation to following URL in a browser.
http://systemIP(e.g 8080)/inventory


Um. What exactly is the ICSWiki?

-- JanneJalkanen

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
inventory.war 124.5 kB 2 22-Aug-2006 13:29
query.txt 1.9 kB 2 22-Aug-2006 13:29
« This page (revision-7) was last changed on 01-Aug-2007 23:47 by JanneJalkanen