You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Forge <fo...@neonics.com> on 2001/01/07 02:54:40 UTC

Cocoon2 sitemap problem

Hello there,

my system:

Debian/GNU Linux, latest
JDK 1.2.2
Tomcat 3.x (3 weeks old?), works fine with cocoon 1 (1.8 or so)
Latest cocoon2 checkout (time when i sent this mail)

INSTALLATION:

I followed the INSTALL, and tomcat unpacks the WAR file correctly.

PROBLEM:

When I ask for any /cocoon url, i get the following exception:

-------------------------------------------------------------------
type internal-server-error

message The sitemap handler's sitemap is not available.

description org.apache.cocoon.ProcessingException: The sitemap handler's
sitemap is not available.

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stacktrace

org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is
not available.
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java, Compiled
Code)
	at org.apache.cocoon.Cocoon.process(Cocoon.java, Compiled Code)
	at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java,
Compiled Code)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java,
Compiled Code)
	at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java,
Compiled Code)
	at org.apache.tomcat.core.Handler.service(Handler.java, Compiled
Code)
	at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java,
Compiled Code)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java,
Compiled Code)
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java,
Compiled Code)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java,
Compiled Code)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
Compiled Code)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
Compiled Code)
	at java.lang.Thread.run(Thread.java, Compiled Code)


request-uri

/cocoon/

path-info

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

When i rename the sitemap.xmap, cocoon tells me it can't find it
so it really reads it.. sitemap.available() returns false...


Any solutions welcome :)


Re: Cocoon2 sitemap problem

Posted by fo...@neonics.com.

On Sun, 7 Jan 2001, Viktors Rotanovs wrote:

Thank you very much, this worked ;)

Strange that cocoon stores the libraries it needs in WEB-INF/lib without
tomcat knowing about it.. ;)


> Hi,
> 
> this usually means that class is not found. Try moving all lib/* and 
> cocoon.jar to tomcat's lib and remove jaxp.jar and parser.jar from
> there. This should help.
> 
> On Sunday 07 January 2001 03:54, you wrote:
> > Hello there,
> >
> > my system:
> >
> > Debian/GNU Linux, latest
> > JDK 1.2.2
> > Tomcat 3.x (3 weeks old?), works fine with cocoon 1 (1.8 or so)
> > Latest cocoon2 checkout (time when i sent this mail)
> >
> > INSTALLATION:
> >
> > I followed the INSTALL, and tomcat unpacks the WAR file correctly.
> >
> > PROBLEM:
> >
> > When I ask for any /cocoon url, i get the following exception:
> >
> > -------------------------------------------------------------------
> > type internal-server-error
> >
> > message The sitemap handler's sitemap is not available.
> >
> > description org.apache.cocoon.ProcessingException: The sitemap handler's
> > sitemap is not available.
> >
> > sender org.apache.cocoon.servlet.CocoonServlet
> >
> > source Cocoon servlet
> >
> > stacktrace
> >
> > org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is
> > not available.
> > 	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java, Compiled
> > Code)
> > 	at org.apache.cocoon.Cocoon.process(Cocoon.java, Compiled Code)
> > 	at
> > org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java,
> > Compiled Code)
> > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java,
> > Compiled Code)
> > 	at
> > org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java,
> > Compiled Code)
> > 	at org.apache.tomcat.core.Handler.service(Handler.java, Compiled
> > Code)
> > 	at
> > org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java,
> > Compiled Code)
> > 	at
> > org.apache.tomcat.core.ContextManager.internalService(ContextManager.java,
> > Compiled Code)
> > 	at
> > org.apache.tomcat.core.ContextManager.service(ContextManager.java,
> > Compiled Code)
> > 	at
> > org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Http
> >ConnectionHandler.java, Compiled Code)
> > 	at
> > org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
> > Compiled Code)
> > 	at
> > org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
> > Compiled Code)
> > 	at java.lang.Thread.run(Thread.java, Compiled Code)
> >
> >
> > request-uri
> >
> > /cocoon/
> >
> > path-info
> >
> > -------------------------------------------------------------------------
> >
> > When i rename the sitemap.xmap, cocoon tells me it can't find it
> > so it really reads it.. sitemap.available() returns false...
> >
> >
> > Any solutions welcome :)
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 
> -- 
> Best Wishes,
> Viktors Rotanovs
> Riga, Latvia. Phone/Fax +371 7377-472
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 


Re: Cocoon2 sitemap problem

Posted by Viktors Rotanovs <Vi...@Rotanovs.com>.
Hi,

this usually means that class is not found. Try moving all lib/* and 
cocoon.jar to tomcat's lib and remove jaxp.jar and parser.jar from
there. This should help.

On Sunday 07 January 2001 03:54, you wrote:
> Hello there,
>
> my system:
>
> Debian/GNU Linux, latest
> JDK 1.2.2
> Tomcat 3.x (3 weeks old?), works fine with cocoon 1 (1.8 or so)
> Latest cocoon2 checkout (time when i sent this mail)
>
> INSTALLATION:
>
> I followed the INSTALL, and tomcat unpacks the WAR file correctly.
>
> PROBLEM:
>
> When I ask for any /cocoon url, i get the following exception:
>
> -------------------------------------------------------------------
> type internal-server-error
>
> message The sitemap handler's sitemap is not available.
>
> description org.apache.cocoon.ProcessingException: The sitemap handler's
> sitemap is not available.
>
> sender org.apache.cocoon.servlet.CocoonServlet
>
> source Cocoon servlet
>
> stacktrace
>
> org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is
> not available.
> 	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java, Compiled
> Code)
> 	at org.apache.cocoon.Cocoon.process(Cocoon.java, Compiled Code)
> 	at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java,
> Compiled Code)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java,
> Compiled Code)
> 	at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java,
> Compiled Code)
> 	at org.apache.tomcat.core.Handler.service(Handler.java, Compiled
> Code)
> 	at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java,
> Compiled Code)
> 	at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java,
> Compiled Code)
> 	at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java,
> Compiled Code)
> 	at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Http
>ConnectionHandler.java, Compiled Code)
> 	at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
> Compiled Code)
> 	at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
> Compiled Code)
> 	at java.lang.Thread.run(Thread.java, Compiled Code)
>
>
> request-uri
>
> /cocoon/
>
> path-info
>
> -------------------------------------------------------------------------
>
> When i rename the sitemap.xmap, cocoon tells me it can't find it
> so it really reads it.. sitemap.available() returns false...
>
>
> Any solutions welcome :)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

-- 
Best Wishes,
Viktors Rotanovs
Riga, Latvia. Phone/Fax +371 7377-472