Could this be invalid or missing database info?  I find this often gives an 
error that the dbconnection is null.

WILL

Quoting John McNally <[EMAIL PROTECTED]>:

> Sorry, I don't see the problem.
> 
> john mcnally
> 
> On Thu, 2002-05-23 at 04:16, Fabio Daprile wrote:
> > Hello John,
> > 
> > here the torque properties. the jar is torque 3.0 b1.
> > 
> > #
> -------------------------------------------------------------------
> > # $Id: Torque.master,v 1.1 2002/02/13 14:21:08 mpoeschl Exp $
> > #
> > # This is the configuration file for Torque.
> > #
> > # Note that strings containing "," (comma) characters must backslash
> > # escape the comma (i.e. '\,')
> > #
> > #
> -------------------------------------------------------------------
> > 
> > torque.applicationRoot = .
> > 
> > #
> -------------------------------------------------------------------
> > #
> > #  L O G G I N G
> > #
> > #
> -------------------------------------------------------------------
> > # We use Log4J for all Torque logging and we embed the log4j
> > # properties within our application configuration.
> > #
> -------------------------------------------------------------------
> > 
> > # 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.
> > 
> > log4j.category.org.apache.torque = ALL, org.apache.torque
> > log4j.appender.org.apache.torque = org.apache.log4j.FileAppender
> > log4j.appender.org.apache.torque.file = 
> > ${torque.applicationRoot}/logs/torque.log
> > log4j.appender.org.apache.torque.layout =
> org.apache.log4j.PatternLayout
> > log4j.appender.org.apache.torque.layout.conversionPattern = %d [%t]
> %-5p 
> > %c - %m%n
> > log4j.appender.org.apache.torque.append = false
> > 
> > #
> -------------------------------------------------------------------
> > #
> > #  T O R Q U E  P R O P E R T I E S
> > #
> > #
> -------------------------------------------------------------------
> > # These are your database settings. Look in the
> > # org.apache.torque.pool.* packages for more information.
> > #
> > # The parameters to connect to the default database.  You MUST
> > # configure these properly.
> > #
> -------------------------------------------------------------------
> > 
> > torque.database.default=bugtrack
> > 
> > torque.database.bugtrack.driver = org.gjt.mm.mysql.Driver
> > torque.database.bugtrack.url = 
> > jdbc:mysql://cvsbolzano.it.wuerth.com:3306/bugtrack
> > torque.database.bugtrack.username = mysql
> > torque.database.bugtrack.password = 1234
> > 
> > # The number of database connections to cache per ConnectionPool
> > # instance (specified per database).
> > 
> > torque.database.default.maxConnections=80
> > 
> > # The amount of time (in milliseconds) that database connections will
> be
> > # cached (specified per database).
> > #
> > # Default: one hour = 60 * 60 * 1000
> > 
> > torque.database.default.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
> > 
> > torque.database.connectionWaitTimeout=10000
> > 
> > # The interval (in milliseconds) between which the PoolBrokerService
> logs
> > # the status of it's ConnectionPools.
> > #
> > # Default: No logging = 0 = 0 * 1000
> > 
> > torque.database.logInterval=0
> > 
> > # Determines if the quantity column of the IDBroker's id_table
> should
> > # be increased automatically if requests for ids reaches a high
> > # volume.
> > 
> > torque.idbroker.cleverquantity=true
> > 
> > 
> > 
> > John McNally wrote:
> > 
> > >which version of torque are you using?  hopefully not HEAD pulled
> > >yesterday.  Where are your torque properties?
> > >
> > >john mcnally
> > >
> > >On Wed, 2002-05-22 at 08:09, Fabio Daprile wrote:
> > >
> > >>Hello gentlemen,
> > >>
> > >>i have a problem with TDK 2.2 and Fulcrum.
> > >>I've made a porting of an application that was developed with TDK
> 2.1 to 
> > >>TDK 2.2.
> > >>I'm using the Turbine 2.2 b2-dev jar.
> > >>
> > >>After the porting, i've regenerated the peers, changed all the
> imports 
> > >>for torque.
> > >>I cannot yet understand if i use the decoupled torque.
> > >>What is sure now is that all the peers classes heve the torque
> imports 
> > >>instead of the old peers that had
> > >>all turbine imports.
> > >>
> > >>I don't know if this is the meaning of decoupled.
> > >>
> > >>Everything was working correctly, until i've tried to configure and
> 
> > >>start the scheduler.
> > >>The scheduler is really important for us. It runs batch processes
> that 
> > >>need to run during the night and prepare the work for the next
> morning.
> > >>So now we cannot work!!
> > >>
> > >>I've got an exception that is listed hereafter.
> > >>Following the exception there is my turbine resources file.
> > >>
> > >>HERE THE EXCEPTION I GOT:
> > >>
> > >>java.sql.SQLException: Connection object is null!
> > >>    at org.apache.torque.pool.DBConnection.getConnection(Unknown
> Source)
> > >>    at org.apache.torque.util.BasePeer.executeQuery(Unknown
> Source)
> > >>    at org.apache.torque.util.BasePeer.executeQuery(Unknown
> Source)
> > >>    at org.apache.torque.util.BasePeer.executeQuery(Unknown
> Source)
> > >>    at org.apache.torque.util.BasePeer.doSelect(Unknown Source)
> > >>    at 
> >
> >>org.apache.fulcrum.schedule.BaseJobEntryPeer.doSelectVillageRecords(Unknown
> 
> > >>Source)
> > >>    at 
> >
> >>org.apache.fulcrum.schedule.BaseJobEntryPeer.doSelectVillageRecords(Unknown
> 
> > >>Source)
> > >>    at org.apache.fulcrum.schedule.BaseJobEntryPeer.doSelect(Unknown
> Source)
> > >>    at 
> >
> 
>>com.wuerth.phoenix.bugtrack.modules.screens.ConfigureScheduler.doBuildTemplate
(ConfigureScheduler.java:109)
> > >>    at 
> >
> >>org.apache.turbine.modules.screens.VelocitySecureScreen.doBuildTemplate
(VelocitySecureScreen.java:103)
> > >>    at 
> >
> >>org.apache.turbine.modules.screens.TemplateScreen.doBuild
(TemplateScreen.java:129)
> > >>    at org.apache.turbine.modules.Screen.build(Screen.java:99)
> > >>    at
> org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:129)
> > >>    at 
> >
> >>org.apache.turbine.modules.layouts.VelocityECSLayout.doBuild
(VelocityECSLayout.java:102)
> > >>    at org.apache.turbine.modules.Layout.build(Layout.java:91)
> > >>    at
> org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123)
> > >>    at 
> >
> >>org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:169)
> > >>    at org.apache.turbine.modules.Page.build(Page.java:90)
> > >>    at
> org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
> > >>    at org.apache.turbine.Turbine.doGet(Turbine.java:510)
> > >>    at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> > >>    at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >>    at 
> >
> >>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:247)
> > >>    at 
> >
> >>org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:193)
> > >>    at 
> >
> >>org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:243)
> > >>    at 
> >
> >>org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
> > >>    at 
> >
> >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> > >>    at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > >>    at 
> >
> >>org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:190)
> > >>    at 
> >
> >>org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
> > >>    at 
> >
> >>org.apache.catalina.authenticator.AuthenticatorBase.invoke
(AuthenticatorBase.java:475)
> > >>    at 
> >
> >>org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
> > >>    at 
> >
> >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> > >>    at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > >>    at 
> >
> >>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
> > >>    at 
> >
> >>org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:180)
> > >>    at 
> >
> >>org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
> > >>    at 
> >
> >>org.apache.catalina.valves.ErrorDispatcherValve.invoke
(ErrorDispatcherValve.java:170)
> > >>    at 
> >
> >>org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
> > >>    at 
> >
> >>org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:170)
> > >>    at 
> >
> >>org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
> > >>    at 
> >
> >>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
> > >>    at 
> >
> >>org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
> > >>    at 
> >
> >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> > >>    at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > >>    at 
> >
> >>org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:174)
> > >>    at 
> >
> >>org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
> > >>    at 
> >
> >>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> > >>    at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > >>    at 
> >
> >>org.apache.catalina.connector.http.HttpProcessor.process
(HttpProcessor.java:1017)
> > >>    at 
> >
> >>org.apache.catalina.connector.http.HttpProcessor.run
(HttpProcessor.java:1115)
> > >>    at java.lang.Thread.run(Thread.java:484)
> > >>
> > >>
> > >>AND HERE MY CLASS:
> > >>
> > >>
> > >>package com.wuerth.phoenix.bugtrack.modules.screens;
> > >>
> > >>//java stuff
> > >>import java.util.*;
> > >>import java.text.SimpleDateFormat;
> > >>import javax.servlet.http.HttpSession;
> > >>
> > >>//turbine stuff
> > >>import org.apache.turbine.modules.screens.VelocityScreen;
> > >>import org.apache.turbine.util.RunData;
> > >>import org.apache.velocity.context.Context;
> > >>import org.apache.turbine.util.ParameterParser;
> > >>import org.apache.torque.util.Criteria;
> > >>import org.apache.fulcrum.schedule.JobEntryPeer;
> > >>import org.apache.fulcrum.schedule.JobEntry;
> > >>
> > >>//bugtrack stuff
> > >>import com.wuerth.phoenix.bugtrack.modules.utilclasses.IdFactory;
> > >>import com.wuerth.phoenix.bugtrack.om.*;
> > >>import
> com.wuerth.phoenix.bugtrack.modules.utilclasses.CheckPermissions;
> > >>
> > >>/**
> > >> * Title:        Bug tracking system
> > >> * Description:  Development of a Bug Tracking and Enhancement
> request 
> > >>system
> > >> * Copyright:    Copyright (c) 2001
> > >> * Company:
> > >> * @author Fabio Daprile
> > >> * @version 1.0
> > >> */
> > >>
> > >>public class ConfigureScheduler extends SecureScreen
> > >>{
> > >>    /**
> > >>     * Place all the data object in the context
> > >>     * for use in the template.
> > >>     */
> > >>    public void doBuildTemplate( RunData data, Context context )
> > >>    {
> > >>        Criteria _criteria = null;
> > >>        Criteria.Criterion _criterion1 = null;
> > >>        Criteria.Criterion _criterion2 = null;
> > >>        Criteria.Criterion _criterion3 = null;
> > >>
> > >>        SimpleDateFormat _sdfExtended;
> > >>        SimpleDateFormat _sdf;
> > >>
> > >>        Vector _schedulerParams = null;
> > >>
> > >>        Users _user;
> > >>
> > >>        CheckPermissions _ckperm = new CheckPermissions();
> > >>
> > >>        ParameterParser _formParams;
> > >>        HttpSession _session;
> > >>
> > >>        if (super.isLoggedIn(data))
> > >>        {
> > >>          _formParams = data.getParameters();
> > >>          _session = data.getSession();
> > >>
> > >>          _sdfExtended = new SimpleDateFormat ("EEE MM-dd-yyyy
> hh.mm.ss 
> > >>aaa", Locale.US);
> > >>          _sdf = new SimpleDateFormat ("EEE MM-dd-yyyy",
> Locale.US);
> > >>
> > >>          context.put("Format", _sdf);
> > >>          context.put("ExtFormat", _sdfExtended);
> > >>
> > >>          _user = (Users)(_session.getAttribute("myUser")); // get
> 
> > >>attributes of user and ACL
> > >>          context.put("User", _user);
> > >>
> > >>          context.put("TopQueues", getEntries(_user));
> > >>
> > >>          if (_formParams.getString("Mode").equals("save"))
> > >>          {
> > >>            try
> > >>            {
> > >>              if (!_ckperm.checkPermission(_user, null, null, 
> > >>"AdminScheduler"))
> > >>              {
> > >>                _formParams.add("Message","You are not allowed to
> enter 
> > >>the scheduler section!");
> > >>                this.doRedirect(data, "ErrorTemplate.vm");
> > >>              }
> > >>
> > >>              context.put("Messages", this.saveSchedulerConfig(data,
> 
> > >>context));
> > >>            }
> > >>            catch (Exception e)
> > >>            {
> > >>              e.printStackTrace();
> > >>            }
> > >>          }
> > >>
> > >>          if (!_ckperm.checkPermission(_user, null, null,
> "AdminScheduler"))
> > >>          {
> > >>            _formParams.add("Message","You are not allowed to enter
> the 
> > >>scheduler section!");
> > >>            try
> > >>            {
> > >>              this.doRedirect(data, "ErrorTemplate.vm");
> > >>            }
> > >>            catch(Exception e)
> > >>            {
> > >>              e.printStackTrace();
> > >>            }
> > >>          }
> > >>
> > >>          _criteria = new Criteria();
> > >>          _criterion1 =
> _criteria.getNewCriterion(JobEntryPeer.JOB_ID,
> > >>                                                 new Integer(0),
> > >>                                                 
> Criteria.GREATER_THAN);
> > >>          try
> > >>          {
> > >>            _schedulerParams = JobEntryPeer.doSelect(_criteria);
> > >>          }
> > >>          catch(Exception e)
> > >>          {
> > >>            e.printStackTrace();
> > >>          }
> > >>
> > >>          context.put("SchedParams", _schedulerParams);
> > >>        }
> > >>        else
> > >>        {
> > >>          setTemplate(data,"Login.vm");
> > >>        }
> > >>    }
> > >>
> > >>and here the TResources.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.ResourceService.classname=org.apache.turbine.services.resources.Turbi
neResourceService
> >
> 
>>services.LoggingService.classname=org.apache.turbine.services.logging.TurbineL
oggingService
> >
> 
>>services.FactoryService.classname=org.apache.turbine.services.factory.TurbineF
actoryService
> >
> 
>>services.PoolService.classname=org.apache.turbine.services.pool.TurbinePoolSer
vice
> >
> 
>>services.RunDataService.classname=org.apache.turbine.services.rundata.TurbineR
unDataService
> >
> 
>>services.ServletService.classname=org.apache.turbine.services.servlet.TurbineS
ervletService
> >
> 
>>services.AssemblerBrokerService.classname=org.apache.turbine.services.assemble
rbroker.TurbineAssemblerBrokerService
> >
> 
>>services.LocalizationService.classname=org.apache.turbine.services.localizatio
n.TurbineLocalizationService
> >
> 
>>services.MimeTypeService.classname=org.apache.turbine.services.mimetype.Turbin
eMimeTypeService
> >
> 
>>services.GlobalCacheService.classname=org.apache.turbine.services.cache.Turbin
eGlobalCacheService
> >
> 
>>services.SchedulerService.classname=org.apache.fulcrum.schedule.TurbineSchedul
erService
> >
> 
>>services.XmlRpcService.classname=org.apache.turbine.services.xmlrpc.TurbineXml
RpcService
> >
> 
>>services.UniqueIdService.classname=org.apache.turbine.services.uniqueid.Turbin
eUniqueIdService
> >
> 
>>services.UploadService.classname=org.apache.turbine.services.upload.TurbineUpl
oadService
> >
> 
>>services.SecurityService.classname=org.apache.turbine.services.security.db.DBS
ecurityService
> >
> 
>>services.PoolBrokerService.classname=org.apache.turbine.services.db.TurbinePoo
lBrokerService
> >
> 
>>services.MapBrokerService.classname=org.apache.turbine.services.db.TurbineMapB
rokerService
> >
> 
>>services.PullService.classname=org.apache.turbine.services.pull.TurbinePullSer
vice
> >
> 
>>#services.IntakeService.classname=org.apache.turbine.services.intake.TurbineIn
takeService
> >
> 
>>services.TemplateService.classname=org.apache.turbine.services.template.Turbin
eTemplateService
> >
> 
>>services.XSLTService.classname=org.apache.turbine.services.xslt.TurbineXSLTSer
vice
> > >>
> > >># Turn on the appropriate template service.
> >
> 
>>services.VelocityService.classname=org.apache.turbine.services.velocity.Turbin
eVelocityService
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  P O O L / M A P  B R O K E R
> > >>#
> > >>#
> -------------------------------------------------------------------
> > >># Default value: default
> > >>#
> -------------------------------------------------------------------
> > >>
> > >>services.PoolBrokerService.defaultPool = bugtrack
> > >>services.MapBrokerService.defaultMap = bugtrack
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  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.D
efaultTurbineRunData
> >
> 
>>services.RunDataService.default.parameter.parser=org.apache.turbine.util.parse
r.DefaultParameterParser
> >
> 
>>services.RunDataService.default.cookie.parser=org.apache.turbine.util.parser.D
efaultCookieParser
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  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.cache.check.frequency = 5000
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  A S S E M B L E R  B R O K E R  S E R V I C E
> > >>#
> > >>#
> -------------------------------------------------------------------
> > >># A list of AssemblerFactory classes that will be registered
> > >># with TurbineAssemblerBrokerService
> > >>#
> -------------------------------------------------------------------
> > >>
> >
> 
>>services.AssemblerBrokerService.screen=org.apache.turbine.services.assemblerbr
oker.util.java.JavaScreenFactory
> >
> 
>>#services.AssemblerBrokerService.screen=org.apache.turbine.services.assemblerb
roker.util.python.PythonScreenFactory
> >
> 
>>services.AssemblerBrokerService.action=org.apache.turbine.services.assemblerbr
oker.util.java.JavaActionFactory
> >
> 
>>services.AssemblerBrokerService.layout=org.apache.turbine.services.assemblerbr
oker.util.java.JavaLayoutFactory
> >
> 
>>services.AssemblerBrokerService.page=org.apache.turbine.services.assemblerbrok
er.util.java.JavaPageFactory
> >
> 
>>services.AssemblerBrokerService.navigation=org.apache.turbine.services.assembl
erbroker.util.java.JavaNavigationFactory
> >
> 
>>services.AssemblerBrokerService.scheduledjob=org.apache.turbine.services.assem
blerbroker.util.java.JavaScheduledJobFactory
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  T E M P L A T E  S E R V I C E
> > >>#
> > >>#
> -------------------------------------------------------------------
> > >>
> > >># Roughly, the number of templates in each category.
> > >>#
> > >># Defaults: layout=2, navigation=10, screen=50
> > >>
> > >>services.TemplateService.layout.cache.size=2
> > >>services.TemplateService.navigation.cache.size=10
> > >>services.TemplateService.screen.cache.size=50
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  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.tools.per.request.refresh=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:
> > >>#
> > >># 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:
> > >># 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:
> > >>#
> > >># tool.global.ui    = org.apache.turbine.util.pull.UIManager
> > >># tool.global.mm    = org.apache.turbine.util.pull.MessageManager
> > >># tool.request.link =
> org.apache.turbine.util.template.TemplateLink
> > >># 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
> > >>
> > >>tool.request.link=org.apache.turbine.util.template.TemplateLink
> >
> >>tool.request.page=org.apache.turbine.util.template.TemplatePageAttributes
> > >>tool.request.content=org.apache.turbine.util.ContentURI
> >
> >>tool.request.l10n=org.apache.turbine.services.localization.LocalizationTool
> > >>tool.request.flux=org.apache.turbine.flux.tools.FluxTool
> > >>
> > >># These are intake tools.
> > >>#tool.request.om=org.apache.turbine.om.OMTool
> > >>#tool.request.intake=org.apache.turbine.services.intake.IntakeTool
> > >>
> > >>tool.global.ui=org.apache.turbine.services.pull.util.UIManager
> > >>
> > >># 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.
> > >>
> > >>tool.ui.skin=default
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  V E L O C I T Y  S E R V I C E
> > >>#
> > >>#
> -------------------------------------------------------------------
> > >>
> > >># The location of Velocity configuration file, relative to webapp
> root
> > >># These properties will override the default properties set by
> Velocity.
> > >># You should specify the path to the templates directories as well
> as
> > >># the path to the log file and they should also be relative to
> webapp root
> > >>
> > >>services.VelocityService.template.extension=vm
> > >>services.VelocityService.default.page = VelocityPage
> > >>services.VelocityService.default.screen=VelocityScreen
> > >>services.VelocityService.default.layout = VelocityECSLayout
> > >>services.VelocityService.default.navigation=VelocityNavigation
> > >>services.VelocityService.default.error.screen =
> VelocityErrorScreen
> > >>services.VelocityService.default.layout.template = /Default.vm
> > >>
> > >>services.VelocityService.runtime.log=/logs/velocity.log
> > >>#services.VelocityService.input.encoding=UTF-8
> > >>services.VelocityService.velocimacro.library = GlobalMacros.vm
> > >>
> > >>services.VelocityService.resource.loader = file
> > >>services.VelocityService.file.resource.loader.description = Velocity
> 
> > >>File Resource Loader
> > >>services.VelocityService.file.resource.loader.class = 
> > >>org.apache.velocity.runtime.resource.loader.FileResourceLoader
> > >>services.VelocityService.file.resource.loader.path = 
> > >>/templates/app,/templates/flux
> > >>services.VelocityService.file.resource.loader.cache = false
> >
> >>services.VelocityService.file.resource.loader.modificationCheckInterval
> = 2
> > >>
> > >>services.VelocityService.resource.loader = classpath
> > >>services.VelocityService.classpath.resource.loader.description = 
> > >>Velocity Classpath Resource Loader
> > >>services.VelocityService.classpath.resource.loader.class = 
> >
> >>org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  J S P  S E R V I C E
> > >>#
> > >>#
> -------------------------------------------------------------------
> > >>
> > >>services.JspService.template.extension=jsp
> > >>services.JspService.default.page = JspPage
> > >>services.JspService.default.screen=BaseJspScreen
> > >>services.JspService.default.layout = JspLayout
> > >>services.JspService.default.navigation=BaseJspNavigation
> > >>services.JspService.default.error.screen = JspErrorScreen
> > >>services.JspService.default.layout.template = /Default.jsp
> > >>
> > >>services.JspService.templates = /templates/app,/templates/flux
> > >>services.JspService.buffer.size = 8192
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  W E B M A C R O  S E R V I C E
> > >>#
> > >># the webmacro-service is deprecated. you should use velocity
> instead!
> > >># see http://jakarta.apache.org/velocity/migration.html
> > >>#
> > >>#
> -------------------------------------------------------------------
> > >>
> > >>services.WebMacroService.template.extension=wm
> > >>services.WebMacroService.default.page = WebMacroSitePage
> > >>services.WebMacroService.default.screen=WebMacroSiteScreen
> > >>services.WebMacroService.default.layout = WebMacroSiteLayout
> > >>services.WebMacroService.default.navigation=WebMacroSiteNavigation
> > >>services.WebMacroService.default.error.screen =
> WebMacroSiteErrorScreen
> > >>services.WebMacroService.default.layout.template = /Default.wm
> > >>
> > >># The location of WebMacro configuration file, relative to webapp
> > >># root.
> > >>
> >
> >>services.WebMacroService.properties=/WEB-INF/conf/WebMacro.properties
> > >>
> > >># The path where WebMacro will look for templates, relative to
> webapp
> > >># root.  Use your system's path separator to specify multiple
> paths.
> > >>
> > >>services.WebMacroService.templates=/templates/app,/templates/flux
> > >>
> > >># The class that will act as a template provider in webmacro.  We
> can
> > >># use default class from WebMacro (template path above is pushed
> into
> > >># WebMacro configuration mechanism, so that class can pick it up),
> or
> > >># some other custom class
> > >>
> >
> 
>>services.WebMacroService.templates.provider=org.apache.turbine.services.webmac
ro.TurbineTemplateProvider
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  F R E E M A R K E R  S E R V I C E
> > >>#
> > >># the freemarker-service is deprecated. you should use velocity
> instead!
> > >># see http://jakarta.apache.org/velocity
> > >>#
> -------------------------------------------------------------------
> > >>
> > >># The path where FreeMarker will look for templates, relative to
> > >># webapp root, if supported by the servlet engine.
> > >>#
> > >># Default: /templates
> > >>
> > >>services.FreeMarkerService.templates=/templates
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  U P L O A D  S E R V I C E
> > >>#
> > >>#
> -------------------------------------------------------------------
> > >>
> > >># Whether the files should be automatically picked up by
> > >># ParameterParser.
> > >>
> > >>services.UploadService.automatic=true
> > >>
> > >>#
> > >># The directory where files will be temporarily stored.
> > >>#
> > >>services.UploadService.repository=.
> > >>
> > >>#
> > >># The maximum size of a request that will be processed.
> > >>#
> > >>services.UploadService.size.max=1048576
> > >>
> > >>#
> > >># The maximum size of a request that will have it's elements cached
> in
> > >># memory by TurbineUploadService class.
> > >>#
> > >>services.UploadService.size.threshold=10240
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  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.
> > >>#
> > >>locale.default.bundle=MyBundle
> > >>locale.default.language=en
> > >>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.
> > >>#
> > >># locale.default.charset=ISO-8859-1
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  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 C H E D U L E R  S E R V I C E
> > >>#
> > >>#
> -------------------------------------------------------------------
> > >>
> > >>#
> > >># Set enabled to true to start the scheduler.
> > >>#
> > >># Default = false
> > >>#
> > >>scheduler.enabled=true
> > >>
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  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.turbine.om.security.TurbineUser
> > >>#
> > >>
> >
> 
>>services.SecurityService.user.class=org.apache.turbine.om.security.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.
> > >>#
> > >># Defalut: org.apache.turbine.om.security.peer.TurbineUserPeer
> > >>#
> >
> 
>>services.SecurityService.userPeer.class=org.apache.turbine.om.security.peer.Tu
rbineUserPeer
> > >>
> > >>#
> > >># This is the class that implements UserManager interface.
> > >># Override this setting if you want your User information stored
> > >># on a different medium (LDAP directory is a good example).
> > >># Default implementation uses Peers and a relational database .
> > >>#
> > >>
> >
> 
>>services.SecurityService.user.manager=org.apache.turbine.services.security.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
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  X M L R P C  S E R V I C E
> > >>#
> > >>#
> -------------------------------------------------------------------
> > >># This property specifies which class should be used to parse
> > >># xml for XmlRpc functionality.
> > >>#
> > >># Default: org.apache.xerces.parsers.SAXParser
> > >>
> > >>services.XmlRpcService.parser=org.apache.xerces.parsers.SAXParser
> > >>
> > >># This property specifies which port the server part of the XmlRpc
> > >># should listen, if it is active.
> > >>#
> > >># Default: 12345
> > >>
> > >>services.XmlRpcService.port=12345
> > >>
> > >># If any classes are specified here, the Service will create an
> > >># instance of them here and start up a listener on the specified
> > >># port.
> > >>#
> > >># Note that the handlers demonstrated are not very useful.  You
> > >># will have to invent your own services.  They do however
> > >># illustrate that any class with a default constructor can be
> > >># added here
> > >>#
> > >># The handler parameter without further extension determines
> > >># the default handler for the service
> > >>#
> > >># Default: no classes are specified by default
> > >>
> > >>#services.XmlRpcService.handler.$default=java.util.Hashtable
> > >>#services.XmlRpcService.handler.stringhandler=java.lang.String
> > >>
> > >># The following properties allow the transfer of data between
> > >># separate Turbine applications running on different servers.
> > >># This allows B2B type behavior such as sending database
> > >># updates in the form of XML or whatever type of data
> > >># that needs to be shared between Turbine applications
> > >># running on separate servers.
> > >>
> > >>services.XmlRpcService.handler.file = 
> > >>org.apache.turbine.services.xmlrpc.util.FileHandler
> > >>services.XmlRpcService.paranoid = false
> > >>services.XmlRpcService.acceptClient = 192.168.1.*
> > >>services.XmlRpcService.denyClient =
> > >>
> > >># Do we want a secure server
> > >>
> > >>services.XmlRpcService.secure.server = false
> > >>
> > >># Secure server options
> > >>
> >
> >>services.XmlRpcService.secure.server.option.java.protocol.handler.pkgs
> = \
> > >>    com.sun.net.ssl.internal.www.protocol
> > >>
> > >>services.XmlRpcService.secure.server.option.security.provider = \
> > >>    com.sun.net.ssl.internal.ssl.Provider
> > >>
> > >>services.XmlRpcService.secure.server.option.security.protocol =
> TLS
> > >>
> > >># You probably want to keep your key stores and trust stores
> > >># clear out of your webapp.
> > >>
> > >>services.XmlRpcService.secure.server.option.javax.net.ssl.keyStore =
> 
> > >>/tmp/keystore
> >
> >>services.XmlRpcService.secure.server.option.javax.net.ssl.keyStoreType
> = jks
> >
> >>services.XmlRpcService.secure.server.option.javax.net.ssl.keyStorePassword
> 
> > >>= password
> > >>services.XmlRpcService.secure.server.option.javax.net.ssl.trustStore
> = 
> > >>/tmp/truststore
> >
> >>services.XmlRpcService.secure.server.option.javax.net.ssl.trustStoreType
> 
> > >>= jks
> >
> >>services.XmlRpcService.secure.server.option.javax.net.ssl.trustStorePassword
> 
> > >>= password
> > >>
> > >>services.XmlRpcService.secure.server.option.sun.ssl.keymanager.type
> = 
> > >>SunX509
> >
> >>services.XmlRpcService.secure.server.option.sun.ssl.trust.manager.type
> = 
> > >>SunX509
> > >>
> > >># These values should be set to 'all' for debugging purposes.
> > >>
> > >>services.XmlRpcService.secure.server.option.javax.net.debug = none
> > >>services.XmlRpcService.secure.server.option.java.security.debug =
> none
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  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 = 256
> > >>
> > >># Class specific capacities used instead of the default if
> specified.
> > >>#
> >
> 
>>#services.PoolService.pool.capacity.org.apache.turbine.services.rundata.Defaul
tTurbineRunData=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=
> > >>
> > >># 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.SaxPar
serFactory
> > >># 
> >
> 
>>services.FactoryService.factory.java.net.ServerSocket=org.foo.net.SslServerSoc
ketFactory
> > >>
> >
> >>#--------------------------------------------------------------------
> > >>#
> > >># X S L T  S E R V I C E
> > >>#
> >
> >>#--------------------------------------------------------------------
> > >>
> > >>services.XSLTService.path = /path/to/stylesheets
> > >>services.XSLTService.cache = false
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  I N T A K E   S E R V I C E
> > >>#
> > >>#
> -------------------------------------------------------------------
> > >>
> > >># The location of the xml file specifying valid inputs
> > >>#
> > >># Example: org.foo.bar.MyClassLoader, org.ack.joe.YourClassLoader
> > >>#
> > >>services.IntakeService.xml.path=WEB-INF/conf/intake.xml
> > >>
> >
> >>#--------------------------------------------------------------------
> > >>#
> > >># 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
> > >>
> > >>#
> -------------------------------------------------------------------
> > >>#
> > >>#  C O M P O N E N T S
> > >>#
> > >>#
> -------------------------------------------------------------------
> > >># Components implementing the lifecycle interfaces can be loaded,
> > >># configured and initialized by Turbine
> > >>#
> -------------------------------------------------------------------
> > >>
> > >>component.name = torque
> > >>component.torque.classname = org.apache.torque.Torque
> > >>component.torque.config =
> ${webappRoot}/WEB-INF/conf/Torque.properties
> > >>
> > >>component.name = fulcrum
> > >>component.fulcrum.classname = org.apache.fulcrum.Fulcrum
> > >>component.fulcrum.config =
> ${webappRoot}/WEB-INF/conf/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
> > >>
> > >>-- 
> > >>
> > >>-- 
> > >>Fabio Daprile
> > >>
> > >>W�rth-Phoenix Srl
> > >>Via Kravogl 4, I-39100 Bolzano
> > >>Tel: +39 0471/564111 - (direct 564070)
> > >>Fax: +39 0471/564122
> > >>
> > >>mailto:[EMAIL PROTECTED]
> > >>http://www.wuerth-phoenix.com
> > >>http://www.wuerth.com
> > >>
> > >>
> > >>
> > >>
> > >>--
> > >>To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> > >>For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > >>
> > >>
> > >
> > >
> > >
> > >--
> > >To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> > >For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > >
> > 
> > -- 
> > 
> > -- 
> > Fabio Daprile
> > 
> > W�rth-Phoenix Srl
> > Via Kravogl 4, I-39100 Bolzano
> > Tel: +39 0471/564111 - (direct 564070)
> > Fax: +39 0471/564122
> > 
> > mailto:[EMAIL PROTECTED]
> > http://www.wuerth-phoenix.com
> > http://www.wuerth.com
> > 
> > 
> > 
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 



------------------------------------
Will Glass-Husain  <[EMAIL PROTECTED]>
Forio Business Simulations
office: (415) 440-7500
mobile: (415) 235-4293

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to