cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Muja <>
Subject Re: Tomcat-4.0 and Cocoon-2.0B2
Date Fri, 21 Sep 2001 07:08:10 GMT
Hi Antony,<br>
look in web-inf/web.xml and search for &lt;param-name&gt;load-class&lt;/param-name&gt;.
The text entry org.hsqldb.jdbcDriver must exist in the &lt;param-value&gt;
element. This loads the HSQLDB driver. Then look in cocoon.xconf and search
for &lt;datasources&gt;. The name &lt;jdbc name="personnel"&gt; must match
the connection name appearing in the ESQL connection elements in the example
stylesheets. Further more, the &lt;dburl&gt; should look like the following:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dburl&gt;jdbc:hsqldb:&lt;path-to-cocoon&gt;\cocoon\WEB-INF\db\cocoondb&lt;/dburl&gt;<br>
I am not a Cocoon nor a Java expert but this configuration works on my PC.<br>
Regards, Mario<br>
Antony Stace wrote:<br>
<blockquote type="cite" cite="">
  <pre wrap="">I have installed Tomcat-4.0 and Cocoon-2.0B2.  I have compiled and run<br>the
example webapp which comes with the Cocoon distribution.  All the<br>examples on this
page  which have SQL access in them seem to fail, all<br>the other examples I run fine.
 Is this happening to anyone else? Or is<br>it a problem with how I have installed it.
 Here is part of the error <br>log which I think is relevant to this problem. <br><br>[snip]<br>/webapps/cocoon/stylesheets/dynamic-page2html.xsl'<br>DEBUG
  10010   [cocoon  ] (HttpProcessor[8080][3]): Using stylesheet:<br>'<a class="moz-txt-link-freetext"
in<br>org.apache.cocoon.<br><a class="moz-txt-link-abbreviated" href="mailto:transformation.TraxTransformer@4b1fda">transformation.TraxTransformer@4b1fda</a>,
last modified: 1001053991000<br>DEBUG   10010   [cocoon  ] (HttpProcessor[8080][3]):
MRUMemoryStore<br>getting obje<br>ct from 
memory. Key:<br><a class="moz-txt-link-freetext" href="file:/var/tomcat/webapps/cocoon/stylesheets/dynamic-page2ht">file:/var/tomcat/webapps/cocoon/stylesheets/dynamic-page2ht</a><br>ml.xsl<br>DEBUG
  10010   [cocoon  ] (HttpProcessor[8080][3]): Reusing Templates<br>in org.ap<br><a
class="moz-txt-link-abbreviated" href="mailto:ache.cocoon.transformation.TraxTransformer@4b1fda">ache.cocoon.transformation.TraxTransformer@4b1fda</a>
for<br><a class="moz-txt-link-freetext" href="file:/var/tomcat/webapps/c">file:/var/tomcat/webapps/c</a><br>ocoon/stylesheets/dynamic-page2html.xsl<br>ERROR
  10010   [cocoon  ] (HttpProcessor[8080][3]): Could not return<br>Connection<br>java.lang.IllegalStateException:
You cannot get a Poolable before the<br>pool is in<br>itialized<br>    
  <blockquote type="cite">
    <pre wrap="">On Wed, 19 Sep 2001, Morrison, John wrote:<br><br></pre>
    <blockquote type="cite">
      <pre wrap="">It works - you've just got to watch out for xml parsers and substitute<br>xerces/xalan
where required.<br></pre>
      <pre wrap="">I have the latest CVS version running WITHOUT any modification<br>concerning
jars. Just followed the BUILDING.txt doc and preparing a<br> file with
all the jars needed to build TC4.<br></pre>
      <pre wrap=""><!----><br>---------------------------------------------------------------------<br>Please
check that your question has not already been answered in the<br>FAQ before posting.
<a class="moz-txt-link-rfc2396E" href="">&lt;;</a><br><br>To
unsubscribe, e-mail: <a class="moz-txt-link-rfc2396E" href="">&lt;;</a><br>For
additional commands, e-mail: <a class="moz-txt-link-rfc2396E" href="">&lt;;</a><br><br><br></pre>

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message