[Mulgara-svn] r1667 - trunk/conf

pag at mulgara.org pag at mulgara.org
Tue Apr 14 12:04:19 UTC 2009


Author: pag
Date: 2009-04-14 05:04:18 -0700 (Tue, 14 Apr 2009)
New Revision: 1667

Added:
   trunk/conf/mulgara-config-xa1.xml
Log:
config file for using XA1 instead

Added: trunk/conf/mulgara-config-xa1.xml
===================================================================
--- trunk/conf/mulgara-config-xa1.xml	                        (rev 0)
+++ trunk/conf/mulgara-config-xa1.xml	2009-04-14 12:04:18 UTC (rev 1667)
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Mulgara Semantic Store configuration file.
+-->
+
+<MulgaraConfig>
+
+  <!-- Paths to external component configuration, relative to JAR file -->
+  <ExternalConfigPaths>
+    <MulgaraLogging>conf/log4j-mulgara.xml</MulgaraLogging>
+    <WebDefault>conf/webdefault.xml</WebDefault>
+  </ExternalConfigPaths>
+
+  <!--
+    The hostname to bind Mulgara to
+
+    Note. Not setting will cause Mulgara to bind to the canonical local machine name
+  -->
+  <!--<MulgaraHost>localhost</MulgaraHost>-->
+
+  <!--
+    Configuration for the Jetty servlet container
+
+    Note. Not setting the "Host" parameter will cause Jetty to listen on
+          all interfaces
+  -->
+  <Jetty>
+    <Disabled>false</Disabled>
+    <Connector>
+      <Disabled>false</Disabled>
+      <!--<Host>localhost</Host>-->
+      <Port>8080</Port>
+      <Acceptors>5</Acceptors>
+      <MaxIdleTimeMs>60000</MaxIdleTimeMs>
+      <LowResourceMaxIdleTimeMs>5000</LowResourceMaxIdleTimeMs>
+    </Connector>
+    <PublicConnector>
+      <Disabled>false</Disabled>
+      <!--<Host>localhost</Host>-->
+      <Port>8081</Port>
+      <Acceptors>5</Acceptors>
+      <MaxIdleTimeMs>60000</MaxIdleTimeMs>
+      <LowResourceMaxIdleTimeMs>5000</LowResourceMaxIdleTimeMs>
+    </PublicConnector>
+  </Jetty>
+
+  <!-- The name of the server, used for RMI binding -->
+  <ServerName>server1</ServerName>
+
+  <!-- RMI registry port -->
+  <RMIPort>1099</RMIPort>
+
+  <!--
+    The path to persist data to, one of:
+
+    + . - current directory (directory from which the Mulgara JAR was run)
+    + temp - default system temporary directory
+    + <path> - user defined (OS dependant) path
+  -->
+  <PersistencePath>.</PersistencePath>
+
+  <!-- Maximum duration in seconds for transactions, a positive integer -->
+  <TransactionTimeout>604800</TransactionTimeout> <!-- one week -->
+
+  <!-- Maximum time in seconds a transaction may be idle, a positive integer -->
+  <IdleTimeout>3600</IdleTimeout> <!-- one hour -->
+
+  <!--
+    Database implementation to use, one of:
+
+    org.mulgara.resolver.Database
+    org.mulgara.store.xa.XADatabaseImpl
+      (Metaphasic transactional triple store)
+  <TripleStoreImplementation>org.mulgara.store.xa.XADatabaseImpl</TripleStoreImplementation>
+  -->
+  <TripleStoreImplementation>@database-class@</TripleStoreImplementation>
+
+  <!--
+    The Related Query Handler is the implementation of
+    org.mulgara.resolver.RelatedHandler.
+  -->
+  <RelatedQueryHandler
+    type="org.mulgara.resolver.RelatedQueryHandlerImpl"/>
+
+  <!--
+    Security adapter implementation.  If this element is omitted, the only
+    forbidden operations will be the modification or deletion of the system
+    model.
+  -->
+  <!--
+    <SecurityAdapterClass>com.mulgara.store.security.model.ModelSecurityAdapterFactory</SecurityAdapterClass>
+  -->
+
+  <!--
+    Implementations of the persistent and temporary node pools, string pools,
+    and resolvers.  The persistent resolver is used to manipulate the system
+    model.
+  -->
+  <PersistentNodePoolFactory type="org.mulgara.store.stringpool.xa11.XA11StringPoolFactory" dir="xaStringPool"/>
+  <TemporaryNodePoolFactory  type="org.mulgara.store.nodepool.memory.MemoryNodePoolFactory"/>
+  <PersistentStringPoolFactory type="org.mulgara.store.stringpool.xa11.XA11StringPoolFactory" dir="xaStringPool"/>
+  <TemporaryStringPoolFactory type="org.mulgara.store.stringpool.memory.MemoryStringPoolFactory"/>
+  <PersistentResolverFactory type="org.mulgara.resolver.store.StatementStoreResolverFactory" dir="xaStatementStore"/>
+  <!-- <PersistentResolverFactory type="org.mulgara.resolver.store.XA11StatementStoreResolverFactory" dir="xaStatementStore"/> -->
+  <TemporaryResolverFactory type="org.mulgara.resolver.memory.MemoryResolverFactory" dir="tempStatementStore"/>
+
+  <!--
+    Implementations of a rule engine.
+  -->
+  <RuleLoader type="org.mulgara.krule.KruleLoader"/>
+
+  <!--
+    Implementations of the ContentHandler interface to use for resolving MIME
+    types.
+  -->
+  <DefaultContentHandler type="org.mulgara.content.rdfxml.RDFXMLContentHandler"/>
+  <ContentHandler type="org.mulgara.content.mp3.MP3ContentHandler"/>
+  <ContentHandler type="org.mulgara.content.mbox.MBoxContentHandler"/>
+  <ContentHandler type="org.mulgara.content.n3.N3ContentHandler"/>
+  <ContentHandler type="org.mulgara.content.rlog.RlogContentHandler"/>
+
+  <!--
+    Additional resolvers
+  -->
+  <ResolverFactory type="org.mulgara.resolver.file.FileResolverFactory"/>
+  <ResolverFactory type="org.mulgara.resolver.lucene.LuceneResolverFactory" dir="lucene"/>
+  <ResolverFactory type="org.mulgara.resolver.xsd.XSDResolverFactory"/>
+  <ResolverFactory type="org.mulgara.resolver.http.HttpResolverFactory"/>
+  <ResolverFactory type="org.mulgara.resolver.nodetype.NodeTypeResolverFactory"/>
+  <ResolverFactory type="org.mulgara.resolver.jar.JarResolverFactory"/>
+  <ResolverFactory type="org.mulgara.resolver.view.ViewResolverFactory"/>
+  <ResolverFactory type="org.mulgara.resolver.filesystem.FileSystemResolverFactory"/>
+  <ResolverFactory type="org.mulgara.resolver.prefix.PrefixResolverFactory"/>
+  <ResolverFactory type="org.mulgara.resolver.relational.RelationalResolverFactory"/>
+  <ResolverFactory type="org.mulgara.resolver.distributed.DistributedResolverFactory"/>
+  <ResolverFactory type="org.mulgara.resolver.nullres.NullResolverFactory"/>
+
+  <!-- iTQL script to run on startup -->
+  <StartupScript>foo.itql</StartupScript>
+
+  <!-- smtp server for email notifications
+    mail.xyz.com
+  -->
+  <Smtp></Smtp>
+
+</MulgaraConfig>




More information about the Mulgara-svn mailing list