Hi Mark,

these look indeed ok. Could you please increase the log level from INFO to DEBUG and paste the last few lines of turbine.log once the application has died and does not come up? Especially the part after the Initialization Process of the SecurityService interests me.

Kind regards

Juergen Hoffmann

Mark Wassermann schrieb:
Jürgen Hoffmann schrieb:
Hi,

so the last line inside the turbine.log is that Turbine tries to
initialize the SecurityService. Could you please post your
torque.properties and turbine-om.properties? I bet the Problem is to be
found therein.


Hi

I use the standard config files generated by meta.
thx
mark

--- torque.properties ---
# ------------------------------------------------------------------------
#
# Torque Configuration
#
# $Id: torque.properties 289938 2005-09-18 15:23:13Z henning $
#
# ------------------------------------------------------------------------

torque.applicationRoot = .

# -------------------------------------------------------------------
#
#  D E F A U L T S
#
# -------------------------------------------------------------------

torque.defaults.pool.maxActive =        30
torque.defaults.pool.testOnBorrow =     true
torque.defaults.pool.validationQuery =  SELECT 1

torque.defaults.connection.driver =     org.gjt.mm.mysql.Driver
torque.defaults.connection.url =        jdbc:mysql://localhost:3306/urkdb
torque.defaults.connection.user =       user
torque.defaults.connection.password =   passwd

torque.dsfactory.urkdb.connection.driver =      org.gjt.mm.mysql.Driver
torque.dsfactory.urkdb.connection.url =
jdbc:mysql://localhost:3306/urkdb
torque.dsfactory.urkdb.connection.user =        user
torque.dsfactory.urkdb.connection.password =    passwd

# -------------------------------------------------------------------
#
#  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.
# -------------------------------------------------------------------

# 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

# 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

torque.idbroker.prefetch = true

# IDBroker can grab its own connection from the pool to use when retrieving
# more id's to minimize the amount of time ID_TABLE will be locked.
# Some usage of IDBroker or assumptions made by connection pools or jdbc
# drivers may disallow this optimization in which case the property
# should be set to false.

torque.idbroker.usenewconnection = true

torque.database.default =               urkdb

#
# application database
#
torque.database.urkdb.adapter =         mysql
torque.dsfactory.urkdb.factory =
org.apache.torque.dsfactory.SharedPoolDataSourceFactory
--- torque.properties ---

--- turbine-om.properties ---
# -------------------------------------------------------------------
# $Id: turbine-om.properties 222027 2004-10-31 16:11:37Z henning $
#
# Torque OM Layer Configuration for Turbine
#
# -------------------------------------------------------------------

# Configure Torque Security Service
services.SecurityService.classname=org.apache.turbine.services.security.torque.TorqueSecurityService

# -------------------------------------------------------------------
#
#  S E C U R I T Y  S E R V I C E
#
# -------------------------------------------------------------------

# Default: org.apache.turbine.services.security.db.DBUserManager
services.SecurityService.user.manager =
org.apache.turbine.services.security.torque.TorqueUserManager

# We use the Torque Security Service
services.SecurityService.user.class =
org.apache.turbine.services.security.torque.TorqueUser
services.SecurityService.group.class =
org.apache.turbine.services.security.torque.TorqueGroup
services.SecurityService.permission.class =
org.apache.turbine.services.security.torque.TorquePermission
services.SecurityService.role.class =
org.apache.turbine.services.security.torque.TorqueRole

services.SecurityService.torque.userPeer.class       =
mwn.urkdb.om.TurbineUserPeer
services.SecurityService.torque.groupPeer.class      =
mwn.urkdb.om.TurbineGroupPeer
services.SecurityService.torque.permissionPeer.class =
mwn.urkdb.om.TurbinePermissionPeer
services.SecurityService.torque.rolePeer.class       =
mwn.urkdb.om.TurbineRolePeer

#
# Start Torque at the startup of the AvalonComponentService
services.AvalonComponentService.lookup = org.apache.torque.avalon.Torque
--- turbine-om.properties ---



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

Reply via email to