You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "David Crossley (JIRA)" <ji...@apache.org> on 2008/09/13 03:29:46 UTC

[jira] Commented: (FOR-1108) Dispatcher, Cocoon 2.1 and Windows

    [ https://issues.apache.org/jira/browse/FOR-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630724#action_12630724 ] 

David Crossley commented on FOR-1108:
-------------------------------------

I had a quick look and couldn't see anything helpful. There are no errors logged, leading up to the crash.

If Ross (or any other on windows) could increase the debug level, that might help to see at what stage it crashed.

Follow:
http://forrest.apache.org/docs/dev/faq.html#logs

Here is what i do to enable debugging:
-------------
[WEB-INF]$ diff logkit.xconf logkit.xconf.debug
144c144
<     <category name="core" log-level="WARN">
---
>     <category name="core" log-level="DEBUG">
194c194
<       <category name="modules.mapper.link" log-level="INFO">
---
>       <category name="modules.mapper.link" log-level="DEBUG">
201c201
<       <category name="modules.mapper.lm" log-level="INFO">
---
>       <category name="modules.mapper.lm" log-level="DEBUG">
206a207
>         <log-target id-ref="linkrewriter"/>
215c216
<     <category name="sitemap" log-level="WARN">
---
>     <category name="sitemap" log-level="DEBUG">
-------------

]$ cd my-test-dir
]$ forrest seed-sample
Enable the dispatcher-based site, follow the instructions
in ./forrest.properties.dispatcher.properties to declare
the dispatcher plugins.
]$ forrest run
]$ localhost:8888/index.html
... if that is okay, then try
]$ localhost:8888/linkmap.html
... now quit with Ctrl-C

logs are in build/webapp/WEB-INF/logs/

Note: When packing logfiles, beware of the new huge "debug.log". I don't yet know if it contains anything useful, nor how to reduce it. Leave it out if it has grown too big by this stage of Cocoon operation.

> Dispatcher, Cocoon 2.1 and Windows
> ----------------------------------
>
>                 Key: FOR-1108
>                 URL: https://issues.apache.org/jira/browse/FOR-1108
>             Project: Forrest
>          Issue Type: Bug
>          Components: Core operations, Plugin: internal.dispatcher
>    Affects Versions: 0.9-dev
>            Reporter: Ross Gardler
>            Priority: Blocker
>             Fix For: 0.9-dev
>
>         Attachments: test.log, test_dispatcher_site.zip
>
>
> Since the update to Cocoon 2.1 Forrest and Dispatcher have broken on windows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.