Install: IWBase Domain Node

  1. Install Tomcat on your computer, if you don't have it yet. Download and install Tomcat from jakarta.apache.org. We are going to use $TOMCAT to refer to the root directory where Tomcat is installed. The PML Browser may work with other servlet container or J2EE application server although we have tested it for Tomcat version 5.0 only.

  2. Add owl to Tomcat default MIME type mappings.


  3. An IW configuration file (iw.xml) is needed to setup the IWBase node. If your system has other IW applications installed, it may already have an iw.xml file and you can skip to step 5. Otherwise, you will need to follow the steps below:


  4. Define $IW_HOME as a global JNDI resource in your Tomcat configuration file.


  5. Define a JNDI IWRegistrar context with a datasource. Associate $IW_HOME with the context.


  6. Install MySQL on your computer, if you don't have it yet. Download and install MySQL from http://www.mysql.com. The IWBase node may work with other relational database management system although we have tested it for MySQL only.

  7. Make sure you have the JDBC driver for your database. For MySQL, you can download Connector/J from http://www.mysql.com/products/connector/j/, and install it in $TOMCAT/common/lib directory.

  8. Create a database for IW, lets say, named iwbase.
  9. Define a database user account for IW to use, lest say, named iwuser.
  10. Create IW tables in MySQL.
  11. Create Tomcat users for IWBase maintenance.

    Some but not necessarily all IWBase Teams need to perform IWBase maintenance work such as entry adding and updating. For instance, your organization may have a team named ONTO-TEAM responsible for the development of some ontologies. Members of ONTO-TEAM, however, are not responsible for maintaining ontology entries in IWBase. Thus, ONTO-TEAM just needs to be registered in IWBase in order to be assigned as an IWBase Source for ontologies.

    Now, suppose that members of METADATA-TEAM are responsible for the maintenance of ontology entries in IWBase. Thus, a Tomcat user named METADATA-TEAM must be defined in order to authenticate METADATA-TEAM. In fact, one Tomcat user must be defined for each team performing maintenance work and IWsupervisor and IWontuser roles must be granted to these Tomcat users.

    Within $TOMCAT/conf/tomcat-users.xml, create Tomcat users and assign IWsupervisor and IWontuser roles to them. For example, to register METADATA-TEAM as a Tomcat user, add the following line:

    If you are familiar with Tomcat's "admin" application, feel free to use it to create roles and users.

  12. Install JDBC driver properly. If you use Tomcat and MySQL combo, put the mysql connector jar file in Tomcat's common/lib directory.

  13. Deploy the IWBase Domain Node software.
  14. If you deploy the registry as a Web application under a servlet engine, e.g. Tomcat, rather than a document tree under a Web server, make sure you have WEB-INF directory and web.xml file placed properly.

  15. Restart Tomcat


  16. Initialize the first Team in the IWBase Domain Node

    The above steps will create the root team for the node.

  17. The IWBase Node should be functional.

Page last modified 07/29/2006