You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Timm, Sean" <ST...@mailgo.com> on 2000/06/20 01:57:11 UTC
XSP in Cocoon 2 - What am I doing wrong?
I'm trying to convert the view-source XSP that worked in Cocoon 1 over to
Cocoon 2, and I'm having some problems...
I'm getting the following exception:
Class: org.apache.cocoon.ProcessingException
Message: null
org.apache.cocoon.ProcessingException
at
org.apache.cocoon.generators.ServerPagesGenerator.generate(ServerPagesGenera
tor.java:126)
at
org.apache.cocoon.sitemap.GenericProcessor.process(GenericProcessor.java:161
)
at
org.apache.cocoon.sitemap.SitemapPartition.process(SitemapPartition.java:102
)
at org.apache.cocoon.sitemap.Sitemap.process(Sitemap.java:95)
at org.apache.cocoon.Cocoon.process(Cocoon.java:179)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:359)
at org.apache.tomcat.core.Handler.service(Handler.java:275)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:347)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:651)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:193)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:384)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:484)
at java.lang.Thread.run(Unknown Source)
------------------------
Anyone know what I'm doing wrong at first glance? It seems to be generating
the java code...
- Sean T.
Re: Off topic : What is Catalina ?
Posted by Giacomo Pati <Gi...@pwr.ch>.
Sebastien Sahuc wrote:
>
> Hello,
>
> I know, it's off topic, but I've read some time ago the word
> 'Catalina', what is that ? I couldn't find anything on thing. Is that
> the codename for the next Tomcat, or something like that ?
Yup!
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
RE: Off topic : What is Catalina ?
Posted by David Duddleston <da...@i2a.com>.
Catalina is a Servlet container that can be found in Tomcat CVS in the
proposal folder. Catalina will most likely become the next version of
Tomcat.
> -----Original Message-----
> From: Sebastien Sahuc [mailto:ssahuc@imediation.com]
> Sent: Tuesday, June 20, 2000 7:06 AM
> To: cocoon-dev@xml.apache.org
> Subject: Off topic : What is Catalina ?
>
>
> Hello,
>
> I know, it's off topic, but I've read some time ago the word
> 'Catalina', what is that ? I couldn't find anything on thing. Is that
> the codename for the next Tomcat, or something like that ?
>
> Sorry again for the noise, but I would really appreciate if someone
> could highlight me :-)
>
> Sebastien
>
> ssahuc@imediation.com
>
>
>
Off topic : What is Catalina ?
Posted by Sebastien Sahuc <ss...@imediation.com>.
Hello,
I know, it's off topic, but I've read some time ago the word
'Catalina', what is that ? I couldn't find anything on thing. Is that
the codename for the next Tomcat, or something like that ?
Sorry again for the noise, but I would really appreciate if someone
could highlight me :-)
Sebastien
ssahuc@imediation.com
Re: XSP in Cocoon 2
Posted by Gabor Dolla <ag...@mezon.net>.
I also tried to use XSP with Cocoon2 with little success
I'm missing the request (javax.servlet.HttpRequest), response
(javax.servlet.HttpResponse) and session
(javax.servlet.HttpSession) variables.... those are available in XSP with
Cocoon1.
Are those variables missing because XSP has changed or it is simple needs
to be ported ?
Gabor
On Wed, 21 Jun 2000, N. Sean Timm wrote:
> Thanks...that was the problem. The view-source XSP relies on the context
> object which has not been ported over to Cocoon2. Also, regarding my
> previous query regarding XSP as a filter, I noticed a thread where Ricardo
> mentioned utilizing it the way I mentioned as a filter. Anyone know if this
> is still in the works?
>
> - Sean T.
>
> ----- Original Message -----
> From: "Sebastien Sahuc" <ss...@imediation.com>
> To: <co...@xml.apache.org>
> Sent: Tuesday, June 20, 2000 7:36 AM
> Subject: Re: XSP in Cocoon 2 - What am I doing wrong?
>
>
> We had the same report also.
> Thus I believe errors from compiler doesn't show well. It has happened
> to us while we though we were importing the correct classes, but we
> weren't in fact.
>
> See previous post from Nicolas Delahaye in the same list under the
> title '[C2][XSP] ...'
>
> The quick solution is to compile by hand and check what's going wrong.
>
> Sebastien
>
>
>
Re: XSP in Cocoon 2
Posted by "N. Sean Timm" <st...@mailgo.com>.
Thanks...that was the problem. The view-source XSP relies on the context
object which has not been ported over to Cocoon2. Also, regarding my
previous query regarding XSP as a filter, I noticed a thread where Ricardo
mentioned utilizing it the way I mentioned as a filter. Anyone know if this
is still in the works?
- Sean T.
----- Original Message -----
From: "Sebastien Sahuc" <ss...@imediation.com>
To: <co...@xml.apache.org>
Sent: Tuesday, June 20, 2000 7:36 AM
Subject: Re: XSP in Cocoon 2 - What am I doing wrong?
We had the same report also.
Thus I believe errors from compiler doesn't show well. It has happened
to us while we though we were importing the correct classes, but we
weren't in fact.
See previous post from Nicolas Delahaye in the same list under the
title '[C2][XSP] ...'
The quick solution is to compile by hand and check what's going wrong.
Sebastien
Re: XSP in Cocoon 2 - What am I doing wrong?
Posted by Sebastien Sahuc <ss...@imediation.com>.
We had the same report also.
Thus I believe errors from compiler doesn't show well. It has happened
to us while we though we were importing the correct classes, but we
weren't in fact.
See previous post from Nicolas Delahaye in the same list under the
title '[C2][XSP] ...'
The quick solution is to compile by hand and check what's going wrong.
Sebastien
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 6/20/00, 12:39:52 PM, Rob Parker <ro...@webcybernetics.com> wrote
regarding Re: XSP in Cocoon 2 - What am I doing wrong?:
> Have you tried to compile the generated java by hand?
> I think I've had this problem and it was an error in the generated
java
> code. Thus
> when compiled by hand, the error reports were more obvious. I say
think
> because
> it was a little while ago that I was getting this :-)
> Rob
> ----- Original Message -----
> From: Timm, Sean <ST...@mailgo.com>
> To: <co...@xml.apache.org>
> Sent: Tuesday, June 20, 2000 9:57 AM
> Subject: XSP in Cocoon 2 - What am I doing wrong?
> > I'm trying to convert the view-source XSP that worked in Cocoon 1 over
> to
> > Cocoon 2, and I'm having some problems...
> >
> [snip]
Re: XSP in Cocoon 2 - What am I doing wrong?
Posted by Rob Parker <ro...@webcybernetics.com>.
Have you tried to compile the generated java by hand?
I think I've had this problem and it was an error in the generated java
code. Thus
when compiled by hand, the error reports were more obvious. I say think
because
it was a little while ago that I was getting this :-)
Rob
----- Original Message -----
From: Timm, Sean <ST...@mailgo.com>
To: <co...@xml.apache.org>
Sent: Tuesday, June 20, 2000 9:57 AM
Subject: XSP in Cocoon 2 - What am I doing wrong?
> I'm trying to convert the view-source XSP that worked in Cocoon 1 over to
> Cocoon 2, and I'm having some problems...
>
[snip]