You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Sebastian Heyden <se...@gmail.com> on 2008/02/06 14:58:37 UTC

jetty quickstart doesnt work

hi,


i wanted to try lenya and couldnt figure out why lenya
is not starting after a successful build.

im running windows, and want to start lenya in jetty by running

"lenya.bat servlet"

that gives me a jetty instance but when i call http://localhost:8888/
i get an HTTP 500 error

"Could not initialize class
org.apache.cocoon.components.serializers.encoding.CharsetFactory"

when i run "lenya.bat cli" the execution stops right after loading all the
jars because cocoon
doesnt find its config file.


can you help me?

cheers,
sebastian

Re: jetty quickstart doesnt work

Posted by Richard Frovarp <ri...@sendit.nodak.edu>.
Sebastian Heyden wrote:
> hi jörn,
>
> first thanks to richard. i really like to help you. no problem about 
> that. youre really helpful to me too. i like the xslt-approach of 
> lenya that i never saw before. its an exciting project for me. what i 
> cannot imagine at this point is how to realize interactivity features 
> like polls or guestbooks by using xml and xslt. i saw people 
> transforming the xml's by jsp's instead of xslt when using opencms. 
> and this way around they were able to program some functionality. but 
> jsp is crap ;) so whats you're approach?
>
> you're right jörn, that wasn't the root of the problem. i appended 2 
> stacktraces. first one is the complete request. the cause for the 
> exeption seemed to me to be a missing attribute of the user-type 
> element in access-control.xml. i copied <user-type 
> class="org.apache.lenya.ac.file.FileUser" 
> create-use-case="admin.addUser">Local User</user-type> from the 
> default pub to my file and got the second exception (only the 
> stacktrace is appended).
>
> in the access-control.xml of the default pub every path i relative. in 
> mine they are absolute. but i'm not sure how to rewrite them to be 
> relative.
>
> so this is a very looooong email.
>
>
You need this in access-control.xml

1) delete
<authorizer type="policy"/>

That should get things working.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: jetty quickstart doesnt work

Posted by Sebastian Heyden <se...@gmail.com>.
hi jörn,

first thanks to richard. i really like to help you. no problem about that.
youre really helpful to me too. i like the xslt-approach of lenya that i
never saw before. its an exciting project for me. what i cannot imagine at
this point is how to realize interactivity features like polls or guestbooks
by using xml and xslt. i saw people transforming the xml's by jsp's instead
of xslt when using opencms. and this way around they were able to program
some functionality. but jsp is crap ;) so whats you're approach?

you're right jörn, that wasn't the root of the problem. i appended 2
stacktraces. first one is the complete request. the cause for the exeption
seemed to me to be a missing attribute of the user-type element in
access-control.xml. i copied <user-type class="
org.apache.lenya.ac.file.FileUser" create-use-case="admin.addUser">Local
User</user-type> from the default pub to my file and got the second
exception (only the stacktrace is appended).

in the access-control.xml of the default pub every path i relative. in mine
they are absolute. but i'm not sure how to rewrite them to be relative.

so this is a very looooong email.



============ Logfile-Output of the request: ===================



SocketListener0-6 DEBUG http.HttpConnection - readRequest() ...
Thread-1 DEBUG core.runnable - Executing command
org.apache.cocoon.components.store.impl.CocoonStoreJanitor@8ca9d1 in pool
"daemon", schedule with interval=0
Thread-1 DEBUG runnable.daemon - Executing Command:
org.apache.cocoon.components.store.impl.CocoonStoreJanitor@8ca9d1
,pool=daemon
Thread-2 DEBUG store.janitor - JVM Memory total: 33554432, free: 13723672
Thread-2 DEBUG store.janitor - (Re-)Start CocoonStoreJanitor
Thread-2 DEBUG core.runnable - Command entered:
org.apache.cocoon.components.store.impl.CocoonStoreJanitor@8ca9d1,
pool=daemon, delay=10000, interval=0
QuartzScheduler_Cocoon-Thu_Feb_07_12:31:14_CET_2008_MisfireHandler DEBUG
cron.QuartzJobStoreTX - MisfireHandler: scanning for misfires...
QuartzScheduler_Cocoon-Thu_Feb_07_12:31:14_CET_2008_MisfireHandler DEBUG
lenya.scheduler - Got a $Proxy13 from the pool.
QuartzScheduler_Cocoon-Thu_Feb_07_12:31:14_CET_2008_MisfireHandler DEBUG
scheduler.conn - Pinging database after 16269ms of inactivity.
QuartzScheduler_Cocoon-Thu_Feb_07_12:31:14_CET_2008_MisfireHandler DEBUG
jdbcjobstore.SimpleSemaphore - Lock 'TRIGGER_ACCESS' is desired by:
QuartzScheduler_Cocoon-Thu_Feb_07_12:31:14_CET_2008_MisfireHandler
QuartzScheduler_Cocoon-Thu_Feb_07_12:31:14_CET_2008_MisfireHandler DEBUG
jdbcjobstore.SimpleSemaphore - Lock 'TRIGGER_ACCESS' is being obtained:
QuartzScheduler_Cocoon-Thu_Feb_07_12:31:14_CET_2008_MisfireHandler
QuartzScheduler_Cocoon-Thu_Feb_07_12:31:14_CET_2008_MisfireHandler DEBUG
jdbcjobstore.SimpleSemaphore - Lock 'TRIGGER_ACCESS' given to:
QuartzScheduler_Cocoon-Thu_Feb_07_12:31:14_CET_2008_MisfireHandler
QuartzScheduler_Cocoon-Thu_Feb_07_12:31:14_CET_2008_MisfireHandler DEBUG
cron.QuartzJobStoreTX - Found 0 triggers that missed their scheduled
fire-time.
QuartzScheduler_Cocoon-Thu_Feb_07_12:31:14_CET_2008_MisfireHandler DEBUG
jdbcjobstore.SimpleSemaphore - Lock 'TRIGGER_ACCESS' retuned by:
QuartzScheduler_Cocoon-Thu_Feb_07_12:31:14_CET_2008_MisfireHandler
QuartzScheduler_Cocoon-Thu_Feb_07_12:31:14_CET_2008_MisfireHandler DEBUG
lenya.scheduler - Put a $Proxy13 back into the pool.
SocketListener0-6 DEBUG http.HttpConnection - REQUEST from
SocketListener0@0.0.0.0:8888:
GET /first/introduction.html HTTP/1.1
Accept-Language: de-de
Accept-Encoding: gzip, deflate
Cookie: JSESSIONID=3k2mrrhxtkbi8; fontSize=100
Referer: http://localhost:8888/index.html
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de)
AppleWebKit/523.12.2 (KHTML, like Gecko) Version/3.0.4 Safari/523.12.2
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
,text/plain;q=0.8,image/png,*/*;q=0.5
Connection: keep-alive
Host: localhost:8888
If-Modified-Since: Thu, 07 Feb 2008 11:28:10 GMT


SocketListener0-6 DEBUG http.HttpServer - Contexts at
/first/introduction.html: [/=[WebApplicationContext[/,/]]]
SocketListener0-6 DEBUG http.HttpServer - Try WebApplicationContext[/,/],0
SocketListener0-6 DEBUG http.HttpContext - Handler
org.mortbay.jetty.servlet.WebApplicationHandler@ac2d3c
SocketListener0-6 DEBUG servlet.ServletHandler - servlet=*.html=Cocoon
SocketListener0-6 DEBUG servlet.ServletHttpRequest - Got Session
3k2mrrhxtkbi8 from cookie
SocketListener0-6 DEBUG servlet.ServletHandler - session=
org.mortbay.jetty.servlet.HashSessionManager$Session@9b1d7f
SocketListener0-6 DEBUG servlet.WebApplicationHandler - chain=null
SocketListener0-6 DEBUG core.cocoon - DEBUGGING INFORMATION:
REQUEST: /first/introduction.html

CONTEXT PATH:
SERVLET PATH: /first/introduction.html
PATH INFO: null

REMOTE HOST: 0:0:0:0:0:0:0:1%0
REMOTE ADDRESS: 0:0:0:0:0:0:0:1%0
REMOTE USER: null
REQUEST SESSION ID: 3k2mrrhxtkbi8
REQUEST PREFERRED LOCALE: de_DE
SERVER HOST: localhost
SERVER PORT: 8888

METHOD: GET
CONTENT LENGTH: -1
PROTOCOL: HTTP/1.1
SCHEME: http
AUTH TYPE: null

CURRENT ACTIVE REQUESTS: 1
REQUEST PARAMETERS:

HEADER PARAMETERS:

PARAM: 'Accept-Language' VALUES: '[de-de]'
PARAM: 'Accept-Encoding' VALUES: '[gzip, deflate]'
PARAM: 'Cookie' VALUES: '[JSESSIONID=3k2mrrhxtkbi8; fontSize=100]'
PARAM: 'Referer' VALUES: '[http://localhost:8888/index.html]'
PARAM: 'User-Agent' VALUES: '[Mozilla/5.0 (Macintosh; U; PPC Mac OS X;
de-de) AppleWebKit/523.12.2 (KHTML, like Gecko) Version/3.0.4
Safari/523.12.2]'
PARAM: 'Accept' VALUES:
'[text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
,text/plain;q=0.8,image/png,*/*;q=0.5]'
PARAM: 'Connection' VALUES: '[keep-alive]'
PARAM: 'Host' VALUES: '[localhost:8888]'
PARAM: 'If-Modified-Since' VALUES: '[Thu, 07 Feb 2008 11:28:10 GMT]'

SESSION ATTRIBUTES:

PARAM: 'org.apache.lenya.cms.cocoon.acting.History' VALUE:
'[/default/introduction.html]'
PARAM: 'org.apache.lenya.ac.Identity' VALUE: '[identity:
org.apache.lenya.ac.World@a572c3 0:0:0:0:0:0:0:1%0]'

SocketListener0-6 DEBUG core.manager - Resolving
'file:/Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/' with
base 'null' in context 'file:/Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/'
SocketListener0-6 DEBUG core.manager - Resolved to systemID :
file:/Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/
SocketListener0-6 DEBUG access - Changing Cocoon context
SocketListener0-6 DEBUG access -   from
context(file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/)
and prefix()
SocketListener0-6 DEBUG access -   to
context(file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/sitemap.xmap)
and prefix()
SocketListener0-6 DEBUG access -   at URI first/introduction.html
SocketListener0-6 DEBUG core.manager - Resolving
'file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/'
with base 'file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/'
in context 'file:/Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/'
SocketListener0-6 DEBUG core.manager - Resolved to systemID :
file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/
SocketListener0-6 DEBUG access - New context is
file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/
SocketListener0-6 DEBUG matcher.usecase - Parameter 'lenya.usecase' not set.
SocketListener0-6 DEBUG matcher.usecase - Parameter 'lenya.usecase' not set.
SocketListener0-6 DEBUG sitemap - Matcher 'wildcard' matched pattern '**' at
<map:match> - file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/sitemap.xmap:681:29
SocketListener0-6 DEBUG sitemap -
Current Sitemap Parameters:
LEVEL 1
PARAM: '0' VALUE: 'first/introduction.html'
PARAM: '1' VALUE: 'first/introduction.html'

SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.lenya.cms.cocoon.acting.SslRedirectAction.
SocketListener0-6 DEBUG sitemap - logger attribute is
lenya.sitemap.action.ssl-redirect
SocketListener0-6 DEBUG accesscontrollerresolver.publication - Using first
URL step (might be publication ID) as cache key: [first]
SocketListener0-6 DEBUG core.manager - Resolving 'context:///' with base
'file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/' in
context 'file:/Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/'
SocketListener0-6 DEBUG core.manager - Resolved to systemID : context:///
SocketListener0-6 DEBUG core.manager - Creating source object for
context:///
SocketListener0-6 DEBUG servlet.ServletHandler - getRealPath of /// in
org.mortbay.jetty.servlet.WebApplicationHandler@ac2d3c
SocketListener0-6 DEBUG core.manager - Resolving
'file:/Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/' with
base 'file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/'
in context 'file:/Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/'
SocketListener0-6 DEBUG core.manager - Resolved to systemID :
file:/Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/
SocketListener0-6 DEBUG accesscontrollerresolver.publication - Access
controller cache key: [file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/_first]
SocketListener0-6 DEBUG accesscontrollerresolver.publication - No cached
object for key [file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/_first]
SocketListener0-6 DEBUG accesscontrollerresolver.publication - No access
controller in cache.
SocketListener0-6 DEBUG accesscontrollerresolver.publication - Resolving
controller for URL [/first/introduction.html]
SocketListener0-6 DEBUG core.manager - ComponentFactory creating new
instance of org.apache.lenya.cms.cocoon.components.context.ContextUtility.
SocketListener0-6 DEBUG core.manager - logger attribute is
lenya.cocoon.components
SocketListener0-6 DEBUG core.manager - ComponentFactory creating new
instance of org.apache.lenya.cms.repository.RepositoryManagerImpl.
SocketListener0-6 DEBUG core.manager - no logger attribute available, using
standard logger
SocketListener0-6 DEBUG core.manager - ComponentFactory decommissioning
instance of org.apache.lenya.cms.repository.RepositoryManagerImpl.
SocketListener0-6 DEBUG core.manager - IdentityMapImpl::get() looked up type
[publication], key [first] in map, is it there ? false
SocketListener0-6 DEBUG core.manager - ComponentFactory decommissioning
instance of org.apache.lenya.cms.cocoon.components.context.ContextUtility.
SocketListener0-6 DEBUG accesscontrollerresolver.publication - Publication
[first] exists.
SocketListener0-6 DEBUG core.manager - ComponentFactory creating new
instance of org.apache.lenya.ac.impl.BypassableAccessController.
SocketListener0-6 DEBUG core.manager - logger attribute is
lenya.ac.accesscontroller.bypassable
SocketListener0-6 DEBUG core.manager - ComponentFactory creating new
instance of org.apache.lenya.ac.impl.UserAuthenticator.
SocketListener0-6 DEBUG core.manager - logger attribute is
lenya.ac.authenticator
SocketListener0-6 DEBUG accesscontroller.bypassable - Configuring bypass
patterns
SocketListener0-6 DEBUG sitemap - ComponentFactory decommissioning instance
of org.apache.lenya.cms.cocoon.acting.SslRedirectAction.
SocketListener0-6 ERROR sitemap.handled-errors -
org.apache.avalon.framework.configuration.ConfigurationException:
Configuration failed:
org.apache.lenya.ac.AccessControlException:
org.apache.avalon.framework.configuration.ConfigurationException:
Configuration failed:
    at
org.apache.lenya.cms.ac.PublicationAccessControllerResolver.resolveAccessController
(PublicationAccessControllerResolver.java:187)
    at
org.apache.lenya.cms.ac.PublicationAccessControllerResolver.doResolveAccessController
(PublicationAccessControllerResolver.java:84)
    at
org.apache.lenya.ac.impl.AbstractAccessControllerResolver.resolveAccessController
(AbstractAccessControllerResolver.java:80)
    at org.apache.lenya.cms.cocoon.acting.SslRedirectAction.act(
SslRedirectAction.java:71)
    at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke
(ActTypeNode.java:125)
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:47)
    at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(
MatchNode.java:108)
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:69)
    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
PipelineNode.java:143)
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:69)
    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:93)
    at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:235)
    at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:177)
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
TreeProcessor.java:254)
    at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
    at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java
:1154)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java
:427)
    at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(
WebApplicationHandler.java:475)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java
:567)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
    at org.mortbay.jetty.servlet.WebApplicationContext.handle(
WebApplicationContext.java:635)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
    at org.mortbay.jetty.plus.PlusWebAppContext.handle(
PlusWebAppContext.java:158)
    at org.mortbay.http.HttpServer.service(HttpServer.java:954)
    at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java
:244)
    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: org.apache.avalon.framework.configuration.ConfigurationException:
Configuration failed:
    at org.apache.lenya.ac.impl.DefaultAccessController.configure(
DefaultAccessController.java:203)
    at org.apache.lenya.ac.impl.BypassableAccessController.configure(
BypassableAccessController.java:55)
    at
org.apache.lenya.cms.ac.PublicationAccessControllerResolver.resolveAccessController
(PublicationAccessControllerResolver.java:183)
    ... 30 more
Caused by: java.lang.RuntimeException:
org.apache.avalon.framework.configuration.ConfigurationException: No
attribute named "create-use-case" is associated with the configuration
element "user-type" at file:/Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/lenya/pubs/first/config/access-control/access-
control.xml:8:60
    at
org.apache.lenya.ac.file.FileAccreditableManagerFactory.getAccreditableManager
(FileAccreditableManagerFactory.java:92)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.avalon.excalibur.component.ComponentProxyGenerator$ComponentInvocationHandler.invoke
(ComponentProxyGenerator.java:143)
    at $Proxy38.getAccreditableManager(Unknown Source)
    at
org.apache.lenya.ac.impl.DefaultAccessController.setupAccreditableManager(
DefaultAccessController.java:223)
    at org.apache.lenya.ac.impl.DefaultAccessController.configure(
DefaultAccessController.java:196)
    ... 32 more
Caused by: org.apache.avalon.framework.configuration.ConfigurationException:
No attribute named "create-use-case" is associated with the configuration
element "user-type" at file:/Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/lenya/pubs/first/config/access-control/access-
control.xml:8:60
    at
org.apache.avalon.framework.configuration.DefaultConfiguration.getAttribute(
DefaultConfiguration.java:274)
    at
org.apache.lenya.ac.file.FileAccreditableManagerFactory.getAccreditableManager
(FileAccreditableManagerFactory.java:73)
    ... 40 more
SocketListener0-6 DEBUG access - Response successfully reset
SocketListener0-6 DEBUG core.manager - Could not find ComponentHandler,
attempting to create one for role [
org.apache.cocoon.components.notification.NotifyingBuilder]
SocketListener0-6 DEBUG core.manager - ComponentHandler initialized for:
org.apache.cocoon.components.notification.DefaultNotifyingBuilder
SocketListener0-6 DEBUG core.manager - ComponentFactory creating new
instance of
org.apache.cocoon.components.notification.DefaultNotifyingBuilder.
SocketListener0-6 DEBUG core.manager - ComponentFactory decommissioning
instance of
org.apache.cocoon.components.notification.DefaultNotifyingBuilder.
SocketListener0-6 INFO  sitemap - Processing handle-errors at
<map:handle-errors> - file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/sitemap.xmap:727:24
SocketListener0-6 DEBUG core.manager - ComponentFactory creating new
instance of
org.apache.lenya.cms.cocoon.components.modules.input.PublicationTemplateFallbackModule
.
SocketListener0-6 DEBUG core.manager - logger attribute is
core.modules.input.fallback
SocketListener0-6 DEBUG input.fallback - Resolving publication template for
file [error.xmap]
SocketListener0-6 DEBUG core.manager - Resolving 'fallback://error.xmap'
with base 'file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/'
in context 'file:/Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/'
SocketListener0-6 DEBUG core.manager - ComponentFactory creating new
instance of org.apache.lenya.cms.cocoon.source.FallbackSourceFactory.
SocketListener0-6 DEBUG core.manager - logger attribute is
lenya.source.fallback
SocketListener0-6 DEBUG core.manager - Resolved to systemID :
fallback://error.xmap
SocketListener0-6 DEBUG source.fallback - Location:
[fallback://error.xmap]
SocketListener0-6 DEBUG source.fallback - Path:         [error.xmap]
SocketListener0-6 DEBUG core.manager - ComponentFactory creating new
instance of
org.apache.lenya.cms.publication.templating.PublicationTemplateManagerImpl.
SocketListener0-6 DEBUG core.manager - logger attribute is
lenya.publication.templatemanager
SocketListener0-6 DEBUG core.manager - IdentityMapImpl::get() looked up type
[publication], key [first] in map, is it there ? true
SocketListener0-6 DEBUG core.manager - Loading configuration for publication
[first]
SocketListener0-6 DEBUG core.manager - Configuration file
[/Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/lenya/pubs/first/config/publication.xml]
exists.
SocketListener0-6 INFO  core.manager - Content directory loaded from pub
configuration: /Users/heyden/Desktop/lenya/src/lenya/data/content
SocketListener0-6 DEBUG core.manager - IdentityMapImpl::get() looked up type
[publication], key [default] in map, is it there ? false
SocketListener0-6 DEBUG publication.templatemanager - Trying to resolve URI
[/Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/lenya/pubs/first//error.xmap]
SocketListener0-6 DEBUG core.manager - Resolving
'/Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/lenya/pubs/first//error.xmap'
with base 'file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/'
in context 'file:/Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/'
SocketListener0-6 DEBUG core.manager - Resolved to systemID :
file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/lenya/pubs/first//error.xmap
SocketListener0-6 DEBUG publication.templatemanager - Trying to resolve URI
[/Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/lenya/pubs/default//error.xmap]
SocketListener0-6 DEBUG publication.templatemanager - Trying to resolve URI
[/Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp//error.xmap]
SocketListener0-6 DEBUG source.fallback - Resolved source:
[file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/lenya/pubs/first/error.xmap]
SocketListener0-6 DEBUG core.manager - ComponentFactory decommissioning
instance of
org.apache.lenya.cms.publication.templating.PublicationTemplateManagerImpl.
SocketListener0-6 DEBUG core.manager - ComponentFactory decommissioning
instance of org.apache.lenya.cms.cocoon.source.FallbackSourceFactory.
SocketListener0-6 DEBUG core.manager - ComponentFactory decommissioning
instance of
org.apache.lenya.cms.cocoon.components.modules.input.PublicationTemplateFallbackModule
.
SocketListener0-6 DEBUG core.manager - Resolving
'file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/lenya/pubs/first/error.xmap'
with base 'file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/'
in context 'file:/Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/'
SocketListener0-6 DEBUG core.manager - Resolved to systemID :
file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/lenya/pubs/first/error.xmap
SocketListener0-6 DEBUG access - Changing Cocoon context
SocketListener0-6 DEBUG access -   from
context(file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/)
and prefix()
SocketListener0-6 DEBUG access -   to
context(file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/lenya/pubs/first/error.xmap)
and prefix()
SocketListener0-6 DEBUG access -   at URI first/introduction.html
SocketListener0-6 DEBUG core.manager - Resolving
'file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/lenya/pubs/first/'
with base 'file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/'
in context 'file:/Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/'
SocketListener0-6 DEBUG core.manager - Resolved to systemID :
file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/lenya/pubs/first/
SocketListener0-6 DEBUG access - New context is
file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/lenya/pubs/first/
SocketListener0-6 DEBUG sitemap - Got a
org.apache.cocoon.components.treeprocessor.sitemap.SitemapLanguage from the
pool.
SocketListener0-6 DEBUG core.xmlizer - No mime-type for xmlizing
file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/lenya/pubs/first/error.xmap,
guessing text/xml
SocketListener0-6 DEBUG core.manager - Got a
org.apache.excalibur.xml.impl.JaxpParser from the pool.
SocketListener0-6 DEBUG core.manager - Put a
org.apache.excalibur.xml.impl.JaxpParser back into the pool.
SocketListener0-6 DEBUG sitemap - added Role
org.apache.cocoon.acting.ActionSelector with shorthand actions for
org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector
SocketListener0-6 DEBUG sitemap - added Role
org.apache.cocoon.selection.SelectorSelector with shorthand selectors for
org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector
SocketListener0-6 DEBUG sitemap - added Role
org.apache.cocoon.components.pipeline.ProcessingPipelineSelector with
shorthand pipes for
org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector
SocketListener0-6 DEBUG sitemap - Adding hint type regexp-uri-matcher
associated with role org.apache.cocoon.matching.MatcherSelector and class
org.apache.cocoon.matching.RegexpURIMatcher
SocketListener0-6 DEBUG sitemap - Adding hint type wildcard-uri-matcher
associated with role org.apache.cocoon.matching.MatcherSelector and class
org.apache.cocoon.matching.WildcardURIMatcher
SocketListener0-6 DEBUG sitemap - added Role
org.apache.cocoon.matching.MatcherSelector with shorthand matchers for
org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector
SocketListener0-6 DEBUG sitemap - Adding hint type file-generator associated
with role org.apache.cocoon.generation.GeneratorSelector and class
org.apache.cocoon.generation.FileGenerator
SocketListener0-6 DEBUG sitemap - Adding hint type XSP-generator associated
with role org.apache.cocoon.generation.GeneratorSelector and class
org.apache.cocoon.generation.ServerPagesGenerator
SocketListener0-6 DEBUG sitemap - added Role
org.apache.cocoon.generation.GeneratorSelector with shorthand generators for
org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector
SocketListener0-6 DEBUG sitemap - Adding hint type XSLT-transformer
associated with role
org.apache.cocoon.transformation.TransformerSelectorand class
org.apache.cocoon.transformation.TraxTransformer
SocketListener0-6 DEBUG sitemap - Adding hint type cinclude-transformer
associated with role
org.apache.cocoon.transformation.TransformerSelectorand class
org.apache.cocoon.transformation.CIncludeTransformer
SocketListener0-6 DEBUG sitemap - added Role
org.apache.cocoon.transformation.TransformerSelector with shorthand
transformers for
org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector
SocketListener0-6 DEBUG sitemap - added Role
org.apache.cocoon.serialization.SerializerSelector with shorthand
serializers for
org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector
SocketListener0-6 DEBUG sitemap - added Role
org.apache.cocoon.reading.ReaderSelector with shorthand readers for
org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector
SocketListener0-6 DEBUG sitemap - added Role
org.apache.cocoon.components.notification.NotifyingBuilder with shorthand
notifying-builder for
org.apache.cocoon.components.notification.DefaultNotifyingBuilder
SocketListener0-6 DEBUG sitemap - Sitemap has no components definition at
file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/lenya/pubs/first/error.xmap:19:63
SocketListener0-6 DEBUG core.roles - looking up shorthand nodes, returning
null
SocketListener0-6 DEBUG sitemap - ComponentSelector setting up with root
element: nodes
SocketListener0-6 DEBUG core.roles - looking up shorthand nodes, returning
null
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.sitemap.SitemapNodeBuilder.
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.SitemapNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.SitemapNodeBuilder for
hint [sitemap]
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.ComponentsNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.ComponentsNodeBuilder for
hint [components]
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder.
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder for hint
[views]
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.sitemap.ViewNodeBuilder.
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.ViewNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.ViewNodeBuilder for hint
[view]
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder.
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder for hint
[action-sets]
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.sitemap.ActionSetNodeBuilder.
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.ActionSetNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.ActionSetNodeBuilder for
hint [action-set]
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder.
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder for hint
[resources]
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.NamedContainerNodeBuilder.
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.NamedContainerNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.NamedContainerNodeBuilder for
hint [resource]
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.FlowNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.FlowNodeBuilder for hint
[flow]
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.ScriptNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.ScriptNodeBuilder for
hint [script]
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNodeBuilder.
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNodeBuilder for
hint [pipelines]
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNodeBuilder.
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNodeBuilder for
hint [pipeline]
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.sitemap.MatchNodeBuilder.
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.MatchNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.MatchNodeBuilder for hint
[match]
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.SelectNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.SelectNodeBuilder for
hint [select]
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.ActNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.ActNodeBuilder for hint
[act]
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.RedirectToNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.RedirectToNodeBuilder for
hint [redirect-to]
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.CallNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.CallNodeBuilder for hint
[call]
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.sitemap.MountNodeBuilder.
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.MountNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.MountNodeBuilder for hint
[mount]
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.sitemap.ReadNodeBuilder.
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.ReadNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.ReadNodeBuilder for hint
[read]
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.AggregateNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.AggregateNodeBuilder for
hint [aggregate]
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.GenerateNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.GenerateNodeBuilder for
hint [generate]
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.TransformNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.TransformNodeBuilder for
hint [transform]
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNodeBuilder for
hint [serialize]
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.sitemap.HandleErrorsNodeBuilder.
SocketListener0-6 DEBUG sitemap - ComponentHandler initialized for:
org.apache.cocoon.components.treeprocessor.sitemap.HandleErrorsNodeBuilder
SocketListener0-6 DEBUG sitemap - Adding
org.apache.cocoon.components.treeprocessor.sitemap.HandleErrorsNodeBuilderfor
hint [handle-errors]
SocketListener0-6 DEBUG sitemap - Creating node builder for sitemap
SocketListener0-6 DEBUG sitemap - Creating node builder for pipelines
SocketListener0-6 DEBUG sitemap - Creating node builder for pipeline
SocketListener0-6 DEBUG sitemap - Creating node builder for match
SocketListener0-6 DEBUG sitemap - Creating node builder for generate
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.sitemap.GenerateNodeBuilder.
SocketListener0-6 DEBUG sitemap - generate has no views at
file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/lenya/pubs/first/error.xmap:24:41
SocketListener0-6 DEBUG sitemap - Creating node builder for transform
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.sitemap.TransformNodeBuilder.
SocketListener0-6 DEBUG sitemap - transform has no views at
file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/lenya/pubs/first/error.xmap:25:74
SocketListener0-6 DEBUG sitemap - Creating node builder for transform
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.sitemap.TransformNodeBuilder.
SocketListener0-6 DEBUG sitemap - transform has no views at
file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/lenya/pubs/first/error.xmap:28:36
SocketListener0-6 DEBUG core.manager - ComponentFactory creating new
instance of
org.apache.lenya.cms.cocoon.components.modules.input.PageEnvelopeModule.
SocketListener0-6 DEBUG core.manager - logger attribute is
sitemap.modules.input.page-envelope
SocketListener0-6 DEBUG core.manager - ComponentFactory decommissioning
instance of
org.apache.lenya.cms.cocoon.components.modules.input.PageEnvelopeModule.
SocketListener0-6 DEBUG sitemap - Creating node builder for transform
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.sitemap.TransformNodeBuilder.
SocketListener0-6 DEBUG sitemap - transform has no views at
file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/lenya/pubs/first/error.xmap:31:38
SocketListener0-6 DEBUG sitemap - Creating node builder for transform
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.sitemap.TransformNodeBuilder.
SocketListener0-6 DEBUG sitemap - transform has no views at
file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/lenya/pubs/first/error.xmap:32:79
SocketListener0-6 DEBUG sitemap - Creating node builder for serialize
SocketListener0-6 DEBUG sitemap - ComponentFactory creating new instance of
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNodeBuilder.
SocketListener0-6 DEBUG sitemap - serialize has no views at
file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/lenya/pubs/first/error.xmap:33:57
SocketListener0-6 DEBUG sitemap - Put a
org.apache.cocoon.components.treeprocessor.sitemap.SitemapLanguage back into
the pool.
SocketListener0-6 DEBUG sitemap - TreeProcessor built in
-1.202384001528E9secs from file:///Users/heyden/Desktop/lenya/apache-
lenya-2.0/build/lenya/webapp/lenya/pubs/first/error.xmap
SocketListener0-6 DEBUG access - Set the URI Prefix (OLD=, NEW=)
SocketListener0-6 DEBUG access - Reset context to
file:///Users/heyden/Desktop/lenya/apache-lenya-2.0/build/lenya/webapp/
SocketListener0-6 ERROR sitemap - An exception occured while handling errors
at <map:handle-errors> - file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/sitemap.xmap:727:24
org.apache.cocoon.ResourceNotFoundException: No pipeline matched request:
first/introduction.html
    at <map:mount> - file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/sitemap.xmap:728:106
    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
PipelineNode.java:149)
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:69)
    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:93)
    at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:235)
    at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:177)
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
TreeProcessor.java:254)
    at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(
MountNode.java:118)
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:69)
    at
org.apache.cocoon.components.treeprocessor.sitemap.HandleErrorsNode.invoke(
HandleErrorsNode.java:89)
    at
org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.prepareErrorHandler
(ErrorHandlerHelper.java:182)
    at
org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.prepareErrorHandler
(ErrorHandlerHelper.java:135)
    at
org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.invokeErrorHandler
(ErrorHandlerHelper.java:108)
    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:100)
    at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:235)
    at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:177)
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
TreeProcessor.java:254)
    at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
    at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java
:1154)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java
:427)
    at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(
WebApplicationHandler.java:475)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java
:567)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
    at org.mortbay.jetty.servlet.WebApplicationContext.handle(
WebApplicationContext.java:635)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
    at org.mortbay.jetty.plus.PlusWebAppContext.handle(
PlusWebAppContext.java:158)
    at org.mortbay.http.HttpServer.service(HttpServer.java:954)
    at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java
:244)
    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
SocketListener0-6 DEBUG access - Response successfully reset
SocketListener0-6 WARN  access - No pipeline matched request:
first/introduction.html
    at <map:mount> - file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/sitemap.xmap:728:106
org.apache.cocoon.ResourceNotFoundException: No pipeline matched request:
first/introduction.html
    at <map:mount> - file:///Users/heyden/Desktop/lenya/apache-lenya-2.0
/build/lenya/webapp/sitemap.xmap:728:106
    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
PipelineNode.java:149)
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:69)
    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:93)
    at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:235)
    at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:177)
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
TreeProcessor.java:254)
    at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(
MountNode.java:118)
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:69)
    at
org.apache.cocoon.components.treeprocessor.sitemap.HandleErrorsNode.invoke(
HandleErrorsNode.java:89)
    at
org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.prepareErrorHandler
(ErrorHandlerHelper.java:182)
    at
org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.prepareErrorHandler
(ErrorHandlerHelper.java:135)
    at
org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper.invokeErrorHandler
(ErrorHandlerHelper.java:108)
    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:100)
    at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:235)
    at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:177)
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
TreeProcessor.java:254)
    at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
    at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java
:1154)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java
:427)
    at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(
WebApplicationHandler.java:475)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java
:567)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
    at org.mortbay.jetty.servlet.WebApplicationContext.handle(
WebApplicationContext.java:635)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
    at org.mortbay.jetty.plus.PlusWebAppContext.handle(
PlusWebAppContext.java:158)
    at org.mortbay.http.HttpServer.service(HttpServer.java:954)
    at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java
:244)
    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
SocketListener0-6 DEBUG access - Response successfully reset
SocketListener0-6 DEBUG http.HttpContext - Handled by
org.mortbay.jetty.servlet.WebApplicationHandler@ac2d3c
SocketListener0-6 DEBUG http.HttpInputStream - resetStream()
SocketListener0-6 DEBUG http.HttpConnection - RESPONSE:
HTTP/1.1 404 Not Found
Date: Thu, 07 Feb 2008 11:33:21 GMT
Server: Jetty/5.1.4 (Mac OS X/10.4.11 ppc java/1.5.0_13
Content-Type: text/html
Content-Length: 981





================= edited access-control.xml == stacktrace only ===========


SocketListener0-8 ERROR sitemap.handled-errors -
org.apache.avalon.framework.configuration.ConfigurationException:
Configuration failed:
org.apache.lenya.ac.AccessControlException:
org.apache.avalon.framework.configuration.ConfigurationException:
Configuration failed:
    at
org.apache.lenya.cms.ac.PublicationAccessControllerResolver.resolveAccessController
(PublicationAccessControllerResolver.java:187)
    at
org.apache.lenya.cms.ac.PublicationAccessControllerResolver.doResolveAccessController
(PublicationAccessControllerResolver.java:84)
    at
org.apache.lenya.ac.impl.AbstractAccessControllerResolver.resolveAccessController
(AbstractAccessControllerResolver.java:80)
    at org.apache.lenya.cms.cocoon.acting.SslRedirectAction.act(
SslRedirectAction.java:71)
    at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke
(ActTypeNode.java:125)
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:47)
    at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(
MatchNode.java:108)
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:69)
    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
PipelineNode.java:143)
    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes
(AbstractParentProcessingNode.java:69)
    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:93)
    at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:235)
    at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:177)
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
TreeProcessor.java:254)
    at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
    at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java
:1154)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java
:427)
    at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(
WebApplicationHandler.java:475)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java
:567)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
    at org.mortbay.jetty.servlet.WebApplicationContext.handle(
WebApplicationContext.java:635)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
    at org.mortbay.jetty.plus.PlusWebAppContext.handle(
PlusWebAppContext.java:158)
    at org.mortbay.http.HttpServer.service(HttpServer.java:954)
    at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java
:244)
    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: org.apache.avalon.framework.configuration.ConfigurationException:
Configuration failed:
    at org.apache.lenya.ac.impl.DefaultAccessController.configure(
DefaultAccessController.java:203)
    at org.apache.lenya.ac.impl.BypassableAccessController.configure(
BypassableAccessController.java:55)
    at
org.apache.lenya.cms.ac.PublicationAccessControllerResolver.resolveAccessController
(PublicationAccessControllerResolver.java:183)
    ... 30 more
Caused by: org.apache.avalon.framework.service.ServiceException:
authorizers: ComponentSelector could not find the component for hint
[policy] (key [policy]) (Key='org.apache.lenya.ac.AuthorizerSelector
/policy')
    at org.apache.avalon.framework.service.WrapperServiceSelector.select(
WrapperServiceSelector.java:85)
    at org.apache.lenya.ac.impl.DefaultAccessController.setupAuthorizers(
DefaultAccessController.java:254)
    at org.apache.lenya.ac.impl.DefaultAccessController.configure(
DefaultAccessController.java:197)
    ... 32 more
Caused by: org.apache.avalon.framework.component.ComponentException:
authorizers: ComponentSelector could not find the component for hint
[policy] (key [policy])
    at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(
ExcaliburComponentSelector.java:208)
    at org.apache.cocoon.components.ExtendedComponentSelector.select(
ExtendedComponentSelector.java:263)
    at org.apache.avalon.framework.service.WrapperServiceSelector.select(
WrapperServiceSelector.java:81)
    ... 34 more
SocketListener0-8 DEBUG access - Response successfully reset






2008/2/7, Jörn Nettingsmeier <ne...@apache.org>:
>
> Richard Frovarp wrote:
> > introduction.html doesn't exist. It's something that is match in a
> > pipeline and aggregates several sources together. It needs a
> > publication.xml which you have. It also needs a readme.xml in the root,
> > which you can find an example of under the default publication. I think
> > that should do it. The tutorial certainly needs to be looked over.
> > Thanks for telling us of these issues, as that <proxies/> should be in
> > there.
>
> i can't reproduce this issue - the readme.xml in the custom publication
> should be optional thanks to aggregate-fallback://, i.e. no error should
> occur if you don't have one.
>
> sebastian, can you post the complete stacktrace?
>
>
> --
> Jörn Nettingsmeier
>
> "One of my most productive days was throwing away 1000 lines of code."
>   - Ken Thompson.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>

Re: jetty quickstart doesnt work

Posted by Jörn Nettingsmeier <ne...@apache.org>.
Richard Frovarp wrote:
> introduction.html doesn't exist. It's something that is match in a
> pipeline and aggregates several sources together. It needs a
> publication.xml which you have. It also needs a readme.xml in the root,
> which you can find an example of under the default publication. I think
> that should do it. The tutorial certainly needs to be looked over.
> Thanks for telling us of these issues, as that <proxies/> should be in
> there.

i can't reproduce this issue - the readme.xml in the custom publication
should be optional thanks to aggregate-fallback://, i.e. no error should
occur if you don't have one.

sebastian, can you post the complete stacktrace?


-- 
Jörn Nettingsmeier

"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: jetty quickstart doesnt work

Posted by Richard Frovarp <Ri...@sendit.nodak.edu>.
Sebastian Heyden wrote:
> thanks,
>
>
> as "workaround" i choosed to try lenya on a mac.
>
> it was running out of the box then. i followed the tutorial
> to create a new publication. after having compile problems i added
> an empty <proxies/> to the publication.xml and the new publication
> showed up on localhost:8888 in the menu.
>
> but if i click it jetty states the following:
>
>
>
>
> (sorry for the html)
>
> do you have another hint for me? 
>
> i didnt found a introduction.html in the default publlication either.
>
>
>
> cheers,
> sebastian
>
>
introduction.html doesn't exist. It's something that is match in a 
pipeline and aggregates several sources together. It needs a 
publication.xml which you have. It also needs a readme.xml in the root, 
which you can find an example of under the default publication. I think 
that should do it. The tutorial certainly needs to be looked over. 
Thanks for telling us of these issues, as that <proxies/> should be in 
there.

Richard

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: jetty quickstart doesnt work

Posted by Sebastian Heyden <se...@gmail.com>.
thanks,

as "workaround" i choosed to try lenya on a mac.

it was running out of the box then. i followed the tutorial
to create a new publication. after having compile problems i added
an empty <proxies/> to the publication.xml and the new publication
showed up on localhost:8888 in the menu.

but if i click it jetty states the following:



Resource Not Found

Message: Resource Not Found

Description: The requested resource "/first/introduction.html" could not be
found

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet
Apache Cocoon 2.1.11-dev <http://cocoon.apache.org/>




(sorry for the html)

do you have another hint for me?

i didnt found a introduction.html in the default publlication either.



cheers,
sebastian







2008/2/6, Andreas Hartmann <an...@apache.org>:
>
> Hi Sebastian,
>
> Sebastian Heyden schrieb:
> > hi,
> >
> >
> > i wanted to try lenya and couldnt figure out why lenya
> > is not starting after a successful build.
> >
> > im running windows, and want to start lenya in jetty by running
> >
> > "lenya.bat servlet"
> >
> > that gives me a jetty instance but when i call http://localhost:8888/
> > i get an HTTP 500 error
> >
> > "Could not initialize class
> > org.apache.cocoon.components.serializers.encoding.CharsetFactory"
>
> this seems to be a known issue on Windows:
>
>
> http://mail-archives.apache.org/mod_mbox/cocoon-users/200703.mbox/%3cede9a1830703110502r6be1bd73u110e7e0e9aedd4e4@mail.gmail.com%3e
>
>
> http://mail-archives.apache.org/mod_mbox/lenya-user/200507.mbox/%3C42D1C0C9.5030007@artifact-software.com%3E
>
>
> A typical issue on Windows is that some components don't like spaces in
> the installation path. If this isn't the case in your application, I'm a
> bit lost - you could try to contact the people which reported the
> problem in the threads above, maybe they found a solution.
>
> HTH,
>
> -- Andreas
>
>
> --
> Andreas Hartmann, CTO
> BeCompany GmbH
> http://www.becompany.ch
> Tel.: +41 (0) 43 818 57 01
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>

Re: jetty quickstart doesnt work

Posted by Andreas Hartmann <an...@apache.org>.
Hi Sebastian,

Sebastian Heyden schrieb:
> hi,
> 
> 
> i wanted to try lenya and couldnt figure out why lenya
> is not starting after a successful build.
> 
> im running windows, and want to start lenya in jetty by running
> 
> "lenya.bat servlet"
> 
> that gives me a jetty instance but when i call http://localhost:8888/
> i get an HTTP 500 error
> 
> "Could not initialize class 
> org.apache.cocoon.components.serializers.encoding.CharsetFactory"

this seems to be a known issue on Windows:

http://mail-archives.apache.org/mod_mbox/cocoon-users/200703.mbox/%3cede9a1830703110502r6be1bd73u110e7e0e9aedd4e4@mail.gmail.com%3e

http://mail-archives.apache.org/mod_mbox/lenya-user/200507.mbox/%3C42D1C0C9.5030007@artifact-software.com%3E


A typical issue on Windows is that some components don't like spaces in 
the installation path. If this isn't the case in your application, I'm a 
bit lost - you could try to contact the people which reported the 
problem in the threads above, maybe they found a solution.

HTH,

-- Andreas


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org