5-Oct-04 (Created: 5-Oct-04) | More in 'Questions'

Avada properties file

#######################################################################################
#Property file to link with other properties file of the project.
#######################################################################################


#**************************************************************************
#**********Application details
# For releases older the b16.4, do the following
# 1. uncomment directory alias for ".aspire"
# 2. Make ".aspire" point to the web app root directory
# 3. Make "Logging.logfile" point to an absolute path
#
#**************************************************************************
#directories.aspire=d:\\aspire_test\\aspire_jsdk21_r2_b18.1_src\\apptemplate

#directories.itsolutions=C:\\itsolutions
#**************************************************************************
# Make sure the directory under which you are putting the log file exists
# Log file will be created but not the directory
#**************************************************************************
# BELOW REFERENCE WILL BE CHANGED LATER.
Logging.logfile=aspire:\\log\\ai.log
Logging.msgLevel = 0
Logging.trace=yes
# Logging.selectiveFilters=cp:,sc:,db:
# Logging.excludeFilters=vectorMetadata:,dbrs:,

#**************************************************************************
#********** Necessary parameters for servlets
#**************************************************************************
RequestExecutor.success_page=aspire:\\jsp\\ViewCart.jsp
RequestExecutor.failure_page=aspire:\\jsp\\FailureCart.jsp


#request.AppObjects.connectionManager.className=com.ai.db.ConnectionSimpleConnectionManager
request.AppObjects.transform.className=com.ai.htmlgen.AITransform6
request.ApplicationObjects.Factory.className=com.ai.application.defaultpkg.FilterEnabledFactory2
request.filters.SingleRowHashtableFilter.className=com.ai.filters.SingleRowToHashtableConverter
request.ApplicationObjects.Config.className=com.ai.application.defaultpkg.CConfigWithIncludes
#request.ApplicationObjects.Config.className=com.ai.extensions.xmlconfig.ConfigWithXMLIncludes
request.ApplicationObjects.Log.className=com.ai.application.defaultpkg.CLog1
request.aspire.defaultObjects.ExceptionAnalyzer.className=com.ai.common.DExceptionAnalyzer
request.Aspire.BooleanExpressionEvaluator.className=com.ai.htmlgen.SimpleBEEvaluator1
request.aspire.expressionevaluator.classname=com.ai.htmlgen.DefaultExpressionEvaluator



#**************************************************************************
#********** Generic transform support
#**************************************************************************
request.aspire.servletsupport.responseHeadersClass.classname=com.ai.servlets.DefaultSetHeaders

#XML output
GenericTransform.Classic-xml.classname=com.ai.generictransforms.ClassicXMLGenericTransform
GenericTransform.Object-xml.classname=com.ai.generictransforms.ObjectXMLGenericTransform
#GenericTransform.Classic-xml.classname=com.ai.xml.FormHandlerToXMLTransform
#GenericTransform.Classic-xml.headers=Content-Type="text/html";

#Excel transform
GenericTransform.Excel.classname=com.ai.generictransforms.ExcelGenericTransform
GenericTransform.Excel.headers=Content-Type=application/vnd.ms-excel|Content-Disposition=filename=aspire-hierarchical-dataset.xls

#Text
GenericTransform.Text.classname=com.ai.generictransforms.DebugTextTransform
#html
GenericTransform.html.classname=com.ai.generictransforms.GenericHTMLTransform



#**************************************************************************
#********** Aspire string substitution support
#**************************************************************************
aspire.substitutions.quote=aspire.translators.OracleQuote
aspire.substitutions.empty=aspire.translators.GeneralTranslator
aspire.substitutions.urlEncode=aspire.translators.GeneralTranslator
# future stuff

request.aspire.translators.quote.className=com.ai.common.SimpleQuoteTranslator
request.aspire.translators.OracleQuote.className=com.ai.common.OracleQuoteTranslator
request.aspire.translators.GeneralTranslator.className=com.ai.common.GeneralTranslator

#**************************************************************************
#********** Necessary parameters for XML/XSL support; Needs rel 2 and build 15.3 or later
#**************************************************************************
Aspire.startup.initializers=userstatus
request.userstatus.className=com.ai.db.DBRequestExecutor1

#The following line is needed for outputting XML documents to the browser
#You will need JDOM jar file
request.XMLOutputter.className=com.ai.xml.JDOMXMLOutPutter

#Aspire.systemProperties=XMLParserFactory,XSLTransformFactory,SAXParserFactory
Aspire.systemProperties=Xerces-DBF,XSLTransformFactory,Xerces-SPF

#Xerces-SPF
Aspire.systemProperties.Xerces-SPF.key=javax.xml.parsers.SAXParserFactory
Aspire.systemProperties.Xerces-SPF.value=org.apache.xerces.jaxp.SAXParserFactoryImpl

#Xerces-DBF
Aspire.systemProperties.Xerces-DBF.key=javax.xml.parsers.DocumentBuilderFactory
Aspire.systemProperties.Xerces-DBF.value=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl

#SAXParserFactory
Aspire.systemProperties.SAXParserFactory.key=javax.xml.parsers.SAXParserFactory
Aspire.systemProperties.SAXParserFactory.value=org.apache.crimson.jaxp.SAXParserFactoryImpl

#XMLParserFactory
Aspire.systemProperties.XMLParserFactory.key=javax.xml.parsers.DocumentBuilderFactory
Aspire.systemProperties.XMLParserFactory.value=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl

#XSL Transform Factory
Aspire.systemProperties.XSLTransformFactory.key=javax.xml.transform.TransformerFactory
Aspire.systemProperties.XSLTransformFactory.value=org.apache.xalan.processor.TransformerFactoryImpl


#**************************************************************************
#********** Connection pool/Scheduler defintions
#**************************************************************************
# SimpleConnectionManager definition
#request.AppObjects.connectionManager.className=com.ai.db.SimpleConnectionManager

#
# A connection pool implementation of the same interface
# A scheduler is required for this pool to work
# The corresponding scheduler is defined as well
#

request.AppObjects.connectionManager.className=com.ai.db.ConnectionPoolConnectionManager1
request.AppObjects.scheduler.className=com.ai.scheduler.BasicScheduler

AppObjects.scheduler.timer_interval_in_milli_secs=60000

#**************************************************************************
#********** Authorization/session management directives
#**************************************************************************
aspire.authentication.userAuthorization=yes
aspire.authentication.realm=Aspire Application Template. Use demo/aspire to login.
request.aspire.authentication.authenticationObject.className=com.ai.aspire.authentication.TrivialAuthentication
aspire.authentication.password=aspire
##aspire.sessionSupport.applySessionManagement=no
##
aspire.applySessionManagement=yes
##
request.aspire.sessionSupport.sessionSupportObject.className=com.ai.servlets.DefaultSessionSupport
request.aspire.servletSupport.pageRedirector.className=com.ai.servlets.ClientSideRedirector
#request.aspire.servletSupport.pageRedirector.className=com.ai.servlets.DefaultRedirector
aspire.servletSupport.responseHeaders=Content-Type=text/html

#*************************


#**************************************************************************
#********** Database definitions
#**************************************************************************
#Database.name = accessDB
#Database.accessDB.jdbc_driver=sun.jdbc.odbc.JdbcOdbcDriver
#Database.accessDB.connection_string = jdbc:odbc:survey.mdb
#Database.accessDB.userid = access_user
#Database.accessDB.password = access_password

#**************************************************************************
#********** Database aliases
#**************************************************************************

#PROPER NAME FOR DOCUMENT WILL BE GIVEN LATER.
#PASSWORD WILL BE PROVIDED AFTER SETTING IT TO DB. WORKING OUT.

Database.name = Document
Database.Document.jdbc_driver=org.gjt.mm.mysql.Driver
Database.Document.connection_string = jdbc:mysql://localhost/itsolutionsDB
Database.Document.userid = root

#the database does not have password.
Database.Document.password = 
Database.alias.testDB = Document

global_data=satya

#**************************************************************************
#********** Default color filters, Needs rel 2, build 15.0 or above
#**************************************************************************
#Default filter
request.Aspire.defaultColumnFilter.className=com.ai.htmlgen.AspireColorFilter
request.Aspire.defaultColumnFilter.oddColor=aspire_odd
request.Aspire.defaultColumnFilter.evenColr=aspire_even
request.Aspire.defaultColumnFilter.rows=1

#**************************************************************************
#********** Your properties goes here
#
# 1. All lines should end in ,\ except for the last line
# 2. There should be no empty space at the begining of the file
# 3. versions of aspire older than aspire rel 1.11 and build 0 recognizes
#    only lower case directory aliases for this section.
#**************************************************************************
application.includeFiles=aspire:\\properties\\product.properties,\
aspire:\\properties\\login.properties,\
aspire:\\properties\\newuser.properties,\
aspire:\\properties\\collections.properties,\
aspire:\\properties\\aboutUs.properties,\
aspire:\\properties\\contactUs.properties,\
aspire:\\properties\\news.properties,\
aspire:\\properties\\terms.properties,\
aspire:\\properties\\tips.properties,\
aspire:\\properties\\Failurecart.properties,\
aspire:\\properties\\ordermodify.properties,\
aspire:\\properties\\display.properties,\
aspire:\\properties\\collpages.properties,\
aspire:\\properties\\index.properties

#TESTAPP THIS ALIAS NAME WILL TRY TO CHANGE APPROPRIATELY.
application.xmlIncludeFiles=testapp:\\samples\\xml-config-files\\xml-sample-file.xml