cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gon ishihara <mailcoc...@yahoo.com>
Subject Re: WASD 4.0.3
Date Wed, 30 Apr 2003 18:58:34 GMT
JDK level is at 1.3.
And you are right, jar file is in the WEB-INF/lib.

Thank you!

--- Geoff Howard <cocoon@leverageweb.com> wrote:
> What JDK?
> 
> Geoff
> 
> At 01:12 PM 4/30/2003, you wrote:
> >Ok, here is the Web.xml listing as/400 driver.
> >
> >         <init-param>
> >                
> <param-name>load-class</param-name>
> >                 <param-value>
> >                 <!-- Jdbc drivers: -->
> >                 <!-- For IBM WebSphere: -->
> >         com.ibm.servlet.classloader.Handler
> >                 <!-- For Database Driver: -->
> >         org.hsqldb.jdbcDriver
> >                 <!--  For as400 Driver:   -->
> >         com.ibm.as400.access.AS400JDBCDriver
> >    </param-value>
> >
> >And here is the cocoon.xconf
> >
> >  <!-- Datasources: -->
> >   <datasources>
> >   <jdbc logger="core.datasources.personnel"
> >name="as400">
> >     <pool-controller min="5" max="10"/>
> >     <dburl>jdbc:as400://10.10.2.22</dburl>
> >     <user>myuser</user>
> >     <password>mypassword</password>
> >   </jdbc>
> >   </datasources>
> >
> >Thanks bunch! ;)
> >
> >
> >--- Geoff Howard <cocoon@leverageweb.com> wrote:
> > > 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(ServerPagesGen
> 
> > erator.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
> > > > >
> 
=== message truncated ===


__________________________________
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


Mime
View raw message