You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Berin Loritsch <bl...@apache.org> on 2001/07/25 17:59:14 UTC
Re: Help: connectivity problem with cocoon 2
Matteo Villa wrote:
>
> Hi there!
>
> I have the following problem with cocoon 2.
> I get errors when I try to establish the connection between cocoon
> and oracle.
> Running the simple-SQL (sql-page.xml) I get the following error:
Check the FAQ.
> ---
> org.apache.cocoon.ProcessingException: Failed to execute
> pipeline.:java.sql.SQLException: You cannot get a Poolable before the
> pool is initialized
> ---
> Java is jdk1.3
> Oracle is 8.1.7 on Windows NT4 SP6a. I created an instance, which is
> up and running.
> I can connect to it via sqlplus as well as via ODBC.
> I read the user mailings (bug 2190) and did the changes as described
> (see attachments)
> I tried also the following:
> - got Oracle's classes12.zip, renamed to oracle.jar into
> {tomcat-home}\lib
> - got Oracle's classes12.zip, renamed to oracle.jar into
> {tomcat-home}\webapps\cocoon\webinf\lib
> - got Oracle's classes12.zip, produced a 'real' oracle.jar and put
> into {tomcat-home}\lib
> - got Oracle's classes12.zip, produced a 'real' oracle.jar and put
> into {tomcat-home}\webapps\cocoon\webinf\lib
> - changed the CLASSPATH to point also to the produced oracle.jar
>
> nothing helps.
> so: what am I doing wrong ?
>
> The cocoon.log shows :
> ---
> DEBUG 99604 [cocoon ] (Thread-5):
> org.apache.avalon.excalibur.datasource.JdbcConnection: could not be
> instantiated.
> java.sql.SQLException: No suitable driver
> ---
>
> What do I have to do ?
>
> Thanks in advance for any help!
>
> Matteo Villa
>
> ------------------------------------------------------------------------------------------------------------------------------------
> Name: cocoon.zip
> cocoon.zip Type: Zip Compressed Data (application/x-zip-compressed)
> Encoding: base64
>
> ------------------------------------------------------------------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org