cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Spinetti" <m.spine...@pisa.iol.it>
Subject R: R: R: R: SERIOUS PROBLEM WITH ESQL.
Date Thu, 21 Dec 2000 14:39:03 GMT
Hi Drasko,
I have tried to do what you have told me but I have obtained the same
mistake. If in the risposta_elenco_num.xml file I use instead of <esql
:pool>elenco</esql:pool>
 the elements
 <esql:driver>oracle.jdbc.driver.OracleDriver</esql:driver>
  <esql:dburl>jdbc:oracle:thin:@xxxxxx</esql:dburl>
  <esql:username>yyyyyyyy</esql:username>
  <esql:password>yyyyyy</esql:password>
everything is ok.
You can try my service (Italian telephone directory )at this url:
http://sms-gw.pisa.iol.it/cocoon/elenco/elenco.xml
The first form send to risposta_elenco.xml in which I use
<esql:pool>elenco1</esql:pool>
The second form send to risposta_elenco.xml in which I use
<esql:driver>oracle.jdbc.driver.OracleDriver</esql:driver>
  <esql:dburl>jdbc:oracle:thin:@xxxxxx</esql:dburl>
  <esql:username>yyyyyyyy</esql:username>
  <esql:password>yyyyyy</esql:password>
because <esql:pool>elenco1</esql:pool> gives me the error.
The service is multiterminal: you can try it also with a wap telephone or
nokia emulator.(you can use the emulator at this URL: http://wap.iol.it )
Tell me what do you think ( this a part of my thesys in data processing
engineering ).
Marco
m.spinetti@pisa.iol.it

----- Original Message -----
From: Drasko Kokic <drasko_kokic@yahoo.com>
To: <cocoon-users@xml.apache.org>
Sent: Thursday, December 21, 2000 2:13 PM
Subject: Re: R: R: R: SERIOUS PROBLEM WITH ESQL.


> Alright ... here is the workaround:
>
> copy the cocoon.properties from /cocoon context into
> the /images context (cp
> /usr/local/jakarta-tomcat/webapps/cocoon/WEB-INF/cocoon.properties
> /usr/local/jakarta-tomcat/webapps/cocoon/images/WEB-INF/cocoon.properties
>
> By the way ... maybe you could join those two contexts
> into one?!
>
> HTH
> Drasko
>
>
> --- Marco Spinetti <m.spinetti@pisa.iol.it> wrote:
> > Well, I place my xml files under
> > /usr/local/jakarta-tomcat/webapps/cocoon/....
> > then I think the context is
> > <Context path="/cocoon" docBase="webapps/cocoon"
> > debug="0" reloadable="true"
> > >
> >  </Context>
> > The images used by xsl file are placed in
> >
> /usr/local/jakarta-tomcat/webapps/cocoon/images/.....
> > and the file xsl are placed in:
> > /usr/local/jakarta-tomcat/webapps/cocoon/xsl/.....
> > I don't know if you wanted this:I hope yes.
> > Marco
> > m.spinetti@pisa.iol.it
> >
> > ----- Original Message -----
> > From: Drasko Kokic <drasko_kokic@yahoo.com>
> > To: <cocoon-users@xml.apache.org>
> > Sent: Thursday, December 21, 2000 10:53 AM
> > Subject: Re: R: R: SERIOUS PROBLEM WITH ESQL.
> >
> >
> > > Okay ... now tell me which of your contexts (look
> > in
> > > your server.xml) are having xml files (using
> > Cocoon)
> > > and which are used in your troublesome
> > application?!
> > >
> > >
> > > --- Marco Spinetti <m.spinetti@pisa.iol.it> wrote:
> > > > This is my server.xml:
> > > > <Server>
> > > >     <!-- Debug low-level events in XmlMapper
> > startup
> > > > -->
> > > >     <xmlmapper:debug level="0" />
> > > >
> > > >     <!-- This is quite flexible; we can either
> > have
> > > > a log file per
> > > >          module in Tomcat (example:
> > ContextManager)
> > > > or we can have
> > > >          one for Servlets and one for Jasper, or
> > we
> > > > can just have
> > > >   one tomcat.log for both Servlet and Jasper.
> > > >
> > > >   If you omit "path" there, then stderr should
> > be
> > > > used.
> > > >
> > > >   verbosityLevel values can be:
> > > >      FATAL
> > > >      ERROR
> > > >      WARNING
> > > >             INFORMATION
> > > >             DEBUG
> > > >          -->
> > > >
> > > >     <Logger name="tc_log"
> > > >             path="logs/tomcat.log"
> > > >             customOutput="yes" />
> > > >
> > > >     <Logger name="servlet_log"
> > > >             path="logs/servlet.log"
> > > >             customOutput="yes" />
> > > >
> > > >     <Logger name="JASPER_LOG"
> > > >      path="logs/jasper.log"
> > > >             verbosityLevel = "WARNING" />
> > > >
> > > >     <!-- Add "home" attribute if you want tomcat
> > to
> > > > be based on a different
> > > > directory
> > > >          "home" is used to create work and to
> > read
> > > > webapps, but not for libs
> > > > or CLASSPATH.
> > > >          Note that TOMCAT_HOME is where tomcat
> > is
> > > > installed, while
> > > > ContextManager home is the
> > > >          base directory for contexts, webapps/
> > and
> > > > work/
> > > >       -->
> > > >     <ContextManager debug="0" workDir="work" >
> > > >         <!-- ContextInterceptor
> > > > className="org.apache.tomcat.context.LogEvents"
> > /
> > > > -->
> > > >         <ContextInterceptor
> > > > className="org.apache.tomcat.context.AutoSetup"
> > > > />
> > > >         <ContextInterceptor
> > > >
> > >
> >
> className="org.apache.tomcat.context.DefaultCMSetter"
> > > > />
> > > >         <ContextInterceptor
> > > >
> > >
> >
> className="org.apache.tomcat.context.WorkDirInterceptor"
> > > > />
> > > >         <ContextInterceptor
> > > >
> > className="org.apache.tomcat.context.WebXmlReader"
> > > > />
> > > >         <ContextInterceptor
> > > >
> > >
> >
> className="org.apache.tomcat.context.LoadOnStartupInterceptor"
> > > > />
> > > >         <!-- Request processing -->
> > > >         <RequestInterceptor
> > > >
> > className="org.apache.tomcat.request.SimpleMapper"
> > > > debug="0" />
> > > >         <RequestInterceptor
> > > >
> > >
> >
> className="org.apache.tomcat.request.SessionInterceptor"
> > > > />
> > > >         <RequestInterceptor
> > > >
> > className="org.apache.tomcat.request.SecurityCheck"
> > > > />
> > > >         <RequestInterceptor
> > > > className="org.apache.tomcat.request.FixHeaders"
> > > > />
> > > >
> > > >         <Connector
> > > >
> > >
> >
> className="org.apache.tomcat.service.SimpleTcpConnector">
> > > >             <Parameter name="handler"
> > > >
> > >
> >
> value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
> > > >             <Parameter name="port" value="80"/>
> > > >         </Connector>
> > > >
> > > >         <Connector
> > > >
> > >
> >
> className="org.apache.tomcat.service.SimpleTcpConnector">
> > > >             <Parameter name="handler"
> > > >
> > >
> >
> value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
> > > >             <Parameter name="port"
> > value="8020"/>
> > > >         </Connector>
> > > >
> > > >         <Context path="/wap" docBase="wap"
> > debug="0"
> > > > reloadable="true" >
> > > >         </Context>
> > > >
> > > >  <Context path="/cocoon"
> > docBase="webapps/cocoon"
> > > > debug="0"
> > > > reloadable="true" >
> > > >  </Context>
> > > >
> > > >  <Context path="/images"
> > > > docBase="webapps/cocoon/images" debug="0"
> > > > reloadable="true" >
> > > >         </Context>
> > > >
> > > >         <!-- example - how to override AutoSetup
> > > > actions -->
> > > >         <Context path="/examples"
> > > > docBase="webapps/examples" debug="0"
> > > > reloadable="true" >
> > > >         </Context>
> > > >         <!-- example - how to override AutoSetup
> > > > actions -->
> > > >         <Context path="" docBase="webapps/ROOT"
> > > > debug="0" reloadable="true"
> > > > >
> > > >         </Context>
> > > >
> > > >      <Context path="/test"
> > docBase="webapps/test"
> > > > debug="0"
> > > > reloadable="true">
> > > >         </Context>
> > > >
> > > >     </ContextManager>
> > > > </Server>
> > > > Marco
> > > > m.spinetti@pisa.iol.it
> > > >
> > > > ----- Original Message -----
> > > > From: Drasko Kokic <drasko_kokic@yahoo.com>
> > > > To: <cocoon-users@xml.apache.org>
> > > > Sent: Thursday, December 21, 2000 10:01 AM
> >
> === message truncated ===
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.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