Where Do Files Reside After Deployment?
This section describes the locations of OGSA-DAI related files after
deployment on Tomcat or GT4.
Under GT4, OGSA-DAI resides in the following places:
- 
share/schema/ogsadai/ - OGSA-DAI
XML Schema and WSDL.
 
- 
lib/ - OGSA-DAI JAR files.
 
- 
etc/ogsadai_wsrf/ - OGSA-DAI
configuration files - see below.
 
- 
log4j.properties - GT4 logging properties file.
 
Under Tomcat, OGSA-DAI resides in the following places:
- 
webapps/wsrf/share/schema/ogsadai/ -
OGSA-DAI XML Schema and WSDL.
 
- 
webapps/wsrf/WEB-INF/lib/ -
OGSA-DAI JAR files.
 
- 
webapps/wsrf/WEB-INF/etc/ogsadai_wsrf/ -
OGSA-DAI configuration files - see below.
 
- 
webapps/wsrf/WEB-INF/classes/log4j.properties - logging properties file.
 
The OGSA-DAI WSRF configuration files residing in the
etc/ogsadai_wsrf directory
are as follows:
- 
server-config.wsdd - deployment
descriptors for the current OGSA-DAI services.
 
- 
jndi-config.xml - JNDI deployment
descriptors for the
current OGSA-DAI services (see the GT4 documentation for
more information).
 
- 
Data service resource files for each current data service.
- 
There will be one of these XML files for each current OGSA-DAI
service.
 
- 
These files maintain a list of the current data service resources for
each data service.
 
- 
The file name is derived from the service name e.g. a service with
name ogsadai/DataService has a file
_ogsadai_DataService.dsr.xml.
 
 
- 
Data service resource directories.
- 
There is one such directory for each deployed data service resource -
the directory shares  the name of the data service resource e.g. MyRelationalResource.
 
- 
The contents of these directories are data service resource-specific.
 
- 
The following table shows the files contained in these directories for each
type of OGSA-DAI resource.
 
 
  
    | Name | 
    Description | 
    Relational | 
    XML | 
    File | 
    Factory | 
    Instance | 
  
  
    | 
      dataResourceClassConfig.xml
     | 
    
      Data resource implementation class configuration file.
     | 
    Yes | 
    Yes | 
    Yes | 
    Yes | 
    Yes | 
  
  
    | activityConfig.xml | 
    Activity configuration file. | 
    Yes | 
    Yes | 
    Yes | 
    Yes | 
    Yes | 
  
  
    | sessionConfig.xml | 
    Session configuration file. | 
    Yes | 
    Yes | 
    Yes | 
    Yes | 
    Yes | 
  
  
    | 
      dataResourceConfig.xml
     | 
    Data resource configuration file. | 
    Yes | 
    Yes | 
    Yes | 
    - | 
    - | 
  
  
    | DatabaseRoles.xml | 
    RoleMaps file. | 
    Yes | 
    Yes | 
    - | 
    - | 
    - | 
  
  
    | instance | 
    Sub-directory containing configuration files
                     used when creating new resources and containing:
      
        - dataResourceClassConfig.xml
 
        - activityConfig.xml
 
        - sessionConfig.xml
 
       
     | 
    - | 
    - | 
    - | 
    Yes | 
    - | 
  
  
    | name.txt | 
    Name | 
    - | 
    - | 
    - | 
    - | 
    Yes |