Ah found the answer! The problem was caused by commons-logging-1.0.2.jar. Replaced by commons-logging-1.0.3.jar fixed it!
And I didn't have to put commons-logging and log4j jars into <tomcat_home>/common/lib, and didn't need to uncomment the sections for ssi/cgi support in tomcat. Regards, Daniel On Fri, 5 Dec 2003, Daniel wrote: > > Hi Brad, > > Yeah I've even cross referenced with props set in Jeff Painter's interim > tdk 2.3 (the one he pre-released yesterday). Here's the console > log below (please pardon the weird line breaks): > > ... > <snipped other start-up msgs> > INFO: Installing web application at context path /skeleton from URL > file:C:\Java\Software\jakarta-tomcat-5.0.16\webapps\skeleton > Dec 5, 2003 2:54:38 PM org.apache.turbine.Turbine configure > INFO: Configured log4j from C:\Java\Software\jakarta-tomcat-5.0.16\webapps\skele > ton\WEB-INF\conf\log4j.properties > Dec 5, 2003 2:54:38 PM org.apache.turbine.Turbine configure > INFO: Loaded configuration (Properties) from /WEB-INF/conf/TurbineResources.pro > perties (C:\Java\Software\jakarta-tomcat-5.0.16\webapps\skeleton\WEB-INF\conf\Tu > rbineResources.properties) > Dec 5, 2003 2:54:38 PM org.apache.turbine.services.BaseServiceBroker > initMapping > > INFO: Added Mapping for Service: FactoryService > Dec 5, 2003 2:54:38 PM org.apache.turbine.services.BaseServiceBroker > initMapping > > INFO: Added Mapping for Service: PoolService > Dec 5, 2003 2:54:38 PM org.apache.turbine.services.BaseServiceBroker > initMapping > > INFO: Added Mapping for Service: RunDataService > Dec 5, 2003 2:54:38 PM org.apache.turbine.services.BaseServiceBroker > initMapping > > INFO: Added Mapping for Service: ServletService > Dec 5, 2003 2:54:38 PM org.apache.turbine.services.BaseServiceBroker > initMapping > > INFO: Added Mapping for Service: AssemblerBrokerService > Dec 5, 2003 2:54:38 PM org.apache.turbine.services.BaseServiceBroker > initMapping > > INFO: Added Mapping for Service: LocalizationService > Dec 5, 2003 2:54:38 PM org.apache.turbine.services.BaseServiceBroker > initMapping > > INFO: Added Mapping for Service: MimeTypeService > Dec 5, 2003 2:54:38 PM org.apache.turbine.services.BaseServiceBroker > initMapping > > INFO: Added Mapping for Service: GlobalCacheService > Dec 5, 2003 2:54:38 PM org.apache.turbine.services.BaseServiceBroker > initMapping > > INFO: Added Mapping for Service: SchedulerService > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > initMapping > > INFO: Added Mapping for Service: SecurityService > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > initMapping > > INFO: Added Mapping for Service: PullService > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > initMapping > > INFO: Added Mapping for Service: TemplateService > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > initMapping > > INFO: Added Mapping for Service: VelocityService > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > doInitService > INFO: Start Initializing service (early): PullService > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > getService > INFO: Start Initializing service (late): PoolService > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > getService > INFO: Start Initializing service (late): FactoryService > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > getService > INFO: Finish Initializing service (late): FactoryService > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > getService > INFO: Finish Initializing service (late): PoolService > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > getService > INFO: Start Initializing service (late): VelocityService > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > getService > INFO: Start Initializing service (late): TemplateService > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > getService > INFO: Start Initializing service (late): AssemblerBrokerService > Dec 5, 2003 2:54:39 PM > org.apache.turbine.services.assemblerbroker.TurbineAssemblerBrokerService > registerFactories > INFO: Registering 1 action factories. > Dec 5, 2003 2:54:39 PM > org.apache.turbine.services.assemblerbroker.TurbineAssemblerBrokerService > registerFactories > INFO: Registering 1 screen factories. > Dec 5, 2003 2:54:39 PM > org.apache.turbine.services.assemblerbroker.TurbineAssemblerBrokerService > registerFactories > INFO: Registering 1 navigation factories. > Dec 5, 2003 2:54:39 PM > org.apache.turbine.services.assemblerbroker.TurbineAssemblerBrokerService > registerFactories > INFO: Registering 1 layout factories. > Dec 5, 2003 2:54:39 PM > org.apache.turbine.services.assemblerbroker.TurbineAssemblerBrokerService > registerFactories > INFO: Registering 1 page factories. > Dec 5, 2003 2:54:39 PM > org.apache.turbine.services.assemblerbroker.TurbineAssemblerBrokerService > registerFactories > INFO: Registering 1 scheduledjob factories. > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > getService > INFO: Finish Initializing service (late): AssemblerBrokerService > Dec 5, 2003 2:54:39 PM > org.apache.turbine.services.template.TurbineTemplateService initMapper > INFO: Using org.apache.turbine.services.template.mapper.DirectMapper to > map page elements > Dec 5, 2003 2:54:39 PM > org.apache.turbine.services.template.TurbineTemplateService initMapper > INFO: Using org.apache.turbine.services.template.mapper.ClassMapper to map > screen elements > Dec 5, 2003 2:54:39 PM > org.apache.turbine.services.template.TurbineTemplateService initMapper > INFO: Using org.apache.turbine.services.template.mapper.ClassMapper to map > layout elements > Dec 5, 2003 2:54:39 PM > org.apache.turbine.services.template.TurbineTemplateService initMapper > INFO: Using org.apache.turbine.services.template.mapper.ClassMapper to map > navigation elements > Dec 5, 2003 2:54:39 PM > org.apache.turbine.services.template.TurbineTemplateService initMapper > INFO: Using org.apache.turbine.services.template.mapper.LayoutTemplateMapper to > map layout.template elements > Dec 5, 2003 2:54:39 PM > org.apache.turbine.services.template.TurbineTemplateService initMapper > INFO: Using org.apache.turbine.services.template.mapper.ScreenTemplateMapper to > map screen.template elements > Dec 5, 2003 2:54:39 PM > org.apache.turbine.services.template.TurbineTemplateService initMapper > INFO: Using org.apache.turbine.services.template.mapper.DirectTemplateMapper to > map navigation.template elements > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > getService > INFO: Finish Initializing service (late): TemplateService > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > getService > INFO: Finish Initializing service (late): VelocityService > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.pull.TurbinePullService > getTools > INFO: Tool org.apache.turbine.util.template.TemplateLink to add to the > context as '$link' > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.pull.TurbinePullService > getTools > INFO: Tool org.apache.turbine.util.template.HtmlPageAttributes to add to > the context as '$page' > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.pull.TurbinePullService > getTools > INFO: Tool org.apache.turbine.services.pull.tools.ContentTool to add to > the context as '$content' > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > doInitService > INFO: Finish Initializing service (early): PullService > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > initServices > INFO: Finished initializing all services! > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > getService > INFO: Start Initializing service (late): RunDataService > Dec 5, 2003 2:54:39 PM org.apache.turbine.services.BaseServiceBroker > getService > INFO: Finish Initializing service (late): RunDataService > Dec 5, 2003 2:54:39 PM org.apache.turbine.Turbine init > INFO: Turbine: init() Ready to Rumble! > <snipped rest of connector msgs> > ... > > > On Fri, 5 Dec 2003, Folkens, Brad wrote: > > > I made a post a while ago about this - seems like a recurrant problem with > > the way Turbine.java uses the Collections Logging. (Oh, actually, I see > > that was referenced below - sorry ;) > > > > Not sure exactly if this is your problem - I'd like to see the logs from the > > console at least (the Turbine.class does a lot of output to tell you where > > the config's are and what they're doing) > > > > Try posting the console output or log output here from Turbine > > > > > > -----Original Message----- > > From: Daniel [mailto:[EMAIL PROTECTED] > > Sent: Friday, December 05, 2003 11:04 AM > > To: Turbine Users List > > Subject: Re: turbine 2.3 log4j errors > > > > > > Loic, > > > > I tried what you suggested and I don't get log4j errors upon tomcat startup > > anymore but Turbine doesn't seem to log according to my log4j.properties. > > Turbine logs still goes to the console... Velocity, however, logs to the > > turbine.log, which is what I want (all logs into 1 single file). > > > > Would you or anyone else know why ? This is my log4j.properties, and I've > > put this in WEB-INF/conf and pointed to it in my TR.props. > > > > ######################################################################## > > # Log4j.properties > > ######################################################################## > > > > applicationRoot = C:/Java/Software/jakarta-tomcat-5.0.16/webapps/skeleton > > > > # > > # If we don't know the logging facility, put it into the # turbine.log # > > log4j.rootLogger = INFO, turbine > > > > # > > # Turbine goes into Turbine Log > > # > > 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 > > > > Thanks. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
