You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Matthias Brunner <mb...@blumenstrasse.vol.at> on 2000/06/14 21:01:16 UTC

Cocoon2 and Apache JServ

Has anyone managed to get Cocoon2 running together with Apache JServ?
Are there any drawbacks which should prevent me from doing this and make
me switch to Tomcat instead?

Thanks in advance!
-- 
Matthias Brunner <mb...@blumenstrasse.vol.at>
PGP FP 7862 32B3 3B75 292A F76F  5042 8587 21AB 5B89 D501
Check out http://blumenstrasse.vol.at/~mb/gpgkey.asc

Re: sql question

Posted by Donald Ball <ba...@webslingerZ.com>.
On Fri, 16 Jun 2000, Kari M. Scott wrote:

> 
> Cocoon isn't happy with the sql DATE_FORMAT function. Is there a way to
> make it happy?
> 
> Here is my query:
>  <query connection="connection1" doc-element="HERE" row-element="HEREROW">
>         select staff_id, here, DATE_FORMAT(return, "%a, %l%p")
>         from attendance
>         where staff_id={@staff_id}
>  </query>
> 
> "return" is a DATETIME data type field. It works like a charm from the
> mysql command line, but Cocoon returns no data. 

try DATE_FORMAT(return,"%a, %l%p") AS formatted_date. cocoon has no idea
how to name a column something absurd like 'DATE_FORMAT(return,"%A,
%l%p")'.

- donald


sql question

Posted by "Kari M. Scott" <km...@pandora.binc.net>.
Cocoon isn't happy with the sql DATE_FORMAT function. Is there a way to
make it happy?

Here is my query:
 <query connection="connection1" doc-element="HERE" row-element="HEREROW">
        select staff_id, here, DATE_FORMAT(return, "%a, %l%p")
        from attendance
        where staff_id={@staff_id}
 </query>

"return" is a DATETIME data type field. It works like a charm from the
mysql command line, but Cocoon returns no data. 

-Kari


Kari M. Scott
Berbee
5520 Research Park Drive
Madison, WI  53711-5377
kmscott@berbee.com
608.288.3000 ext. 1223
608.298.1223 direct dial
608.288.3037 fax

Berbee...putting the E in business



Re: Cocoon2 and Apache JServ

Posted by Hans Ulrich Niedermann <ni...@isd.uni-stuttgart.de>.
Matthias Brunner <mb...@blumenstrasse.vol.at> writes:

> Has anyone managed to get Cocoon2 running together with Apache JServ?
> Are there any drawbacks which should prevent me from doing this and make
> me switch to Tomcat instead?

Cocoon2 needs Servlet 2.2, and Apache JServ is Servlet 2.0. So you
need Tomcat. 

However, you can somehow run Apache with mod_jserv and tomcat,
although I haven't managed to do so yet.

Uli

Re: Cocoon2 and Apache JServ

Posted by Giacomo Pati <Gi...@pwr.ch>.
Cocoon 2 is targeted to a servlet engine conforming to the spec version
2.2. Jserv will remain spec version 2.0. 
So you better switch :)

Giacomo

Matthias Brunner wrote:
> 
> Has anyone managed to get Cocoon2 running together with Apache JServ?
> Are there any drawbacks which should prevent me from doing this and make
> me switch to Tomcat instead?
> 
> Thanks in advance!
> --
> Matthias Brunner <mb...@blumenstrasse.vol.at>
> PGP FP 7862 32B3 3B75 292A F76F  5042 8587 21AB 5B89 D501
> Check out http://blumenstrasse.vol.at/~mb/gpgkey.asc
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

-- 
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