bloritsch    01/07/19 11:43:49

  Modified:    xdocs    Tag: cocoon_20_branch faq.xml
  Log:
  Add new FAQ entry for JdbcConnectionPool
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.1.1.2.9 +34 -0     xml-cocoon2/xdocs/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/xdocs/faq.xml,v
  retrieving revision 1.1.1.1.2.8
  retrieving revision 1.1.1.1.2.9
  diff -u -r1.1.1.1.2.8 -r1.1.1.1.2.9
  --- faq.xml   2001/07/19 13:46:58     1.1.1.1.2.8
  +++ faq.xml   2001/07/19 18:43:49     1.1.1.1.2.9
  @@ -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:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to