Cocoon Hosting ...

2002-01-17 Thread Marc G. Fournier


Hi ...

We just finished installing Jakarta-Tomcat 4.x + Cocoon 2 for one
of our clients, and in the course of the install, came across the hosting
page that suggested sending a note to this list to be added ...

We host all our clients in a virtual machine environment, so have
the capability of hosting whichever version you would like (provided it is
available) of pretty much any software that runs under a FreeBSD operating
system ...

So if you want Jakarta-Tomcat 3.x + Cocoon 1, we can do it ... if
you want Cocoon 2, we can do that too ...

For more information on our hosting, please feel free to check out
http://www.hub.org ...




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




My Cocoon Tutorial is Online!

2002-01-17 Thread Andreas Hartmann



Hi folks,
 
I'm about to create a website about Cocoon and started today 
with a little tutorial.
It is directed to newbies (actually, I'm a newbie too ...) and 
describes a possibility
to create a simple hierarchic site with a 
navigation menu.
 
The tutorial can be found at
http://www.cocooncenter.de/cocooncenter/tutorials/navigation/tutorial.html .
 
I would be very pleased with any comments, also 
regarding spelling and grammar.
The site will be extended soon (it even will get a real layout 
:-) ).
It will probably contain some more tutorials, tips and a 
user forum.
 
If somebody wants to contribute to the site - just contact 
me!
 
Greetings,
Andreas



RE: Pre compiling Sitemap & XSP

2002-01-17 Thread Max Larsson

Hi,

im using SUN on WinNt4. But the problem disapeared today.
Maybe because i rebootetd the machine over night. So now
the pre compiling wokrs. But all xsp pages delivers
"empty" contents. E.g. they don't retreive anything from
the database? 

Max

> 
> > From: Max Larsson [mailto:[EMAIL PROTECTED]]
> > 
> > Hi,
> > 
> > following the instruction in the FAQ to do precompiling
> > of the SItemap and the XSP i get the following error
> > in the cocoon.log:
> > 
> > java.lang.IllegalAccessError: try to access class
> > org.apache.cocoon.www.sitemap_xmap$Configurer from class
> > org.apache.cocoon.www.sitemap_xmap
> > at
> org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:207)
> > at
> 
> What kind of JVM do you use? If something exotic, try different one,
> from Sun or IBM...
> 
> Vadim


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




AW: Just starting COCOON

2002-01-17 Thread Eugen Kimmerstorfer

The problem is that you launch a batch-file (*.bat), e.g. "build.bat"
with "build" and not with "build.bat" (it's the same with any program
(*.exe, *.com, ...), by the way ...).

So the command you have to use is:

  build -Dinclude.

Greetings,
Eugen

> -Ursprüngliche Nachricht-
> Von: Alexander Churin [mailto:[EMAIL PROTECTED]] 
> Gesendet: Donnerstag, 17. Jänner 2002 18:24
> An: [EMAIL PROTECTED]
> Betreff: Just starting COCOON
> 
> 
> I have been reading these install docs back and forth for 2 
> days now and I am missing something.  I am running Tomcat 4.0 
> using the Catalina web server on win2000 and winXP.  It is 
> working just fine and I want to add COCOON to the whole 
> thing.  So after downloading the latest binary distribution 
> of COCOON 2.0 I am in the process of setting it up.  The 
> install file tells me to BUILD cocoon using build. bat.  Well 
> I don't have build.bat.  No clue where to find it either.  I 
> moved the war file that cam in the zip to the tomcat/webapps 
> dir and that did nothing so I guess I have to build it even 
> though I have downloaded the binaries.
> 
> so far I have set up
> SET JAVA_HOME=C:\jdk1.3.1_01
> 
> my next step is:
> build.bat -Dinclude.webapp.libs=yes 
> -Dinstall.war=%TOMCAT_HOME%\webapps
> install
> 
> I get the error:
> 'build.bat' is not recognized as an internal or external 
> command, operable program or batch file.
> 
> Please, someone save me!
> 
> 
> 
> _
> 
> Do You Yahoo!?
> 
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> 
> 
> -
> 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]>




jsp & cocoon

2002-01-17 Thread Alex Kachanov
Title: RE: develop content management system



I've 
added 
 
                  
 
to 
sitemap
 
but 
all .jsp pages come to me unprocessed.
jsp 
code is executed, but xsl transformation does not 
happen.
 
I'm 
using Cocoon2.
any 
clues?
 

with best wishesAlexander Kachanov 



(Urgent) Using Cocoon : Please Help

2002-01-17 Thread Lokesh Verma



Hi All !
I'm working on a project to develop an Enterprise Application using 
MVC-2 Architecture on Websphere Application Server.
In the project we are using JSP to display data on the web. 
Now if I wish to make my application enabled on multiple device types 
can any body give me some tips how to implement it. 
 
Architecture of Application is :
 
JSPs <--> Controller Servlet <--->Business Components 
<->Database.
 
Thanks 
Lokesh Verma


RE: speeding - cocoon processing time

2002-01-17 Thread Vadim Gritsenko

Search archives of xml-cocoon-dev list on "scalability". There was a
thread on optimization tips month or two ago.

Vadim

> From: Alex Kachanov [mailto:[EMAIL PROTECTED]]
> 
> OK, great
> Does anyone know how to optimize Cocoon configuration
> to speed up startup and processing time?
> 
> Some tricks in config files?
> Some commented lines in sitemap.xmap?


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




speeding - cocoon processing time

2002-01-17 Thread Alex Kachanov

OK, great
Does anyone know how to optimize Cocoon configuration
to speed up startup and processing time?

Some tricks in config files?
Some commented lines in sitemap.xmap?



-Original Message-
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: 18 „‘„~„r„p„‚„‘ 2002 „s. 6:53
To: [EMAIL PROTECTED]
Subject: RE: cocoon processing time


> From: Nick Fingerhut [New Identity AG]
[mailto:[EMAIL PROTECTED]]
> 
> Hi Cocooners,
> 
> is there an easy way to count the cocoon processing time from the
browser
> request till the request is finished?

tail -f cocoon/WEB-INF/logs/access.log.01 | grep "Processed by"

See also web.xml, show-time parameter.

Regards,
Vadim


-
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: develop content management system

2002-01-17 Thread Robert Koberg
Title: RE: develop content management system



you should sign up at:
 
> - 
Original Message -> From: "Chris Perrin" <[EMAIL PROTECTED]>>> > OK.  Here is the link to the site:> 
> http://groups.yahoo.com/group/contentmanagementgroup/> >> > Go to www.yahoo.com and click on 
GROUPS, not CLUBS.  Clubs is goingaway.> >> > There 
is also a list serve to which you can subscribe:> > [EMAIL PROTECTED]> > is the email address.> 
>> > I hope all interested parties join up.  I am going to put 
together alist> of> > discussion 
topics.
 

  - Original Message - 
  From: 
  Stephen Manning 
  To: '[EMAIL PROTECTED]' 
  
  Sent: Thursday, January 17, 2002 4:12 
  PM
  Subject: RE: develop content management 
  system
  
  Hi, 
  I too am interested in development of a content management 
  system. From reading the posts on this subject, the general feeling is that 
  content management systems developed so far, have missed the point. 

  IMHO cms's are most useful in an intranet scenario where many 
  people would like to contribute information but give up becaue it is all to 
  hard. CMS on an internet site really needs to have a number of control 
  mechanisms implemented as you don't want anyone adding information to a 
  publicly accessible site (workflow management). 
  I don't think that we should create yet another simpletons web 
  editor. There is ample evidence of these systems around already and I believe 
  that they ultimately miss the point. If I was to put forward a design goal as 
  to what is needed, I would have to say that there is a huge need for a system 
  that separates the storage of content in its many forms (documents, web pages, 
  images, data sources) from there physical storage locations (and navigation 
  paths) and ultimately the way that this content can be manipulated into new 
  and value added ways. A simple example would be to allow people to use a word 
  processor to generate content (something most people are comfortable with) and 
  save it into a 'system' that can then extract this information and (for 
  example) merge it into a web based display with other similar information. Add 
  to this the ability to navigate to the same content from different navigation 
  paths and you start to create a powerful paradigm that is yet to be done 
  really well and make many peoples lives easier. Versioning of content, 
  workflow management in the creation and approval of conent are other area's 
  that need work to.
  Just a thought :) 
  Stephen Manning 
  -Original Message- From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
  Sent: Thursday, January 17, 2002 11:57 To: [EMAIL PROTECTED] Subject: Re: 
  develop content management system 
  Concerning a CMS based on Cocoon: 
  You might check out Wyona which is a CMS based on 
  Cocoon. 
  The bin (war) and src version can be downloaded from 
  http://www.wyona.org/download/index.html 
  Many people are already working on this system. Maybe we 
  are able to bundle our resources. 
  Thanks and all the best 
  Michael 
  - 
  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: develop content management system

2002-01-17 Thread Stephen Manning
Title: RE: develop content management system





Hi,


I too am interested in development of a content management system. From reading the posts on this subject, the general feeling is that content management systems developed so far, have missed the point. 

IMHO cms's are most useful in an intranet scenario where many people would like to contribute information but give up becaue it is all to hard. CMS on an internet site really needs to have a number of control mechanisms implemented as you don't want anyone adding information to a publicly accessible site (workflow management). 

I don't think that we should create yet another simpletons web editor. There is ample evidence of these systems around already and I believe that they ultimately miss the point. If I was to put forward a design goal as to what is needed, I would have to say that there is a huge need for a system that separates the storage of content in its many forms (documents, web pages, images, data sources) from there physical storage locations (and navigation paths) and ultimately the way that this content can be manipulated into new and value added ways. A simple example would be to allow people to use a word processor to generate content (something most people are comfortable with) and save it into a 'system' that can then extract this information and (for example) merge it into a web based display with other similar information. Add to this the ability to navigate to the same content from different navigation paths and you start to create a powerful paradigm that is yet to be done really well and make many peoples lives easier. Versioning of content, workflow management in the creation and approval of conent are other area's that need work to.

Just a thought :)


Stephen Manning


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 17, 2002 11:57
To: [EMAIL PROTECTED]
Subject: Re: develop content management system




Concerning a CMS based on Cocoon:


You might check out Wyona which is a CMS based on Cocoon.


The bin (war) and src version can be downloaded from
http://www.wyona.org/download/index.html


Many people are already working on this system. Maybe we are
able to bundle our resources.


Thanks and all the best


Michael


-
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: XSP<- XSL<-XML<- for example Xindice

2002-01-17 Thread Luca Morandini

Stefan,

hey, real programmers start doing the real work after midnight !

Anyway, it is past midnight in Italy as well... time to rest after this last
stored procedure.

Good night !

-
   Luca Morandini
   GIS Consultant
  [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-


> -Original Message-
> From: Stefan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 18, 2002 12:14 AM
> To: [EMAIL PROTECTED]
> Subject: Re: XSP<- XSL<-XML<- for example Xindice
>
>
> Thank You Vadim and Luca,
>
> I will think about Your proposals tomorrow. For sure they will guide me in
> the right direction. Midnight passed in Germany,
>
> Thanks again
> Stefan
>
> - Original Message -
> From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 17, 2002 11:46 PM
> Subject: RE: XSP<- XSL<-XML<- for example Xindice
>
>
> > > From: Stefan [mailto:[EMAIL PROTECTED]]
> >
> > 
> >
> > Stefan,
> >
> > > I set up a pipeline, which gets some XML Data from Xindice und
> > transforms
> > > the data to XSP. This step is required because the retrieved Data
> > always is
> > > enclosed in  etc. elements. So at least I have to
> > > enclose the things in an  element. Right?
> >
> > Why do you want to create XSP out of dynamic data? What's the reason?
> >
> > 
> >
> > > It is working fine and made me very happy. Thinking twice i realized
> > that
> > > the xsp gets compiled every time. Of course, cocoon cannot know if the
> > xsp
> > > has changed or not.
> > >
> > > I have no idea what to do. I have a strong feeling, that this approach
> > is
> > > very, very bad. But I can't figur out a better solution.
> > >
> > > Could anyone give me some advice?
> >
> > It's totally not clear from you description what do you want to do with
> > the data you obtained from xindice and why you decided to transform this
> > data into XSP.
> > However, I can suggest the following options:
> >
> > 1. Write XSP page which gets data from Xindice using XML:DB API, and
> > process this data inside XSP (example: ESQL);
> > 2. Use XSLT to transform output of xindice into what you want;
> > 3. Write own transformer to do what you want to do;
> > 4. Use aggregation, with any of these methods.
> >
> >
> > > One more question: Isn't this even the case if their is no XSP
> > involved when
> > > using a datastore like Xindice (or a SQL-Database) instead of the
> > local file
> > > system for static xml. I guess cocoon can't cache anything in this
> > case?
> >
> > Cocoon does not cache output of Xindice now; but caching support will be
> > implemented in future, when Xindice provide API to know was content
> > changed or not.
> >
> > Vadim
> >
> >
> > -
> > 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]>
>


-
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: XSP<- XSL<-XML<- for example Xindice

2002-01-17 Thread Stefan

Thank You Vadim and Luca,

I will think about Your proposals tomorrow. For sure they will guide me in
the right direction. Midnight passed in Germany,

Thanks again
Stefan

- Original Message -
From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 17, 2002 11:46 PM
Subject: RE: XSP<- XSL<-XML<- for example Xindice


> > From: Stefan [mailto:[EMAIL PROTECTED]]
>
> 
>
> Stefan,
>
> > I set up a pipeline, which gets some XML Data from Xindice und
> transforms
> > the data to XSP. This step is required because the retrieved Data
> always is
> > enclosed in  etc. elements. So at least I have to
> > enclose the things in an  element. Right?
>
> Why do you want to create XSP out of dynamic data? What's the reason?
>
> 
>
> > It is working fine and made me very happy. Thinking twice i realized
> that
> > the xsp gets compiled every time. Of course, cocoon cannot know if the
> xsp
> > has changed or not.
> >
> > I have no idea what to do. I have a strong feeling, that this approach
> is
> > very, very bad. But I can't figur out a better solution.
> >
> > Could anyone give me some advice?
>
> It's totally not clear from you description what do you want to do with
> the data you obtained from xindice and why you decided to transform this
> data into XSP.
> However, I can suggest the following options:
>
> 1. Write XSP page which gets data from Xindice using XML:DB API, and
> process this data inside XSP (example: ESQL);
> 2. Use XSLT to transform output of xindice into what you want;
> 3. Write own transformer to do what you want to do;
> 4. Use aggregation, with any of these methods.
>
>
> > One more question: Isn't this even the case if their is no XSP
> involved when
> > using a datastore like Xindice (or a SQL-Database) instead of the
> local file
> > system for static xml. I guess cocoon can't cache anything in this
> case?
>
> Cocoon does not cache output of Xindice now; but caching support will be
> implemented in future, when Xindice provide API to know was content
> changed or not.
>
> Vadim
>
>
> -
> 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: XSP<- XSL<-XML<- for example Xindice

2002-01-17 Thread Luca Morandini

 Stefan,

 the same task may be carried out by stylesheets using
 SQLTransformer... possibly using stored procedures, in order to
 take the task of dealing with persistent data out of Cocoon (a
 much cleaner design too :) ).

 Best regards,

 -
Luca Morandini
GIS Consultant
   [EMAIL PROTECTED]
 http://utenti.tripod.it/lmorandini/index.html
 -


> > -Original Message-
> > From: Stefan [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 17, 2002 11:51 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: XSP<- XSL<-XML<- for example Xindice
> >
> >
> > Hello Luca,
> >
> > the XML-Documents stored in the database will include tags representing
> > dynamic data. In my simple example I used an  > name="user-agent"/> XSP-Tag/Logicsheet.
> >
> > A more practical example. I plan to maintain an list with all
> > links used on
> > the site and an collection of media files (mainly pictures and
> pdf-files).
> > Editors will use simple tags like .
> > Uploading and editing the reports will be done by other people. A
> > logicsheet
> > could accomplish the jop of retrieving the uri from the database.
> >
> > Makes this sense?
> >
> > Regards
> > Stefan
> >
> > - Original Message -
> > From: "Luca Morandini" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, January 17, 2002 11:27 PM
> > Subject: RE: XSP<- XSL<-XML<- for example Xindice
> >
> >
> > > Stefan,
> > >
> > > just one thing, I can't understand why you need the
> XSP-generation step.
> > You
> > > can get rid of extra tags with XSL... or am I missing something ?
> > >
> > > As I matter of fact I retrieve (and render in HTML) data from  Oracle
> > > (including HTML fragments) without using a single XSP line.
> > >
> > > Best regards,
> > >
> > > -
> > >Luca Morandini
> > >GIS Consultant
> > >   [EMAIL PROTECTED]
> > > http://utenti.tripod.it/lmorandini/index.html
> > > -
> > >
> > >
> > > > -Original Message-
> > > > From: Stefan [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, January 17, 2002 11:21 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: XSP<- XSL<-XML<- for example Xindice
> > > >
> > > >
> > > > Hello everyone,
> > > >
> > > > I am working on a simple site. The idea is
> > > >
> > > > - storing XML-Data in some Database like Xindice,
> > > > - using Cocoon2 for processing and transformation.
> > > >
> > > > For static data everything works fine. I am not sure, how to
> > design the
> > > > system for prosessing dynamic content. I did an very small
> > example, that
> > > > works in theory but has very poor performance. I guess I just did
> > > > not catch
> > > > the point yet. Any hints would be appreciated.
> > > >
> > > > I set up a pipeline, which gets some XML Data from Xindice und
> > transforms
> > > > the data to XSP. This step is required because the retrieved Data
> > > > always is
> > > > enclosed in  etc. elements. So at
> least I have to
> > > > enclose the things in an  element. Right?
> > > >
> > > > Keeping things simple, I simulate the the Xindice-part with just
> > > > a plain XML
> > > > File. This part of the sitemap looks like this:
> > > >
> > > >
> > > > 
> > > >   
> > > >   
> > > >   
> > > > 
> > > >
> > > > Fine. Next I use the pseudo protocol "cocoon" with the xsp
> > generator to
> > > > proceed and process the xsp and transform, serialize it to html.
> > > >
> > > > 
> > > >   
> > > >   
> > > >   
> > > > 
> > > >
> > > > It is working fine and made me very happy. Thinking twice i realized
> > that
> > > > the xsp gets compiled every time. Of course, cocoon cannot
> know if the
> > xsp
> > > > has changed or not.
> > > >
> > > > I have no idea what to do. I have a strong feeling, that
> this approach
> > is
> > > > very, very bad. But I can't figur out a better solution.
> > > >
> > > > Could anyone give me some advice?
> > > >
> > > > One more question: Isn't this even the case if their is no XSP
> > > > involved when
> > > > using a datastore like Xindice (or a SQL-Database) instead of the
> > > > local file
> > > > system for static xml. I guess cocoon can't cache anything in
> > this case?
> > > >
> > > > Regards
> > > > Stefan
> > > >
> > > > --
> > > > Stefan
> > > >
> > > >
> > > >
> -
> > > > 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
>

Re: XSP<- XSL<-XML<- for example Xindice

2002-01-17 Thread Stefan

Hello Luca,

the XML-Documents stored in the database will include tags representing
dynamic data. In my simple example I used an  XSP-Tag/Logicsheet.

A more practical example. I plan to maintain an list with all links used on
the site and an collection of media files (mainly pictures and pdf-files).
Editors will use simple tags like .
Uploading and editing the reports will be done by other people. A logicsheet
could accomplish the jop of retrieving the uri from the database.

Makes this sense?

Regards
Stefan

- Original Message -
From: "Luca Morandini" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 17, 2002 11:27 PM
Subject: RE: XSP<- XSL<-XML<- for example Xindice


> Stefan,
>
> just one thing, I can't understand why you need the XSP-generation step.
You
> can get rid of extra tags with XSL... or am I missing something ?
>
> As I matter of fact I retrieve (and render in HTML) data from  Oracle
> (including HTML fragments) without using a single XSP line.
>
> Best regards,
>
> -
>Luca Morandini
>GIS Consultant
>   [EMAIL PROTECTED]
> http://utenti.tripod.it/lmorandini/index.html
> -
>
>
> > -Original Message-
> > From: Stefan [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 17, 2002 11:21 PM
> > To: [EMAIL PROTECTED]
> > Subject: XSP<- XSL<-XML<- for example Xindice
> >
> >
> > Hello everyone,
> >
> > I am working on a simple site. The idea is
> >
> > - storing XML-Data in some Database like Xindice,
> > - using Cocoon2 for processing and transformation.
> >
> > For static data everything works fine. I am not sure, how to design the
> > system for prosessing dynamic content. I did an very small example, that
> > works in theory but has very poor performance. I guess I just did
> > not catch
> > the point yet. Any hints would be appreciated.
> >
> > I set up a pipeline, which gets some XML Data from Xindice und
transforms
> > the data to XSP. This step is required because the retrieved Data
> > always is
> > enclosed in  etc. elements. So at least I have to
> > enclose the things in an  element. Right?
> >
> > Keeping things simple, I simulate the the Xindice-part with just
> > a plain XML
> > File. This part of the sitemap looks like this:
> >
> >
> > 
> >   
> >   
> >   
> > 
> >
> > Fine. Next I use the pseudo protocol "cocoon" with the xsp generator to
> > proceed and process the xsp and transform, serialize it to html.
> >
> > 
> >   
> >   
> >   
> > 
> >
> > It is working fine and made me very happy. Thinking twice i realized
that
> > the xsp gets compiled every time. Of course, cocoon cannot know if the
xsp
> > has changed or not.
> >
> > I have no idea what to do. I have a strong feeling, that this approach
is
> > very, very bad. But I can't figur out a better solution.
> >
> > Could anyone give me some advice?
> >
> > One more question: Isn't this even the case if their is no XSP
> > involved when
> > using a datastore like Xindice (or a SQL-Database) instead of the
> > local file
> > system for static xml. I guess cocoon can't cache anything in this case?
> >
> > Regards
> > Stefan
> >
> > --
> > Stefan
> >
> >
> > -
> > 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]>
>


-
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: XSP<- XSL<-XML<- for example Xindice

2002-01-17 Thread Vadim Gritsenko

> From: Stefan [mailto:[EMAIL PROTECTED]]



Stefan,

> I set up a pipeline, which gets some XML Data from Xindice und
transforms
> the data to XSP. This step is required because the retrieved Data
always is
> enclosed in  etc. elements. So at least I have to
> enclose the things in an  element. Right?

Why do you want to create XSP out of dynamic data? What's the reason?



> It is working fine and made me very happy. Thinking twice i realized
that
> the xsp gets compiled every time. Of course, cocoon cannot know if the
xsp
> has changed or not.
> 
> I have no idea what to do. I have a strong feeling, that this approach
is
> very, very bad. But I can't figur out a better solution.
> 
> Could anyone give me some advice?

It's totally not clear from you description what do you want to do with
the data you obtained from xindice and why you decided to transform this
data into XSP.
However, I can suggest the following options:

1. Write XSP page which gets data from Xindice using XML:DB API, and
process this data inside XSP (example: ESQL);
2. Use XSLT to transform output of xindice into what you want;
3. Write own transformer to do what you want to do;
4. Use aggregation, with any of these methods.


> One more question: Isn't this even the case if their is no XSP
involved when
> using a datastore like Xindice (or a SQL-Database) instead of the
local file
> system for static xml. I guess cocoon can't cache anything in this
case?

Cocoon does not cache output of Xindice now; but caching support will be
implemented in future, when Xindice provide API to know was content
changed or not.

Vadim


-
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: XSP<- XSL<-XML<- for example Xindice

2002-01-17 Thread Luca Morandini

Stefan,

just one thing, I can't understand why you need the XSP-generation step. You
can get rid of extra tags with XSL... or am I missing something ?

As I matter of fact I retrieve (and render in HTML) data from  Oracle
(including HTML fragments) without using a single XSP line.

Best regards,

-
   Luca Morandini
   GIS Consultant
  [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-


> -Original Message-
> From: Stefan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 17, 2002 11:21 PM
> To: [EMAIL PROTECTED]
> Subject: XSP<- XSL<-XML<- for example Xindice
>
>
> Hello everyone,
>
> I am working on a simple site. The idea is
>
> - storing XML-Data in some Database like Xindice,
> - using Cocoon2 for processing and transformation.
>
> For static data everything works fine. I am not sure, how to design the
> system for prosessing dynamic content. I did an very small example, that
> works in theory but has very poor performance. I guess I just did
> not catch
> the point yet. Any hints would be appreciated.
>
> I set up a pipeline, which gets some XML Data from Xindice und transforms
> the data to XSP. This step is required because the retrieved Data
> always is
> enclosed in  etc. elements. So at least I have to
> enclose the things in an  element. Right?
>
> Keeping things simple, I simulate the the Xindice-part with just
> a plain XML
> File. This part of the sitemap looks like this:
>
>
> 
>   
>   
>   
> 
>
> Fine. Next I use the pseudo protocol "cocoon" with the xsp generator to
> proceed and process the xsp and transform, serialize it to html.
>
> 
>   
>   
>   
> 
>
> It is working fine and made me very happy. Thinking twice i realized that
> the xsp gets compiled every time. Of course, cocoon cannot know if the xsp
> has changed or not.
>
> I have no idea what to do. I have a strong feeling, that this approach is
> very, very bad. But I can't figur out a better solution.
>
> Could anyone give me some advice?
>
> One more question: Isn't this even the case if their is no XSP
> involved when
> using a datastore like Xindice (or a SQL-Database) instead of the
> local file
> system for static xml. I guess cocoon can't cache anything in this case?
>
> Regards
> Stefan
>
> --
> Stefan
>
>
> -
> 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]>




XSP<- XSL<-XML<- for example Xindice

2002-01-17 Thread Stefan

Hello everyone,

I am working on a simple site. The idea is

- storing XML-Data in some Database like Xindice,
- using Cocoon2 for processing and transformation.

For static data everything works fine. I am not sure, how to design the
system for prosessing dynamic content. I did an very small example, that
works in theory but has very poor performance. I guess I just did not catch
the point yet. Any hints would be appreciated.

I set up a pipeline, which gets some XML Data from Xindice und transforms
the data to XSP. This step is required because the retrieved Data always is
enclosed in  etc. elements. So at least I have to
enclose the things in an  element. Right?

Keeping things simple, I simulate the the Xindice-part with just a plain XML
File. This part of the sitemap looks like this:



  
  
  


Fine. Next I use the pseudo protocol "cocoon" with the xsp generator to
proceed and process the xsp and transform, serialize it to html.


  
  
  


It is working fine and made me very happy. Thinking twice i realized that
the xsp gets compiled every time. Of course, cocoon cannot know if the xsp
has changed or not.

I have no idea what to do. I have a strong feeling, that this approach is
very, very bad. But I can't figur out a better solution.

Could anyone give me some advice?

One more question: Isn't this even the case if their is no XSP involved when
using a datastore like Xindice (or a SQL-Database) instead of the local file
system for static xml. I guess cocoon can't cache anything in this case?

Regards
Stefan

--
Stefan


-
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: cocoon processing time

2002-01-17 Thread Vadim Gritsenko

> From: Nick Fingerhut [New Identity AG]
[mailto:[EMAIL PROTECTED]]
> 
> Hi Cocooners,
> 
> is there an easy way to count the cocoon processing time from the
browser
> request till the request is finished?

tail -f cocoon/WEB-INF/logs/access.log.01 | grep "Processed by"

See also web.xml, show-time parameter.

Regards,
Vadim


-
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: cocoon processing time

2002-01-17 Thread Berin Loritsch

Nick Fingerhut [New Identity AG] wrote:

> Hi Cocooners,
> 
> is there an easy way to count the cocoon processing time from the browser
> request till the request is finished?


Add the magic URL parameter:

http://host/resource?cocoon-showtime=hide

There are two modes for the cocoon-showtime parameter:

true and hide.

The difference is that "hide" will add the information as a comment at the
end of the generated source, and "true" will add the information as a
 element so it is immediately visible.




-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
 - Benjamin Franklin


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




cocoon processing time

2002-01-17 Thread Nick Fingerhut [New Identity AG]

Hi Cocooners,

is there an easy way to count the cocoon processing time from the browser
request till the request is finished?

regards,
Nick Fingerhut


-
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: Cocoon vs AxKit

2002-01-17 Thread Robert Koberg

I do think this is one of the flaws of axkit - lack of documentation, though
the developpers are extremely helpful.  When I initially looked at axkit I
only saw that it worked with PIs. The only way I found out was bad-mouthing
it and being corrected - not a good way to do documentation... :)

Perhaps this has changed (with it on apache) and it is worth another look?

best,
-Rob




- Original Message -
From: "Peter Royal" <[EMAIL PROTECTED]>
To: "Matt Sergeant" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 17, 2002 7:21 AM
Subject: Re: Cocoon vs AxKit


> On Thursday 17 January 2002 10:05 am, Matt Sergeant wrote:
> > It's the other way around: AxKit is much more akin to Cocoon2. We had a
> > sitemap concept before they did, and while we still allow xml-stylesheet
> > PI's, it's not using the Cocoon1 reactor pattern that is so difficult to
>
> oops, my bad. AxKit had more power under the hood than I realized :) I
only
> ever used PI's to direct the flow.
> -pete
>
> --
> peter royal -> [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]>


-
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: weblogic sitemap_xmap.java problem (again!)

2002-01-17 Thread Bernhard Huber


Helly, Aidan wrote:

>Hi,
>
> I am trying to get cocoon working with weblogic6.1, and have run up against
>what seems from the mailing list archive to be a common problem, namely:
>the sitemap_xmap.java file generated is empty, resulting in a ClassNotFound
>exception the first time the CocoonServlet is accessed.
>
> Has anyone out there, found a solution/work-around to this problem?
>
yes,
in the mailing-lists, search for wls, or wls6.1
or change your
cocoon.xconf:


  
  


this overrides the XSLT shipped with wls6.1.
Then sitemaps should get generated.

You may try to override the XML parser, too.
But the above should help in the first run.

bye
bernhard


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




Fw: develop content management system

2002-01-17 Thread Robert Koberg

So I tried to install dimmer switches at my place and brought down most of
my electrical (including mail server). I want to apologize if anybody
recieved bounced mails from me...

Here is the info on the cms group at yahoo if you want to sign up.


- Original Message -
From: "Chris Perrin" <[EMAIL PROTECTED]>


> OK.  Here is the link to the site:
> http://groups.yahoo.com/group/contentmanagementgroup/
>
> Go to www.yahoo.com and click on GROUPS, not CLUBS.  Clubs is going away.
>
> There is also a list serve to which you can subscribe:
> [EMAIL PROTECTED]
> is the email address.
>
> I hope all interested parties join up.  I am going to put together a list
of
> discussion topics.
>
> Also, Michael, I would be interested in looking at your system and will be
> visiting your site shortly.
>
> Chris
> -Original Message-
> From: Robert Koberg
> To: [EMAIL PROTECTED]
> Sent: 1/16/2002 6:53 PM
> Subject: Re: develop content management system
>
> I was hoping to hold some comments for the yahoo list but this needs
> addressing:
>
> I would be most interested in a projects that abstracted the CMS from
> the
> publ. sys (cocoon, axkit).
>
> best,
> -Rob
>
> - Original Message -
> From: "Tibi DONDERA" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 16, 2002 4:55 PM
> Subject: Re: develop content management system
>
>
> > Just my 2 cents...
> >
> > There is AxKit too, and www.interakt.ro develops Krysalis, a
> "Cocoon-clone"
> > for php.
> > Will this tool contain support for these products too? It's usability
> would
> > be greatly enhanced...
> >
> > Don't know if I'll have the time (or the knowledge) to be of any help,
> but
> I
> > would like to get involved, too...
> >
> > Tibi Dondera
> >
> >
> > - Original Message -
> > From: "Scott Ahten" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, January 17, 2002 1:41 AM
> > Subject: Re: develop content management system
> >
> >
> > > I'm quite interested in being involved in one way or another. I've
> been
> > > trying to wrap my brain around an XML schema and other aspects of a
> > > Cocoon based CMS for quite some time now.
> > >
> > > ~Scott
> > >
> > > Chris Perrin wrote:
> > >
> > > >All,
> > > >
> > > >There have been a number of requests for some type of Cocoon based
> > content
> > > >management system.  It also appears that the current solutions are
> > > >inadequate for one reason or another.  Thus, I am wondering if
> there is
> > > >interest in creating an open source content management product for
> > Cocooon.
> > > >I would be more than happy to lend my time to the project and can
> take
> > > >direction on the project if no one else would like to or I can take
> a
> > > >devleoper role.
> > > >
> > > >Thanks,
> > > >Chris
> > > >
> > >
> >-
> > > >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]>
> > >
> > >
> >
> > -
> > 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]>


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




ESQL support for stored procedures

2002-01-17 Thread Kosh . Podder

Hi,

Could someone please confirm for me what the current status/direction 
of support for stored procs, i.e. CallableStatement, in ESQL is 
currently, before I go and add my own extensions?

Cheers,

Kosh


Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.


-
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: Just starting COCOON

2002-01-17 Thread Luca Morandini

Alexander,

I'd suggest to download Cocoon sources and re-compile (using build,bat).
I downloaded the binaries too... but never managed to make them run (on the
other hand the compiled sources run).

Best regards,


-
   Luca Morandini
   GIS Consultant
  [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-


> -Original Message-
> From: Alexander Churin [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 17, 2002 6:24 PM
> To: [EMAIL PROTECTED]
> Subject: Just starting COCOON
>
>
> I have been reading these install docs back and forth for 2 days now and I
> am missing something.  I am running Tomcat 4.0 using the Catalina
> web server
> on win2000 and winXP.  It is working just fine and I want to add COCOON to
> the whole thing.  So after downloading the latest binary distribution of
> COCOON 2.0 I am in the process of setting it up.  The install
> file tells me
> to BUILD cocoon using build. bat.  Well I don't have build.bat.  No clue
> where to find it either.  I moved the war file that cam in the zip to the
> tomcat/webapps dir and that did nothing so I guess I have to build it even
> though I have downloaded the binaries.
>
> so far I have set up
> SET JAVA_HOME=C:\jdk1.3.1_01
>
> my next step is:
> build.bat -Dinclude.webapp.libs=yes -Dinstall.war=%TOMCAT_HOME%\webapps
> install
>
> I get the error:
> 'build.bat' is not recognized as an internal or external command, operable
> program or batch file.
>
> Please, someone save me!
>
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> -
> 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: develop content management system

2002-01-17 Thread michael . wechner


Concerning a CMS based on Cocoon:

You might check out Wyona which is a CMS based on Cocoon.

The bin (war) and src version can be downloaded from
http://www.wyona.org/download/index.html

Many people are already working on this system. Maybe we are
able to bundle our resources.

Thanks and all the best

Michael

-
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: develop content management system

2002-01-17 Thread Bertrand Delacretaz

On Wednesday 16 January 2002 23:15, Robert Koberg wrote:
> why not discuss it for a bit on yahoo, shake out a basic framework, then go
> to sourceforge?

+1
I think a bit of reseach/brainstorming is required, yahoo is fine 
for that.

-- 
 -- Bertrand Delacrétaz, www.codeconsult.ch
 -- web technologies consultant - OO, Java, XML, C++






-
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: develop content management system

2002-01-17 Thread cocoonu


Concerning a CMS based on Cocoon(2):

You might check out Wyona, which is based on Cocoon(2).
You can download the bin(war) and src version from
http://www.wyona.org/download/index.html

There are already many people working on it.
Maybe we can bundle our resources.

Everyone is very welcome to participate and contribute.

All the best

Michael

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




New User

2002-01-17 Thread Saurabh Ganguly



Hi
Well I am a new user of cocoon sofywares so I just 
want a brief overview of how to use the same. 
My main aim is to generate reports using the XML 
and for that I would like to use the cocoon 2 software.
Being totally new to this line, I am very confused 
of what to do. So I would request you to send me a small example by was of which 
I can access datas from the database and then generate reports by using 
cocoon.
 
I am using RDBMS DB2 as my database and my front 
end is Java. I am using the java1.3 development kit.
 
Please reply back as soon as possible as my 
requirement is a bit urgent.
 
Thanking you.
Saurabh Ganguly
 
Systems and Softwares
Unit no 123 
SDF - IV
SEEPZ.
Andheri - E
Mumbai - 400095
 

--Systems & Software, Mumbai, India

Re: develop content management system

2002-01-17 Thread Bertrand Delacretaz

On Thursday 17 January 2002 01:30, Robert Koberg wrote:
> ...
> Perhaps some time needs to
> pass before it is propagated through the yahoo system?

The yahoo group is working - check it out at 
http://groups.yahoo.com/group/contentmanagementgroup/

- Bertrand

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




Report Generation

2002-01-17 Thread Saurabh Ganguly



Hello everybody.
 
This is my second mail n the span of an hour or so. 
I know I am rushing a bit but I have to get the solution to the problem very 
fast or else I will be in trouble.
 
Well my earlier problem is still not sloved . Now I 
would like someone to suggest me the way I should go about learning XML and then 
using cocoon to generate the report of records in a database. I am totally 
novice in this case having worked only in java swings ionly earlier, this is a 
bit difficult for me. But I am confident that with help from all my friends 
there I will be able to learn xml and also how to use cocoon and generate a 
report .
 
Thank You
 
Saurabh Ganguly

--Systems & Software, Mumbai, India

Tomcat on AIX

2002-01-17 Thread Stephen Arnott



Hi
Got your email from a real-time cocoon user 
group.
 
I am having real problem trying to install tomcat 
3.x specifically 3.3a under AIX5L
 
Could you provide and help ideas pointers etc (like 
a make file) 
 
any comments or good websites would be most 
appreciated
 
 
regards
 
Stephen Arnott


Re: Realms Challenge

2002-01-17 Thread Gritsenko at home

Phil,

I am Viktor Gritsenko. There is another guy on the list, Vadim Gritsenko.

Viktor


- Original Message - 
From: "Phil Blake" <[EMAIL PROTECTED]>
To: "Vadim Gritsenko" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 8:27 PM
Subject: Re: Realms Challenge


> Hi Vadim,
> 
> I've spent the morning reading through the servlet specification and 
> only found the well known Request class that will give me the user 
> (getRemoteUser()) after they have already been authenticated. Can't find 
> anything about actually getting the browser to present the 
> username/password challenge.
> 
> I'm guessing that I need to get hold of some tomcat class from within my 
> custom cocoon classes that allows me to specify realms, and provide 
> authentication info for validating users.
> 
> Can anyone think of any of the classes involved to narrow my search?
> 
> I'm guessing that this has been done perhaps a million or two times 
> before, so I'm wondering why it's so hard to find examples or why no-one 
> seems to know how to do it. It seems like a classic case to be included 
> in the cocoon examples. There is a protected area example but it's 
> really just another form example. Perhaps the protected area example in 
> cocoon could be updated to demonstrate basic realm authentication.
> 
> I've had to implement this kind of thing once before using 'jigsaw' but 
> jigsaw's internal security was specific to jigsaw so its no help to me 
> now, worse luck. :) Still, I'm guessing that it will be something 
> similar in tomcat.
> 
> If there's someone who has achieved basic realm authentication from 
> within cocoon, is it possible to get an example or some advice on which 
> API to look at?
> 
> Thanks again. Have fun,
> 
> Phil
> 
> 
> -
> 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: Xinclude to include

2002-01-17 Thread Mitchell Christensen

Alex,

There is a bug/feature in the XInclude transformer which assumes that unless
a base attribute is specified somewhere, the 's href value is a
filename, and prepends the Cocoon install path in front of it.  This is
probably turning your "http://slashdot.org/"; into
"/usr/local/tomcat/webapps/Cocoon/http://slashdot...";.  The solution is to
add a base="http://slashdot.org"; attribute either at (I believe) or above
(for sure) the  element. Then just use the document portion of
the desired URL for the 's href attribute
(href="/slashdot.xml").

This fixed things for me.

-Mitch



-Original Message-
From: Alex Kachanov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 17, 2002 3:42 AM
To: [EMAIL PROTECTED]
Subject: Xinclude to include 



could anyone give me a simple example on how to include xml content from
http://slashdot.org/slashdot.xml

into my xml file without using sitemap (aggregate or whatever)

cocoon2 documentation tell how to include the local file


http://www.w3.org/2001/XInclude";>
  Hello
  
This is my first Cocoon page!

  


works perfectly but



http://www.w3.org/2001/XInclude";>
  Hello
  
This is my first Cocoon page!
http://slashdot.org/slashdot.xml"; parse="text"/>
  


won't work

Any clues?


with best wishes
Alexander Kachanov

-
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: Cocoon vs AxKit

2002-01-17 Thread Matt Sergeant

Today, I saw this...

__BEGIN__
On Wednesday 16 January 2002 02:12 pm, Michael A Nachbaur wrote:
> 
> Essentially, AxKit is Cocoon for mod_perl, but it goes quite a bit farther
> than that.  Just as Java takes a strict approach to programming (in terms
> of typing, OO, etc), Perl is more flexible in how you can use it.  So,
> built around that idea, AxKit is a flexible alternative to Cocoon.

Also, AxKit is more akin to Cocoon v1 last time I looked (6-8mo ago).
__END__

It's the other way around: AxKit is much more akin to Cocoon2. We had a
sitemap concept before they did, and while we still allow xml-stylesheet
PI's, it's not using the Cocoon1 reactor pattern that is so difficult to
develop for - the pipeline is determined only from the originating
file/request (however it is modifiable mid pipeline if you absolutely have
to).

I think from general feelings and comments from others that AxKit is also a
fair bit more lightweight than Cocoon, and faster (yes, even than Cocoon2,
which didn't do *that* much for performance unfortunately according to my
readings of cocoon-dev). Though admittedly I would welcome the opportunity
to do what the Cocoon people did for Cocoon2 and do a complete re-write (we
all make design mistakes that we regret 2 years on :-)

Hope that helps,

Sincerely, Matt.
-- 
<:->Get a smart net

This e-mail has been scanned for all viruses by Star Internet. The service is powered 
by MessageLabs. For more information on a proactive anti-virus service working around 
the clock, around the globe, visit: http://www.star.net.uk

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




Usage patterns

2002-01-17 Thread Koen Pellegrims

Hi,

I'm quite an experienced Cocoon2 users, but I am not totally happy with
the current approach I'm using in my own website. I was hoping if some of
you would like to share your personal approach to the following issue:

Let's say, on a local intranet, you have two pages: one displays all the
employees, the other one displays departments.
The sitemap contains two internal pipelines: data/employees.xml and
data/departments.xml, to fetch this data from the database (with an xsp).
Each employee in employees.xml is formatted according to an exmployee.xsd
schema.

Now, the information about the department (in departments.xml) also
contains the department's manager... who happens to be an employee. So
this manager should also follow the employee.xsd schema.

My question is: how do you manage such a case? Do you map the sql-columns
into the correct xml-elements in *each* of the xsp-pages (and what
happens when the number of pages, dependant of this schema grows)?

Currently, I construct an xinclude-statement in the department-page that
fetches the manager from the employees.xml-file with
employees.xml#xpointer(//employee[@id=http://xml.apache.org/cocoon/faqs.html>

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




Cocoon-Project-Installation Problem

2002-01-17 Thread Hegde Hamsanath-A2998C

Dear Friends,

The Software Configurations on which I'm working on

OS-  Windows 2000
JDK-JDK1.2.2
Servlet Kit-Tomcat 4.0.1

The Environment Variable I used are

JAVA_HOME=d:\jdk1.2.2

CATALINA_HOME=D:\jakarta-tomcat-4.0.1

TOMCAT_HOME=D:\jakarta-tomcat-4.0.1


The steps carried out by me to install Cocoon Project

I installed tomcat 4.0 sever successfully. I copied the cocoon.war file to
%TOMCAT_HOME%\webapps directory.
When I start the tomcat server the following output is coming
 <<...OLE_Obj...>> 




But when I type http://localhost:8080/cocoon/
The following error it is throwing

 <<...OLE_Obj...>> 

The server-window is automatically closing.

Please suggest the solution for the problem



Regards,
Hamsanath R Hegde





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




Just starting COCOON

2002-01-17 Thread Alexander Churin

I have been reading these install docs back and forth for 2 days now and I
am missing something.  I am running Tomcat 4.0 using the Catalina web server
on win2000 and winXP.  It is working just fine and I want to add COCOON to
the whole thing.  So after downloading the latest binary distribution of
COCOON 2.0 I am in the process of setting it up.  The install file tells me
to BUILD cocoon using build. bat.  Well I don't have build.bat.  No clue
where to find it either.  I moved the war file that cam in the zip to the
tomcat/webapps dir and that did nothing so I guess I have to build it even
though I have downloaded the binaries.

so far I have set up
SET JAVA_HOME=C:\jdk1.3.1_01

my next step is:
build.bat -Dinclude.webapp.libs=yes -Dinstall.war=%TOMCAT_HOME%\webapps
install

I get the error:
'build.bat' is not recognized as an internal or external command, operable
program or batch file.

Please, someone save me!


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-
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: develop content management system

2002-01-17 Thread hei xia

Hi friends,

   I also interested with the the Cocoon content
management system project. Actually, i have build a
very simple cocoon content management system with
jakarta turbine : here are some of the
features/functions for the system :

1) User Management - to manage user access control,
user account, user role

2) Content Management - to publish webpage, user is
allowed to create new web page, modify web page and
delete a web page.

3) Log/Audit Management - to trace all the action done
by a user, example when a user delete a webpage, or
modify a webpage.

i suggest we can add other features to it, like
Webpage approve, and others.

Thank you.


regards,
hei xia

__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

-
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: develop content management system

2002-01-17 Thread Bertrand Delacretaz

On Wednesday 16 January 2002 21:12, Chris Perrin wrote:
> A Yahoo! list would be fine.  Perhaps we could do a Yahoo! group or MSN
> Community so we can have file hosting and a "central meeting area."

Yahoo group sounds good, being able to store files could help for 
requirements drafts, etc.

Bertrand

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




AW: Cocoon "get-together" at CeBIT

2002-01-17 Thread Nick Fingerhut [New Identity AG]

in my opinion it is a good idea to make such a meeting,
and the CeBIT will be a cool place. I'm really interested to join these
meeting...


-Ursprungliche Nachricht-
Von: Stefano Mazzocchi [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 17. Januar 2002 11:12
An: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Betreff: Re: Cocoon "get-together" at CeBIT


Matthew Langham wrote:
>
> Hi,
>
> CeBIT 2002 will be upon us soon (13th - 20th of March) and this seems like
> an ideal place to showcase Cocoon based solutions (we will be) and perhaps
> have some form of a "get-together". Therefore, we have decided to book a
> small conference room on Tuesday the 19th so that any interested parties
can
> meet there.
>
> The goal of such a get-together could be to at last meet the developers,
> discuss how Cocoon should develop over time and perhaps showcase what you
> are doing with Cocoon. We could develop an agenda and time-frame as CeBIT
> gets closer.
>
> We have been able to pry the necessary $$ for the conference room from the
> powers to be and would be willing to "donate" the room. Please note that
it
> is "only" a room with tables and chairs for 16 people (perhaps a few more
> standing). There is no infrastructure or refreshments :-) - so anyone
> showcasing stuff will need to bring a laptop.
>
> So, the aim of this email is to see whether there is enough interest for
> some sort of "get-together" so we can go ahead with actually booking the
> room. And it gives you chance to plan your CeBIT visit to fit.
>
> Lets hear it then..

Uh, that would be a great idea. Thanks guys, very appreciated.

I currently can't say anything for sure, but I'd be interested in
partecipating (although, I have to admit, 1000Kms are not exactly 'a
breeze' for a day get-together :/)

--
Stefano Mazzocchi  One must still have chaos in oneself to be
  able to give birth to a dancing star.
<[EMAIL PROTECTED]> Friedrich Nietzsche



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

2002-01-17 Thread Skip Carter


> o'reiley tutorial describes cocoon 1.8 that was current when the
> tutorial was published
> 
> Cocoon2 and Cocoon 1.8 are based on different JSDK's
> The cocoon2 is based on the latest JSDK where .properties files
> are considered obsolete
> 



> Hello,
> I am using cocoon 2.0 and tomcat 4.0.1. I was able to get the
> http://localhost:8080/cocoon/welcome page to work. I am following oreilly
> step by step instalation process. In that process they are talking about
> cocoon.properties file. Which i don't find in the cocoon.war file. According
> to oreilly they are telling to put cocoon.properties file into tomcat's conf
> directory and then i have to change the web.xml file to add the mapping
> information.
> To put it simple, were do i find cocoon.properties file in cocoon2.0. Do i
> need this file when i am using tomcat4.0.1 and cocoon2.0.

  I learned about this the hard way.  It would be nice if there existed
  ACCURATE installation/configuration docs on getting Apache to work
  properly with Cocoon 2.0 and Tomcat 4.0.1

  For example mod_jserv.c is NOT supplied with the source to Tomcat 4.0.1
  (the last I saw it was around 3.2.3).  If you go to the source
  download directories you find webapp-module instead, so presumably
  this the preferred Apache module to use.  There does not seem to be
  much in the way of documentation outside of the source package for
  this module.





-- 
 Dr. Everett (Skip) Carter  Phone: 831-641-0645 FAX:  831-641-0647
 Taygeta Scientific Inc.INTERNET: [EMAIL PROTECTED]
 1340 Munras Ave., Suite 314WWW: http://www.taygeta.com
 Monterey, CA. 93940












-
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: [C2] esql: using query results in another query

2002-01-17 Thread fred . tsang

Aargh!

thanks for the help Harald!  I'm very sorry, I had filled the dept field
with a string, but what I really needed was the dept id.  So, not
surprisingly, the query didn't return anything.

Cheers,
Fred<-- An idiot

-Original Message-
From: SunnyDay [mailto:[EMAIL PROTECTED]]
Sent: 17 January 2002 06:40
To: [EMAIL PROTECTED]
Subject: Re: [C2] esql: using query results in another query


Hi Fred,

yes, this should work (without looking at the other things).


Legal Disclaimer 

This message contains confidential information and is intended only for
the individual named.  If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.  Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and delete
this e-mail from your system.
mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses.  The sender therefore does not accept
liability for any errors or omissions in the contents of this message that
arise as a result of e-mail transmission.  If verification is required
please request a hard-copy version.  This message is provided for
informational purposes only.
our website at: http://www.widelearning.com

Wide Learning is a trading name of Wide Multimedia Ltd Registered office:
33-41 Dallington Street, London EC1V 0BB
Company number: 3339664 VAT number: 690 8399 83


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




Processing database fields from esql with JTidy

2002-01-17 Thread Simeon Walker

Hi,
I have some fields in our database wich have some html markup
( and  are common). Currently these tags are showing up on
pages produced via ESQL. I'd like to convert the tags to xml, has
anyone managed to filter fields from ESQL through JTidy?

Regards,
Simeon

-- 
Simeon Walker,  email: [EMAIL PROTECTED]
School of Biological Sciences,  phone: +44 (0)1248 383702
University of Wales, Bangor,fax: +44 (0)1248 382569
Gwynedd, LL57 2UW, UK.  www: http://biology.bangor.ac.uk/


-
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: Can't change log levels - grrrrr

2002-01-17 Thread Berin Loritsch

[EMAIL PROTECTED] wrote:

> I've changed log levels to ERROR in logkit.xconf and in web.xml. Still
> getting debug messages (Generated a 1 gig+ log yesterday).


Make sure your components (as declared) have category names like this:

cocoon.{component}
root.{component}
xslt.{component}

If no logger="cocoon.foo" attributes exist on the components (Cocoon.xconf
and sitemap components section), then the log messages go to the default
logger category of "".

Another alternative is to get the latest CVS--as it has done the mapping
for you.


-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
 - Benjamin Franklin


-
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: Cocoon vs AxKit

2002-01-17 Thread Peter Royal

On Thursday 17 January 2002 10:05 am, Matt Sergeant wrote:
> It's the other way around: AxKit is much more akin to Cocoon2. We had a
> sitemap concept before they did, and while we still allow xml-stylesheet
> PI's, it's not using the Cocoon1 reactor pattern that is so difficult to

oops, my bad. AxKit had more power under the hood than I realized :) I only 
ever used PI's to direct the flow.
-pete

-- 
peter royal -> [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]>




http header handling in cocoon

2002-01-17 Thread Tsui, Alban

Hi

Is there a way to determine browser information from http header in Cocoon?
Basically what I am after is something to determine if the client browser
has the necessary plug-in installed or mime-type handling capability to
determine what sort of pipelines I should use in order to serve the page. In
fact, I am not sure if the header will contain such information but ...

If Cocoon has the ability to do this, at which stage should I do it? Should
it be done in a XSP or thing like Action?

I am a beginner in using cocoon and I still have a lot to learn. Hope my
questions make sense to fellow Cocooners.

regards 

Albam

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

-
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: Pre compiling Sitemap & XSP

2002-01-17 Thread Vadim Gritsenko

> From: Max Larsson [mailto:[EMAIL PROTECTED]]
> 
> Hi,
> 
> following the instruction in the FAQ to do precompiling
> of the SItemap and the XSP i get the following error
> in the cocoon.log:
> 
> java.lang.IllegalAccessError: try to access class
> org.apache.cocoon.www.sitemap_xmap$Configurer from class
> org.apache.cocoon.www.sitemap_xmap
>   at
org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:207)
>   at

What kind of JVM do you use? If something exotic, try different one,
from Sun or IBM...

Vadim


-
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: Cocoon on a read-only medium

2002-01-17 Thread Vadim Gritsenko

> From: JÃrn Heid [mailto:[EMAIL PROTECTED]]
> 
> Is it possible to run Cocoon on a CD (without having the possibility
to
> write anything)?

Yes. You won't get any logs, everything else is Ok.


> I think you can precompile all(?) of the dynamic content, 

Yes.


> but doesn't Cocoon
> generate the sitemap at every startup?

No.

> Can logging be completly disabled?
> Or can I set the output dir to java.io.tmpdir?

I don't know. I have an exception from logger when running from the CD,
and I can live without logs.

Vadim


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

2002-01-17 Thread Alex Kachanov

o'reiley tutorial describes cocoon 1.8 that was current when the
tutorial was published

Cocoon2 and Cocoon 1.8 are based on different JSDK's
The cocoon2 is based on the latest JSDK where .properties files
are considered obsolete



-Original Message-
From: Kola, Kiran [mailto:[EMAIL PROTECTED]]
Sent: 17 ?? 2002 ?. 1:41
To: '[EMAIL PROTECTED]'
Subject: Cocoon


Hello,
I am using cocoon 2.0 and tomcat 4.0.1. I was able to get the
http://localhost:8080/cocoon/welcome page to work. I am following oreilly
step by step instalation process. In that process they are talking about
cocoon.properties file. Which i don't find in the cocoon.war file. According
to oreilly they are telling to put cocoon.properties file into tomcat's conf
directory and then i have to change the web.xml file to add the mapping
information.
To put it simple, were do i find cocoon.properties file in cocoon2.0. Do i
need this file when i am using tomcat4.0.1 and cocoon2.0.

Oreilly also tells that if my configuration is correct, i should be able to
access  http://localhost:8080/cocoon.xml in my browser.

Can you please help me on this.

Kiran Kola

 
**
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.

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

2002-01-17 Thread Kola, Kiran

Hello,
 When i used cocoon 2.0 and tomcat4.0.1 i am getting this error on
server 
Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
ERROR reading java.io.ByteArrayInputStream@d1ff
At Line 223 /web-app/servlet/

Starting service Tomcat-Apache
Apache Tomcat/4.0.1

I have added this in to web.xml

Cocoon2
Cocoon2
The main Cocoon2 servlet

org.apache.cocoon.servlet.ParanoidCocoonServlet

configurations
/conf/cocoon.xconf

1

If i take out this settings server starts up perfectly. Any input on this.

Kiran Kola


>  -Original Message-
> From: Kola, Kiran  
> Sent: Wednesday, January 16, 2002 12:46 PM
> To:   '[EMAIL PROTECTED]'
> Subject:  RE: Cocoon
> 
> Hello,
>  I am using cocoon2.0 and tomcat 4.0.1. What do i need to add to
> the tomcat's web.xml file in order for the configuration to work. I also
> what to know how to test the configuration settings. If am write using
> cocoon 1.8 we have say http://:8080/cocoon.xml.
> Can any body tell me how to do this using cocoon 2.0.
> 
> 
> Kiran Kola
> 414-8654
> 
>-Original Message-
>   From:   Kola, Kiran  
>   Sent:   Wednesday, January 16, 2002 11:41 AM
>   To: '[EMAIL PROTECTED]'
>   Subject:Cocoon
> 
>   Hello,
>   I am using cocoon 2.0 and tomcat 4.0.1. I was able to get
> the http://localhost:8080/cocoon/welcome page to work. I am following
> oreilly step by step instalation process. In that process they are talking
> about cocoon.properties file. Which i don't find in the cocoon.war file.
> According to oreilly they are telling to put cocoon.properties file into
> tomcat's conf directory and then i have to change the web.xml file to add
> the mapping information.
>   To put it simple, were do i find cocoon.properties file in
> cocoon2.0. Do i need this file when i am using tomcat4.0.1 and cocoon2.0.
> 
>   Oreilly also tells that if my configuration is correct, i should be
> able to access  http://localhost:8080/cocoon.xml in my browser.
> 
>   Can you please help me on this.
> 
>   Kiran Kola
> 
 
**
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.

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

2002-01-17 Thread Kola, Kiran

Hello,
 I am using cocoon2.0 and tomcat 4.0.1. What do i need to add to the
tomcat's web.xml file in order for the configuration to work. I also what to
know how to test the configuration settings. If am write using cocoon 1.8 we
have say http://:8080/cocoon.xml.
Can any body tell me how to do this using cocoon 2.0.


Kiran Kola
414-8654

>  -Original Message-
> From: Kola, Kiran  
> Sent: Wednesday, January 16, 2002 11:41 AM
> To:   '[EMAIL PROTECTED]'
> Subject:  Cocoon
> 
> Hello,
> I am using cocoon 2.0 and tomcat 4.0.1. I was able to get the
> http://localhost:8080/cocoon/welcome page to work. I am following oreilly
> step by step instalation process. In that process they are talking about
> cocoon.properties file. Which i don't find in the cocoon.war file.
> According to oreilly they are telling to put cocoon.properties file into
> tomcat's conf directory and then i have to change the web.xml file to add
> the mapping information.
> To put it simple, were do i find cocoon.properties file in cocoon2.0. Do i
> need this file when i am using tomcat4.0.1 and cocoon2.0.
> 
> Oreilly also tells that if my configuration is correct, i should be able
> to access  http://localhost:8080/cocoon.xml in my browser.
> 
> Can you please help me on this.
> 
> Kiran Kola
> 
 
**
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.

-
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: develop content management system

2002-01-17 Thread Bertrand Delacretaz

On Wednesday 16 January 2002 17:16, Chris Perrin wrote:
> . . .
> I am wondering if there is
> interest in creating an open source content management product for Cocooon.

I'm interested in such a project, but don't have much time to help right now. 
I'd be happy to give input about requirements and use-cases, though.

I'm not sure if basing all aspects of a CMS on Cocoon makes sense, though.

IMHO the first thing needed is a clear definition of requirements. 

I have a feeling that "content management" means very different things to 
people (like, PHP-Nuke vs. Vignette ;-)

-- 
 -- Bertrand Delacrétaz, www.codeconsult.ch
 -- web technologies consultant - OO, Java, XML, C++






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




Cocoon

2002-01-17 Thread Kola, Kiran

Hello,
I am using cocoon 2.0 and tomcat 4.0.1. I was able to get the
http://localhost:8080/cocoon/welcome page to work. I am following oreilly
step by step instalation process. In that process they are talking about
cocoon.properties file. Which i don't find in the cocoon.war file. According
to oreilly they are telling to put cocoon.properties file into tomcat's conf
directory and then i have to change the web.xml file to add the mapping
information.
To put it simple, were do i find cocoon.properties file in cocoon2.0. Do i
need this file when i am using tomcat4.0.1 and cocoon2.0.

Oreilly also tells that if my configuration is correct, i should be able to
access  http://localhost:8080/cocoon.xml in my browser.

Can you please help me on this.

Kiran Kola

 
**
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.

-
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: Request parameter to a transformer

2002-01-17 Thread Laurent CAPRANI

Allright!
Now I understand that note in the xslt transformer page[1]:

use-request-parameters: true|false - Setting this to true makes all request
parameters available in the XSLT stylesheet. Note that this might have
issues concerning cachability of the generated output of this transformer,
the caching algorithm not only checks the last modification date but also
all values of the request parameters.


[1] http://xml.apache.org/cocoon/userdocs/transformers/xslt-transformer.html

-- Laurent CAPRANI
   Montreal

> Vadim Gritsenko [mailto:[EMAIL PROTECTED]] kindly wrote:
>
> Use (1) if you need just one parameter and it *must* present, use (2) if
> you need more then one parameter, or use (3) if you do not care about
> the caching. Caching system will work far more efficient with approach 1
> or 2.
>
> In details:
> The problem with solution (3) and cache: transformer will report to
> cache that its output depends on *all* request parameters. Usually, only
> some parameters are used (especially when response aggregated from
> several parts: different request parameters may be related to different
> pipelines). Then, it means that for every request with different
> parameter values (even when only unused parameters are changed!) cache
> will try to save the result of transformation. Cutting off unused
> parameters will save CPU and memory resources.
>
> Hope I'm clear enough...
>
> Vadim
>
> > From: Laurent CAPRANI [mailto:[EMAIL PROTECTED]]
> >
> > I came up with three different solutions.
> >
> > 1. Using a "request" matcher
> > I haven't found a matcher which simply creates sitemap variables for
> all
> > request parameters. Could that be a useful thing to add to the default
> > wildcard matcher ?
> >
> > The "request" matcher(1) selects a pipe-line for a specific parameter
> and
> > makes a sitemap variable of it. It is not exactly what I wanted, but I
> > didn't specify.
> >
> > 2. Using a "request" action
> > Enclosing the transform within a "request" action(2) works:
> >
> >
> >  
> > 
> > 
> >  
> > 
> >  
> > 
> >  
> >  
> > 
> >
> > 3. Get parameters silently from within the transformer
> > Request parameters are available through the "objectModel" Map. It is
> then
> > possible to use any request parameter without specifying it in the
> sitemap.
> > It does not look like the right thing to do. What do you think?
> >
> >
> > (1)  > src="org.apache.cocoon.matching.RequestParamMatcher"/>
> > (2)  > src="org.apache.cocoon.acting.RequestParamAction"/>>


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




Livesites

2002-01-17 Thread akber_choudhry
Title: Livesites






http://www.dyanet.com


We also provide Cocoon 2.0 hosting 


Regards

Dyanet





Xinclude to include

2002-01-17 Thread Alex Kachanov


could anyone give me a simple example on how to include xml content from
http://slashdot.org/slashdot.xml

into my xml file without using sitemap (aggregate or whatever)

cocoon2 documentation tell how to include the local file


http://www.w3.org/2001/XInclude";>
  Hello
  
This is my first Cocoon page!

  


works perfectly but



http://www.w3.org/2001/XInclude";>
  Hello
  
This is my first Cocoon page!
http://slashdot.org/slashdot.xml"; parse="text"/>
  


won't work

Any clues?


with best wishes
Alexander Kachanov

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




Pre compiling Sitemap & XSP

2002-01-17 Thread Max Larsson

Hi,

following the instruction in the FAQ to do precompiling
of the SItemap and the XSP i get the following error
in the cocoon.log:

java.lang.IllegalAccessError: try to access class
org.apache.cocoon.www.sitemap_xmap$Configurer from class
org.apache.cocoon.www.sitemap_xmap
at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:207)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(Un
known Source)
at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
Unknown Source)
at
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerat
or(GeneratorSelector.java:135)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addComp
iledComponent(ProgramGeneratorImpl.java:345)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:323)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:271)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:188)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
at java.lang.Thread.run(Thread.java:484)

I knwo it has something to do the the rights an class access (ClassLoader?).
But i have no
idea how to fix it. Anyone any expierences with the this?

Max


-
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: Realms Challenge

2002-01-17 Thread gcasper


phil schrieb:
> Hi Vadim,
>
> I've spent the morning reading through the servlet specification and
> only found the well known Request class that will give me the user
> (getRemoteUser()) after they have already been authenticated. Can't find
> anything about actually getting the browser to present the
> username/password challenge.

??
Section 12.5 Authentication.
See also section 13 Deployment Descriptor.

HTH
Guido


-
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: Cocoon "get-together" at CeBIT

2002-01-17 Thread Stefano Mazzocchi

Matthew Langham wrote:
> 
> Hi,
> 
> CeBIT 2002 will be upon us soon (13th - 20th of March) and this seems like
> an ideal place to showcase Cocoon based solutions (we will be) and perhaps
> have some form of a "get-together". Therefore, we have decided to book a
> small conference room on Tuesday the 19th so that any interested parties can
> meet there.
> 
> The goal of such a get-together could be to at last meet the developers,
> discuss how Cocoon should develop over time and perhaps showcase what you
> are doing with Cocoon. We could develop an agenda and time-frame as CeBIT
> gets closer.
> 
> We have been able to pry the necessary $$ for the conference room from the
> powers to be and would be willing to "donate" the room. Please note that it
> is "only" a room with tables and chairs for 16 people (perhaps a few more
> standing). There is no infrastructure or refreshments :-) - so anyone
> showcasing stuff will need to bring a laptop.
> 
> So, the aim of this email is to see whether there is enough interest for
> some sort of "get-together" so we can go ahead with actually booking the
> room. And it gives you chance to plan your CeBIT visit to fit.
> 
> Lets hear it then..

Uh, that would be a great idea. Thanks guys, very appreciated.

I currently can't say anything for sure, but I'd be interested in
partecipating (although, I have to admit, 1000Kms are not exactly 'a
breeze' for a day get-together :/)

-- 
Stefano Mazzocchi  One must still have chaos in oneself to be
  able to give birth to a dancing star.
<[EMAIL PROTECTED]> Friedrich Nietzsche



-
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: develop content management system

2002-01-17 Thread Michael Wechner

Concerning a CMS based on Cocoon2:

You might check out Wyona, which is based on Cocoon2.
You can download the bin(war) and src version from
http://www.wyona.org/download/index.html

There are already many people working on it.
Maybe we can bundle our resources.

Everyone is very welcome to participate and contribute.

All the best

Michael








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




Cocoon "get-together" at CeBIT

2002-01-17 Thread Matthew Langham

Hi,

CeBIT 2002 will be upon us soon (13th - 20th of March) and this seems like
an ideal place to showcase Cocoon based solutions (we will be) and perhaps
have some form of a "get-together". Therefore, we have decided to book a
small conference room on Tuesday the 19th so that any interested parties can
meet there.

The goal of such a get-together could be to at last meet the developers,
discuss how Cocoon should develop over time and perhaps showcase what you
are doing with Cocoon. We could develop an agenda and time-frame as CeBIT
gets closer.

We have been able to pry the necessary $$ for the conference room from the
powers to be and would be willing to "donate" the room. Please note that it
is "only" a room with tables and chairs for 16 people (perhaps a few more
standing). There is no infrastructure or refreshments :-) - so anyone
showcasing stuff will need to bring a laptop.

So, the aim of this email is to see whether there is enough interest for
some sort of "get-together" so we can go ahead with actually booking the
room. And it gives you chance to plan your CeBIT visit to fit.

Lets hear it then..

Matthew Langham / Carsten Ziegeler
--
Open Source Group   sunShine - Lighting up e:Business
=
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
=


-
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: urgent(integration of cocoon processor with weblogic)

2002-01-17 Thread Carlos Araya
Title: Re: urgent(integration of cocoon processor with weblogic)



see: http://xml.apache.org/install/index.html

The instructions to install Cooon on a weblogic server are already there


On 01/16/02 3:50, "sirisha santhi" <[EMAIL PROTECTED]> wrote:


Carlos

-- 
Carlos E. Araya
---+ WebCT Administrator/Trainer
 P | California Virtual Campus
 - | C/O De Anza College
 G | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014

email   [EMAIL PROTECTED]
web http://www.cvc1.org/ (work)
http://www.silverwolf-net.net (personal)
phone   408 257 0420 (work)
PGP Fingerprint:    E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756

80/20 Rule: Simplicity vs. complexity. 80 percent of the functionality/feature set of an "ideal" solution set, with only 20 percent of the complexity of the ideal solution or 20 percent of the effort required to build the ideal solution; or put another way, the last 20 percent of the "ideal" feature set is what creates the most complexity






Re: Code of a method is longer than 65535 bytes

2002-01-17 Thread Carlos Araya

Java has a limit to the length of a single method. You'll have to break the
method into smaller methods or constants.

That is a java problem, not a cocoon one AFAIK

Carlos

On 01/16/02 23:53, "ITANI Mohamed (LB Soft)"
<[EMAIL PROTECTED]> wrote:

> Hi,
> 
> My code inside my xsp page has got very big , and now I'm having the
> error stated in the subject??
> why I'm having such an error, what can I do??
> 
> Itani
> 
> 
> -
> 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]>
> 

-- 
Carlos E. Araya
---+ WebCT Administrator/Trainer
 P | California Virtual Campus
 - | C/O De Anza College
 G | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014

email   [EMAIL PROTECTED]
web http://www.cvc1.org/ (work)
http://www.silverwolf-net.net (personal)
phone   408 257 0420 (work)
PGP Fingerprint:E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756


"Do not meddle in the affairs of dragonsfor you are crunchy and  taste
good with ketchup and mayonnaise.."




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