cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antoniol <anton...@ieee.org>
Subject Problem on RedHat 6.1 installing + XSP
Date Fri, 21 Jan 2000 15:00:00 GMT
Hi Folks

   finally I was able to configure and run Cocoon-1.6 on my box
Linux/RedHat 6.1 Apache
   1.3.9 Jserv 1.1 Jdk 1.2.2.

   The key point was changing the line:

   ApJServAction .xml /servlet/org.apache.cocoon.Cocoon

with:


 AddType text/xml .xml
 AddHandler jserv-xml   .xml
 Action jserv-xml /servlet/org.apache.cocoon.Cocoon

Now all examples but xsp run smootly. XSP give me the error:


               Error found handling the request.

              java.lang.NoClassDefFoundError: sun/tools/javac/Main
                at
org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJavaProcessor.java,
Compiled Code)
                at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java,
Compiled Code)
                at org.apache.cocoon.Engine.handle(Engine.java, Compiled
Code)
                at org.apache.cocoon.Cocoon.service(Cocoon.java,
Compiled Code)
                at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
                at
org.apache.jserv.JServConnection.processRequest(JServConnection.java,
Compiled Code)
                at
org.apache.jserv.JServConnection.run(JServConnection.java, Compiled
Code)
                at java.lang.Thread.run(Thread.java, Compiled Code)

compiling by hand the created java code  located under repository dir
e.g., the  _page.java  file gave a warning on
a deprecated interface nothing else ....

Any suggestion ???

Thanks


Giulio


--

+----------------------------------------------------------------------------------------+
|   Giuliano Antoniol                            e-mail: antoniol@ieee.org               |
|   I.R.S.T. -  Via alla cascata, Loc. Pante' di Povo                                    |
|   38050 Trento - ITALY  tel: +39+0461+314.524 fax: +39+0461+314.591                    |
+----------------------------------------------------------------------------------------+




Mime
View raw message