Re: Idiots Guide - Site Released!

2001-09-23 Thread Antony Stace

Where is this web site?

Arno Illmann wrote:
> 
> Hi Jeremy! I visited your site ... very good. Could be a central starting point for 
>beginners. You should add a faq and collect questions from the mail list. I remember 
>to get cocoon 1 documentaion was very difficult (i.e. the taglibs) and hope it will 
>be better in c2.
> 
> Best regards, Arno
> 
> 
> 
> This I wrote in thread "Wanted - C2 Idiots Guide to deploying XML/XSL/XSP files" 
>where you posted first:
> 
> HI you guys, dear cocooners,
> 
> to put this all together and then give it to the cocoon developers is a very good 
>idea.
> 
> I know one of them has written a 30 page documentation of developing web 
>applications with c2, but not in a way of a how to and step by step for c2 beginners.
> 
> ... I can send you a pdf (good to print and read) made from the doc on the cocoon2 
>site one month ago or so, and enough for a first overview.
> 
> Or I can post it somewhere on the Web.
> 
> --- on the c1 site you can find a desciption of the xsp-tags ... but leave out the
> processing instruction tag ;-)
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Tomcat-4.0 and Cocoon-2.0B2

2001-09-21 Thread Antony Stace

Thanks for the reply.  I will check those out.  I should have added also
to my email, that the cocoon.war file which is causing the problems
worked fine in Tomcat-4.0 Beta Releases.

Cheers

Tony


Mario Muja wrote:
> 
> Hi Antony,
> look in web-inf/web.xml and search for
> load-class. The text entry
> org.hsqldb.jdbcDriver must exist in the  element. This
> loads the HSQLDB driver. Then look in cocoon.xconf and search for
> . The name  must match the
> connection name appearing in the ESQL connection elements in the
> example stylesheets. Further more, the  should look like the
> following:
> 
> 
> jdbc:hsqldb:\cocoon\WEB-INF\db\cocoondb
> 
> I am not a Cocoon nor a Java expert but this configuration works on my
> PC.
> 
> Regards, Mario
> 
> Antony Stace wrote:
> 
> > I have installed Tomcat-4.0 and Cocoon-2.0B2.  I have compiled and
> > run
> > the example webapp which comes with the Cocoon distribution.  All
> > the
> > examples on this page  which have SQL access in them seem to fail,
> > all
> > the other examples I run fine.  Is this happening to anyone else? Or
> > is
> > it a problem with how I have installed it.  Here is part of the
> > error
> > log which I think is relevant to this problem.
> > [snip]
> > /webapps/cocoon/stylesheets/dynamic-page2html.xsl'
> > DEBUG   10010   [cocoon  ] (HttpProcessor[8080][3]): Using
> > stylesheet:
> > 'file:/va
> > r/tomcat/webapps/cocoon/stylesheets/dynamic-page2html.xsl' in
> > org.apache.cocoon.
> > transformation.TraxTransformer@4b1fda, last modified: 1001053991000
> > DEBUG   10010   [cocoon  ] (HttpProcessor[8080][3]): MRUMemoryStore
> > getting obje
> > ct from
> > memory. Key:
> > file:/var/tomcat/webapps/cocoon/stylesheets/dynamic-page2ht
> > ml.xsl
> > DEBUG   10010   [cocoon  ] (HttpProcessor[8080][3]): Reusing
> > Templates
> > in org.ap
> > ache.cocoon.transformation.TraxTransformer@4b1fda for
> > file:/var/tomcat/webapps/c
> > ocoon/stylesheets/dynamic-page2html.xsl
> > ERROR   10010   [cocoon  ] (HttpProcessor[8080][3]): Could not
> > return
> > Connection
> > java.lang.IllegalStateException: You cannot get a Poolable before
> > the
> > pool is in
> > itialized
> > at
> > org.apache.avalon.excalibur.pool.DefaultPool.get(DefaultPool.java:107
> > )
> > at
> > org.apache.avalon.excalibur.datasource.JdbcConnectionPool.get(JdbcCon
> > nectionPool.java:70)
> > at
> > o
> > rg.apache.avalon.excalibur.datasource.JdbcDataSource.getConnection(J
> > dbcDataSource.java:112)
> > [snip]
> > Cheers
> > Tony
> > giacomo wrote:
> >
> >> On Wed, 19 Sep 2001, Morrison, John wrote:
> >>
> >> > It works - you've just got to watch out for xml parsers and
> >> > substitute
> >> > xerces/xalan where required.
> >> >
> >> I have the latest CVS version running WITHOUT any modification
> >> concerning jars. Just followed the BUILDING.txt doc and preparing
> >> a
> >> build.properties file with all the jars needed to build TC4.
> >>
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> >
> 
> -
>  Please check that your question has not already been answered in the
>  FAQ before posting. To unsubscribe, e-mail: For additional commands,
> e-mail:

-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Tomcat-4.0 and Cocoon-2.0B2

2001-09-20 Thread Antony Stace

I have installed Tomcat-4.0 and Cocoon-2.0B2.  I have compiled and run
the example webapp which comes with the Cocoon distribution.  All the
examples on this page  which have SQL access in them seem to fail, all
the other examples I run fine.  Is this happening to anyone else? Or is
it a problem with how I have installed it.  Here is part of the error 
log which I think is relevant to this problem. 

[snip]
/webapps/cocoon/stylesheets/dynamic-page2html.xsl'
DEBUG   10010   [cocoon  ] (HttpProcessor[8080][3]): Using stylesheet:
'file:/va
r/tomcat/webapps/cocoon/stylesheets/dynamic-page2html.xsl' in
org.apache.cocoon.
transformation.TraxTransformer@4b1fda, last modified: 1001053991000
DEBUG   10010   [cocoon  ] (HttpProcessor[8080][3]): MRUMemoryStore
getting obje
ct from memory. Key:
file:/var/tomcat/webapps/cocoon/stylesheets/dynamic-page2ht
ml.xsl
DEBUG   10010   [cocoon  ] (HttpProcessor[8080][3]): Reusing Templates
in org.ap
ache.cocoon.transformation.TraxTransformer@4b1fda for
file:/var/tomcat/webapps/c
ocoon/stylesheets/dynamic-page2html.xsl
ERROR   10010   [cocoon  ] (HttpProcessor[8080][3]): Could not return
Connection
java.lang.IllegalStateException: You cannot get a Poolable before the
pool is in
itialized
at
org.apache.avalon.excalibur.pool.DefaultPool.get(DefaultPool.java:107
)
at
org.apache.avalon.excalibur.datasource.JdbcConnectionPool.get(JdbcCon
nectionPool.java:70)
at
org.apache.avalon.excalibur.datasource.JdbcDataSource.getConnection(J
dbcDataSource.java:112)
[snip]



Cheers

Tony

giacomo wrote:
> 
> On Wed, 19 Sep 2001, Morrison, John wrote:
> 
> > It works - you've just got to watch out for xml parsers and substitute
> > xerces/xalan where required.
> 
> I have the latest CVS version running WITHOUT any modification
> concerning jars. Just followed the BUILDING.txt doc and preparing a
> build.properties file with all the jars needed to build TC4.

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Where is the database for the sql examples in the example Cocoon App

2001-09-19 Thread Antony Stace

Hi

Can someone please tell me where the database is which is used in the
example Cocoon Application.  The one which is used in the

"Simple SQL"
"ESQL"
and
"Protected Area"

examples.  I gather the database engine is hsqldb.jar, but I cannot find
the data which the examples seem to access.

Cheers

Tony

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Please tell me where the tags content/title/para/page are defined

2001-09-18 Thread Antony Stace

Doh!.  Found it.

dynamic-page2html.xsl

has an include file

simple-page2.xsl

Which has these definitions.




Antony Stace wrote:
> 
> Thanks for the reply.  Looking at the sitemap.xml file shows
> 
> [snip]
> 
> 
> 
> 
>  value="docs/samples/xsp/{1}.xsp"/>
> 
> 
>
> [snip]
> 
> On inspection of the file
> 
>  stylesheets/dynamic-page2html.xsl
> 
> there are no definitions for the tags
> 
> content
> title
> para
> page
> 
> Where are these tags defined?
> 
> Cheers
> 
> Tony
> 
> Giacomo Pati wrote:
> >
> > Quoting Antony Stace <[EMAIL PROTECTED]>:
> >
> > > Hi Folks
> > >
> > > I am very ner to cocoon, about 3 days and have a few questions.
> > > One of the example files in the cocoon distribution,
> > >
> > > simple.xsp
> > >
> > > Uses the tags,
> > >
> > > content
> > > title
> > > para
> > > page
> > >
> > > I cannot seem to find a style sheet which defines what these tags are.
> > > Where
> > > are they defined?
> >
> > Look at the sitemap.xmap!
> >
> > There is a  which shows you where to find the
> > stylesheet.
> >
> > Giacomo
> >
> > >
> > > At the moment I am just serving this page with
> > >
> > > 
> > > 
> > > 
> > > 
> > >
> > > Can someone please tell me whats going on.
> > >
> > > Cheers
> > >
> > > Tony
> > >
> > >
> > > XXXSOURCE FILE FOLLOWSXXX
> > >
> > > 
> > >
> > >  > >   language="java"
> > >   xmlns:xsp="http://apache.org/xsp";
> > >   xmlns:xsp-request="http://apache.org/xsp/request/2.0";
> > >   xmlns:log="http://apache.org/xsp/log/2.0";
> > > >
> > >
> > >   
> > >   
> > >   Processing the beginning of the page
> > >
> > >A Simple XSP Page
> > >
> > >
> > >
> > >Hi there! I'm a simple dynamic page generated by XSP
> > > (eXtensible Server Pages).
> > >
> > >I was requested as the URI:  > > as="xml"/>
> > >
> > >The following list was dynamically generated:
> > >
> > >
> > >  
> > >
> > >  
> > >Item i
> > >  
> > >
> > >  
> > >
> > >
> > >
> > >   > > name="name">"P".toLowerCase()
> > >  left
> > >  
> > >This paragraph was dynamically generated by logic embedded in the
> > > page
> > >  
> > >
> > >
> > >
> > >  Request parameter "name" as XML:
> > >   > > as="xml"/>
> > >
> > >
> > >
> > >  Request parameter "name" as String:
> > >  
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >  Header "user-agent" as XML:
> > >  
> > >
> > >
> > >
> > >  Header "user-agent" as String:
> > >  
> > >
> > >
> > >
> > >
> > >Brought to you by Cocoon2 at new
> > > Date().
> > >
> > >Processing the end of the page
> > >   
> > > 
> > >
> > > -
> > > Please check that your question has not already been answered in the
> > > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > >
> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > > For additional commands, e-mail: <[EMAIL PROTECTED]>
> > >
> > >
> > >
> >
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Please tell me where the tags content/title/para/page are defined

2001-09-18 Thread Antony Stace

Thanks for the reply.  Looking at the sitemap.xml file shows

[snip]







   
[snip]


On inspection of the file

 stylesheets/dynamic-page2html.xsl 

there are no definitions for the tags

content
title
para
page

Where are these tags defined?

Cheers

Tony





Giacomo Pati wrote:
> 
> Quoting Antony Stace <[EMAIL PROTECTED]>:
> 
> > Hi Folks
> >
> > I am very ner to cocoon, about 3 days and have a few questions.
> > One of the example files in the cocoon distribution,
> >
> > simple.xsp
> >
> > Uses the tags,
> >
> > content
> > title
> > para
> > page
> >
> > I cannot seem to find a style sheet which defines what these tags are.
> > Where
> > are they defined?
> 
> Look at the sitemap.xmap!
> 
> There is a  which shows you where to find the
> stylesheet.
> 
> Giacomo
> 
> >
> > At the moment I am just serving this page with
> >
> > 
> > 
> > 
> > 
> >
> > Can someone please tell me whats going on.
> >
> > Cheers
> >
> > Tony
> >
> >
> > XXXSOURCE FILE FOLLOWSXXX
> >
> > 
> >
> >  >   language="java"
> >   xmlns:xsp="http://apache.org/xsp";
> >   xmlns:xsp-request="http://apache.org/xsp/request/2.0";
> >   xmlns:log="http://apache.org/xsp/log/2.0";
> > >
> >
> >   
> >   
> >   Processing the beginning of the page
> >
> >A Simple XSP Page
> >
> >
> >
> >Hi there! I'm a simple dynamic page generated by XSP
> > (eXtensible Server Pages).
> >
> >I was requested as the URI:  > as="xml"/>
> >
> >The following list was dynamically generated:
> >
> >
> >  
> >
> >  
> >Item i
> >  
> >
> >  
> >
> >
> >
> >   > name="name">"P".toLowerCase()
> >  left
> >  
> >This paragraph was dynamically generated by logic embedded in the
> > page
> >  
> >
> >
> >
> >  Request parameter "name" as XML:
> >   > as="xml"/>
> >
> >
> >
> >  Request parameter "name" as String:
> >  
> >
> >
> >
> >
> >
> >
> >
> >  Header "user-agent" as XML:
> >  
> >
> >
> >
> >  Header "user-agent" as String:
> >  
> >
> >
> >
> >
> >Brought to you by Cocoon2 at new
> > Date().
> >
> >Processing the end of the page
> >   
> > 
> >
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> >
> >
> >
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Please tell me where the tags content/title/para/page are defined

2001-09-18 Thread Antony Stace

Hi Folks

I am very ner to cocoon, about 3 days and have a few questions.
One of the example files in the cocoon distribution, 

simple.xsp

Uses the tags,

content
title
para
page

I cannot seem to find a style sheet which defines what these tags are. 
Where
are they defined? 

At the moment I am just serving this page with






Can someone please tell me whats going on.

Cheers

Tony


XXXSOURCE FILE FOLLOWSXXX



http://apache.org/xsp";
  xmlns:xsp-request="http://apache.org/xsp/request/2.0";
  xmlns:log="http://apache.org/xsp/log/2.0";
>

  
  
  Processing the beginning of the page

   A Simple XSP Page

   

   Hi there! I'm a simple dynamic page generated by XSP
(eXtensible Server Pages).

   I was requested as the URI: 

   The following list was dynamically generated:

   
 
   
 
   Item i
 
   
 
   

   
 "P".toLowerCase()
 left
 
   This paragraph was dynamically generated by logic embedded in the
page
 
   

   
 Request parameter "name" as XML:
 
   

   
 Request parameter "name" as String:
 
   

   

   

   
 Header "user-agent" as XML:
 
   

   
 Header "user-agent" as String:
 
   

   

   Brought to you by Cocoon2 at new
Date().
   
   Processing the end of the page
  


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Can Cocoon Produce I-Mode Content

2001-09-13 Thread Antony Stace
Hi FOlks

Can cocoon produce I-Mode Content?

Cheers

Tony

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>