cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <coc...@leverageweb.com>
Subject Re: WASD 4.0.3
Date Wed, 30 Apr 2003 16:58:48 GMT
What DB?  Did you list the driver class in web.xml?  Copy your
datasource section from cocoon.xconf here (removing any password
or username info of course).

Geoff

At 12:47 PM 4/30/2003, you wrote:
>I am getting an error in Access.log saying "No
>suitable driver found".  But in the core.log, the jar
>file which contains the driver (jt400.jar) is listed
>as a part of class path.
>
>
>Here is the access.log's trace.
>
>Thank you for taking your time ;)
>
>
>
>ERROR   (2003-04-30) 10:37.06:873   [access]
>(/Cocoon/mount/abc/tickets.xsp)
>Servlet.Engine.Transports:10/CocoonServlet: Problem
>with Cocoon servlet
>org.apache.cocoon.ProcessingException: Exception in
>ServerPagesGenerator.generate():
>java.lang.RuntimeException: Could not get the
>datasource java.sql.SQLException: No suitable driver
>         at
>org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:270)
>
>
>
>--- Geoff Howard <cocoon@leverageweb.com> wrote:
> > I have no experience with WASD but what do your
> > cocoon
> > logs say with respect to the datasource.  Try
> > grepping
> > through them for your datasource name.
> >
> > Geoff
> >
> > At 12:13 PM 4/30/2003, you wrote:
> > >Hello,
> > >I've been trying to setup the Cocoon 2.0.4
> > environment
> > >from WASD 4.0.3.  Everything works fine until I try
> > to
> > >get the database connection from the cocoon
> > datasource
> > >using esql.  When esql refers to the datasource, it
> > >spilts out an error like following.
> > >
> > >Error 500: clearBuffer(): illegal state--> stream
> > is
> > >committed
> > >
> > >I'm thinking that it may be a problem with WASD's
> > >classloader or something, but can not nail down
> > what
> > >it is.
> > >
> > >Has anyone had this problem?  If so, please let me
> > >know how can I avoid this error.  I appreciate your
> > >time and thank you bunch!
> > >
> > >
> > >
> > >
> > >Here is the partial trace..
> > >
> > >Servlet Error: clearBuffer(): illegal
> > >state--&gt; stream is committed :
> > >java.lang.IllegalStateException: clearBuffer():
> > >illegal state--> stream is committed
> > >         at
> >
> >com.ibm.servlet.engine.srt.BufferedServletOutputStream.clearBuffer(Buffer 
> edServletOutputStream.java:432)
> > >         at
> >
> >com.ibm.servlet.engine.srt.SRTServletResponse.reset(SRTServletResponse.ja 
> va:827)
> > >         at
> >
> >com.ibm.servlet.engine.webapp.HttpServletResponseProxy.reset(HttpServletR 
> esponseProxy.java:124)
> > >         at
> >
> >org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1115)
> > >         at
> >
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >
> > >__________________________________
> > >Do you Yahoo!?
> > >The New Yahoo! Search - Faster. Easier. Bingo.
> > >http://search.yahoo.com
> > >
> >
> >---------------------------------------------------------------------
> > >To unsubscribe, e-mail:
> > cocoon-users-unsubscribe@xml.apache.org
> > >For additional commands, e-mail:
> > cocoon-users-help@xml.apache.org
> >
> >
> >
>---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail:
> > cocoon-users-help@xml.apache.org
> >
>
>
>__________________________________
>Do you Yahoo!?
>The New Yahoo! Search - Faster. Easier. Bingo.
>http://search.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message