You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mansour Al Akeel <ma...@gmail.com> on 2013/02/23 06:37:34 UTC

(Unknown)

A block that was working few weeks ago, now is throwing an exception:

00:31:25.886 [btpool0-1] DEBUG o.a.c.jci.stores.MemoryResourceStore -
reading resource java/lang/ObjectBeanInfo.class
00:31:25.895 [btpool0-1] DEBUG o.a.c.s.DispatcherServlet -
DispatcherServlet: service
servlet=org.apache.cocoon.servlet.XMLSitemapServlet@1d1f967
mountPath=/contents servletPath=/contents
pathInfo=/article/760917/en.xml
00:31:25.900 [btpool0-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory -
Returning cached instance of singleton bean
'org.apache.cocoon.jnet.URLHandlerFactoryCollector'
00:31:25.901 [btpool0-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory -
Returning cached instance of singleton bean
'org.apache.cocoon.configuration.Settings'
00:31:25.909 [btpool0-1] ERROR o.a.cocoon.servlet.XMLSitemapServlet -
Can't initialize the RequestProcessor correctly.
org.apache.cocoon.servlet.RequestProcessor$InvalidBaseUrlException: An
exception occurred while retrieving the base URL from the servlet
context.
	at org.apache.cocoon.servlet.RequestProcessor.initializeBaseURL(RequestProcessor.java:174)
~[cocoon-servlet-3.0.0-beta-1-SNAPSHOT.jar:3.0.0-beta-1-SNAPSHOT]
	at org.apache.cocoon.servlet.RequestProcessor.<init>(RequestProcessor.java:81)
~[cocoon-servlet-3.0.0-beta-1-SNAPSHOT.jar:3.0.0-beta-1-SNAPSHOT]
	at org.apache.cocoon.servlet.XMLSitemapServlet.lazyInitialize(XMLSitemapServlet.java:68)
[cocoon-servlet-3.0.0-beta-1-SNAPSHOT.jar:3.0.0-beta-1-SNAPSHOT]
	at org.apache.cocoon.servlet.XMLSitemapServlet.service(XMLSitemapServlet.java:46)
[cocoon-servlet-3.0.0-beta-1-SNAPSHOT.jar:3.0.0-beta-1-SNAPSHOT]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
[servlet-api-2.5-6.1.7.jar:6.1.7]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_37]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
~[na:1.6.0_37]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
~[na:1.6.0_37]


This is the bean definition:



	<bean name="ca.example.cms.contents.service"
class="org.apache.cocoon.servlet.XMLSitemapServlet">
		<servlet:context mount-path="/contents"
context-path="blockcontext:/contents/" />
	</bean>
	


I am not sure if something changed recently.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org