Hello all,
I've had a little trouble trying to achieve this.. I have moved a tdk 2.1 app
developed on win32/tomcat 3.2.1 to tomcat 3.2.3 on linux and things aren't quite
working out...
I basically recreated the database on linux and zipped up the webapp, recreating
it uder tomcat's webapps/ on linux. It has a context in the server.xml and is
being found ok but there is some problem with the LoggingService which is
resulting in the following:
-------------------------------------------------------------------------------
Horrible Exception: org.apache.turbine.services.InitializationException:
LoggingService can't find default logger name in the configuration file.
org.apache.turbine.services.InstantiationException: ServiceBroker: unknown
service TurbinePoolService requested
-------------------------------------------------------------------------------
Turbine's log is empty (unsurprisingly..) and I assume the error is referring to
the TR.properties - I realised that the win32 TRP was pointing at
/logs/turbine.log in the log config section - I removed the leading backslash on
the supposition that this should be a relative path (and started wondering why
this was handled on win32 with unix path seperators if not for portability?)...
This should now be a valid path but no change.. Heres how it looks:
-------------------------------------------------------------------------------
# destination.file: A path relative to the web app root
# -------------------------------------------------------------------
services.LoggingService.facilities=system,debug,security
services.LoggingService.default=system
services.LoggingService.loggingConfig=org.apache.turbine.services.logging.Proper
tiesLoggingConfig
# A facility for system logging.
services.LoggingService.system.destination.file=logs/turbine.log
services.LoggingService.system.className=org.apache.turbine.services.logging.Fil
eLogger
#services.LoggingService.system.level=INFO
services.LoggingService.system.level=DEBUG
-------------------------------------------------------------------------------
I wondered if anyone else on the list has had any similar problems or could shed
any light?
cheers,
colm
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]