AW: [Wyonacms-users] JDBC - Pool connection

"Scherler, Thorsten" <[email protected]> Wed, 30 Oct 2002 17:24:06 +0100
Newsgroups gmane.comp.cms.wyona.devel,gmane.comp.cms.wyona.user
Message-ID <[email protected]>
Scherler, Thorsten wrote:
> Hello group,
> 
> I have a problem and don't know how to solve it.
> 
> I have followed a tutorial of IBM. https://www6.software.ibm.com/developerworks/education/x-dbc2/.

> What does the tutorial say (it's protected;-)?

I think everyone on the mailinglist should have a look! ;-)
--> try: 
Login: wyona_x
pass:	levi@ibm

> 
> I have everything working! But I can only execute the query once with success! If I retry the query that perfectly worked before I get this error message:
> 
> The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode notifies that org.apache.cocoon.ProcessingException says:
> 
> Exception in ServerPagesGenerator.generate() 
> 
> More precisely:
> 
> org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing statement: select cat_id, name from category order by cat_id : java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Die Verbindung ist mit Ergebnissen von einem anderen hstmt belegt. 
> 
> I am using Microsoft® SQL Server(tm) 2000 and sun.jdbc.odbc.JdbcOdbcDriver.
> Tomcat 4.0.4.
> Snapshot of wyona.
> 
> Please can anybody give me a hint?

>It looks like there is a problem with MSQL. Have you tried HSQL 
>Database, which is shipped with Cocoon (Wyona)? We have written some 
>docu on that at:

>http://127.0.0.1:8080/wyona-cms/docs/xdocs/int-hsqldb.html

Like I stated before first I have to have a connection to the access Db, because our call agent are using that. If I would use HSQL i had to update that db in order to always the "up to date" contacts, right?

But I will try it out with an example db and for further development!



> 
> 
>>Mit freundlichem Gruss,
>>
>>Thorsten Scherler
>>Marketing / Telefonmarketing
>>
>>Weidmüller GmbH & Co.
>>P.O. Box 2807
>>33058 Paderborn
>>Tel.:+ 49 - 5252-960-350
>>Fax:+ 49 - 5252-960-116
>>eMail: [email protected]
>>http://www.weidmueller.de
>>
>>
> 
> 
> _______________________________________________
> WyonaCMS-users mailing list
> [email protected]
> http://mail.wyona.org/cgi-bin/mailman/listinfo/wyonacms-users