forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iss...@cocoondev.org
Subject [issues] Updated: (FOR-202) Custom sitemap.xmap causes hang
Date Thu, 01 Jan 1970 00:00:00 GMT
The following issue has been updated:

    Updater: David Crossley (mailto:crossley@apache.org)
       Date: Thu, 24 Jun 2004 1:57 AM
    Comment:
Please use short description, then follow up with additional comments.
    Changes:
[Description] changed from [If there is a sitemap.xmap file in the "project.content-dir",
the build process of a site (target: "site") stops at the following line:

INFO: Cache file root directory: /home/lorenzf/develop/lf-home/fresh-site/build/webapp/../tmp/cocoon-work


After waiting some time, the following occurs:

Logging Error: Unknown error writing event.
java.lang.OutOfMemoryError
* [1/0]     [0/0]     94.501s 0b      index.html
Exception in thread "main" java.lang.OutOfMemoryError


To reproduce this error: 
========================
1.) create a new directory, change to this directory
2.) execute "forrest seed"
3.) copy sitemap.xmap from "$FORREST_HOME/context" to src/documentation
4.) execute "forrest site"



Full output follows:
------------------------------------------------
Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile: /home/lorenzf/develop/forrest/src/core/bin/../forrest.build.xml

init-props:
Loading project specific properties from /home/lorenzf/develop/lf-home/fresh-site/forrest
.properties
Loading user specific properties from /home/lorenzf/forrest.properties
Loading default properties from /home/lorenzf/develop/forrest/src/core/bin/../context/def
ault-forrest.properties
Reading filters from /home/lorenzf/develop/lf-home/fresh-site/build/tmp/projfilters.prope
rties
forrest.basic.jvmargs:-Dproject.home="/home/lorenzf/develop/lf-home/fresh-site" -Dforrest
.home="/home/lorenzf/develop/forrest/src/core/bin/.."

echo-settings:

check-skin:

fetch-skins-descriptors:

fetch-skin:

unpack-skins:

init-skins:

init:

bare-context:
____________________________________
Using skin forrest-site
____________________________________
Removed 2 dangling directories from /home/lorenzf/develop/lf-home/fresh-site/build/webapp
Removed 10 dangling files from /home/lorenzf/develop/lf-home/fresh-site/build/webapp
Created dir: /home/lorenzf/develop/lf-home/fresh-site/build/webapp/WEB-INF/lib

examine-proj:

check-contentdir:

ensure-content:

validation-props:

validate-xdocs:
11 file(s) have been successfully validated.
...validated xdocs

validate-skinconf:
1 file(s) have been successfully validated.
...validated skinconf

validate-sitemap:
...validated sitemap

validate-skins-stylesheets:

validate-skins:

validate-skinchoice:
...validated existence of skin 'forrest-site'

validate-stylesheets:

validate:

copy-sitemap:
Copying 1 file to /home/lorenzf/develop/lf-home/fresh-site/build/webapp

copy-conf:

copy-status:
Copying 1 file to /home/lorenzf/develop/lf-home/fresh-site/build/webapp

project-context:

prepare-context:

-prepare-classpath:

site:
Deleting directory /home/lorenzf/develop/lf-home/fresh-site/build/tmp/cocoon-work
Created dir: /home/lorenzf/develop/lf-home/fresh-site/build/tmp/cocoon-work
Copying 3 files to /home/lorenzf/develop/lf-home/fresh-site/build/site
Copying 19 files to /home/lorenzf/develop/lf-home/fresh-site/build/site/skin/images
Copying 19 files to /home/lorenzf/develop/lf-home/fresh-site/build/site/skin/images
Warning: /home/lorenzf/develop/lf-home/fresh-site/src/documentation/skins/common/images n
ot found.
Warning: /home/lorenzf/develop/lf-home/fresh-site/src/documentation/skins/forrest-site/im
ages not found.
Copying 6 files to /home/lorenzf/develop/lf-home/fresh-site/build/site/skin
Copying 1 file to /home/lorenzf/develop/lf-home/fresh-site/build/site/skin
Warning: /home/lorenzf/develop/lf-home/fresh-site/src/documentation/skins/common not foun
d.
Warning: /home/lorenzf/develop/lf-home/fresh-site/src/documentation/skins/forrest-site no
t found.

Static site will be generated at:
/home/lorenzf/develop/lf-home/fresh-site/build/site

Note that there are various reasons for "build failed" messages.
* Cocoon will report the status of each document:
  - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
* Even if only one link is broken, you will still get "failed".
* Your site would still be generated, but some pages would be broken.
* Please check the file:
/home/lorenzf/develop/lf-home/fresh-site/build/tmp/brokenlinks.xml
for any broken links in the generated site.
        
------------------------------------------------------------------------ 
cocoon 2.1.5
Copyright (c) 1999-2004 Apache Software Foundation. All rights reserved.
------------------------------------------------------------------------ 


CatalogManager.properties: catalogs not found.
Jun 23, 2004 11:22:46 PM org.apache.jcs.engine.control.CompositeCacheConfigurator setDefa
ultAuxValues
INFO: setting defaults to DC
Jun 23, 2004 11:22:46 PM org.apache.jcs.engine.control.CompositeCacheConfigurator setDefa
ultCompositeCacheAttributes
INFO: setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote = true, u
seDisk = true, maxObjs = 100, maxSpoolPerRun = -1 ]
Jun 23, 2004 11:22:46 PM org.apache.jcs.config.OptionConverter instantiateByKey
WARNING: Could not find value for key jcs.default.elementattributes
Jun 23, 2004 11:22:46 PM org.apache.jcs.engine.control.CompositeCacheConfigurator parseEl
ementAttributes
WARNING: Could not instantiate eAttr named 'jcs.default.elementattributes', using default
s.

Jun 23, 2004 11:22:46 PM org.apache.jcs.engine.control.CompositeCacheConfigurator setDefa
ultElementAttributes
INFO: setting defaultElementAttributes to [ IS_LATERAL = false, IS_SPOOL = false, IS_REMO
TE = false, IS_ETERNAL = true, MaxLifeSeconds = -1, IdleTime = -1, CreateTime = 108802576
6926, LastAccessTime = 1088025766926, getTimeToLiveSeconds() = -1001, createTime = 108802
5766926 ]
Jun 23, 2004 11:22:46 PM org.apache.jcs.config.OptionConverter instantiateByKey
WARNING: Could not find value for key jcs.system.groupIdCache.elementattributes
Jun 23, 2004 11:22:46 PM org.apache.jcs.engine.control.CompositeCacheConfigurator parseEl
ementAttributes
WARNING: Could not instantiate eAttr named 'jcs.system.groupIdCache.elementattributes', u
sing defaults.
Jun 23, 2004 11:22:46 PM org.apache.jcs.engine.memory.lru.LRUMemoryCache initialize
INFO: initialized LRUMemoryCache for groupIdCache
Jun 23, 2004 11:22:46 PM org.apache.jcs.engine.control.CompositeCache <init>
INFO: Constructed cache with name: groupIdCache
Jun 23, 2004 11:22:47 PM org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache <init>
INFO: Cache file root directory: /home/lorenzf/develop/lf-home/fresh-site/build/webapp/..
/tmp/cocoon-work
Jun 23, 2004 11:22:47 PM org.apache.jcs.config.OptionConverter instantiateByKey
WARNING: Could not find value for key jcs.region.main.elementattributes
Jun 23, 2004 11:22:47 PM org.apache.jcs.engine.control.CompositeCacheConfigurator parseEl
ementAttributes
WARNING: Could not instantiate eAttr named 'jcs.region.main.elementattributes', using def
aults.
Jun 23, 2004 11:22:47 PM org.apache.jcs.engine.memory.lru.LRUMemoryCache initialize
INFO: initialized LRUMemoryCache for main
Jun 23, 2004 11:22:47 PM org.apache.jcs.engine.control.CompositeCache <init>
INFO: Constructed cache with name: main
Jun 23, 2004 11:22:47 PM org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache <init>
INFO: Cache file root directory: /home/lorenzf/develop/lf-home/fresh-site/build/webapp/../tmp/cocoon-work
Logging Error: Unknown error writing event.
java.lang.OutOfMemoryError
* [1/0]     [0/0]     94.501s 0b      index.html
Exception in thread "main" java.lang.OutOfMemoryError

-----------------------------------------------------------

Kind regards,
  Lorenz Froihofer] to [If there is a sitemap.xmap file in the "project.content-dir", the
build process of a site (target: "site") will hang with an OutOfMemoryError.]
[Fix For] set to [0.6]

---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-202&page=history

---------------------------------------------------------------------
View the issue:

  http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-202


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-202
    Summary: Custom sitemap.xmap causes hang
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Forrest
  Component: Core operations
    Fix For: 0.6
   Versions:
             HEAD

   Assignee: 
   Reporter: Lorenz Froihofer

    Created: Wed, 23 Jun 2004 11:56 PM
    Updated: Thu, 24 Jun 2004 1:57 AM

Description:
If there is a sitemap.xmap file in the "project.content-dir", the build process of a site
(target: "site") will hang with an OutOfMemoryError.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org/jira//Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message