The sitemap handler's sitemap is not available

2001-06-19 Thread Guangzu Wang (Houston)

Hi all,

I installed Tomcat 3.2.2 and Cocoon2, the Tomcat works well
(http://localhost:8080) but Cocoon2 not, it gave me the error message of
"The sitemap handler's sitemap is not available". I did delete jaxp.jar and
copied xerces-1.4.0.jar and changed parser.jar to zparser.jar as suggested.
When I search the archive list, I found similar problem and suggestions was
use Tomcat 4. So I installed Tomcat 4.0 beta 5. Again I changed the class
path in web.xml which make servlet.jar visible to Cocoon2 in web.xml before
building cocoon.war. After I run the Tomcat and Cocoon, I still got similar
error message of "The sitemap handler's sitemap is not available".  My Linux
box is Red Hat 7.1 and I installed JDK 1.3.1 and setup the JAVA_HOME and
path accordingly.

I actually need a server side xslt process tool. I tried AxKit since most of
my code is perl but unfortunately I can not get Sablotron for I can not get
http://www.gingerall.com/ for some reasons(host down?). Then I turn to
Cocoon2. Look like this is not a easy task either.

Anybody get a clue, Thanks a million in advance!

Guangzu

Here's error message from Tomcat 3.2.2 and Tomcat 4.0 beta 5.

Tomcat 3.2.2

org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available.
at
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
at org.apache.cocoon.Cocoon.process(Cocoon.java:328)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)

Tomcat 4.0 beta 5.

org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available.
at
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
at org.apache.cocoon.Cocoon.process(Cocoon.java:328)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:254)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:194)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:255)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:225)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2252)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
875)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:952)
  

the sitemap handler's sitemap is not available

2001-07-22 Thread raghu




Cocoon 2 - Internal server error


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
request-uri/cocoon/

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

path-info

stacktraceorg.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available.
	at org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:293)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
	at org.apache.tomcat.core.Handler.service(Handler.java:287)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
	at java.lang.Thread.run(Thread.java:484)




What may be the 
error?  where should i check??
bye,
raghu
 
"black holes are,when GOD is 
dividing by zero" 


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

2001-06-12 Thread Wesselmann, Marcus

Probably a stupid newbie question, but what did I do wrong, if I get this
message when requesting localhost:8080/cocoon/ ???

RedHat 7.0
Tomcat 3.2.1
Cocoon 2.0b1

Thanks a lot.

Marcus

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: The sitemap handler's sitemap is not available

2001-06-20 Thread Daniel Pfuhl

Hi

have you installed it via e remote console? I ran
into the same error. I found something in the mailing
archives that Cocoon needs a displayvariable to be set
for the svg stuff. so I tried this and it worked for
me. Look into your Cocoon log if something like this
may have caused the error.

HTH

daniel

--- "Guangzu Wang (Houston)"
<[EMAIL PROTECTED]> schrieb: > Hi all,
> 
> I installed Tomcat 3.2.2 and Cocoon2, the Tomcat
> works well
> (http://localhost:8080) but Cocoon2 not, it gave me
> the error message of
> "The sitemap handler's sitemap is not available". I
> did delete jaxp.jar and
> copied xerces-1.4.0.jar and changed parser.jar to
> zparser.jar as suggested.
> When I search the archive list, I found similar
> problem and suggestions was
> use Tomcat 4. So I installed Tomcat 4.0 beta 5.
> Again I changed the class
> path in web.xml which make servlet.jar visible to
> Cocoon2 in web.xml before
> building cocoon.war. After I run the Tomcat and
> Cocoon, I still got similar
> error message of "The sitemap handler's sitemap is
> not available".  My Linux
> box is Red Hat 7.1 and I installed JDK 1.3.1 and
> setup the JAVA_HOME and
> path accordingly.
> 
> I actually need a server side xslt process tool. I
> tried AxKit since most of
> my code is perl but unfortunately I can not get
> Sablotron for I can not get
> http://www.gingerall.com/ for some reasons(host
> down?). Then I turn to
> Cocoon2. Look like this is not a easy task either.
> 
> Anybody get a clue, Thanks a million in advance!
> 
> Guangzu
> 
> Here's error message from Tomcat 3.2.2 and Tomcat
> 4.0 beta 5.
> 
> Tomcat 3.2.2
> 
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not
> available.
>   at
>
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
>   at
>
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
>   at
> org.apache.cocoon.Cocoon.process(Cocoon.java:328)
>   at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
>   at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
>   at
>
org.apache.tomcat.core.Handler.service(Handler.java:287)
>   at
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>   at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
>   at
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>   at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:213)
>   at
>
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>   at
>
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
>   at java.lang.Thread.run(Thread.java:484)
> 
> Tomcat 4.0 beta 5.
> 
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not
> available.
>   at
>
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
>   at
>
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
>   at
> org.apache.cocoon.Cocoon.process(Cocoon.java:328)
>   at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
>   at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:254)
>   at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:194)
>   at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:255)
>   at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>   at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>   at
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:225)
>   at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>   at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>   at
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2252)
>   at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
> )
>   at
>
org.apache.catalina.c

Re: The sitemap handler's sitemap is not available

2001-06-20 Thread matthieu VIDAL

Do you have old c:/jeee/cocoon2alpha/lib/w3c.jar; in your classpath or
libray.

Maybe you should try to remove it.

- Original Message -
From: Guangzu Wang (Houston) <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 4:00 AM
Subject: The sitemap handler's sitemap is not available


> Hi all,
>
> I installed Tomcat 3.2.2 and Cocoon2, the Tomcat works well
> (http://localhost:8080) but Cocoon2 not, it gave me the error message of
> "The sitemap handler's sitemap is not available". I did delete jaxp.jar
and
> copied xerces-1.4.0.jar and changed parser.jar to zparser.jar as
suggested.
> When I search the archive list, I found similar problem and suggestions
was
> use Tomcat 4. So I installed Tomcat 4.0 beta 5. Again I changed the class
> path in web.xml which make servlet.jar visible to Cocoon2 in web.xml
before
> building cocoon.war. After I run the Tomcat and Cocoon, I still got
similar
> error message of "The sitemap handler's sitemap is not available".  My
Linux
> box is Red Hat 7.1 and I installed JDK 1.3.1 and setup the JAVA_HOME and
> path accordingly.
>
> I actually need a server side xslt process tool. I tried AxKit since most
of
> my code is perl but unfortunately I can not get Sablotron for I can not
get
> http://www.gingerall.com/ for some reasons(host down?). Then I turn to
> Cocoon2. Look like this is not a easy task either.
>
> Anybody get a clue, Thanks a million in advance!
>
> Guangzu
>
> Here's error message from Tomcat 3.2.2 and Tomcat 4.0 beta 5.
>
> Tomcat 3.2.2
>
> org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is
not
> available.
> at
> org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
> at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
> at org.apache.cocoon.Cocoon.process(Cocoon.java:328)
> at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
> at org.apache.tomcat.core.Handler.service(Handler.java:287)
> at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:213)
> at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
> at java.lang.Thread.run(Thread.java:484)
>
> Tomcat 4.0 beta 5.
>
> org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is
not
> available.
> at
> org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
> at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
> at org.apache.cocoon.Cocoon.process(Cocoon.java:328)
> at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:254)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:194)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:255)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:225)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2252)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
> )
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.Co

[PATCH] The sitemap handler's sitemap is not available

2001-06-20 Thread francesco.casalena

Hi,
I had this error message on RedHat 6.2, TC4 beta5, JDK 1.3.1 and C2.
It was an error due to X server.

Try this:
1) kill X server and delete /tmp/.X0-lock file
2) install Xvfb package (X virtual frame buffer) from distro cd
3) Xvfb :0 -screen 0 640x480x8
4) export DISPLAY=:0
5) cd TC4_HOME
6) ./bin/catalina.sh start
7) lynx http://localhost:8080/cocoon

If necessary wait for some minutes...
Without X you can browse C2 and TC4 files only with lynx in your server.
No problems for remote connections.

Hope to help you.

Hi, ciao
Francesco

--
Virgilio Mail - Il tuo indirizzo E-mail gratis
http://mail.virgilio.it


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: The sitemap handler's sitemap is not available

2001-06-20 Thread java guru

I am not sure if this solves your problem... You have
posted the log from the point where it said sitemap
handler not found...I am also newbie..but what i
observed is that when u start the
cocoon(http://localhost:8080/cocoon) it first try to
compile the sitemap...ANY SITEMAP COMPILE ERRORS would
results in subsequent "sitemap handler not found"
errors. So I alwasy look beyond the "sitemap not found
error" in the log to see if there were any prior
errors after the cocoon started(i delete the log
before starting cocoon so that what i have in log
after start is fresh)...

For example when i run cocoon on my redhat linux thru
command line the sitemap couldnt get compiled resulted
in "sitemap handler not found"..but when i look at the
log from the beginning..i see this svg stuff
error..java swing related ( not be able to connect to
display 0.0) error which in turn resulted in sitemap
not being compiled... then i started the server from
gui environment and everything worked fine

Hope this helps..


--- "Guangzu Wang (Houston)"
<[EMAIL PROTECTED]> wrote: > Hi all,
> 
> I installed Tomcat 3.2.2 and Cocoon2, the Tomcat
> works well
> (http://localhost:8080) but Cocoon2 not, it gave me
> the error message of
> "The sitemap handler's sitemap is not available". I
> did delete jaxp.jar and
> copied xerces-1.4.0.jar and changed parser.jar to
> zparser.jar as suggested.
> When I search the archive list, I found similar
> problem and suggestions was
> use Tomcat 4. So I installed Tomcat 4.0 beta 5.
> Again I changed the class
> path in web.xml which make servlet.jar visible to
> Cocoon2 in web.xml before
> building cocoon.war. After I run the Tomcat and
> Cocoon, I still got similar
> error message of "The sitemap handler's sitemap is
> not available".  My Linux
> box is Red Hat 7.1 and I installed JDK 1.3.1 and
> setup the JAVA_HOME and
> path accordingly.
> 
> I actually need a server side xslt process tool. I
> tried AxKit since most of
> my code is perl but unfortunately I can not get
> Sablotron for I can not get
> http://www.gingerall.com/ for some reasons(host
> down?). Then I turn to
> Cocoon2. Look like this is not a easy task either.
> 
> Anybody get a clue, Thanks a million in advance!
> 
> Guangzu
> 
> Here's error message from Tomcat 3.2.2 and Tomcat
> 4.0 beta 5.
> 
> Tomcat 3.2.2
> 
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not
> available.
>   at
>
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
>   at
>
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
>   at
> org.apache.cocoon.Cocoon.process(Cocoon.java:328)
>   at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
>   at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
>   at
>
org.apache.tomcat.core.Handler.service(Handler.java:287)
>   at
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>   at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
>   at
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>   at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:213)
>   at
>
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>   at
>
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
>   at java.lang.Thread.run(Thread.java:484)
> 
> Tomcat 4.0 beta 5.
> 
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not
> available.
>   at
>
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
>   at
>
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
>   at
> org.apache.cocoon.Cocoon.process(Cocoon.java:328)
>   at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
>   at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:254)
>   at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:194)
>   at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:255)
>   at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>   at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>   at
>
org.apa

RE: The sitemap handler's sitemap is not available

2001-06-20 Thread Guangzu Wang (Houston)

Thanks to Java Guru, Matthieu VIDAL, Daniel Pfuhl for your prompt reply and
great help. Also thanks Eirik Dentz for your research on display svg
although I don't understand all and I have RH Linux instead of Debian, you
also pointed to me a great archive site which I have been tried to search
for a while.

Yeap, the problem is because of display variable related to svg and I
started it from X Windows (with linux console) and that solved the problem.
Although I still get some warning about the font-properties, blah, blah.

The next step is figure out how to make it work from the remote console and
that's the Eirik's research all about, right? :) I need to do that since our
server room is so uncomfortable :(

Thanks for you guys again for making my first Cocoon experience enjoyable.

Guangzu
>-Original Message-
>From: java guru [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, June 20, 2001 8:08 AM
>To: [EMAIL PROTECTED]
>Subject: Re: The sitemap handler's sitemap is not available
>
>
>I am not sure if this solves your problem... You have
>posted the log from the point where it said sitemap
>handler not found...I am also newbie..but what i
>observed is that when u start the
>cocoon(http://localhost:8080/cocoon) it first try to
>compile the sitemap...ANY SITEMAP COMPILE ERRORS would
>results in subsequent "sitemap handler not found"
>errors. So I alwasy look beyond the "sitemap not found
>error" in the log to see if there were any prior
>errors after the cocoon started(i delete the log
>before starting cocoon so that what i have in log
>after start is fresh)...
>
>For example when i run cocoon on my redhat linux thru
>command line the sitemap couldnt get compiled resulted
>in "sitemap handler not found"..but when i look at the
>log from the beginning..i see this svg stuff
>error..java swing related ( not be able to connect to
>display 0.0) error which in turn resulted in sitemap
>not being compiled... then i started the server from
>gui environment and everything worked fine
>
>Hope this helps..
>
>
>--- "Guangzu Wang (Houston)"
><[EMAIL PROTECTED]> wrote: > Hi all,
>> 
>> I installed Tomcat 3.2.2 and Cocoon2, the Tomcat
>> works well
>> (http://localhost:8080) but Cocoon2 not, it gave me
>> the error message of
>> "The sitemap handler's sitemap is not available". I
>> did delete jaxp.jar and
>> copied xerces-1.4.0.jar and changed parser.jar to
>> zparser.jar as suggested.
>> When I search the archive list, I found similar
>> problem and suggestions was
>> use Tomcat 4. So I installed Tomcat 4.0 beta 5.
>> Again I changed the class
>> path in web.xml which make servlet.jar visible to
>> Cocoon2 in web.xml before
>> building cocoon.war. After I run the Tomcat and
>> Cocoon, I still got similar
>> error message of "The sitemap handler's sitemap is
>> not available".  My Linux
>> box is Red Hat 7.1 and I installed JDK 1.3.1 and
>> setup the JAVA_HOME and
>> path accordingly.
>> 
>> I actually need a server side xslt process tool. I
>> tried AxKit since most of
>> my code is perl but unfortunately I can not get
>> Sablotron for I can not get
>> http://www.gingerall.com/ for some reasons(host
>> down?). Then I turn to
>> Cocoon2. Look like this is not a easy task either.
>> 
>> Anybody get a clue, Thanks a million in advance!
>> 
>> Guangzu
>> 
>> Here's error message from Tomcat 3.2.2 and Tomcat
>> 4.0 beta 5.
>> 
>> Tomcat 3.2.2
>> 
>> org.apache.cocoon.ProcessingException: The sitemap
>> handler's sitemap is not
>> available.
>>  at
>>
>org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
>>  at
>>
>org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
>>  at
>> org.apache.cocoon.Cocoon.process(Cocoon.java:328)
>>  at
>>
>org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
>>  at
>>
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>  at
>>
>org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.
>java:405)
>>  at
>>
>org.apache.tomcat.core.Handler.service(Handler.java:287)
>>  at
>>
>org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>>  at
>>
>org.apache.tomcat.core.ContextManager.internalService(ContextMa
>nager.java:79
>> 7)
>>  at
>>
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>>  at
>>
>org.apache.tomcat.service.

RE: The sitemap handler's sitemap is not available

2001-06-20 Thread Daniel Pfuhl

Hi

I must say this once:

That's why I like the guys around Apache ...
(don't get me wrong *g*)
I would never have been at here with my knowledge
alone ore without all of you.
I'm very proud to be a member of this list
and a very little contributor.

daniel


--- "Guangzu Wang (Houston)"
<[EMAIL PROTECTED]> schrieb: > Thanks to
Java Guru, Matthieu VIDAL, Daniel Pfuhl
> for your prompt reply and
> great help. Also thanks Eirik Dentz for your
> research on display svg
> although I don't understand all and I have RH Linux
> instead of Debian, you
> also pointed to me a great archive site which I have
> been tried to search
> for a while.
> 
> Yeap, the problem is because of display variable
> related to svg and I
> started it from X Windows (with linux console) and
> that solved the problem.
> Although I still get some warning about the
> font-properties, blah, blah.
> 
> The next step is figure out how to make it work from
> the remote console and
> that's the Eirik's research all about, right? :) I
> need to do that since our
> server room is so uncomfortable :(
> 
> Thanks for you guys again for making my first Cocoon
> experience enjoyable.
> 
> Guangzu
> >-Original Message-----
> >From: java guru [mailto:[EMAIL PROTECTED]]
> >Sent: Wednesday, June 20, 2001 8:08 AM
> >To: [EMAIL PROTECTED]
> >Subject: Re: The sitemap handler's sitemap is not
> available
> >
> >
> >I am not sure if this solves your problem... You
> have
> >posted the log from the point where it said sitemap
> >handler not found...I am also newbie..but what i
> >observed is that when u start the
> >cocoon(http://localhost:8080/cocoon) it first try
> to
> >compile the sitemap...ANY SITEMAP COMPILE ERRORS
> would
> >results in subsequent "sitemap handler not found"
> >errors. So I alwasy look beyond the "sitemap not
> found
> >error" in the log to see if there were any prior
> >errors after the cocoon started(i delete the log
> >before starting cocoon so that what i have in log
> >after start is fresh)...
> >
> >For example when i run cocoon on my redhat linux
> thru
> >command line the sitemap couldnt get compiled
> resulted
> >in "sitemap handler not found"..but when i look at
> the
> >log from the beginning..i see this svg stuff
> >error..java swing related ( not be able to connect
> to
> >display 0.0) error which in turn resulted in
> sitemap
> >not being compiled... then i started the server
> from
> >gui environment and everything worked fine
> >
> >Hope this helps..
> >
> >
> >--- "Guangzu Wang (Houston)"
> ><[EMAIL PROTECTED]> wrote: > Hi all,
> >> 
> >> I installed Tomcat 3.2.2 and Cocoon2, the Tomcat
> >> works well
> >> (http://localhost:8080) but Cocoon2 not, it gave
> me
> >> the error message of
> >> "The sitemap handler's sitemap is not available".
> I
> >> did delete jaxp.jar and
> >> copied xerces-1.4.0.jar and changed parser.jar to
> >> zparser.jar as suggested.
> >> When I search the archive list, I found similar
> >> problem and suggestions was
> >> use Tomcat 4. So I installed Tomcat 4.0 beta 5.
> >> Again I changed the class
> >> path in web.xml which make servlet.jar visible to
> >> Cocoon2 in web.xml before
> >> building cocoon.war. After I run the Tomcat and
> >> Cocoon, I still got similar
> >> error message of "The sitemap handler's sitemap
> is
> >> not available".  My Linux
> >> box is Red Hat 7.1 and I installed JDK 1.3.1 and
> >> setup the JAVA_HOME and
> >> path accordingly.
> >> 
> >> I actually need a server side xslt process tool.
> I
> >> tried AxKit since most of
> >> my code is perl but unfortunately I can not get
> >> Sablotron for I can not get
> >> http://www.gingerall.com/ for some reasons(host
> >> down?). Then I turn to
> >> Cocoon2. Look like this is not a easy task
> either.
> >> 
> >> Anybody get a clue, Thanks a million in advance!
> >> 
> >> Guangzu
> >> 
> >> Here's error message from Tomcat 3.2.2 and Tomcat
> >> 4.0 beta 5.
> >> 
> >> Tomcat 3.2.2
> >> 
> >> org.apache.cocoon.ProcessingException: The
> sitemap
> >> handler's sitemap is not
> >> available.
> >>at
> >>
>
>org.apache.cocoon.sitemap.Manager.set

RE: The sitemap handler's sitemap is not available

2001-06-20 Thread Guangzu Wang (Houston)

After I read Eirik Dentz email in the archive
(http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=99187677417717&w=2)
again, I checked my Linux box and found a Xvfb server (XFree86-Xvfb) is
already installed and running. So I set up the DISPLAY by:
shell$ export DISPLAY=:0
and I run Tomcat 4.0 b5 with C2 from my comfortable remote desk, bingo!
Cheers!

Guangzu

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: The sitemap handler's sitemap is not available

2001-06-20 Thread Gary Clark

That is a great email!  Has anyone converted it for inclusion in the FAQ?

Gary A. Clark
Systems Programmer
Software Services Group
JELD-WEN Information Systems

> -Original Message-
> From: Guangzu Wang (Houston) [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, June 20, 2001 9:50 AM
> To:   '[EMAIL PROTECTED]'
> Subject:  RE: The sitemap handler's sitemap is not available
> 
> After I read Eirik Dentz email in the archive
> (http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=99187677417717&w=2)
> again, I checked my Linux box and found a Xvfb server (XFree86-Xvfb) is
> already installed and running. So I set up the DISPLAY by:
> shell$ export DISPLAY=:0
> and I run Tomcat 4.0 b5 with C2 from my comfortable remote desk, bingo!
> Cheers!
> 
> Guangzu
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Again ! the sitemap handler's sitemap is not available

2001-06-20 Thread Ling Kok Choon

hi friends,

   I am facing the same problem when i try to start the cocoon 2. I have build and 
install the 
cocoon 2 beta version to my system ( windows 98, tomcat 3.2.2 , jdk 1.3.1 ), and i 
have follow 
all the step at the install page. But the Cocoon 2 Internal Server Error still occur. 
  I checked the log file, and i found some error happened, but i don't know how to 
solve it. SO 
hoping your help.

Note : sitemap's error code is at the bottom of this email, (Error number 3).


Here is a part of the log file :

1) here i think is the Database connection error, right ?

***
2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15320   [cocoon  ] (Thread-24):  
 
org.apache.avalon.excalibur.datasource.JdbcConnection: could not be instantiated.
java.sql.SQLException: File input/output error: 
${install.war}/cocoon/WEB-INF/db/cocoondb.properties
at org.hsqldb.Trace.getError(Trace.java:180)
at org.hsqldb.Trace.getError(Trace.java:144)
at org.hsqldb.Trace.error(Trace.java:205)
at org.hsqldb.Log.saveProperties(Log.java:621)
at org.hsqldb.Log.create(Log.java:512)
at org.hsqldb.Log.open(Log.java:159)
at org.hsqldb.Database.(Database.java:96)
at org.hsqldb.jdbcConnection.openStandalone(jdbcConnection.java:926)
at org.hsqldb.jdbcConnection.(jdbcConnection.java:682)
at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:116)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at 
org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInstance(JdbcConnectionFactory.ja
va:52)
at 
org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:70)
at 
org.apache.avalon.excalibur.pool.HardResourceLimitingPool.newPoolable(HardResourceLimitingPool.ja
va:85)
at 
org.apache.avalon.excalibur.datasource.JdbcConnectionPool.newPoolable(JdbcConnectionPool.java:50)

at 
org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceLimitingPool.java:82)
at 
org.apache.avalon.excalibur.datasource.JdbcConnectionPool.run(JdbcConnectionPool.java:109)
at java.lang.Thread.run(Thread.java:484)

2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15380   [cocoon  ] (Thread-10): 
getRealPath for /: 
D:\jakarta-tomcat-3.2.2\webapps\cocoon\

***


2) Again a Database connection error, right ?

***
2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15380   [cocoon  ] (Thread-10): URL for 
Root: 
file:/D:/jakarta-tomcat-3.2.2/webapps/cocoon/

2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15380   [cocoon  ] (Thread-24): 
org.apache.avalon.excalibur.datasource.JdbcConnection: could not be instantiated.
java.sql.SQLException: File input/output error: 
${install.war}/cocoon/WEB-INF/db/cocoondb.properties
at org.hsqldb.Trace.getError(Trace.java:180)
at org.hsqldb.Trace.getError(Trace.java:144)
at org.hsqldb.Trace.error(Trace.java:205)
at org.hsqldb.Log.saveProperties(Log.java:621)
at org.hsqldb.Log.create(Log.java:512)
at org.hsqldb.Log.open(Log.java:159)
at org.hsqldb.Database.(Database.java:96)
at org.hsqldb.jdbcConnection.openStandalone(jdbcConnection.java:926)
at org.hsqldb.jdbcConnection.(jdbcConnection.java:682)
at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:116)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at 
org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInstance(JdbcConnectionFactory.ja
va:52)
at 
org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:70)
at 
org.apache.avalon.excalibur.pool.HardResourceLimitingPool.newPoolable(HardResourceLimitingPool.ja
va:85)
at 
org.apache.avalon.excalibur.datasource.JdbcConnectionPool.newPoolable(JdbcConnectionPool.java:50)

at 
org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceLimitingPool.java:82)
at 
org.apache.avalon.excalibur.datasource.JdbcConnectionPool.run(JdbcConnectionPool.java:109)
at java.lang.Thread.run(Thread.java:484)

2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15380   [cocoon  ] (Thread-24): 
org.apache.avalon.excalibur.datasource.JdbcConnection: could not be instantiated.
java.sql.SQLException: File input/output error: 
${install.war}/cocoon/WEB-INF/db/cocoondb.properties
at org.hsqldb.Trace.getError(Trace.java:180)
at org.hsqldb.Trace.getError(Trace.java:144)
at org.hsqldb.Trace.error(Trace.java:205)
at org.hsqldb.Lo

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

2001-06-26 Thread florent barbare


Hi,

I have the following errors when i used my "new cocoon" site.
it works with tomcat 3.2.

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

Any idea ?

thanks

regards

Florent

-Original Message-
From: Uli Mayring [mailto:[EMAIL PROTECTED]]
Sent: mardi 26 juin 2001 13:32
To: [EMAIL PROTECTED]
Subject: Re: Fw: Authentification + Forward


On Tue, 26 Jun 2001, loc-at-soft wrote:

> This code doesn't work ! I'm not able to use "loginException"  . I want to
forward connection errors on an error page !
> Does anyone have an exemple of such an authentification XML page
connecting to a database ?

Download the auth taglib under http://ulim.cocoonhost.com, it has many
samples.

Ulrich

--
Ulrich Mayring
DENIC eG, Softwareentwicklung


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




The sitemap handler's sitemap is not available Help

2001-07-03 Thread Kalven Beaver

HelpHelp...
Anyone run into this problem and have a workaround or
solution?  Followed instructions and still get:



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

request-uri

/cocoon/

exception

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

path-info



stacktrace

org.apache.cocoon.ProcessingException: The sitemap
handler's sitemap is not available.
at
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
at
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
at org.apache.cocoon.Cocoon.process(Cocoon.java:293)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at
org.apache.tomcat.core.Handler.service(Handler.java:286)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)




__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Fixed: The sitemap handler's sitemap is not available

2001-07-04 Thread Kalven Beaver

I finally got this to work.  I had:
xalan.jar, fop.jar, cocoon.jar in the
tomcat\jakarta\lib directory according to a book on
how to install cocoon.  I took those files out and
presto!  it worked.  Go figure.

Thanks anyway.

kb

--- Lajos Moczar <[EMAIL PROTECTED]> wrote:
> I've watched this list for months as others have had
> this problem, and 
> today I got bit by it myself (Cocoon2b1 w/ Tomcat
> 3.2.2 on Win 98). Just 
> delete $TOMCAT_HOME/lib/jaxp.jar and
> $TOMCAT_HOME/lib/parser.jar. That 
> did it for me.
> 
> Lajos
> Galatea IS Inc.
> 
> 
> Kalven Beaver wrote:
> 
> > HelpHelp...
> > Anyone run into this problem and have a workaround
> or
> > solution?  Followed instructions and still get:
> > 
> >
>
--------------------
> > 
> > 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
> > 
> > request-uri
> > 
> > /cocoon/
> > 
> > exception
> > 
> > org.apache.cocoon.ProcessingException: The sitemap
> > handler's sitemap is not available.
> > 
> > path-info
> > 
> > 
> > 
> > stacktrace
> > 
> > org.apache.cocoon.ProcessingException: The sitemap
> > handler's sitemap is not available.
> > at
> >
>
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
> > at
> >
>
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
> > at
> org.apache.cocoon.Cocoon.process(Cocoon.java:293)
> > at
> >
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
> > at
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> >
>
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> > at
> >
>
org.apache.tomcat.core.Handler.service(Handler.java:286)
> > at
> >
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> > at
> >
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
> > at
> >
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> > at
> >
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
> > at
> >
>
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> > at
> >
>
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> > at java.lang.Thread.run(Thread.java:484)
> > 
> > 
> > 
> > 
> > __
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
> > 
> >
>
-
> > Please check that your question has not already
> been answered in the
> > FAQ before posting.
> <http://xml.apache.org/cocoon/faqs.html>
> > 
> > To unsubscribe, e-mail:
> <[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <[EMAIL PROTECTED]>
> 
> 
>
-
> Please check that your question has not already been
> answered in the
> FAQ before posting.
> <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail:
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <[EMAIL PROTECTED]>
> 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: The sitemap handler's sitemap is not available

2001-07-13 Thread Karun114
i wish it could .. but i am having the same problem even after starting the 
server from the GUI environment. I have RH 7.0 and weblogic 6.0 SP1. 
The error . sitemap handler's sitemap not found. 
exception thrown from org.apache.cocoon.ProcessingException...
I wish I could beat it ..
Please share if you have anything relative .. 
Regard's
Karun


RE: The sitemap handler's sitemap is not available

2001-07-16 Thread tom . klaasen

Hi Karun,

(1) Quoting is usually a good idea. It is not very clear to which message
you're reacting.
(2) Look in %TOMCAT_HOME%/web-apps/cocoon/WEB-INF/log/cocoon.log for the
exact error description. "sitemap handler's sitemap not found" only
indicates that the sitemap.xmap could not be compiled, and this can be
caused by a zillion reasons.

hth,
tomK

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: zaterdag 14 juli 2001 3:20
To: [EMAIL PROTECTED]
Subject: Re: The sitemap handler's sitemap is not available


i wish it could .. but i am having the same problem even after starting the 
server from the GUI environment. I have RH 7.0 and weblogic 6.0 SP1. 
The error . sitemap handler's sitemap not found. 
exception thrown from org.apache.cocoon.ProcessingException... 
I wish I could beat it .. 
Please share if you have anything relative .. 
Regard's 
Karun 

-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: the sitemap handler's sitemap is not available

2001-07-23 Thread tom . klaasen

check %TOMCAT_HOME%/webapps/cocoon/WEB-INF/cocoon.log



hth,
tomK

-Original Message-
From: raghu [mailto:[EMAIL PROTECTED]]
Sent: maandag 23 juli 2001 6:17
To: [EMAIL PROTECTED]
Subject: the sitemap handler's sitemap is not available


Cocoon 2 - Internal server error



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
request-uri
/cocoon/
exception
org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available.
path-info

stacktrace
org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available.
at
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
at org.apache.cocoon.Cocoon.process(Cocoon.java:293)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)




What may be the error?  where should i check??
bye,
raghu

"black holes are,
when GOD is dividing by zero" 

-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




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

2001-06-12 Thread eirikdentz

Check your cocoon.log and look for the error message that tells you what
caused the sitemap compilation to fail. It's probably just before the last
log entry.  (the log should be in $TOMCAT_HOME/webapps/cocoon/WEB-INF/logs/
)

Also try searching the the mailing list archive:

http://marc.theaimsgroup.com/?l=xml-cocoon-users&r=1&w=2

"Wesselmann, Marcus" wrote:

> Probably a stupid newbie question, but what did I do wrong, if I get this
> message when requesting localhost:8080/cocoon/ ???
>
> RedHat 7.0
> Tomcat 3.2.1
> Cocoon 2.0b1
>
> Thanks a lot.
>
> Marcus
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


begin:vcard 
n:Dentz;Eirik
tel;work:212-455-9830
x-mozilla-html:TRUE
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;3
fn:Eirik Dentz
end:vcard



-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


Re: [PATCH] The sitemap handler's sitemap is not available

2001-06-20 Thread Ling Kok Choon

hi,

  I am using windows 98, the "The sitemap handler's sitemap is not available."
error also occur, how i am going to solve it ?


Thank.

from:
   ^^
-00''00- Kok Choon.

Name: Ling Kok Choon
E-mail: Ling Kok Choon <[EMAIL PROTECTED]>
Date: 06/20/01
Time: 06:27:55

This message was sent by Z-Mail Pro - from NetManage
NetManage - delivers Standards Based IntraNet Solutions



-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Again ! the sitemap handler's sitemap is not available

2001-06-20 Thread Ling Kok Choon

hi,

   I just successfull install C2 beta version on the Windows 98, Tomcat 3.2.2 , JDK 
1.3.1, I 
meet the Sitemap handler's sitemao is not avaiable problem before, I delete the 
parser.jar from 
the tomcat/lib , then all run well.


regards,
   ^^
-00''00- Kok Choon.

Name: Ling Kok Choon
E-mail: Ling Kok Choon <[EMAIL PROTECTED]>
Date: 06/21/01
Time: 03:02:48

This message was sent by Z-Mail Pro - from NetManage
NetManage - delivers Standards Based IntraNet Solutions



-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Again ! the sitemap handler's sitemap is not available

2001-06-21 Thread giacomo

On Thu, 21 Jun 2001, Ling Kok Choon wrote:

> hi friends,
>
>I am facing the same problem when i try to start the cocoon 2. I have build and 
>install the
> cocoon 2 beta version to my system ( windows 98, tomcat 3.2.2 , jdk 1.3.1 ), and i 
>have follow
> all the step at the install page. But the Cocoon 2 Internal Server Error still occur.
>   I checked the log file, and i found some error happened, but i don't know how to 
>solve it. SO
> hoping your help.
>
> Note : sitemap's error code is at the bottom of this email, (Error number 3).
>
>
> Here is a part of the log file :
>
> 1) here i think is the Database connection error, right ?

This is due to wrong installation method. You should install C2 directly
by using the ant script:

  build.sh -Dinclude.webapp.libs=yes \
   -Dinstall.war=[YOUR-SERVLET-WEBAPPS-DIR] \
   install

This way the {$install.war} will be replaced with the right installation
path.

>
> 
>***
> 2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15320   [cocoon  ] (Thread-24):
> org.apache.avalon.excalibur.datasource.JdbcConnection: could not be instantiated.
> java.sql.SQLException: File input/output error:
> ${install.war}/cocoon/WEB-INF/db/cocoondb.properties



> 2) Again a Database connection error, right ?

Same reason here

>
> 
>***
> 2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15380   [cocoon  ] (Thread-10): URL 
>for Root:
> file:/D:/jakarta-tomcat-3.2.2/webapps/cocoon/
>
> 2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15380   [cocoon  ] (Thread-24):
> org.apache.avalon.excalibur.datasource.JdbcConnection: could not be instantiated.
> java.sql.SQLException: File input/output error:
> ${install.war}/cocoon/WEB-INF/db/cocoondb.properties



> 3) Here is the sitemap error :
>
> 
>***
>
> 2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15540   [cocoon  ] (Thread-10): Making 
>URL from
> file:/D:/jakarta-tomcat-3.2.2/webapps/cocoon/sitemap.xmap
>
> 2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15540   [cocoon  ] (Thread-30): Making 
>URL from
> file:/D:/jakarta-tomcat-3.2.2/webapps/cocoon/sitemap.xmap
>
> 2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15590   [cocoon  ] (Thread-30): 
>UnnamedSelector:
> ComponentSelector could not find the component for hint: 
>org\apache\cocoon\www\sitemap_xmap
>
> 2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15590   [cocoon  ] (Thread-30): Could 
>not access
> component for hint: org\apache\cocoon\www\sitemap_xmap
> java.lang.NullPointerException

As you can easily see here that this is a DEBUG message. So don't be concerned about 
it. It says that there wasn't a sitemap generated already and the system is generating 
one for you.

Giacomo


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




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

2001-06-26 Thread S.J.Chun

For me, adding cocoon classes into the system classpath or servlet engine's classpath
solves this problem.
Tomcat 4.0 aka Catalina runs well without this kind of problem. So, the servlet 
engine's
classloader has this problem, I think.

- Original Message - 
From: "florent barbare" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 11:11 PM
Subject: org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not 
available.


> 
> Hi,
> 
> I have the following errors when i used my "new cocoon" site.
> it works with tomcat 3.2.
> 
> org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
> available.
> 
> Any idea ?
> 
> thanks
> 
> regards
> 
> Florent
> 
> -Original Message-
> From: Uli Mayring [mailto:[EMAIL PROTECTED]]
> Sent: mardi 26 juin 2001 13:32
> To: [EMAIL PROTECTED]
> Subject: Re: Fw: Authentification + Forward
> 
> 
> On Tue, 26 Jun 2001, loc-at-soft wrote:
> 
> > This code doesn't work ! I'm not able to use "loginException"  . I want to
> forward connection errors on an error page !
> > Does anyone have an exemple of such an authentification XML page
> connecting to a database ?
> 
> Download the auth taglib under http://ulim.cocoonhost.com, it has many
> samples.
> 
> Ulrich
> 
> --
> Ulrich Mayring
> DENIC eG, Softwareentwicklung
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 



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

2001-06-28 Thread florent barbare

thank you for reply to me.

we have installed tomcat 4.0b5 with cocoon 2
on the machine but he still give us the same error.

we've try to modify the web.xml on cocoon/WEB-INF/web.xml
but it does not work...

[:-(


thanks a lot

florent

-Original Message-
From: S.J.Chun [mailto:[EMAIL PROTECTED]]
Sent: mercredi 27 juin 2001 04:27
To: [EMAIL PROTECTED]
Subject: Re: org.apache.cocoon.ProcessingException: The sitemap
handler's sitemap is not available.


For me, adding cocoon classes into the system classpath or servlet engine's
classpath
solves this problem.
Tomcat 4.0 aka Catalina runs well without this kind of problem. So, the
servlet engine's
classloader has this problem, I think.

- Original Message -
From: "florent barbare" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 11:11 PM
Subject: org.apache.cocoon.ProcessingException: The sitemap handler's
sitemap is not available.


>
> Hi,
>
> I have the following errors when i used my "new cocoon" site.
> it works with tomcat 3.2.
>
> org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is
not
> available.
>
> Any idea ?
>
> thanks
>
> regards
>
> Florent
>
> -Original Message-
> From: Uli Mayring [mailto:[EMAIL PROTECTED]]
> Sent: mardi 26 juin 2001 13:32
> To: [EMAIL PROTECTED]
> Subject: Re: Fw: Authentification + Forward
>
>
> On Tue, 26 Jun 2001, loc-at-soft wrote:
>
> > This code doesn't work ! I'm not able to use "loginException"  . I want
to
> forward connection errors on an error page !
> > Does anyone have an exemple of such an authentification XML page
> connecting to a database ?
>
> Download the auth taglib under http://ulim.cocoonhost.com, it has many
> samples.
>
> Ulrich
>
> --
> Ulrich Mayring
> DENIC eG, Softwareentwicklung
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: The sitemap handler's sitemap is not available Help

2001-07-03 Thread java guru

this problem is being reported and sollutions being
suggest numerous times...Please seach the mail
archive...


 --- Kalven Beaver <[EMAIL PROTECTED]> wrote: >
HelpHelp...
> Anyone run into this problem and have a workaround
> or
> solution?  Followed instructions and still get:
> 
>

> 
> 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
> 
> request-uri
> 
> /cocoon/
> 
> exception
> 
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not available.
> 
> path-info
> 
> 
> 
> stacktrace
> 
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not available.
>   at
>
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
>   at
>
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
>   at
> org.apache.cocoon.Cocoon.process(Cocoon.java:293)
>   at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
>   at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
>   at
>
org.apache.tomcat.core.Handler.service(Handler.java:286)
>   at
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>   at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
>   at
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>   at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
>   at
>
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>   at
>
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>   at java.lang.Thread.run(Thread.java:484)
> 
> 
> 
> 
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
>
-
> Please check that your question has not already been
> answered in the
> FAQ before posting.
> <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail:
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <[EMAIL PROTECTED]>
> 


Do You Yahoo!?
For regular News updates go to http://in.news.yahoo.com

-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: The sitemap handler's sitemap is not available Help

2001-07-03 Thread Lajos Moczar

I've watched this list for months as others have had this problem, and 
today I got bit by it myself (Cocoon2b1 w/ Tomcat 3.2.2 on Win 98). Just 
delete $TOMCAT_HOME/lib/jaxp.jar and $TOMCAT_HOME/lib/parser.jar. That 
did it for me.

Lajos
Galatea IS Inc.


Kalven Beaver wrote:

> HelpHelp...
> Anyone run into this problem and have a workaround or
> solution?  Followed instructions and still get:
> 
> 
> 
> 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
> 
> request-uri
> 
> /cocoon/
> 
> exception
> 
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not available.
> 
> path-info
> 
> 
> 
> stacktrace
> 
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not available.
>   at
> org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
>   at
> org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
>   at org.apache.cocoon.Cocoon.process(Cocoon.java:293)
>   at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
>   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
>   at
> org.apache.tomcat.core.Handler.service(Handler.java:286)
>   at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>   at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
>   at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>   at
> 
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
>   at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>   at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>   at java.lang.Thread.run(Thread.java:484)
> 
> 
> 
> 
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Fixed: The sitemap handler's sitemap is not available

2001-07-05 Thread Martin Mauri

Hi all,

Just like Kalven I removed those files from my tomcat/lib directory, though
I got this error, and It got me in a tight cause it doesn't seem to be
pretty simple.

here's the error, if someone has some idea, I'll be glad to hear about it.

regards.

Cocoon 2 - Internal server error




type internal-server-error

message Exception in Handler

description org.apache.cocoon.ProcessingException: Exception in
Handler:org.apache.cocoon.ProcessingException: Language
Exception:org.apache.cocoon.components.language.LanguageException: Error
compiling sitemap_xmap: Line 0, column 0:
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap.
java:460: Undefined variable: param if (param != null) { ^ Line 0, column 0:
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap.
java:461: Undefined variable or class name: param String compareToString =
param.getParameter ("parameter-selector-test", null); ^

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoon/

embedded exception

org.apache.cocoon.ProcessingException: Language
Exception:org.apache.cocoon.components.language.LanguageException: Error
compiling sitemap_xmap:
Line 0, column 0:
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap.
java:460: Undefined variable: param
if (param != null) {
^
Line 0, column 0:
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap.
java:461: Undefined variable or class name: param
  String compareToString = param.getParameter
("parameter-selector-test", null);
   ^


embedded exception stacktrace

org.apache.cocoon.ProcessingException: Language
Exception:org.apache.cocoon.components.language.LanguageException: Error
compiling sitemap_xmap:
Line 0, column 0:
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap.
java:460: Undefined variable: param
if (param != null) {
^
Line 0, column 0:
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap.
java:461: Undefined variable or class name: param
  String compareToString = param.getParameter
("parameter-selector-test", null);
   ^

 at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:163)
 at org.apache.cocoon.sitemap.Handler.run(Handler.java:197)
 at java.lang.Thread.run(Thread.java:484)
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap:
Line 0, column 0:
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap.
java:460: Undefined variable: param
if (param != null) {
^
Line 0, column 0:
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap.
java:461: Undefined variable or class name: param
  String compareToString = param.getParameter
("parameter-selector-test", null);
   ^

 at
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(
JavaLanguage.java:204)
 at
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag
e.load(CompiledProgrammingLanguage.java:131)
 at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:244)
 at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:160)
 at org.apache.cocoon.sitemap.Handler.run(Handler.java:197)
 at java.lang.Thread.run(Thread.java:484)


exception

org.apache.cocoon.ProcessingException: Exception in
Handler:org.apache.cocoon.ProcessingException: Language
Exception:org.apache.cocoon.components.language.LanguageException: Error
compiling sitemap_xmap:
Line 0, column 0:
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap.
java:460: Undefined variable: param
if (param != null) {
^
Line 0, column 0:
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap.
java:461: Undefined variable or class name: param
  String compareToString = param.getParameter
("parameter-selector-test", null);
   ^


path-info



stacktrace

org.apache.cocoon.ProcessingException: Exception in
Handler:org.apache.cocoon.ProcessingException: Language
Exception:org.apache.cocoon.components.language.LanguageException: Error
compiling sitemap_xmap:
Line 0, column 0:
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap.
java:460: Undefined variable: param
if (param != null) {
^
Line 0, column 0:
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap.
java:461: Undefined variable or class name: param
  String compareToString = param.getParameter
("parameter-selector-test", null);
   ^

 at
org.apache.cocoon.sitemap.Handler.throwEventualException(Handler.

Re: Fixed: The sitemap handler's sitemap is not available

2001-07-05 Thread Ramaprabhu Janakiraman

I got the same error with tomcat 4.0-b5 and cocoon2. The following fix works 
for me:

1) I copied xerces_1_4_0.jar from $COCOON2_HOME/lib to 
   $CATALINA_HOME/server/lib/ and renamed it as aaxerces.jar (no chances!). 
2) I then enabled this attribute in cocoon.xconf 
(it is commented out by default):
  
3) I set CATALINA_OPTS =  
"-Dorg.apache.cocoon.components.parser.Parser=org.apache.cocoon.components.parser.XercesParser"
in $CATALINA_HOME/bin/catalina.sh
4) Restart tomcat and we're in business again. Cocoon2 does take such a 
looong time to start the first time that your browser will most probably 
timeout. try reloading once "top" stops reporting ~100% CPU usage for "java". 

On Thursday 05 July 2001 15:02, you wrote:
> Hi all,
>
> Just like Kalven I removed those files from my tomcat/lib directory, though
> I got this error, and It got me in a tight cause it doesn't seem to be
> pretty simple.
>
> here's the error, if someone has some idea, I'll be glad to hear about it.
>
> regards.
>
> Cocoon 2 - Internal server error
>
> ---
>- 
>
> type internal-server-error
>
> message Exception in Handler
>
> description org.apache.cocoon.ProcessingException: Exception in
> Handler:org.apache.cocoon.ProcessingException: Language
> Exception:org.apache.cocoon.components.language.LanguageException: Error
> compiling sitemap_xmap: Line 0, column 0:
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
>. java:460: Undefined variable: param if (param != null) { ^ Line 0, column
> 0:
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
>. java:461: Undefined variable or class name: param String compareToString =
> param.getParameter ("parameter-selector-test", null); ^
>
> sender org.apache.cocoon.servlet.CocoonServlet
>
> source Cocoon servlet
>
> request-uri
>
> /cocoon/
>
> embedded exception
>
> org.apache.cocoon.ProcessingException: Language
> Exception:org.apache.cocoon.components.language.LanguageException: Error
> compiling sitemap_xmap:
> Line 0, column 0:
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
>. java:460: Undefined variable: param
> if (param != null) {
> ^
> Line 0, column 0:
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
>. java:461: Undefined variable or class name: param
>   String compareToString = param.getParameter
> ("parameter-selector-test", null);
>^
>
>
> embedded exception stacktrace
>
> org.apache.cocoon.ProcessingException: Language
> Exception:org.apache.cocoon.components.language.LanguageException: Error
> compiling sitemap_xmap:
> Line 0, column 0:
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
>. java:460: Undefined variable: param
> if (param != null) {
> ^
> Line 0, column 0:
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
>. java:461: Undefined variable or class name: param
>   String compareToString = param.getParameter
> ("parameter-selector-test", null);
>^
>
>  at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(P
>r ogramGeneratorImpl.java:163)
>  at org.apache.cocoon.sitemap.Handler.run(Handler.java:197)
>  at java.lang.Thread.run(Thread.java:484)
> org.apache.cocoon.components.language.LanguageException: Error compiling
> sitemap_xmap:
> Line 0, column 0:
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
>. java:460: Undefined variable: param
> if (param != null) {
> ^
> Line 0, column 0:
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
>. java:461: Undefined variable or class name: param
>   String compareToString = param.getParameter
> ("parameter-selector-test", null);
>^
>
>  at
> org.apache.cocoon.components.language.programming.java.JavaLanguage.compile
>( JavaLanguage.java:204)
>  at
> org.apache.cocoon.components.language.programming.CompiledProgrammingLangua
>g e.load(CompiledProgrammingLanguage.java:131)
>  at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.genera
>t eResource(ProgramGeneratorImpl.java:244)
>  at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(P
>r ogramGeneratorImpl.java:160)
>  at org.apache.cocoon.sitemap.Handler.run(Handler.java:197)
>  at java.lang.Thread.run(Thread.java:484)
>
>
> exception
>
> org.apache.cocoon.ProcessingException: Exception in
> Handler:org.apache.cocoon.ProcessingException: Language
> Exception:org.apache.cocoon.components.language.LanguageException: Error
> compiling sitemap_xmap:
> Line 0, column 0:
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
>. java:460: Undefined variable: param
> if (param != null) {
> ^
> Line 0, column 0:
> C:\tom

Re: Fixed: The sitemap handler's sitemap is not available

2001-07-05 Thread Martin Mauri

Well, I don't know if it may work for me as my configuration is Tomcat
3.2.1. But I'll try, thanks.

> I got the same error with tomcat 4.0-b5 and cocoon2. The following fix
works
> for me:
>
> 1) I copied xerces_1_4_0.jar from $COCOON2_HOME/lib to
>$CATALINA_HOME/server/lib/ and renamed it as aaxerces.jar (no
chances!).
> 2) I then enabled this attribute in cocoon.xconf
> (it is commented out by default):
>  
> 3) I set CATALINA_OPTS =
>
"-Dorg.apache.cocoon.components.parser.Parser=org.apache.cocoon.components.p
arser.XercesParser"
> in $CATALINA_HOME/bin/catalina.sh
> 4) Restart tomcat and we're in business again. Cocoon2 does take such a
> looong time to start the first time that your browser will most
probably
> timeout. try reloading once "top" stops reporting ~100% CPU usage for
"java".
>
> On Thursday 05 July 2001 15:02, you wrote:
> > Hi all,
> >
> > Just like Kalven I removed those files from my tomcat/lib directory,
though
> > I got this error, and It got me in a tight cause it doesn't seem to be
> > pretty simple.
> >
> > here's the error, if someone has some idea, I'll be glad to hear about
it.
> >
> > regards.
> >
> > Cocoon 2 - Internal server error
> >
>
> --
-
> >- 
> >
> > type internal-server-error
> >
> > message Exception in Handler
> >
> > description org.apache.cocoon.ProcessingException: Exception in
> > Handler:org.apache.cocoon.ProcessingException: Language
> > Exception:org.apache.cocoon.components.language.LanguageException: Error
> > compiling sitemap_xmap: Line 0, column 0:
> >
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> >. java:460: Undefined variable: param if (param != null) { ^ Line 0,
column
> > 0:
> >
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> >. java:461: Undefined variable or class name: param String
compareToString =
> > param.getParameter ("parameter-selector-test", null); ^
> >
> > sender org.apache.cocoon.servlet.CocoonServlet
> >
> > source Cocoon servlet
> >
> > request-uri
> >
> > /cocoon/
> >
> > embedded exception
> >
> > org.apache.cocoon.ProcessingException: Language
> > Exception:org.apache.cocoon.components.language.LanguageException: Error
> > compiling sitemap_xmap:
> > Line 0, column 0:
> >
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> >. java:460: Undefined variable: param
> > if (param != null) {
> > ^
> > Line 0, column 0:
> >
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> >. java:461: Undefined variable or class name: param
> >   String compareToString = param.getParameter
> > ("parameter-selector-test", null);
> >^
> >
> >
> > embedded exception stacktrace
> >
> > org.apache.cocoon.ProcessingException: Language
> > Exception:org.apache.cocoon.components.language.LanguageException: Error
> > compiling sitemap_xmap:
> > Line 0, column 0:
> >
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> >. java:460: Undefined variable: param
> > if (param != null) {
> > ^
> > Line 0, column 0:
> >
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> >. java:461: Undefined variable or class name: param
> >   String compareToString = param.getParameter
> > ("parameter-selector-test", null);
> >^
> >
> >  at
> >
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(P
> >r ogramGeneratorImpl.java:163)
> >  at org.apache.cocoon.sitemap.Handler.run(Handler.java:197)
> >  at java.lang.Thread.run(Thread.java:484)
> > org.apache.cocoon.components.language.LanguageException: Error compiling
> > sitemap_xmap:
> > Line 0, column 0:
> >
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> >. java:460: Undefined variable: param
> > if (param != null) {
> > ^
> > Line 0, column 0:
> >
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> >. java:461: Undefined variable or class name: param
> >   String compareToString = param.getParameter
> > ("parameter-selector-test", null);
> >^
> >
> >  at
> >
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile
> >( JavaLanguage.java:204)
> >  at
> >
org.apache.cocoon.components.language.programming.CompiledProgrammingLangua
> >g e.load(CompiledProgrammingLanguage.java:131)
> >  at
> >
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.genera
> >t eResource(ProgramGeneratorImpl.java:244)
> >  at
> >
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(P
> >r ogramGeneratorImpl.java:160)
> >  at org.apache.cocoon.sitemap.Handler.run(Handler.java:197)
> >  at java.lang.Thread.run(Thread.java:484)
> >
> >
> > exception
> >
> > org.apache.cocoon.ProcessingException: Exception in
> > Handler:org.apache.cocoon.

Re: Fixed: The sitemap handler's sitemap is not available

2001-07-05 Thread Martin Mauri

Hi Ramaprabhu,

Unfortunately, I don't have CATALINA, my Tomcat is 3.2.1, but this wouldn't
be a problem, the thing is that I cannot find the tag , I think my CVS
brought another version of C2!

any help?



> I got the same error with tomcat 4.0-b5 and cocoon2. The following fix
works
> for me:
>
> 1) I copied xerces_1_4_0.jar from $COCOON2_HOME/lib to
>$CATALINA_HOME/server/lib/ and renamed it as aaxerces.jar (no
chances!).
> 2) I then enabled this attribute in cocoon.xconf
> (it is commented out by default):
>  
> 3) I set CATALINA_OPTS =
>
"-Dorg.apache.cocoon.components.parser.Parser=org.apache.cocoon.components.p
arser.XercesParser"
> in $CATALINA_HOME/bin/catalina.sh
> 4) Restart tomcat and we're in business again. Cocoon2 does take such a
> looong time to start the first time that your browser will most
probably
> timeout. try reloading once "top" stops reporting ~100% CPU usage for
"java".
>
> On Thursday 05 July 2001 15:02, you wrote:
> > Hi all,
> >
> > Just like Kalven I removed those files from my tomcat/lib directory,
though
> > I got this error, and It got me in a tight cause it doesn't seem to be
> > pretty simple.
> >
> > here's the error, if someone has some idea, I'll be glad to hear about
it.
> >
> > regards.
> >
> > Cocoon 2 - Internal server error
> >
>
> --
-
> >- 
> >
> > type internal-server-error
> >
> > message Exception in Handler
> >
> > description org.apache.cocoon.ProcessingException: Exception in
> > Handler:org.apache.cocoon.ProcessingException: Language
> > Exception:org.apache.cocoon.components.language.LanguageException: Error
> > compiling sitemap_xmap: Line 0, column 0:
> >
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> >. java:460: Undefined variable: param if (param != null) { ^ Line 0,
column
> > 0:
> >
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> >. java:461: Undefined variable or class name: param String
compareToString =
> > param.getParameter ("parameter-selector-test", null); ^
> >
> > sender org.apache.cocoon.servlet.CocoonServlet
> >
> > source Cocoon servlet
> >
> > request-uri
> >
> > /cocoon/
> >
> > embedded exception
> >
> > org.apache.cocoon.ProcessingException: Language
> > Exception:org.apache.cocoon.components.language.LanguageException: Error
> > compiling sitemap_xmap:
> > Line 0, column 0:
> >
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> >. java:460: Undefined variable: param
> > if (param != null) {
> > ^
> > Line 0, column 0:
> >
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> >. java:461: Undefined variable or class name: param
> >   String compareToString = param.getParameter
> > ("parameter-selector-test", null);
> >^
> >
> >
> > embedded exception stacktrace
> >
> > org.apache.cocoon.ProcessingException: Language
> > Exception:org.apache.cocoon.components.language.LanguageException: Error
> > compiling sitemap_xmap:
> > Line 0, column 0:
> >
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> >. java:460: Undefined variable: param
> > if (param != null) {
> > ^
> > Line 0, column 0:
> >
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> >. java:461: Undefined variable or class name: param
> >   String compareToString = param.getParameter
> > ("parameter-selector-test", null);
> >^
> >
> >  at
> >
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(P
> >r ogramGeneratorImpl.java:163)
> >  at org.apache.cocoon.sitemap.Handler.run(Handler.java:197)
> >  at java.lang.Thread.run(Thread.java:484)
> > org.apache.cocoon.components.language.LanguageException: Error compiling
> > sitemap_xmap:
> > Line 0, column 0:
> >
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> >. java:460: Undefined variable: param
> > if (param != null) {
> > ^
> > Line 0, column 0:
> >
C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> >. java:461: Undefined variable or class name: param
> >   String compareToString = param.getParameter
> > ("parameter-selector-test", null);
> >^
> >
> >  at
> >
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile
> >( JavaLanguage.java:204)
> >  at
> >
org.apache.cocoon.components.language.programming.CompiledProgrammingLangua
> >g e.load(CompiledProgrammingLanguage.java:131)
> >  at
> >
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.genera
> >t eResource(ProgramGeneratorImpl.java:244)
> >  at
> >
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(P
> >r ogramGeneratorImpl.java:160)
> >  at org.apache.cocoon.sitemap.Handler.run(Handler.java:197)
> >  at java.lang.Thread.run(Thread.java:484)
> >
>

Re: Fixed: The sitemap handler's sitemap is not available

2001-07-05 Thread Ramaprabhu Janakiraman

I have the latest (well, yesterday's! cv)s version. 
It's there at the very top; its the first tag ( commented out) in the section 
titled "General Components". 

On Thursday 05 July 2001 15:51, you wrote:
> Hi Ramaprabhu,
>
> Unfortunately, I don't have CATALINA, my Tomcat is 3.2.1, but this wouldn't
> be a problem, the thing is that I cannot find the tag  class="org.apache.cocoon.components.parser.XercesParser"/>, I think my CVS
> brought another version of C2!
>
> any help?
>
> > I got the same error with tomcat 4.0-b5 and cocoon2. The following fix
>
> works
>
> > for me:
> >
> > 1) I copied xerces_1_4_0.jar from $COCOON2_HOME/lib to
> >$CATALINA_HOME/server/lib/ and renamed it as aaxerces.jar (no
>
> chances!).
>
> > 2) I then enabled this attribute in cocoon.xconf
> > (it is commented out by default):
> >  
> > 3) I set CATALINA_OPTS =
>
> "-Dorg.apache.cocoon.components.parser.Parser=org.apache.cocoon.components.
>p arser.XercesParser"
>
> > in $CATALINA_HOME/bin/catalina.sh
> > 4) Restart tomcat and we're in business again. Cocoon2 does take such a
> > looong time to start the first time that your browser will most
>
> probably
>
> > timeout. try reloading once "top" stops reporting ~100% CPU usage for
>
> "java".
>
> > On Thursday 05 July 2001 15:02, you wrote:
> > > Hi all,
> > >
> > > Just like Kalven I removed those files from my tomcat/lib directory,
>
> though
>
> > > I got this error, and It got me in a tight cause it doesn't seem to be
> > > pretty simple.
> > >
> > > here's the error, if someone has some idea, I'll be glad to hear about
>
> it.
>
> > > regards.
> > >
> > > Cocoon 2 - Internal server error
> >
> > -
> >-
>
> -
>
> > >- 
> > >
> > > type internal-server-error
> > >
> > > message Exception in Handler
> > >
> > > description org.apache.cocoon.ProcessingException: Exception in
> > > Handler:org.apache.cocoon.ProcessingException: Language
> > > Exception:org.apache.cocoon.components.language.LanguageException:
> > > Error compiling sitemap_xmap: Line 0, column 0:
>
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
>
> > >. java:460: Undefined variable: param if (param != null) { ^ Line 0,
>
> column
>
> > > 0:
>
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
>
> > >. java:461: Undefined variable or class name: param String
>
> compareToString =
>
> > > param.getParameter ("parameter-selector-test", null); ^
> > >
> > > sender org.apache.cocoon.servlet.CocoonServlet
> > >
> > > source Cocoon servlet
> > >
> > > request-uri
> > >
> > > /cocoon/
> > >
> > > embedded exception
> > >
> > > org.apache.cocoon.ProcessingException: Language
> > > Exception:org.apache.cocoon.components.language.LanguageException:
> > > Error compiling sitemap_xmap:
> > > Line 0, column 0:
>
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
>
> > >. java:460: Undefined variable: param
> > > if (param != null) {
> > > ^
> > > Line 0, column 0:
>
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
>
> > >. java:461: Undefined variable or class name: param
> > >   String compareToString = param.getParameter
> > > ("parameter-selector-test", null);
> > >^
> > >
> > >
> > > embedded exception stacktrace
> > >
> > > org.apache.cocoon.ProcessingException: Language
> > > Exception:org.apache.cocoon.components.language.LanguageException:
> > > Error compiling sitemap_xmap:
> > > Line 0, column 0:
>
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
>
> > >. java:460: Undefined variable: param
> > > if (param != null) {
> > > ^
> > > Line 0, column 0:
>
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
>
> > >. java:461: Undefined variable or class name: param
> > >   String compareToString = param.getParameter
> > > ("parameter-selector-test", null);
> > >^
> > >
> > >  at
>
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(P
>
> > >r ogramGeneratorImpl.java:163)
> > >  at org.apache.cocoon.sitemap.Handler.run(Handler.java:197)
> > >  at java.lang.Thread.run(Thread.java:484)
> > > org.apache.cocoon.components.language.LanguageException: Error
> > > compiling sitemap_xmap:
> > > Line 0, column 0:
>
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
>
> > >. java:460: Undefined variable: param
> > > if (param != null) {
> > > ^
> > > Line 0, column 0:
>
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
>
> > >. java:461: Undefined variable or class name: param
> > >   String compareToString = param.getParameter
> > > ("parameter-selector-test", null);
> > >^
> > >
> > >  at
>
> org.apache.cocoon.components.language.programming.java.JavaLanguage.com

Re: Fixed: The sitemap handler's sitemap is not available

2001-07-05 Thread Berin Loritsch

Martin Mauri wrote:
> 
> Hi Ramaprabhu,
> 
> Unfortunately, I don't have CATALINA, my Tomcat is 3.2.1, but this wouldn't
> be a problem, the thing is that I cannot find the tag  class="org.apache.cocoon.components.parser.XercesParser"/>, I think my CVS
> brought another version of C2!

The tag is not necessary if you can use JAXP.  Otherwise, simply add it in your
Cocoon.xconf file.

> 
> any help?
> 
> > I got the same error with tomcat 4.0-b5 and cocoon2. The following fix
> works
> > for me:
> >
> > 1) I copied xerces_1_4_0.jar from $COCOON2_HOME/lib to
> >$CATALINA_HOME/server/lib/ and renamed it as aaxerces.jar (no
> chances!).
> > 2) I then enabled this attribute in cocoon.xconf
> > (it is commented out by default):
> >  
> > 3) I set CATALINA_OPTS =
> >
> "-Dorg.apache.cocoon.components.parser.Parser=org.apache.cocoon.components.p
> arser.XercesParser"
> > in $CATALINA_HOME/bin/catalina.sh
> > 4) Restart tomcat and we're in business again. Cocoon2 does take such a
> > looong time to start the first time that your browser will most
> probably
> > timeout. try reloading once "top" stops reporting ~100% CPU usage for
> "java".
> >
> > On Thursday 05 July 2001 15:02, you wrote:
> > > Hi all,
> > >
> > > Just like Kalven I removed those files from my tomcat/lib directory,
> though
> > > I got this error, and It got me in a tight cause it doesn't seem to be
> > > pretty simple.
> > >
> > > here's the error, if someone has some idea, I'll be glad to hear about
> it.
> > >
> > > regards.
> > >
> > > Cocoon 2 - Internal server error
> > >
> >
> > --
> -
> > >- 
> > >
> > > type internal-server-error
> > >
> > > message Exception in Handler
> > >
> > > description org.apache.cocoon.ProcessingException: Exception in
> > > Handler:org.apache.cocoon.ProcessingException: Language
> > > Exception:org.apache.cocoon.components.language.LanguageException: Error
> > > compiling sitemap_xmap: Line 0, column 0:
> > >
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> > >. java:460: Undefined variable: param if (param != null) { ^ Line 0,
> column
> > > 0:
> > >
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> > >. java:461: Undefined variable or class name: param String
> compareToString =
> > > param.getParameter ("parameter-selector-test", null); ^
> > >
> > > sender org.apache.cocoon.servlet.CocoonServlet
> > >
> > > source Cocoon servlet
> > >
> > > request-uri
> > >
> > > /cocoon/
> > >
> > > embedded exception
> > >
> > > org.apache.cocoon.ProcessingException: Language
> > > Exception:org.apache.cocoon.components.language.LanguageException: Error
> > > compiling sitemap_xmap:
> > > Line 0, column 0:
> > >
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> > >. java:460: Undefined variable: param
> > > if (param != null) {
> > > ^
> > > Line 0, column 0:
> > >
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> > >. java:461: Undefined variable or class name: param
> > >   String compareToString = param.getParameter
> > > ("parameter-selector-test", null);
> > >^
> > >
> > >
> > > embedded exception stacktrace
> > >
> > > org.apache.cocoon.ProcessingException: Language
> > > Exception:org.apache.cocoon.components.language.LanguageException: Error
> > > compiling sitemap_xmap:
> > > Line 0, column 0:
> > >
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> > >. java:460: Undefined variable: param
> > > if (param != null) {
> > > ^
> > > Line 0, column 0:
> > >
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> > >. java:461: Undefined variable or class name: param
> > >   String compareToString = param.getParameter
> > > ("parameter-selector-test", null);
> > >^
> > >
> > >  at
> > >
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(P
> > >r ogramGeneratorImpl.java:163)
> > >  at org.apache.cocoon.sitemap.Handler.run(Handler.java:197)
> > >  at java.lang.Thread.run(Thread.java:484)
> > > org.apache.cocoon.components.language.LanguageException: Error compiling
> > > sitemap_xmap:
> > > Line 0, column 0:
> > >
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> > >. java:460: Undefined variable: param
> > > if (param != null) {
> > > ^
> > > Line 0, column 0:
> > >
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> > >. java:461: Undefined variable or class name: param
> > >   String compareToString = param.getParameter
> > > ("parameter-selector-test", null);
> > >^
> > >
> > >  at
> > >
> org.apache.cocoon.components.language.programming.java.JavaLanguage.compile
> > >( JavaLanguage.java:204)
> > >  at
> > >
> org.apache.cocoon.components

Re: Fixed: The sitemap handler's sitemap is not available

2001-07-05 Thread Liam MacQuarrie Morley

If you check your .conf document, you should see a section that mentions
something about the parser settings (and where to insert the "-D.."
section).

Liam Morley



On Thu, 5 Jul 2001, Martin Mauri wrote:

> Hi Ramaprabhu,
>
> Unfortunately, I don't have CATALINA, my Tomcat is 3.2.1, but this wouldn't
> be a problem, the thing is that I cannot find the tag  class="org.apache.cocoon.components.parser.XercesParser"/>, I think my CVS
> brought another version of C2!
>
> any help?
>
>
>
> > I got the same error with tomcat 4.0-b5 and cocoon2. The following fix
> works
> > for me:
> >
> > 1) I copied xerces_1_4_0.jar from $COCOON2_HOME/lib to
> >$CATALINA_HOME/server/lib/ and renamed it as aaxerces.jar (no
> chances!).
> > 2) I then enabled this attribute in cocoon.xconf
> > (it is commented out by default):
> >  
> > 3) I set CATALINA_OPTS =
> >
> "-Dorg.apache.cocoon.components.parser.Parser=org.apache.cocoon.components.p
> arser.XercesParser"
> > in $CATALINA_HOME/bin/catalina.sh
> > 4) Restart tomcat and we're in business again. Cocoon2 does take such a
> > looong time to start the first time that your browser will most
> probably
> > timeout. try reloading once "top" stops reporting ~100% CPU usage for
> "java".
> >
> > On Thursday 05 July 2001 15:02, you wrote:
> > > Hi all,
> > >
> > > Just like Kalven I removed those files from my tomcat/lib directory,
> though
> > > I got this error, and It got me in a tight cause it doesn't seem to be
> > > pretty simple.
> > >
> > > here's the error, if someone has some idea, I'll be glad to hear about
> it.
> > >
> > > regards.
> > >
> > > Cocoon 2 - Internal server error
> > >
> >
> > --
> -
> > >- 
> > >
> > > type internal-server-error
> > >
> > > message Exception in Handler
> > >
> > > description org.apache.cocoon.ProcessingException: Exception in
> > > Handler:org.apache.cocoon.ProcessingException: Language
> > > Exception:org.apache.cocoon.components.language.LanguageException: Error
> > > compiling sitemap_xmap: Line 0, column 0:
> > >
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> > >. java:460: Undefined variable: param if (param != null) { ^ Line 0,
> column
> > > 0:
> > >
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> > >. java:461: Undefined variable or class name: param String
> compareToString =
> > > param.getParameter ("parameter-selector-test", null); ^
> > >
> > > sender org.apache.cocoon.servlet.CocoonServlet
> > >
> > > source Cocoon servlet
> > >
> > > request-uri
> > >
> > > /cocoon/
> > >
> > > embedded exception
> > >
> > > org.apache.cocoon.ProcessingException: Language
> > > Exception:org.apache.cocoon.components.language.LanguageException: Error
> > > compiling sitemap_xmap:
> > > Line 0, column 0:
> > >
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> > >. java:460: Undefined variable: param
> > > if (param != null) {
> > > ^
> > > Line 0, column 0:
> > >
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> > >. java:461: Undefined variable or class name: param
> > >   String compareToString = param.getParameter
> > > ("parameter-selector-test", null);
> > >^
> > >
> > >
> > > embedded exception stacktrace
> > >
> > > org.apache.cocoon.ProcessingException: Language
> > > Exception:org.apache.cocoon.components.language.LanguageException: Error
> > > compiling sitemap_xmap:
> > > Line 0, column 0:
> > >
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> > >. java:460: Undefined variable: param
> > > if (param != null) {
> > > ^
> > > Line 0, column 0:
> > >
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> > >. java:461: Undefined variable or class name: param
> > >   String compareToString = param.getParameter
> > > ("parameter-selector-test", null);
> > >^
> > >
> > >  at
> > >
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(P
> > >r ogramGeneratorImpl.java:163)
> > >  at org.apache.cocoon.sitemap.Handler.run(Handler.java:197)
> > >  at java.lang.Thread.run(Thread.java:484)
> > > org.apache.cocoon.components.language.LanguageException: Error compiling
> > > sitemap_xmap:
> > > Line 0, column 0:
> > >
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> > >. java:460: Undefined variable: param
> > > if (param != null) {
> > > ^
> > > Line 0, column 0:
> > >
> C:\tomcatc2\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\sitemap_xmap
> > >. java:461: Undefined variable or class name: param
> > >   String compareToString = param.getParameter
> > > ("parameter-selector-test", null);
> > >^
> > >
> > >  at
> > >
> org.apache.cocoon.components.language.programming.java.JavaLanguage

Installing current C2 on tomcat 3.2.2: Problem: The sitemap handler's sitemap is not available

2001-05-29 Thread Bjarne Jensen

I have downloaded the newest Cocoon2 from CVS, my build was fine :-) And
know I have tried to follow the installing instructions (rename
parser.jar->xparser.jar etc) - but I am stuck. My Tomcat 3.2.2 starts fine,
but when I tries to acces http://localhost:8080/cocoon/ I get the
exception:" org.apache.cocoon.ProcessingException: The sitemap handler's
sitemap is not available." In an old posted mail (01/03-2001 by Peter
Fleisher), the answer to a similar question was to delete the work
directory. I have tried to delete my tomcatc2\work and
tomcatc2\bin\repository but the problem remains. Hopes for help.

PS: Is there anywhere a large bundle with tomcat and C2, that does not
require configuration (just unzipping)?

Thanks in advance
-Bjarne

Below is my log:

-

DEBUG   330 [cocoon  ] (Thread-10): Trying to load class:
com.ibm.servlet.classloader.Handler
WARN550 [cocoon  ] (Thread-10): Could not force-load class:
com.ibm.servlet.classloader.Handler
java.lang.ClassNotFoundException: com.ibm.servlet.classloader.Handler
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at org.apache.cocoon.util.ClassUtils.loadClass(ClassUtils.java:46)
at
org.apache.cocoon.servlet.CocoonServlet.forceLoad(CocoonServlet.java:391)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:119)
at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at org.apache.tomcat.core.Handler.service(Handler.java:254)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
DEBUG   550 [cocoon  ] (Thread-10): Trying to load class:
org.hsqldb.jdbcDriver
DEBUG   600 [cocoon  ] (Thread-10): Using configuration file:
/cocoon.xconf
INFO600 [cocoon  ] (Thread-10): Reloading from:
file:C:\tomcatc2\webapps\cocoon\cocoon.xconf
DEBUG   820 [cocoon  ] (Thread-10): New Cocoon object.
DEBUG   820 [cocoon  ] (Thread-10): Using parser:
org.apache.cocoon.components.parser.JaxpParser
DEBUG   930 [cocoon  ] (Thread-10): Attempting to get Handler for:
org.apache.cocoon.components.parser.Parser
DEBUG   990 [cocoon  ] (Thread-10): Handler type =
org.apache.avalon.excalibur.component.DefaultComponentHandler
DEBUG   990 [cocoon  ] (Thread-10): Creating Repository with this
directory: C:\tomcatc2\work\localhost_8080%2Fcocoon
DEBUG   990 [cocoon  ] (Thread-10): Classpath =
C:\tomcatc2\webapps\cocoon\WEB-INF\classes;C:\tomcatc2\webapps\cocoon\WEB-IN
F\lib\avalon-excalibur-4.0b1.jar;C:\tomcatc2\webapps\cocoon\WEB-INF\lib\aval
on-framework-4.0b1.jar;C:\tomcatc2\webapps\cocoon\WEB-INF\lib\batik-all.jar;
C:\tomcatc2\webapps\cocoon\WEB-INF\lib\bsf.jar;C:\tomcatc2\webapps\cocoon\WE
B-INF\lib\cocoon-2.0a7.jar;C:\tomcatc2\webapps\cocoon\WEB-INF\lib\fop-0_18_1
.jar;C:\tomcatc2\webapps\cocoon\WEB-INF\lib\hsqldb.jar;C:\tomcatc2\webapps\c
ocoon\WEB-INF\lib\jakarta-regexp-1.2.jar;C:\tomcatc2\webapps\cocoon\WEB-INF\
lib\javac.jar;C:\tomcatc2\webapps\cocoon\WEB-INF\lib\jimi-1.0.jar;C:\tomcatc
2\webapps\cocoon\WEB-INF\lib\jstyle.jar;C:\tomcatc2\webapps\cocoon\WEB-INF\l
ib\junit.jar;C:\tomcatc2\webapps\cocoon\WEB-INF\lib\logkit-1.0b1.jar;C:\tomc
atc2\webapps\cocoon\WEB-INF\lib\maybeupload.jar;C:\tomcatc2\webapps\cocoon\W
EB-INF\lib\rhino.jar;C:\tomcatc2\webapps\cocoon\WEB-INF\lib\Tidy.jar;C:\tomc
atc2\webapps\cocoon\WEB-INF\lib\velocity-1.0.1-rc1.jar;C:\tomcatc2\webapps\c
ocoon\WEB-INF\lib\w3c.jar;C:\tomcatc2\webapps\cocoon\WEB-INF\lib\xalan-2.1.0
.jar;C:\tomcatc2\webapps\cocoon\WEB-INF\lib\xerces_1_4_0.jar;C:\tomcatc2\web
apps\cocoon\WEB-INF\lib\xt.jar;C:\tomcatc2\classes;C:\tomcatc2\lib\SERVLET.J
AR;C:\tomcatc2\lib\ZPARSER.JAR;C:\tomcatc2\lib\ANT.JAR;C:\tomcatc2\lib\WEBSE
R~1.JAR;C:\tomcatc2\lib\JASPER.JAR;C:\tomcatc2\lib\XERCES~1.JAR;C:\jdk1.3\li
b\tools.jar;
DEBUG   1040[cocoon  ] (Thread-10): Work directory =
C:\tomcatc2\work\localhost_8080%2Fcocoon
DEBUG   1040[cocoon  ] (Thread-10): ComponentHandler initialized for:
org.apache.cocoon.components