cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Washeim <esa...@canuck.com>
Subject Re: SQLProcessor and use
Date Tue, 27 Jun 2000 18:01:58 GMT
on 27/6/00 6:29 pm, Jon Lancelle at jkl@knosys.com wrote:

> I get an error code like this. Think it could be my jdbc driver? I don't see
> an
> instance of it in the list.
> 

Looks like an update problem. Make sure  to add:
<sql:update-rows-attribute>result</sql:update-rows-attribute>

to your execute query block. Donald fixed this in CVS . . .


> Error found handling the
> request.
> 
> java.lang.ArrayIndexOutOfBoundsException
> at
> org.apache.xerces.dom.DocumentImpl.isXMLName(DocumentImpl.java:1245)
> at
> org.apache.xerces.dom.DocumentImpl.createAttribute(DocumentImpl.java:322)
> at
> org.apache.xerces.dom.ElementImpl.setAttribute(ElementImpl.java:414)
> at
> org.apache.cocoon.processor.xsp.library.sql.XSPSQLLibrary.processQuery(XSPSQLL
> ibrary.java:147)
> 
> at
> _opt._jakarta_tomcat._webapps._monarch._samples._ovrimossql._taglib.populateDo
> cument(_taglib.java:80)
> 
> at
> org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java:96)
> at
> org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:456)
> at org.apache.cocoon.Engine.handle(Engine.java:305)
> at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
> at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpCon
> nectionHandler.java:160)
> 
> at
> org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
> at java.lang.Thread.run(Thread.java:484)
> 
> Giacomo Pati wrote:
> 
>> --- Jon Lancelle <jkl@knosys.com> wrote:
>>> Has anyone been fairly successful using the SQL processor?
>> 
>> Of course, with MySQL and PostgreSQL.
>> 
>>> 
>>> I am trying to use a driver from a company called Ovrimos, but getting
>>> nowhere fast.
>>> 
>>> Do I need to create my own producer? Would it be easier?
>> 
>> If you have a JDBC driver available there is no need to write your own
>> producer.
>> 
>> Giacomo
>> 
>> =====
>> --
>> PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
>> Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
>> Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
>> CH-8166 Niederweningen                    Web:   http://www.pwr.ch
>> 
>> __________________________________________________
>> Do You Yahoo!?
>> Get Yahoo! Mail - Free email you can access from anywhere!
>> http://mail.yahoo.com/
> 

-- 
Mark (Poetaster) Washeim

'On the linen wrappings of certain mummified remains
found near the Etrurian coast are invaluable writings
that await translation.

Quem colorem habet sapientia?'

Evan S. Connell

 



Mime
View raw message