## (c) International Business Machines Corporation, 2002 - 2005. ## (c) University of Edinburgh, 2002 - 2005. ## See OGSA-DAI-Licence.txt for licencing information. ## ## Data service resource configuration. ## ## 1-Select the name of the data service resource. ## The default is "DataServiceResource". ## You can change this if you want. dai.resource.id=DataServiceResource ## 2-Select the type of the data resource that forms the data service ## resource. ## Remove the hash (#) from the front of the desired type. ## Only remove one hash! # dai.data.resource.type=Relational # dai.data.resource.type=XML # dai.data.resource.type=Files # dai.data.resource.type=MultiResource ## 3-Provide information about the data resource. This includes: ## Product name, vendor and version (optional) ## Database URI (required). ## Database driver class name (required). ## ## Remove the hash (#) from the front of the values corresponding ## to your data resource... ## ## 3A-Remove the hash (#) from these values if you are deploying a ## MySQL data resource ## Then provide the URI and modify the other values if required. # dai.product.name=MySQL # dai.product.vendor=MySQL # dai.product.version=1.0 # dai.data.resource.uri=jdbc:mysql://HOST:PORT/PATH/TO/DATABASE # dai.driver.class=org.gjt.mm.mysql.Driver ## 3B-Remove the hash (#) from these values if you are deploying a ## HSQL data resource ## Then provide the URI and modify the other values if required. # dai.product.name=HSQL # dai.product.vendor=HSQL # dai.product.version=1.7.1.b # dai.data.resource.uri=jdbc:hsqldb:DIRECTORY/FILE # dai.driver.class=org.hsqldb.jdbcDriver ## 3C-Remove the hash (#) from these values if you are deploying a ## SQL Server data resource ## Then provide the URI and modify the other values if required. # dai.product.name=SQL Server # dai.product.vendor=Microsoft # dai.product.version= # dai.data.resource.uri=jdbc:microsoft:sqlserver://HOST:PORT;DatabaseName=NAME # dai.driver.class=com.microsoft.jdbc.sqlserver.SQLServerDriver ## 3D-Remove the hash (#) from these values if you are deploying a ## DB2 data resource ## Then provide the URI and modify the other values if required. # dai.product.name=DB2 # dai.product.vendor=IBM # dai.product.version= # dai.data.resource.uri=jdbc:db2://HOST:PORT/PATH/TO/DATABASE # dai.driver.class=com.ibm.db2.jcc.DB2Driver ## 3E-Remove the hash (#) from these values if you are deploying a ## Oracle data resource ## Then provide the URI and modify the other values if required. # dai.product.name=Oracle # dai.product.vendor=Oracle # dai.product.version= # dai.data.resource.uri=jdbc:oracle:thin@HOST:PORT:DATABASE # dai.driver.class=oracle.jdbc.driver.OracleDriver ## 3F-Remove the hash (#) from these values if you are deploying a ## PostgreSQL data resource ## Then provide the URI and modify the other values if required. # dai.product.name=PostgreSQL # dai.product.vendor=Postgres # dai.product.version= # dai.data.resource.uri=jdbc:postgresql://HOST:PORT/PATH/TO/DATABASE # dai.driver.class=org.postgresql.Driver ## 3G-Remove the hash (#) from these values if you are deploying a ## Xindice data resource ## Then provide the URI and modify the other values if required. # dai.product.name=Xindice # dai.product.vendor=Apache # dai.product.version=1.0 # dai.data.resource.uri=xmldb:xindice://HOST:PORT/db/COLLECTION # dai.driver.class=org.apache.xindice.client.xmldb.DatabaseImpl ## 3H-Remove the hash (#) from these values if you are deploying an ## eXist data resource ## Then provide the URI and modify the other values if required. # dai.product.name=eXist # dai.product.vendor=eXist # dai.product.version=1.0 Beta 2 # dai.data.resource.uri=xmldb:exist://HOST:PORT/SERVLET-PATH/xmlrpc/db/COLLECTION # dai.driver.class=org.exist.xmldb.DatabaseImpl ## 3I-Remove the hash (#) from these values if you are deploying a ## file-based data resource ## Then provide the URI and modify the other values if required. ## The URI should be an absolute path to a directory on your ## file system. # dai.product.name=File system # dai.product.vendor= # dai.product.version= # dai.data.resource.uri=/PATH/TO/DIRECTORY # dai.driver.class= ## 3J-Remove the hash (#) from these values if you are deploying a ## multi data service resource. ## Then provide the URIs and resource IDs ## and modify the other values if required. # dai.data.service.resource.uri.one=http://URI-OF-SERVICE-ONE # dai.data.service.resource.id.one=DataServiceResourceIDOne # dai.data.service.resource.description.one=Resource one contains stuff # dai.data.service.resource.uri.two=http://URI-OF-SERVICE-TWO # dai.data.service.resource.id.two=DataServiceResourceIDTwo # dai.data.service.resource.description.two=Resource two contains stuff ## 3K-Remove the hash (#) from these values if you are deploying a ## another type of data resource ## Then provide the URI and modify the other values if required. # dai.product.name=??? # dai.product.vendor=??? # dai.product.version=??? # dai.data.resource.uri=??? # dai.driver.class=??? ## 4-Enter the initial credential that users need to provide to ## access the data resource. ## If no credentials need to be provided then leave blank. dai.credential= ## 5-Enter the database username and password that will be used to log ## into the database. ## If there is no username or password required or these can be null ## then leave empty. dai.user.name= dai.password= ## 6-Put any JAR files containing your database drivers into ## the "drivers directory" NOW. ## 7-To deploy your data service resource: ## A-Save this file ## B-To deploy on your container, run: ## "ant deployResource -Ddai.container=PATH_TO_WEB_SERVICES_CONTAINER"