jvanzyl 02/01/22 05:56:01
Modified: src/rttest/testapp/WEB-INF/conf TurbineResources.properties
Added: src/rttest/testapp/WEB-INF/conf JspFulcrum.properties
JspTRP.properties
Log:
- adding properties file for jsp tests
Revision Changes Path
1.3 +11 -3
jakarta-turbine-3/src/rttest/testapp/WEB-INF/conf/TurbineResources.properties
Index: TurbineResources.properties
===================================================================
RCS file:
/home/cvs/jakarta-turbine-3/src/rttest/testapp/WEB-INF/conf/TurbineResources.properties,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TurbineResources.properties 18 Jan 2002 18:00:41 -0000 1.2
+++ TurbineResources.properties 22 Jan 2002 13:56:01 -0000 1.3
@@ -1,5 +1,5 @@
# -------------------------------------------------------------------
-# $Id: TurbineResources.properties,v 1.2 2002/01/18 18:00:41 jvanzyl Exp $
+# $Id: TurbineResources.properties,v 1.3 2002/01/22 13:56:01 jvanzyl Exp $
#
# This is the configuration file for Turbine.
#
@@ -52,11 +52,11 @@
# utility class). It should be set to write to the same appender
# as the org.apache.turbine category.
-log4j.category.default = INFO, turbine
+log4j.category.default = DEBUG, turbine
# This category is used by Turbine.
-log4j.category.org.apache.turbine = INFO, turbine
+log4j.category.org.apache.turbine = DEBUG, turbine
log4j.appender.turbine = org.apache.log4j.FileAppender
log4j.appender.turbine.file = ${applicationRoot}/logs/turbine.log
log4j.appender.turbine.layout = org.apache.log4j.PatternLayout
@@ -85,6 +85,14 @@
# category to DEBUG to see generated sql queries
log4j.category.org.apache.fulcrum.db = DEBUG, torque
+
+## Tracing
+log4j.category.trace = DEBUG, trace
+log4j.appender.trace = org.apache.log4j.FileAppender
+log4j.appender.trace.file = ${applicationRoot}/logs/trace.log
+log4j.appender.trace.layout = org.apache.log4j.PatternLayout
+log4j.appender.trace.layout.conversionPattern = %m%n
+log4j.appender.trace.append = false
# -------------------------------------------------------------------
#
1.1
jakarta-turbine-3/src/rttest/testapp/WEB-INF/conf/JspFulcrum.properties
Index: JspFulcrum.properties
===================================================================
# -------------------------------------------------------------------
#
# S E R V I C E S
#
# -------------------------------------------------------------------
# Classes for Turbine Services should be defined here.
# Format: services.[name].classname=[implementing class]
#
# To specify properties of a service use the following syntax:
# service.[name].[property]=[value]
#
# The order that these services is listed is important! The
# order that is stated here is the order in which the services
# will be initialized. Keep this is mind if you have services
# that depend on other services during initialization.
# -------------------------------------------------------------------
services.FactoryService.classname=org.apache.fulcrum.factory.TurbineFactoryService
services.PoolService.classname=org.apache.fulcrum.pool.TurbinePoolService
services.MimeTypeService.classname=org.apache.fulcrum.mimetype.TurbineMimeTypeService
services.LocalizationService.classname=org.apache.fulcrum.localization.TurbineLocalizationService
# -------------------------------------------------------------------
#
# D A T A B A S E S E R V I C E
#
# -------------------------------------------------------------------
# These are your database settings. Look in the
# org.apache.turbine.util.db.pool.* packages for more information.
# The default driver for Turbine is for MySQL.
#
# The parameters to connect to the default database. You MUST
# configure these properly.
# -------------------------------------------------------------------
services.DatabaseService.database.default=newapp
services.DatabaseService.database.newapp.driver=org.gjt.mm.mysql.Driver
services.DatabaseService.database.newapp.url=jdbc:mysql://127.0.0.1/newapp
services.DatabaseService.database.newapp.username=turbine
services.DatabaseService.database.newapp.password=turbine
# The number of database connections to cache per ConnectionPool
# instance (specified per database).
services.DatabaseService.database.newapp.maxConnections=3
# The amount of time (in milliseconds) that database connections will be
# cached (specified per database).
#
# Default: one hour = 60 * 60 * 1000
services.DatabaseService.database.newapp.expiryTime=3600000
# The amount of time (in milliseconds) a connection request will have to wait
# before a time out occurs and an error is thrown.
#
# Default: ten seconds = 10 * 1000
services.DatabaseService.database.connectionWaitTimeout=10000
# The interval (in milliseconds) between which the PoolBrokerService logs
# the status of it's ConnectionPools.
#
# Default: No logging = 0 = 0 * 1000
services.DatabaseService.database.logInterval=0
# These are the supported JDBC drivers and their associated Turbine
# adapter. These properties are used by the DBFactory. You can add
# all the drivers you want here.
services.DatabaseService.database.adapter=${database.adaptor}
services.DatabaseService.database.adapter.${database.adaptor}=org.gjt.mm.mysql.Driver
# Determines if the quantity column of the IDBroker's id_table should
# be increased automatically if requests for ids reaches a high
# volume.
services.DatabaseService.idbroker.cleverquantity=true
# Determines if IDBroker should prefetch IDs or not. If set to false
# this property has the effect of shutting off the housekeeping thread
# that attempts to prefetch the id's. It also sets the # of id's grabbed
# per request to 1 regardless of the settings in the database.
# Default: true
services.DatabaseService.idbroker.prefetch=true
services.DatabaseService.earlyInit = true
# -------------------------------------------------------------------
#
# C A C H E S E R V I C E
#
# -------------------------------------------------------------------
# Interval at which the cache will be checked. The default is
# 5000ms or 5 seconds.
services.GlobalCacheService.cacheCheckFrequency = 5000
# -------------------------------------------------------------------
#
# L O C A L I Z A T I O N S E R V I C E
#
# -------------------------------------------------------------------
# Default ResourceBundle and language/country codes used by the
# TurbineLocalizationService.
#
services.LocalizationService.locale.default.bundle=MyBundle
services.LocalizationService.locale.default.language=en
services.LocalizationService.locale.default.country=US
#
# This will set the charset= portion of the ContentType: header.
# Leave commented out unless you want to return stuff as a different
# charset.
#
# services.LocalizationService.locale.default.charset=
# -------------------------------------------------------------------
#
# M I M E T Y P E S E R V I C E
#
# -------------------------------------------------------------------
# This property specifies a file containing mappings between MIME
# content types and the corresponding file name extensions. The
# service itself contains a hardcoded set of most common mappings.
# The file must use the same syntax as the mime.types file of
# the Apache Server, i.e.
# <mimetype> <ext1> <ext2>...
#
#services.MimeTypeService.mime.types=/WEB-INF/conf/mime.types
# This property specifies a file containing mappings between locales
# and the corresponding character encodings. The service itself
# contains a hardcoded set of most common mappings.
# The file should use the Java property file syntax, i.e.
# <lang_country_variant>=<charset>
#
#services.MimeTypeService.charsets=/WEB-INF/conf/charset.properties
# -------------------------------------------------------------------
#
# S E C U R I T Y S E R V I C E
#
# -------------------------------------------------------------------
#
# This is the class that implements the User interface.
# You want to override this setting only if you want your User
# implementation to provide application specific addtional
# functionality.
#
# Default: org.apache.fulcrum.security.impl.db.entity.TurbineUser
#
services.SecurityService.user.class=org.apache.fulcrum.security.impl.db.entity.TurbineUser
#
# This setting is DBSecurityService specific - this class is consulted for the names
# of the columns in the users' tables for the purpose of creating join queries.
# If you use your own User implementation in conjunction with DBSecurityService,
# it's peer class must implement org.apache.turbine.om.security.peer.UserPeer
interface,
# and you need to specify the name of the peer class here.
#
# Default: org.apache.fulcrum.security.impl.db.entity.TurbineUserPeer
#
services.SecurityService.userPeer.class=org.apache.fulcrum.security.impl.db.entity.TurbineUserPeer
#
# This is the class that implements UserManager interface.
# Override this setting if you want your User information stored
# on a different medium (LADP directory is a good example).
# Default implementation uses Peers and a relational database .
#
services.SecurityService.user.manager=org.apache.fulcrum.security.impl.db.DBUserManager
#
# This is used by the SecurityService to make the password checking
# secure. When enabled, passwords are transformed by a one-way
# function into a sequence of bytes that is base64 encoded.
# It is impossible to guess the plain-text form of the password
# from the representation. When user logs in, the entered password
# is transformed the same way and then compared with stored value.
#
# Default: false
#
services.SecurityService.secure.passwords=false
#
# This property lets you choose what digest algorithm will be used
# for encrypting passwords. Check documentation of your JRE for
# available algorithms.
#
# Default: SHA
#
services.SecurityService.secure.passwords.algorithm=SHA
# Configuration for the LDAP Security Service implementation
#services.SecurityService.ldap.security.athentication=simple
#services.SecurityService.ldap.port=<LDAP PORT>
#services.SecurityService.ldap.host=<LDAP HOST>
#services.SecurityService.ldap.admin.username=<ADMIN USERNAME>
#services.SecurityService.ldap.admin.password=<ADMIN PASSWORD>
#services.SecurityService.ldap.user.basesearch=<SEARCH PATTERN>
#services.SecurityService.ldap.user.search.filter=<SEARCH FILTER>
#services.SecurityService.ldap.dn.attribute=userPrincipalName
#services.SecurityService.ldap.provider=com.sun.jndi.ldap.LdapCtxFactory
# -------------------------------------------------------------------
#
# P O O L S E R V I C E
#
# -------------------------------------------------------------------
# Default capacity of pools of the Object pooling service.
#
# Default: 128
services.PoolService.pool.capacity = 128
# Class specific capacities used instead of the default if specified.
#
#services.PoolService.pool.capacity.org.apache.turbine.services.rundata.DefaultTurbineRunData=512
# -------------------------------------------------------------------
#
# F A C T O R Y S E R V I C E
#
# -------------------------------------------------------------------
# A comma separated list of classloaders (very optional)
#
# Example: org.foo.bar.MyClassLoader, org.ack.joe.YourClassLoader
#
#services.FactoryService.class.loaders=
# Default factory to use when no custom factory is specified.
#
# Example: org.foo.bar.DefaultFactory
#
#services.FactoryService.factory.default=
# Customized factories to be used instead of the default factory.
# E.g. to instantiate XML parsers, SSL sockets, etc., which require
# specific instantiation not supported by the default factory.
# The property name is prefixed with "factory" followed by the
# name of the production class. The value is the class name of
# the factory implementing the Factory interface. The factory
# will be instantiated by using the service itself.
#
# Examples:
#
#
services.FactoryService.factory.javax.xml.parsers.DocumentBuilder=org.foo.xml.DomBuilderFactory
#
services.FactoryService.factory.javax.xml.parsers.SAXParser=org.foo.xml.SaxParserFactory
#
services.FactoryService.factory.java.net.ServerSocket=org.foo.net.SslServerSocketFactory
1.1
jakarta-turbine-3/src/rttest/testapp/WEB-INF/conf/JspTRP.properties
Index: JspTRP.properties
===================================================================
# -------------------------------------------------------------------
# $Id: JspTRP.properties,v 1.1 2002/01/22 13:56:01 jvanzyl Exp $
#
# This is the configuration file for Turbine.
#
# Note that strings containing "," (comma) characters must backslash
# escape the comma (i.e. '\,')
#
# -------------------------------------------------------------------
# -------------------------------------------------------------------
#
# S Y S T E M P R O P E R T I E S
#
# -------------------------------------------------------------------
# Your mail server for outgoing email.
#
# Default: null
system.mail.host=
# SMTP-From header for your outgoing messages
#
# All failed delivery messages will be returned to this address.
# If unset, these messages will be sent to the address in the
# From header (standard behaviour)
#
# Default: null
system.mail.smtp.from=
# -------------------------------------------------------------------
#
# L O G G I N G
#
# -------------------------------------------------------------------
# We use Log4J for all Turbine logging and we embed the log4j
# properties within our application configuration.
#
# NOTE:
# The presence of ${applicationRoot} in the logging configuration
# is not a mistake. Internally the value of ${applicationRoot}
# is set so that you can use it with standard log4j
# properties to get logs to appear in your
# webapp space.
# -------------------------------------------------------------------
# This first category is required and the category
# must be named 'default'. This is used for all logging
# where an explicit category is not specified (when using the Log
# utility class). It should be set to write to the same appender
# as the org.apache.turbine category.
log4j.category.default = DEBUG, turbine
# This category is used by Turbine.
log4j.category.org.apache.turbine = DEBUG, turbine
log4j.appender.turbine = org.apache.log4j.FileAppender
log4j.appender.turbine.file = ${applicationRoot}/logs/turbine.log
log4j.appender.turbine.layout = org.apache.log4j.PatternLayout
log4j.appender.turbine.layout.conversionPattern = %d [%t] %-5p %c - %m%n
log4j.appender.turbine.append = false
# This category is used by Torque.
log4j.category.org.apache.torque = DEBUG, torque
log4j.appender.torque = org.apache.log4j.FileAppender
log4j.appender.torque.file = ${applicationRoot}/logs/torque.log
log4j.appender.torque.layout = org.apache.log4j.PatternLayout
log4j.appender.torque.layout.conversionPattern = %d [%t] %-5p %c - %m%n
log4j.appender.torque.append = false
# This category is used by Fulcrum the services framework.
log4j.category.org.apache.fulcrum = DEBUG, services
log4j.appender.services = org.apache.log4j.FileAppender
log4j.appender.services.file = ${applicationRoot}/logs/services.log
log4j.appender.services.layout = org.apache.log4j.PatternLayout
log4j.appender.services.layout.conversionPattern = %d [%t] %-5p %c - %m%n
log4j.appender.services.append = false
# Setup the db service to use the same appender as torque. Set this
# category to DEBUG to see generated sql queries
log4j.category.org.apache.fulcrum.db = DEBUG, torque
# -------------------------------------------------------------------
#
# M O D E
#
# -------------------------------------------------------------------
# If this turbine app will always be invoked from another application
# mode can be set to integrated which will cause Turbine to pass any
# errors up to the application that invoked Turbine. Under standalone
# operation, Turbine swallows the error after sending an error page
# as the response. If this Turbine application operates both as a
# normal webapp and can be invoked from another application, set the
# mode to standalone and see the Turbine servlet's javadoc for method
# to set the mode on a request basis.
#
# Possible values: standalone, integrated
# Default: standalone
# -------------------------------------------------------------------
turbine.mode = standalone
# -------------------------------------------------------------------
#
# R E S O L V E R
#
# -------------------------------------------------------------------
# This determines what resolver to use to find modules and templates.
# The DefaultResolver uses the ModuleLoader's algorithm (see below) to
# find modules
#
# Default: org.apache.turbine.pipeline.DefaultResolver
# -------------------------------------------------------------------
resolver.default = org.apache.turbine.pipeline.DefaultResolver
# -------------------------------------------------------------------
#
# M O D U L E P A C K A G E S
#
# -------------------------------------------------------------------
# This is the "classpath" for Turbine. In order to locate your own
# modules, you should add them to this path. For example, if you have
# com.company.actions, com.company.screens, com.company.navigations,
# then this setting would be "com.company,org.apache.turbine.modules".
# This path is searched in order. For example, Turbine comes with a
# screen module named "Login". If you wanted to have your own screen
# module named "Login", then you would specify the path to your
# modules before the others.
#
# Default: org.apache.turbine.modules
# -------------------------------------------------------------------
module.packages=org.mycompany.newapp.modules,org.apache.turbine.flux.modules
# These are the default modules to emulate the Turbine
# 2.1 page/layout/nav/screen system.
module.default.actions = actions.TemplateAction
module.default.layouts = Module
module.default.navigations = Module
module.default.screens = Module
# You can define any module type you wish here and
# they will be added to Turbine's module processing
# system. You must provide a default module!
#
# module.default.woogy = Boogie
# module.default.floogy = Moogie
# Turbine's default Pipeline implementation uses a (pluggable)
# descriptor to define which Valves it consists of.
pipeline.default = org.apache.turbine.pipeline.TurbinePipeline
pipeline.default.descriptor = conf/jsp-pipeline.xml
pipeline.default.targetModuleType = screens
template.default = /Default
template.default.extension = jsp
# -------------------------------------------------------------------
#
# F R A M E W O R K S E T T I N G S
#
# -------------------------------------------------------------------
# These are settings that control the behaviour of the framework,
# such as determining whether a template system is in use, what
# the default templates and screens are and session handling settings.
#
# Non-qualifed Java class names below located relative to the package
# names listed in the module.packages property.
# -------------------------------------------------------------------
# This is the template that is shown on an incorrect login attempt.
# Setting this property will override any value of screen.login specfied
# below.
#
# Default: Login.jsp
template.login=/Login.jsp
# Used to set the template homepage if you are using a template
# layout.
#
# Default: /Index.jsp
template.homepage=/Index.jsp
# This is the template that is used by the respective Template based
# ErrorScreen for displaying the error. If you are not using a Template based
# ErrorScreen, then this is ignored.
#
# Default: /{ViewType}Error.jsp
template.error=/Error.jsp
# This is the default action to log a user in.
action.login=LoginUser
# This is the default action to log a user out.
action.logout=LogoutUser
# This is the default action to validate whether or not a session is
# valid. For example, if you want to make sure if a user has already
# logged in or not.
#
# Default: SessionValidator
action.sessionvalidator=NullSessionValidator
# This is the timeout in seconds for sessions. If left commented out, the
# servlet container's default timeout will be left as is.
# session.timeout=1800
# This is the default action that builds up the AccessControlList for
# the individual users session.
action.accesscontroller=AccessController
# Set the default Doctype. The default Doctype can be set by using
# the single strings: Html40Strict, Html40Transitional, or
# Html40Frameset. Additionally the default can be supplied as two
# strings separated by a comma giving the DTD and URI.
#
# Default: ignored if not set to some value.
default.doctype=Html40Transitional
# -------------------------------------------------------------------
#
# M E S S A G E S
#
# -------------------------------------------------------------------
# Note that strings containing "," (comma) characters must backslash
# escape the comma (i.e. '\,')
# The message that can be displayed before a user logs in.
login.message=Thank you for your visit. Please log into the system.
# The message that can be displayed when no screen is defined.
login.message.noscreen=There has been an error. Your session is valid but the screen
variable is not defined.
# The message that can be displayed when a user enters an incorrect
# password or username.
login.error=Sorry your username or password is incorrect!
# The message that can be displayed when a user logs out.
logout.message=Thank you for using the system. Please come back soon.
# -------------------------------------------------------------------
#
# T U R B I N E S E R V I C E S
#
# -------------------------------------------------------------------
services.RunDataService.classname=org.apache.turbine.services.rundata.TurbineRunDataService
services.PullService.classname=org.apache.turbine.services.pull.TurbinePullService
## Needed by the RunData Service
services.MimeTypeService.classname=org.apache.fulcrum.mimetype.TurbineMimeTypeService
# -------------------------------------------------------------------
#
# P U L L S E R V I C E
#
# -------------------------------------------------------------------
# These are the properties for the Pull Service, the service
# that works in conjuction with the Turbine Pull Model API.
# -------------------------------------------------------------------
# This determines whether the non-request tools are refreshed
# on each request (request tools aren't ever, because they're
# instantiated for the request only anyway).
services.PullService.toolsPerRequestRefresh=true
# These are tools that are placed in the context by the service
# These tools will be made available to all your
# templates. You list the tools in the following way:
#
# services.PullService.tool.<scope>.<id> = <classname>
#
# <scope> is the tool scope: global, request, session
# or persistent (see below for more details)
# <id> is the name of the tool in the context
#
# You can configure the tools in this way:
# services.PullService.tool.<id>.<parameter> = <value>
#
# So if you find "global", "request", "session" or "persistent" as second
# part, it is a configuration to put a tool into the toolbox, else it is a
# tool specific configuration.
#
# For example:
#
# services.PullService.tool.global.ui = org.apache.turbine.util.pull.UIManager
# services.PullService.tool.global.mm = org.apache.turbine.util.pull.MessageManager
# services.PullService.tool.request.link =
org.apache.turbine.util.template.TemplateLink
# services.PullService.tool.request.page =
org.apache.turbine.util.template.TemplatePageAttributes
#
# Then:
#
# tool.ui.skin = default
#
# configures the value of "skin" for the "ui" tool.
#
# Tools are accessible in all templates by the <id> given
# to the tool. So for the above listings the UIManager would
# be available as $ui, the MessageManager as $mm, the TemplateLink
# as $link and the TemplatePageAttributes as $page.
#
# You should avoid using tool names called "global", "request",
# "session" or "persistent" because of clashes with the possible Scopes.
#
# Scopes:
#
# global: tool is instantiated once and that instance is available
# to all templates for all requests. Tool must be threadsafe.
#
# request: tool is instantiated once for each request (although the
# PoolService is used to recycle instances). Tool need not
# be threadsafe.
#
# session: tool is instantiated once for each user session, and is
# stored in the user's temporary hashtable. Tool should be
# threadsafe.
#
# persistent: tool is instantitated once for each use session, and
# is stored in the user's permanent hashtable. This means
# for a logged in user the tool will be persisted in the
# user's objectdata. Tool should be threadsafe and
# Serializable.
#
# Defaults: none
services.PullService.tool.request.link=org.apache.turbine.tool.TemplateLink
services.PullService.tool.request.page=org.apache.turbine.tool.TemplatePageAttributes
services.PullService.tool.request.content=org.apache.turbine.tool.ContentURI
services.PullService.tool.request.l10n=org.apache.turbine.tool.LocalizationTool
# These are intake tools.
#services.PullService.tool.request.om=org.apache.turbine.tool.OMTool
#services.PullService.tool.request.intake=org.apache.turbine.tool.IntakeTool
services.PullService.tool.global.ui=org.apache.turbine.tool.UIManager
services.PullService.earlyInit = true
# The UI Manager will allow you to skin your Turbine
# application using simple properties files that are
# located in the WEBAPP/resources/ui/skins/ directory
# hierarchy.
#This is a remain thorn in our side. How to provide properties
#for pull tools elegantly. This is not good.
tool.ui.skin=default
# -------------------------------------------------------------------
#
# R U N D A T A S E R V I C E
#
# -------------------------------------------------------------------
# Default implementations of base interfaces for request processing.
# Additional configurations can be defined by using other keys
# in the place of the <default> key.
# -------------------------------------------------------------------
services.RunDataService.default.run.data=org.apache.turbine.services.rundata.DefaultTurbineRunData
services.RunDataService.default.parameter.parser=org.apache.turbine.ParameterParser
services.RunDataService.default.cookie.parser=org.apache.fulcrum.util.parser.DefaultCookieParser
## Needed by DefaultTurbineRunData
locale.default.language=en
locale.default.country=US
locale.default.charset=8859_1
# -------------------------------------------------------------------
#
# S E C U R E S O C K E T S L A Y E R
#
# -------------------------------------------------------------------
# Whether the web server is able to use SSL. Links in Turbine can
# check this property to determine if SSL can be used.
#
# Default: true
# -------------------------------------------------------------------
use.ssl=true
#--------------------------------------------------------------------
#
# P A R A M E T E R P A R S E R
#
#--------------------------------------------------------------------
#
# This variable controls the case folding applied to URL variable
# names.
#
# Allowed values: none, lower, upper
# Default: lower
#
url.case.folding=lower
# -------------------------------------------------------------------
#
# F U L C R U M C O N F I G U R A T I O N
#
# -------------------------------------------------------------------
include = Fulcrum.properties
# -------------------------------------------------------------------
#
# A D D I T I O N A L P R O P E R T I E S
#
# -------------------------------------------------------------------
# The full path name to an additional properties file. Properties in
# this file will be included in this property set. Duplicate name
# values will be replaced, so be careful.
#
# Default: none
# -------------------------------------------------------------------
include = Flux.properties
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>