cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Jose Pablos <che...@che-che.com>
Subject Re: Starting problems using cocoon2.1.5
Date Mon, 07 Jun 2004 18:27:06 GMT
There is more information here:

http://logging.apache.org/log4j/docs/manual.html


Antonio Gallardo escribió:
> Hi Rolf:
> 
> You can ignore the jcs warnings, they does not affect the normal behavior.
> 
> If you want to get rid the logs from the consore, then you need to
> configure log4j, ie: in WEB-INF/classes create a file called
> log4j.properties and place inside the file:
> 
> #**********************************************************************
> # Apache JCS cache
> log4j.category.org.apache.jcs = INFO, jcs
> log4j.appender.jcs = org.apache.log4j.FileAppender
> log4j.appender.jcs.File = <PUT-HERE-THE-LOGGING-FILENAME>
> log4j.appender.jcs.layout = org.apache.log4j.PatternLayout
> log4j.appender.jcs.layout.ConversionPattern = %-5r %-5p [%t] %c{2} - %m%n
> log4j.appender.jcs.Append = false
> #**********************************************************************
> 
> Next replace the tag: <PUT-HERE-THE-LOGGING-FILENAME> with the full name
> (including path) of the file where you want to log.
> 
> Hope this helps,
> 
> Best Regards,
> 
> Antonio Gallardo
> 
> Rolf Kulemann dijo:
> 
>>On Mon, 2004-06-07 at 13:34, Rolf Kulemann wrote:
>>
>>>On Mon, 2004-06-07 at 11:45, Stefano Mazzocchi wrote:
>>>
>>>>Rolf Kulemann wrote:
>>>>
>>>>
>>>>>I did a fresh checkout of lenya and compiled it against cocoon2.1.5
>>>
>>>and
>>>
>>>>>get the following warnings after I started lenya: (Any ideas?)
>>>>>
>>>>>Main Class: org.mortbay.jetty.Server
>>>>>22:10:07.628 EVENT  Checking Resource aliases
>>>>>22:10:08.157 EVENT  Starting Jetty/4.2.19
>>>>>22:10:08.585 EVENT  Started
>>>>>WebApplicationContext[/,./build/lenya/webapp]
>>>>>22:10:08.754 WARN!! Delete existing temp dir /tmp/Jetty__8888__ for
>>>>>WebApplicationContext[/,./build/lenya/webapp]
>>>>
>>>>Try cleaning up the "tmp/Jetty_8888_" folder.
>>>
>>>Thats it. Thanks. I tried before to delete tmp/Jetty_8888_/* , but that
>>>didn't help.
>>
>>Ah, ok, the warning (delete /tmp/Jetty) is gone now, but I still get the
>>following warnings on lenya/cocoon start. Is that a problem or can I
>>just ignore it? I download Cocoon.tar.gz from the cocoon website. I'm
>>not using cocoon cvs here.
>>
>>
>>Main Class: org.mortbay.jetty.Server
>>15:43:10.852 EVENT  Checking Resource aliases
>>15:43:11.381 EVENT  Starting Jetty/4.2.19
>>15:43:11.819 EVENT  Started
>>WebApplicationContext[/,./build/lenya/webapp]
>>0    2004-06-07 15:43:14,672 [main] WARN
>>org.apache.jcs.config.OptionConverter.instantiateByKey():151  - Could
>>not find value for key jcs.default.elementattributes
>>13   2004-06-07 15:43:14,685 [main] WARN
>>org.apache.jcs.engine.control.CompositeCacheConfigurator.parseElementAttributes():337
>> - Could not instantiate eAttr named 'jcs.default.elementattributes',
>>using defaults.
>>37   2004-06-07 15:43:14,709 [main] WARN
>>org.apache.jcs.config.OptionConverter.instantiateByKey():151  - Could
>>not find value for key jcs.system.groupIdCache.elementattributes
>>62   2004-06-07 15:43:14,734 [main] WARN
>>org.apache.jcs.engine.control.CompositeCacheConfigurator.parseElementAttributes():337
>> - Could not instantiate eAttr named
>>'jcs.system.groupIdCache.elementattributes', using defaults.
>>349  2004-06-07 15:43:15,021 [main] WARN
>>org.apache.jcs.config.OptionConverter.instantiateByKey():151  - Could
>>not find value for key jcs.region.main.elementattributes
>>354  2004-06-07 15:43:15,026 [main] WARN
>>org.apache.jcs.engine.control.CompositeCacheConfigurator.parseElementAttributes():337
>> - Could not instantiate eAttr named 'jcs.region.main.elementattributes',
>>using defaults.
>>server.properties not found, using command line or default properties
>>Opening database:
>>/home/roku/src/lenya-release/cocoon-lenya/build/lenya/webapp/WEB-INF/db/cocoondb
>>HSQLDB server 1.7.1 is running
>>Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
>>Mon Jun 07 15:43:15 CEST 2004 Listening for connections ...
>>2080 2004-06-07 15:43:16,752 [main] WARN  scheduler.warn():186  - Quartz
>>scheduler 'DefaultQuartzScheduler' initialized from default resource
>>file in Quartz package: 'quartz.properties'
>>15:43:16.906 EVENT  Started SocketListener on 0.0.0.0:8888
>>15:43:16.907 EVENT  Started org.mortbay.jetty.Server@fe64b9
>>--
>>Rolf Kulemann
>>


Mime
View raw message