[Mulgara-svn] r1184 - trunk/conf
pag at mulgara.org
pag at mulgara.org
Wed Aug 27 22:37:42 UTC 2008
Author: pag
Date: 2008-08-27 15:37:40 -0700 (Wed, 27 Aug 2008)
New Revision: 1184
Added:
trunk/conf/mulgara-config-x11.xml
Log:
An example configuration file for using XA 1.1
Added: trunk/conf/mulgara-config-x11.xml
===================================================================
--- trunk/conf/mulgara-config-x11.xml (rev 0)
+++ trunk/conf/mulgara-config-x11.xml 2008-08-27 22:37:40 UTC (rev 1184)
@@ -0,0 +1,139 @@
+<?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>
+ <!--<Host>localhost</Host>-->
+ <Port>8080</Port>
+ <Acceptors>5</Acceptors>
+ <MaxIdleTimeMs>60000</MaxIdleTimeMs>
+ <LowResourceMaxIdleTimeMs>5000</LowResourceMaxIdleTimeMs>
+ </Connector>
+ </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"/>
+ <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"/>
+ <!--
+ <DefaultContentHandler type="org.mulgara.content.rio.RDFXMLContentHandler"/>
+ -->
+ <ContentHandler type="org.mulgara.content.mp3.MP3ContentHandler"/>
+ <ContentHandler type="org.mulgara.content.mbox.MBoxContentHandler"/>
+ <ContentHandler type="org.mulgara.content.n3.N3ContentHandler"/>
+
+ <!--
+ 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