cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: xml-cocoon2/xdocs faq.xml
Date Thu, 19 Jul 2001 18:44:40 GMT
bloritsch    01/07/19 11:44:40

  Modified:    xdocs    faq.xml
  Log:
  Add new FAQ entry for JdbcConnectionPool
  
  Revision  Changes    Path
  1.11      +34 -0     xml-cocoon2/xdocs/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/xdocs/faq.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- faq.xml	2001/07/19 13:47:19	1.10
  +++ faq.xml	2001/07/19 18:44:40	1.11
  @@ -94,6 +94,40 @@
   </faq>
   <faq>
     <question>
  +    When I try to use the Connection pooling code, I get the following exception:
  +    "Could not get the datasource java.sql.SQLException: You cannot
  +    get a Poolable before the pool is initialized".  What's going on?
  +  </question>
  +  <answer>
  +    <p>
  +      The most common reason for this exception is that the driver was not loaded.
  +      Cocoon uses an initial parameter in the "web.xml" file to automatically load
  +      classes on startup.  This way, the class is loaded only once and the server's
  +      time is spent doing more productive things.  Make sure the following entry
  +      is in your "web.xml" file:
  +    </p>
  +<source>
  +  <![CDATA[
  +<init-param>
  + <param-name>load-class</param-name>
  + <param-value>
  +   <!-- comma or whitespace separated list of fully qualified class names
  +       to load on startup.
  +   -->
  +   oracle.jdbc.driver.OracleDriver
  + </param-value>
  +</init-param>
  +  ]]>
  +</source>
  +    <p>
  +      If the class is loaded correctly, and you are still getting this error, then there
  +      is probably an error in your connection information.  The SQLException
  +      above is thrown when there are no open connections to the database.
  +    </p>
  +  </answer>
  +</faq>
  +<faq>
  +  <question>
       What are the steps to pre-compile the sitemap and XSP's?
     </question>
     <answer>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message