cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/xdocs faq.xml installing.xml
Date Tue, 29 Feb 2000 15:14:28 GMT
stefano     00/02/29 07:14:28

  Modified:    xdocs    faq.xml installing.xml
  Log:
  more faq and notes
  
  Revision  Changes    Path
  1.4       +37 -0     xml-cocoon/xdocs/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/xdocs/faq.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- faq.xml	2000/02/24 13:48:29	1.3
  +++ faq.xml	2000/02/29 15:14:27	1.4
  @@ -39,6 +39,43 @@
   </faq>
   
   <faq>
  + <question>I get the exception <em>Can't create store repository: //./repository.
  +Make sure it's there or you have writing permissions.</em> How do I fix this?
  + </question>
  + <answer>
  +  <p>Create a directory where the servlet engine process is owner and has 600 access
mask.
  +  Then change the following configuration to match the absolute path:</p>
  +
  +  <source>processor.xsp.repository = /absolute/path/to/repository</source>
  +
  +  <p>then restart your servlet engine.</p>
  +
  +  <note>The repository may contain sensible information you don't want untrusted
  +  users to gain access to. This is why you should restrict both write and read
  +  by all but the servlet engine process.</note>
  + </answer>
  +</faq>
  +
  +<faq>
  + <question>what are the other jar files shipped with Cocoon for? do I need to include
them into my classpath?</question>
  + <answer>
  +  <p>They are for building Cocoon and creating its docs from XML but they are not
used by Cocoon at runtime so, if you
  +  don't plan to modify and recompile Cocoon or its documentation, you can safely ignore
them.</p>
  + </answer>
  +</faq>
  +
  +<faq>
  + <question>I get the exception <em>java.lang.AbstractMethodError: org/apache/jserv/JServContext.getContext</em>.
What's wrong?</question>
  + <answer>
  +  <p>You are probably using JServ with the wrong version of the Servlet Library.
JServ supports Servlet API 2.0
  +  and is not forward compatible with the newer version shipped with Cocoon. Cocoon is Servlet
API 2.2 compatible and
  +  requires the servlet_2.2.jar package to compile correctly, but works is back compatible
with old servlet engines.</p>
  +  <p>To fix the problem you must set the Servlet API 2.0 version in your classpath
instead of the one shipped with
  +  cocoon. Read the JServ installation instructions for more info on this.</p>
  + </answer>
  +</faq>
  +
  +<faq>
    <question>Why the LDAP processor doesn't work?</question>
    <answer>
     <p>Make sure you have the <link href="http://java.sun.com/products/jndi/index.html">Sun
JNDI API</link>
  
  
  
  1.6       +6 -0      xml-cocoon/xdocs/installing.xml
  
  Index: installing.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/xdocs/installing.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- installing.xml	2000/02/23 00:42:51	1.5
  +++ installing.xml	2000/02/29 15:14:27	1.6
  @@ -101,6 +101,12 @@
       required package (as shown above).
      </note>
   
  +   <note>
  +    JServ is a Servlet 2.0 compliant servlet engine and will not work if you
  +    place the Servlet_2.2.jar in its classpath. So ignore the servlet_2.2.jar
  +    package that is shipped with Cocoon if you use Jserv.
  +   </note>
  +
      <p>
       At this point, you must set the Cocoon configurations. To do this, you
       must choose the servlet zone(s) where you want Cocoon to reside.
  
  
  

Mime
View raw message