You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mikael St�ldal <d9...@d.kth.se> on 2000/03/30 12:01:11 UTC

Problems with Cocoon 1.7, JDK 1.2.2 and XSP

I have the following setup:
RedHat Linux 6.1
Apache 1.3.9
Apache JServ 1.1
Sun JDK 1.2.2
Cocoon 1.7

The basic functionality works OK, but when I try to execute an XSP page
(the included sample), I get 500 Internal Server Error.

Apache error_log says:

[Wed Mar 15 14:32:14 2000] [error] [client 192.168.125.2] Premature end
of script headers: /servlet/org.apache.cocoon.Cocoon

JServ mod_jserv.log says:

[15/03/2000 14:32:14:895] (EMERGENCY) ajp12[1]: cannot scan servlet
headers  (500)
[15/03/2000 14:32:14:917] (ERROR) an error returned handling request
via protocol "ajpv12"
[15/03/2000 14:32:15:894] (EMERGENCY) ajp12: auth did not receive
challenge size
[15/03/2000 14:32:15:896] (EMERGENCY) ajp12: function auth fail

I have included tools.jar in wrapper.classpath in jserv.properties,
before I did that, I got an error message about the class
sun.tools.javac.Main not found.

When I look in the repository, I can see a _page.java file, but no
_page.class. I tried to manualy compile the _page.java file using
javac, and then it works. 

An another machine, I have a similar setup, but use JDK 1.1 instead of
JDK 1.2. On that machine, it works fine.

So it seems like Cocoon has some problems with invoking javac with
using JDK 1.2.

-- 
/****************************************************************\
* You have just read a message from Mikael Ståldal.              *
*                                                                *
* Remove "-ingen-reklam" from the address before mail replying.  *
\****************************************************************/