You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Stefano Mazzocchi <st...@apache.org> on 2000/05/02 00:01:42 UTC
Re: Problems with Cocoon 1.7.2 and XSP
"Mikael Ståldal" wrote:
>
> In article <39...@apache.org>,
> Stefano Mazzocchi <st...@apache.org> wrote:
>
> >> JServ mod_jserv.log says:
> >> [27/04/2000 14:39:39:494] (EMERGENCY) ajp12[1]: cannot scan servlet headers
> >> (500)
> >> [27/04/2000 14:39:39:494] (ERROR) an error returned handling request via
> >> protocol "ajpv12"
> >> [27/04/2000 14:39:40:494] (EMERGENCY) ajp12: auth did not receive challenge
> >> size
> >> [27/04/2000 14:39:40:494] (EMERGENCY) ajp12: function auth fail
> >>
> >> JServ jserv.log says nothing about this.
> >
> >Disable JServ authentication on both sides.
>
> Doesn't help, (almost) the same problem. Now mod_jserv.log says:
>
> [30/04/2000 12:26:52:482] (EMERGENCY) ajp12[1]: cannot scan servlet
> headers (500)
> [30/04/2000 12:26:52:482] (ERROR) an error returned handling request
> via protocol "ajpv12"
> [30/04/2000 12:26:53:480] (EMERGENCY) ajp12: ping: no reply (-1)
> Please make sure that the wrapper.classpath is pointing
> to the correct version of ApacheJServ.jar
>
> (In my jserv.properties file, wrapper.classpath does point to the only
> version of ApacheJServ.jar in my system.)
This doesn't sound like a cocoon problem. Make sure your jserv works.
ping: no reply (-1) means no jserv is responding.
--
Stefano Mazzocchi One must still have chaos in oneself to be
able to give birth to a dancing star.
<st...@apache.org> Friedrich Nietzsche
--------------------------------------------------------------------
Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------
Re: Problems with Cocoon 1.7.2 and XSP
Posted by Stefano Mazzocchi <st...@apache.org>.
"Mikael Ståldal" wrote:
>
> In article <39...@apache.org>,
> Stefano Mazzocchi <st...@apache.org> wrote:
>
> >Yes, it's probably a timeout problem.
>
> It was. I changed the ApJServVMTimeout property in jserv.conf from the
> default 10 seconds to 60 seconds, and now it works. It takes about
> 20-30 seconds to compile an XSP page on my test server (Pentium 100).
>
> Perhaps you should mention this in some docs to Cocoon?
I will.
You were the first one to encounter this problem.
--
Stefano Mazzocchi One must still have chaos in oneself to be
able to give birth to a dancing star.
<st...@apache.org> Friedrich Nietzsche
--------------------------------------------------------------------
Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------
Re: Problems with Cocoon 1.7.2 and XSP
Posted by Mikael St�ldal <d9...@d.kth.se>.
In article <39...@apache.org>,
Stefano Mazzocchi <st...@apache.org> wrote:
>Yes, it's probably a timeout problem.
It was. I changed the ApJServVMTimeout property in jserv.conf from the
default 10 seconds to 60 seconds, and now it works. It takes about
20-30 seconds to compile an XSP page on my test server (Pentium 100).
Perhaps you should mention this in some docs to Cocoon?
--
/****************************************************************\
* You have just read a message from Mikael Ståldal. *
* *
* Remove "-ingen-reklam" from the address before mail replying. *
\****************************************************************/
Re: Problems with Cocoon 1.7.2 and XSP
Posted by Stefano Mazzocchi <st...@apache.org>.
"Mikael Ståldal" wrote:
>
> In article <39...@apache.org>,
> Stefano Mazzocchi <st...@apache.org> wrote:
>
> >This doesn't sound like a cocoon problem. Make sure your jserv works.
>
> How do I make that sure? Everything _except_ XSP works.
Ok
> >ping: no reply (-1) means no jserv is responding.
>
> Can there be a timeout problem? I.e. the XSP compiling takes too long
> time (my computer is not very fast)? Does JServ have any such timeout?
> Can it be changed?
Yes, it's probably a timeout problem.
I don't remember how to change that but read the JServ docs on
load-balancing that should give you hints for that. (or ask the jserv
user mail list, in not)
--
Stefano Mazzocchi One must still have chaos in oneself to be
able to give birth to a dancing star.
<st...@apache.org> Friedrich Nietzsche
--------------------------------------------------------------------
Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------
Re: Problems with Cocoon 1.7.2 and XSP
Posted by Mikael St�ldal <d9...@d.kth.se>.
In article <39...@apache.org>,
Stefano Mazzocchi <st...@apache.org> wrote:
>This doesn't sound like a cocoon problem. Make sure your jserv works.
How do I make that sure? Everything _except_ XSP works.
>ping: no reply (-1) means no jserv is responding.
Can there be a timeout problem? I.e. the XSP compiling takes too long
time (my computer is not very fast)? Does JServ have any such timeout?
Can it be changed?
--
/****************************************************************\
* You have just read a message from Mikael Ståldal. *
* *
* Remove "-ingen-reklam" from the address before mail replying. *
\****************************************************************/