Re: XUpdate questions

2003-07-01 Thread Michael Wechner
Erik Bruchez wrote:

I am not sure if this is 100% relevant to your need, as it looks like
you may need XIndice, but we will release soon an XUpdate processor
that we developed independently from the XUpdate implementation that
comes with XIndice.


Under what software license will your XUpdate processor be released?

Thanks

Michael

It will work with our framework OXF
(www.orbeon.com/oxf), but will also be available as a standalone TrAX
tranformer that you should be able to integrate with Cocoon. This will
come with OXF beta 2 (RC 1?) early next week.
-Erik

Jonathan Spaeth wrote:

> The Xupdate functionality comes with the xindice database.  (See the 
wiki
> for more information on how to integrate xindice).
>
> Jon
>
> -Original Message-
> From: jm [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 01, 2003 9:43 AM
> To: [EMAIL PROTECTED]
> Subject: XUpdate questions
>
>
> hi all,
>
> i have one complex xml-document which i want
> to edit via my webbrowser with some kinds of forms so i don't really 
need
> a heavy CMS.
>
> i read about xmlforms, xforms and then i came across XUpdate which
> sounds like that i'm looking for. (but i would be glad about any system
> which is easy to use instead of XUpdate either)
>
> so the first problem is, that i don't realy know how to install and 
use the
> XUpdate
> functionality into my cocoon 2.0.4.
>
> i would be glad if anybody could help me or give me a hint where
> to find further information.
>
> regards,
> jm

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



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


Re: Lucene indexing / crawling problem

2003-06-09 Thread Michael Wechner
Conal Tuohy wrote:

I'm creating a Lucene index using an XSP based on the sample, but I have a strange problem.

Some of the pages are crawled, but some are not crawled, and I can't see why. 

I have DEBUG logging for the core.search components, so I can see the crawler crawling the site. I can see it read the links for each page, and I can see that it doesn't exclude any of the links. Yet it doesn't actually follow those links - the crawl simply comes to an end at some point, with some of the links uncrawled.

Have you enabled the "link view" for all the pages you want to crawl?

HTH

Michael

It seems to me that for every log entry from SimpleCocoonCrawlerImpl that says "Add URL: http://blah..."; I should also have an entry from SimpleLuceneXMLIndexerImpl that says "Indexing http://blah...";

The home page is crawled, and all of the pages off that page, and SOME of the pages off those pages, and SOME of the pages off THOSE pages. I can't see why some pages are crawled and others not. Perhaps the crawler simply stops at some point, and it hasn't finished its list of URLs. But why would it stop crawling without logging any error? BTW, the last entry in the log is always the SimpleLuceneXMLIndexerImpl reporting that it has indexed a page, e.g: 

DEBUG   (2003-06-09) 17:32.05:388   [core.search.lucene] (/search/reindex.xml) HttpProcessor[80][4]/SimpleLuceneXMLIndexerImpl: Indexing http://localhost:80/etexts/JCB-016/full.html?cocoon-view=content (text/xml)

Does anyone have any ideas where I could start looking?

I'm using the version RELEASE_2_1_M_2

Thanks

Con

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



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


Re: Press Release

2003-03-17 Thread Michael Wechner
karthikeyan.balasubramanian wrote:

Hi All,

 I want to develop a press release using Cocoon.  I have setup Cocoon in
My system no problems.
 Are there already pre-existing News or Press Release Program running on
cocoon which I can make use of.
 I don't want to re-invent the wheel :).

 Let me know your thoughts.

You could use Lenya, which is a "CMS" based on Cocoon. You may want to 
check it out at

http://www.wyona.org/download/downloading_and_installing.html

but it's a bit shaky at the moment, because we simplified the directory 
structure and renamed certain files,
because the project might be moving to ASF as a Cocoon subproject.

Michael

 Have a great day.

Karthikeyan.



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



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


disappears!?

2003-03-11 Thread Michael Wechner
Hi

if I set

 within my XSLT, then all the
comments  disappear from the actual output.
Is this a feature or a bug?

Thanks

Michael

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


Re: [Wyonacms-dev] Re: WG: Is there any way to use a scheduler withCocoon ?

2003-02-27 Thread Michael Wechner
Michael Melhem wrote:

On Wed, Feb 26, 2003 at 12:46:56PM +0100, Scherler, Thorsten wrote:
 

Hello group,

is there a way to integrate our scheduler into a cocoon app without installing the whole wyona cms dist.?
   

The avalon cornerstone scheduler already comes with cocoon2.1. Why do we
need another scheduler ?
To be honest, at the time we have decided to implement a Scheduler into 
Wyona (resp. Lenya) I haven't really been aware of the Avalon 
Cornerstone Scheduler (although Giacomo mentioned something like that to 
me, but I think after we already started integrating Quartz).

I don't mind at all to reconsider this, although I think Quartz is quite 
well done and very flexible.

Well, anyway, we tried to implement Quartz as "pluggable" as possible, 
by which I mean it shouldn't
be too  much effort now to integrate Avalon Cornerstone Scheduler, 
either to replace Quartz or have it
side-by-side.

In the end I think the actual scheduler should only be a specific 
implementation, which
is able to interpret an XML made up of triggers, jobs and tasks (and is 
having an API).

ContinuationsManagerImpl.java uses this scheduler for example.

Regards,
Michael
 

Please have a look on the following mail!

Thank you very much!

-Urspr?ngliche Nachricht-
Von: MAHE Vincent FTRD/DIH/REN [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 26. Februar 2003 12:41
An: [EMAIL PROTECTED]
Betreff: RE: Is there any way to use a scheduler with Cocoon ?
Hello,

Yes but I need to install the whole Wyona whereas I'm only interested in the scheduler.

No, we integrated Quartz as a Servlet, which is starting the scheduler 
during "init".

But yes, if you want to use the web user interface, which is dependent 
on Cocoon and Wyona.

My webapp has nothing to do with a Content Management and Publishing System.

I just want to use the scheduler of Wyona in my webapp ... do you have any simple integration example ?

Take a look at the "unipublic" publication, where you can schedule 
articles to be published by a "date trigger".

Or take a look at the "oscom" publication. where RSS feeds are pulled in 
on a regular basis.

Thanks

Michael

Vincent

-Message d'origine-
De : Scherler, Thorsten [mailto:[EMAIL PROTECTED]
Envoy? : mercredi 26 f?vrier 2003 11:15
? : [EMAIL PROTECTED]
Objet : AW: Is there any way to use a scheduler with Cocoon ?
Hello Vincent,

http://www.wyona.org/docs/xdocs/scheduler.html

wyona is a Open Source CMS and based on Cocoon and Java. 

Just have a look.

p.s. It will hopefully become lenya in the near future and part of ASF

King regards
Thorsten
-Urspr?ngliche Nachricht-
Von: MAHE Vincent FTRD/DIH/REN [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 26. Februar 2003 11:09
An: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Betreff: Is there any way to use a scheduler with Cocoon ?


Has anyone managed to integrate a Java scheduler in a webapp using Cocoon 2.0 ?

Some people (Martin Holz for instance) on the net are talking about Jakarta CornerStone Scheduler but I can't find any example.

Vincent

   

___
WyonaCMS-dev mailing list
[EMAIL PROTECTED]
http://mail.wyona.org/cgi-bin/mailman/listinfo/wyonacms-dev
 



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


Re: Aggregating files using patterns?

2003-02-12 Thread Michael Wechner
Peter Klotz wrote:

Hi,

I don't think that this would help, because I would need to call this
first pipeline with distinct names but I don't know that. And I can't pass
a pattern to a pipeline, right? I thought of using a directory generator
and use a XSL to get the actual file names but how would I then
automatically call the second pipeline for each filename?



ok:

DirectoryGenerator
XSLT to transform filenames into XInclude "statements"
XIncludeTransformer
XSLT to "pretty format"

HTH

Michael








Peter Klotz wrote:


how can one generate a document from multiple sources without knowing
their exact names using a pattern? Given some files blah_*.xml, I
would like to aggregate all these and get one XML document to apply
stylesheets etc.

But I have never seen that it is possible to use patterns in
map:aggregate/map:part or map:generate? Something like


[...]


You could try it with "two" pipelines:


  

  



  
  





HTH

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





-
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: Aggregating files using patterns?

2003-02-12 Thread Michael Wechner
Peter Klotz wrote:

Hi,

how can one generate a document from multiple sources without knowing
their exact names using a pattern? Given some files blah_*.xml, I would
like to aggregate all these and get one XML document to apply stylesheets
etc.

But I have never seen that it is possible to use patterns in
map:aggregate/map:part or map:generate? Something like


or

  


Is it or is there another approach to this presumably common problem?


You could try it with "two" pipelines:


  

  



  
  


HTH

Michael



Please help, Peter



-
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: Logkit configuration

2003-01-07 Thread Michael Wechner
Just replace DEBUG by ERROR within the file

WEB-INF/logkit.xconf

and restart Tomcat.

HTH

Michael



Maximilian A. Ott wrote:

I have been trying to start cocoon within a few servlet and application
servers. While I successfully can serve pages I always get heaps of debug
messages on the console of the type:

18:09:11.050 EVENT  DEBUG   (2003-01-07) 18:09.11:040   []
(/forms/emplo
yee) SocketListener-0/DefaultLogKitManager: Logger for category
core.xslt-proces
sor not defined in configuration. New Logger created and returned

18:09:11.071 EVENT  DEBUG   (2003-01-07) 18:09.11:071   []
(/forms/emplo
yee) SocketListener-0/DefaultLogKitManager: Logger for category
core.xslt-proces
sor not defined in configuration. New Logger created and returned

This is most likely something really simple as I can't seem to find any
reference anywhere.

Any hints would be greatly appreciated.

Thanks,

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





-
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: calling "neighbour" sitemap

2003-01-07 Thread Michael Wechner
[EMAIL PROTECTED] wrote:

Hi, you can call other resources also by scr="cocoon://other-resource"



right, this way you are able to call the "root-sitemap", but
not the neighbouring "sub-sitemap2" (or at least it doesn't work
in my case)

Thanks

Michael





I think you can use that to use other sitemaps ..


Citeren Michael Wechner <[EMAIL PROTECTED]>:



Hi

Is it (would it be) possible to call a pipeline within a neighbouring
sitemap,
e.g.

  root-sitemap
   |
---
|  |
 sub-sitemap1  sub-sitemap2

sub-sitemap1 has a pipeline which wants to call a pipeline within
sub-sitemap2.

TIA

Michael


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

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






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

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




Re: Trouble Passing Parameters

2003-01-07 Thread Michael Wechner
Jacob Arnold wrote:

I'm having difficulty passing parameters to my XSP. I'm using the following
in my sitemap:


  

  
  
  


And this in my XSP



But the value is not showing up. When I try the code suggested in the
matchers and selectors doc,
parameters.getParameter("id") I get this error:


Try something like





  String my_param=parameters.getParameter("id","default_value");




HTH

Michael




org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
test_xsp: Line 373, column 71: unreported exception:
org.apache.avalon.framework.parameters.ParameterException; must be caught or
declared to be thrown Line 0, column 0: 1 error

Any ideas? I'm using Cocoon 2.0.4 and Tomcat 4.1.12. I tried putting the
 element within my transform, but that didn't seem to work
either.

Thanks,
J

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




calling "neighbour" sitemap

2003-01-07 Thread Michael Wechner
Hi

Is it (would it be) possible to call a pipeline within a neighbouring 
sitemap,
e.g.

  root-sitemap
   |
---
|  |
 sub-sitemap1  sub-sitemap2

sub-sitemap1 has a pipeline which wants to call a pipeline within 
sub-sitemap2.

TIA

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: Is this a case for Cocoon?

2003-01-03 Thread Michael Wechner
Ines Robbers wrote:

Hello!

I am wondering whether Cocoon is the solution to my problem:

I am working for a university who wants me to redesign their homepage.
It has to be accessible to everyone (i.e. needs to conform to the Web
Accessibility Guidelines) and be dead easy in maintanance. 
The problems I have encountered so far are:
There will be many different people who will edit, update, maintain or
expand the pages. These people in most cases have never seen an html
code. In fact what they love to do is saving a word doc into html and
loading it onto the server. But all pages are supposed to be in valid
XHTML, controled by CSS.

Is this a case for Cocoon?

I think Cocoon can be the solution to your problem, but with some 
Content Management functionality added.


Could secretaries load up their word docs (and whatever else they get
into their hands) and the rest Cocoon does for them? I.e. generate XML
from Word and tranform it into valid, accessible XHTML code?

I would be grateful for your opinions!
Do you know of any university who is using Cocoon?


The University of Zurich is using Wyona, which is a CMS based on Cocoon.
You might want to contact Roger Stupf:

http://www.unipublic.unizh.ch/ssi_unipublic/impressum.html

HTH

Michael





Ines 



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




map:part xpointer

2002-12-30 Thread Michael Wechner
Hi

I would like to use "xpointer" together with "map:aggregate" resp. 
"map:part", e.g.


  
  


instead of using XInclude, e.g.


  
  




Any thoughts?

Thanks

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



Slide-Cocoon User Interface Suggestions

2002-12-22 Thread Michael Wechner
Hi

I have some suggestions concerning the Slide-Cocoon User Interface:

1) Add "Filename (optional)" to the textfield for File Upload

2) Tie the "upload file" functionality graphically better together
(maybe some table with different color and title "Upload File")

3) Either use term "directory" instead of term "collection" or use
term "resource" instead of "file", but not the combination 
file-collection or resource-directory.

4) Add "Collection/Directory name (required)" to textfield for 
Collection creation

5) Tie the "create collection" functionality graphically better together

6) Tie the "menu items" content,properties, permissions, locks 
graphically better to the file resp. collection


Please let me know what you think.

If you are interested i can try to change it and submit it to Stephan.

Thanks

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: Slide & Cocoon Impl **XML_PARSER_JARS**

2002-12-22 Thread Michael Wechner
Julian Klein wrote:

Martin,






*one more thing*
Stephan Michels points out in the read me file of
$CATALINA_HOME/webapps/cocoon/samples/slide/README




Some things must be fixed:

* The base directory for the content stores should


be


set, but don't know how.





,but I was able to set this properly.  Did you


have


this problem?  I will contact Stephan and let him


know


as well.


I guess Stephan meant, which directory the files
stores use.
I think, the best way to do this, is to use a
absolute path in
slide.xconf.   


I had set the filestores root path absolutely. it
works great. thanks.


I think it would be nice if the path could be set relative
to the sitemap, but I guess that is what Stephan is refering to within
his README.

Thanks

Michael






*other issues*
I wrote Stephan to let him know of some issues I have
with the current implementation.  I would like to
improve the download and lock capabilities since they
do not seem to work via the web interface.  Moreover,
the create new collection action does not work either.
 The new collection is created, but the collection is
not persisted.  I am not a cocoon nor slide expert,
but would be more than happy to attempt these patches.
 let me know what you think about this and about the
status of versioning.

Frohe Weihnachten fur dich auch,
Julian




Merry Christmas
   Martin





-


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



=
Live simply so others may simply live.
 
-Ghandi
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily"
 
-William of Occam

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.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: Cocoon + CMS Integration

2002-11-20 Thread Michael Wechner
Nicholas Hemley wrote:

Hello,

Is anybody aware of a content management system that incorporates Cocoon as part of a system that includes XML authoring, workflow and classification?

I am aware of Wyona (www.wyona.org) which uses the Xopus XML editor but are there any others?


There is also  DBPrism
http://www.dbprism.com.ar/dbprism/doc/xdocs/Cocoon.html

and CocoBlog
http://www.beblogging.com/blog/docs


and WebEditor
http://webeditor.sourceforge.net/webEditor.html
(but as far as I know is not really using Cocoon)


More "applications" are documented at
http://xml.apache.org/cocoon/link/projects.html


Michael





Any info would be appreciated...

Cheers,
Nic Hemley

Lothian NHS Webmaster



**
The information contained in this message may be confidential or legally privileged and is intended for the addressee only,

If you have received this message in error or there are any problems please notify the originator immediately.

The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden.
**


-
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: 2 Servlets within one Webapp

2002-11-03 Thread Michael Wechner
Max Larsson wrote:

Hi,

has onyone expierence with running two servlets
within one webapp. For example having the
cocoon servlet maped to / and another servlet
to /directory. I know this is configured in
the web.xml file in WEB-INF directory. But
i can only one of them at the time working, not
both.


Actually this should work. For Wyona we have the Cocoon Servlet
and a Scheduler Servlet running without any problem.

What if you don't do any mapping?

And call your servlet directly, e.g.

http://127.0.0.1:8080/cocoon/servlet/org.foo.BarServlet


Michael




TIA

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





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

2002-10-29 Thread Michael Wechner
Ivelin Ivanov wrote:

Did you look at Quartz?
http://quartz.sourceforge.net/



Well, we have added Quartz to Wyona, and Wyona is based on Cocoon, so 
... ;-)

I also don't think it's a good idea to add another "feature" to Cocoon, 
but maybe this is something for cocoon-apps. We would certainly not mind
donating it to Apache.

Another option would be the Avalon scheduler if I remember correctly. 
Giacomo told me once that they used it for one of their projects.

HTH

Michael




- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 28, 2002 7:02 AM
Subject: Cocoon task scheduler


Hello everybody,

I'm writing application with Cocoon which include Cocoon portal,
authentication, etc..
All you need when you use an application server.

But I think about a functionnality which would be very useful on a app
server: a scheduler (like the Cron in Unix).

So my question is: what the solution with Cocoon if I want to automate and
execute tasks without a HTTP request (for example to execute a task every
sunday at 12 o'clock)??
Could I use an independant software in my server or is there a concept in
Cocoon?

Thank you
Sylvain

-
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: jsp cocoon

2002-10-06 Thread Michael Wechner



[EMAIL PROTECTED] wrote:

> hello,
> 
> here it's a big quest
> 
> my name is raul, i'm spanish student that is trying to make a website 
> that is based on xml, jsp,servlets(tomcat). It must be able to 
> transfor xml in some formats.Some of the source is in mathml
> that i have to transform in svg,and all the xml documents (that are 
> dinamic generated ) must to be send to the browser in html, wml or 
> pdf.
> 
> My problens are:
> 
> 1.-I have all implementes in jsp and servlets pages,so i can't use 
> cocoon 2.0 that i think
> it's able to do all this thins.
> Any one knows a way to use cocoon 2.0 like a servlet to call from my 
> jsp pages?examples?
> 
> 2.-Any one knows how i can transform mathml to svg in a jsp?



Maybe the JEuclid project helps you:

http://sourceforge.net/projects/jeuclid/


Michael




> 
> 
> Lots of thanks to all
> 
> I'm desesperated,please help me!
> 
> 
> 
> -
> 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: XLink Processor

2002-10-04 Thread Michael Wechner



lalitha wrote:

> hello,
> 
>  
> 
> I am searching for any application that supports extended links of w3c 
> XLink. I've seen in one of the archived mails, a mail with the subject 
> "XLink Processor", Could any one tell me if there is support for ( 
> especially for extended links) in cocoon, if so , in which version?


Well, I have written an XLink processor a long time ago, because 
XInclude has not really existed by then, but I interpreted XLink as
XInclude is interpreted today. So I guess, this is not what you are
looking for.

For what purpose would you like to use it?

Michael


> 
>  
> 
> Thank you in advance,
> 
> Lalitha.
> 



-
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 generated by XSL

2002-09-30 Thread Michael Wechner

Do you use XInclude or CInclude?

Did you ever try with

? Although you then need "another" pipeline to generate included.xml.

Although your original version should work principally.

HTH

Michael



Johannes Koch wrote:

> Hi,
> 
> I want to add an xi:include element by XSLT and then use the xinclude 
> transformer to include the referenced XML. So I tried this:
> 
> 
>   
>   
>   
>   
> 
> 
> with add-navigation.xsl:
> 
>  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> xmlns:xi="http://www.w3.org/2001/XInclude";>
> 
>   
> 
>   
>   
> 
>   
> 
> 
> 
> Unfortunately I get an empty file.
> 
> So I tried to split.
> 
> 
>   
>   
>   
> 
> 
> which adds the xi:include element. The result is something like
> 
> 
>   
>   http://www.w3.org/2001/XInclude"; 
> href="included.xml"/>
> 
> 
> When I save this as 'article1.xml' and change the pipeline to
> 
> 
>   
>   
>   
> 
> 
> I get
> 
> 
>   
>   http://www.w3.org/2001/XInclude"/>
> 
> 
> as intended.



-
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: Xopus2 has been open sourced

2002-09-09 Thread Michael Wechner



Robert Koberg wrote:

> Hi Michael,
> 
> What are your thoughts on Xopus? Did you just need any client editor and Xopus
> was the best out of the choice(s)? Or do you believe Xopus to be an excellent
> product?


Well, both I think. Xopus has a very nice "architecture". It's really 
just W3C compliant XML, XSLT and XSD concerning what the CMS has to 
deliver to the client.

But if everything goes fine, then the Biflux Editor will also be
open sourced this week, which has a different architecture, but has
very nice features as well.


> 
> Have you compared it to the commercial version? Is it just 'less buggy' as they
> state or is there interesting functionality?


I guess you mean Q42's commercial version: I know their website is a bit
confusing about this point. It sounds like the Open Source version has 
more bugs than the commercial one. I don't know what the truth is, but
I guess they don't have different code bases. Maybe the Open Source 
version is just an older version. Maybe you can ask them on their 
mailing list. I am curious too.

The main difference seems that the commercial version has more
functionality than the OS version, such as for instance "Animations", 
which I think is very important with regard to usability.


> 
> It seems weird that they have the commercial version being sold as 'less buggy.'
> Is the OS version intentionally buggy to get people to buy the commercial
> version?


I really don't know, but I agree.


> 
> I am having trouble understanding this business model.


I agree, but I think they have the problem that they coded too
long without going Open Source. There is also a main difference between
a CMS and an Editor: With the CMS you can do a lot of integration work, 
but with the Editor there isn't much to do normally.

Michael



> 
> 
> -Rob
> 
> 
> 
> 
>>-Original Message-
>>From: Michael Wechner [mailto:[EMAIL PROTECTED]]
>>Sent: Sunday, September 08, 2002 9:51 PM
>>To: [EMAIL PROTECTED]
>>Cc: [EMAIL PROTECTED]
>>Subject: Re: Xopus2 has been open sourced
>>
>>
>>ok, Wyona now includes Xopus.
>>You can try it out at
>>
>>http://195.226.6.74:38080/wyona-cms/forum/authoring/index.html
>>
>>(login with "wyona" and "levi".)
>>
>>Note, that this publication is generating a RSS, which is XIncluded
>>by another publication:
>>
>>http://195.226.6.74:38080/wyona-cms/wyona.org/index.html
>>
>>I have also updated the documentation with regard to Xopus a bit:
>>
>>http://195.226.6.74:38080/wyona-cms/docs/xdocs/xopus2.html
>>
>>There you will find info on "Browser Requirements" to be able to use Xopus.
>>
>>In case you are interested in the code then just use the
>>CVS version:
>>
>>http://www.wyona.org/download/index.html
>>
>>The next step will be to get rid of the Wyona dependencies
>>and maybe move it to cocoon-apps or cocoondev
>>
>>Another step would be to further refactor it, for instance make
>>it work with arbitrary sources (for instance HSQLDB) or even
>>write a WebDAV driver for Xopus such that it can be used together
>>with Slide.
>>
>>Have fun
>>
>>Michael
>>
>>
>>
>>
>>
>>
>>Michael Wechner wrote:
>>
>>
>>>
>>>Marcelo F. Ochoa wrote:
>>>
>>>
>>>>Michael Wechner wrote:
>>>>
>>>
>>>>
>>>>I would like to include Xopus editor into DBPrism CMS.
>>>>But, probably we will meet at OSCOM San Francisco :) then I will use
>>>>this oportunity to know Xopus in deep.
>>>>
>>>
>>>
>>>Sure. Yes, I am sure we will meet and we can connect it to DBPrism CMS
>>>just there on the spot if you like.
>>>BTW: Xopus will also give a presentation (we have to update the program
>>>though), quite probably on Thursday September 26 at 17:00.
>>>
>>>Michael
>>>
>>>
>>>
>>>>>
>>>>>Michael
>>>>>
>>>>>
>>>>  Best regards, Marcelo.
>>>>
>>>>
>>>
>>
>>--
>>OSCOM - Open Source Content Management Conference
>>September 25th - 27th 2002, Berkeley, California
>>http://www.oscom.org/conferences/berkeley2002/
>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, email: [EMAIL PROTECTED]
>>
>>
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> 


-- 
OSCOM - Open Source Content Management Conference
September 25th - 27th 2002, Berkeley, California
http://www.oscom.org/conferences/berkeley2002/


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

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




Re: Xopus2 has been open sourced

2002-09-08 Thread Michael Wechner

ok, Wyona now includes Xopus.
You can try it out at

http://195.226.6.74:38080/wyona-cms/forum/authoring/index.html

(login with "wyona" and "levi".)

Note, that this publication is generating a RSS, which is XIncluded
by another publication:

http://195.226.6.74:38080/wyona-cms/wyona.org/index.html

I have also updated the documentation with regard to Xopus a bit:

http://195.226.6.74:38080/wyona-cms/docs/xdocs/xopus2.html

There you will find info on "Browser Requirements" to be able to use Xopus.

In case you are interested in the code then just use the
CVS version:

http://www.wyona.org/download/index.html

The next step will be to get rid of the Wyona dependencies
and maybe move it to cocoon-apps or cocoondev

Another step would be to further refactor it, for instance make
it work with arbitrary sources (for instance HSQLDB) or even
write a WebDAV driver for Xopus such that it can be used together
with Slide.

Have fun

Michael






Michael Wechner wrote:

> 
> 
> Marcelo F. Ochoa wrote:
> 
>> Michael Wechner wrote:
> 
> 
>>
>>
>> I would like to include Xopus editor into DBPrism CMS.
>> But, probably we will meet at OSCOM San Francisco :) then I will use 
>> this oportunity to know Xopus in deep.
> 
> 
> 
> Sure. Yes, I am sure we will meet and we can connect it to DBPrism CMS 
> just there on the spot if you like.
> BTW: Xopus will also give a presentation (we have to update the program 
> though), quite probably on Thursday September 26 at 17:00.
> 
> Michael
> 
> 
>>
>>>
>>>
>>> Michael
>>>
>>   Best regards, Marcelo.
>>
> 
> 


-- 
OSCOM - Open Source Content Management Conference
September 25th - 27th 2002, Berkeley, California
http://www.oscom.org/conferences/berkeley2002/


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

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




Re: Xopus2 has been open sourced

2002-09-06 Thread Michael Wechner



Ivelin Ivanov wrote:

> Looks promising.
> 
> Is there a more complex demo than the one in the download.


No, that's it.


> I would be interested to see line items, images, nested tables.


What do you mean by line items?

Do you mean drag and drop images?

As I know nested tables are possible (actually any nested content, such 
as XHTML), but there is no such example yet.

BTW: they have setup a mailing list at Yahoo.

Michael


> 
> 
> - Original Message -
> From: "Michael Wechner" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, September 04, 2002 12:05 AM
> Subject: Xopus2 has been open sourced
> 
> 
> 
>>Hi
>>
>>As you probably have heard or read somewhere, Xopus 2 (or at least the
>>most important modules of it) has been open sourced under the Apache
>>license on  August 30th: http://www.xopus.org
>>
>>We already have built an "interface" for an alpha version of Xopus 2
>>(which we kindly received from Q42 some weeks ago) within the Wyona
>>
> project.
> 
>>We are now starting to really integrate the Xopus 2 OS version.
>>Because the OS version has slightly changed to the preview
>>version we had, we can't just plug it in unfortunately.
>>
>>We want to write code which should be usable by other Cocoon projects,
>>such as for instance:
>>
>>-Xopus sitemap for "reading and writing pipelines"
>>  (Probably some Java classes are needed)
>>-examples
>>-documentation
>>
>>If we manage to write things generically (no Wyona dependencies)
>>which I am sure we are able to, then we can certainly donate the code
>>to the Cocoon project if you are interested in.
>>
>>Maybe you would like to join our efforts. Any help is very welcome.
>>
>>Thanks
>>
>>Michael
>>wyona.org
>>
>>
>>
>>--
>>OSCOM - Open Source Content Management Conference
>>September 25th - 27th 2002, Berkeley, California
>>http://www.oscom.org/conferences/berkeley2002/
>>
>>
>>-
>>Please check that your question  has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 


-- 
OSCOM - Open Source Content Management Conference
September 25th - 27th 2002, Berkeley, California
http://www.oscom.org/conferences/berkeley2002/


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

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




Xopus2 has been open sourced

2002-09-03 Thread Michael Wechner

Hi

As you probably have heard or read somewhere, Xopus 2 (or at least the 
most important modules of it) has been open sourced under the Apache 
license on  August 30th: http://www.xopus.org

We already have built an "interface" for an alpha version of Xopus 2
(which we kindly received from Q42 some weeks ago) within the Wyona project.

We are now starting to really integrate the Xopus 2 OS version.
Because the OS version has slightly changed to the preview
version we had, we can't just plug it in unfortunately.

We want to write code which should be usable by other Cocoon projects,
such as for instance:

-Xopus sitemap for "reading and writing pipelines"
  (Probably some Java classes are needed)
-examples
-documentation

If we manage to write things generically (no Wyona dependencies)
which I am sure we are able to, then we can certainly donate the code
to the Cocoon project if you are interested in.

Maybe you would like to join our efforts. Any help is very welcome.

Thanks

Michael
wyona.org



-- 
OSCOM - Open Source Content Management Conference
September 25th - 27th 2002, Berkeley, California
http://www.oscom.org/conferences/berkeley2002/


-
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: [ANN] Another article on Cocoon - Web Syndication

2002-08-30 Thread Michael Wechner



Ivelin Ivanov wrote:

> We can include the whole piece in the Cocoon docs.
> No copyright issues.
> Willing to help :-?
> 
> I liked your xdoc on the ServletProxy.
> My xdocs skills are lagging behind, so I will appreciate assistance.


Yes, I would certainly like to help, but I am a bit lacking time at the 
moment. Maybe we could start a "small" xdoc for the beginning and just 
place a link to your article at WebServices.org. What do you think?

All the best

Michael


> 
> 
> Cheers,
> 
> Ivelin
> 
> 
> ----- Original Message - 
> From: "Michael Wechner" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 29, 2002 4:16 PM
> Subject: Re: [ANN] Another article on Cocoon - Web Syndication
> 
> 
> 
>>Ivelin, very nice article.
>>
>>Are you going to include parts of it within Cocoon documentation?
>>
>>Thanks
>>
>>Michael
>>
>>
>>
>>Ivelin Ivanov wrote:
>>
>>
>>>http://www.webservices.org/index.php/article/articleview/613
>>>
>>>
>>>-=Ivelin=-
>>>
>>>
>>>-
>>>Please check that your question  has not already been answered in the
>>>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>>>
>>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>>
>>
>>-- 
>>OSCOM - Open Source Content Management Conference
>>September 25th - 27th 2002, Berkeley, California
>>http://www.oscom.org/conferences/berkeley2002/
>>
>>
>>-
>>Please check that your question  has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 


-- 
OSCOM - Open Source Content Management Conference
September 25th - 27th 2002, Berkeley, California
http://www.oscom.org/conferences/berkeley2002/


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

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




Re: [ANN] Another article on Cocoon - Web Syndication

2002-08-29 Thread Michael Wechner

Ivelin, very nice article.

Are you going to include parts of it within Cocoon documentation?

Thanks

Michael



Ivelin Ivanov wrote:

> http://www.webservices.org/index.php/article/articleview/613
> 
> 
> -=Ivelin=-
> 
> 
> -
> 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]>
> 


-- 
OSCOM - Open Source Content Management Conference
September 25th - 27th 2002, Berkeley, California
http://www.oscom.org/conferences/berkeley2002/


-
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: Redirect/Rewrite Module

2002-08-15 Thread Michael Wechner



Giacomo Pati wrote:

>On Fri, 9 Aug 2002, Michael Wechner wrote:
>
>>Hi
>>
>>I have a situation where I would like to do a lot of
>>URI-redirects/rewrites. I know I can do this via the sitemap,
>>but other people would be doing this. So for the reason of "Separation
>>of Concern" I would like to separate this from the actual sitemap.
>>
>>My question is what are the possibilties to do something like that?
>>
>>-One way would probably be to have a separate sitemap dedicated to
>>redirects, which is mounted by the actual sitemap.
>>
>>-Or to have the redirects in a separate file, which is "pulled in" by
>>the actual sitemap as an external entity
>>
>>-Or to have an action/component, where every request is sent through and
>>is acting
>>as an redirect/rewrite module (and maybe calling Cocoon again!!)
>>
>>Any thoughts on this?
>>
>
>What about redesigning your URI space?
>
>You know, I'm not a friend of redirects as they where made to keep old
>URIs still working if you had to restructure your site. It seems to me
>that people think redirection is a tool/pattern for web development.
>
I agree with you, but the problem of old URIs will probably exist for 
another year or so:-)
I think there are at least two solutions:

1) You can propagate the modifications of URIs through the net using a 
P2P approach
or something similar. This would not only be good for old URIs, but also 
for URIs where
content is changing all the time, such as for instance RSS. (For 
instance Slashdot has the
policy that you are not "allowed" to request their RSS more often than 
every 30 minutes,
else your IP will be blocked.)

2) Each URI has an owner. When the URI is old (expired), but is still 
being requested, then the server should tell the owner about it

Both solutions could be part of a Content Management System/Framework.

But there is also another "misuse" of redirects:
Companies (for instance newspapers) sometimes want to announce a new 
"product"
on the web, but the URI is too long for people remembering when reading 
the adds,
but actually it would be appropriate context-wise. So the marketing 
department thinks
of an "abbreviated" URI.

All the best

Michael

> 
>
>Giacomo
>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>



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

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




[SUMMARY] Re: XPath selector or XPath matcher

2002-08-13 Thread Michael Wechner



Vadim Gritsenko wrote:

>>From: Michael Wechner [mailto:[EMAIL PROTECTED]]
>>
>>Vadim Gritsenko wrote:
>>
>>
>>>>From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
>>>>
>>>>
>>>>
>>>>>Is anybody working on a XPath selector or XPath matcher?
>>>>>
>>>These are not possible. Matchers, selectors and actions are
>>>
> processed
> 
>>>*before* pipeline starts. They are used to *assemble* pipeline, and
>>>invoked when pipeline is not *completed* yet.
>>>
>>>What you can do is to write Transformer to react on XML, and if you
>>>
> use
> 
>>>full-blown XPath, it will be DOMTransformer --> be prepared to buy
>>>
> more
> 
>>>memory (it depends on intensity of your site, of course).
>>>
>>
>>Do you mean that I use a pipeline with a transformer to generate a
>>new "request" and then call with this new request a resource or
>>
> another
> 
>>pipeline?
>>
> 
> Include transformers do exactly this.
> 
> 
> 
>>In More detail
>>
>>Original Request:  article2523423.xml
>>
>>Pipeline with Transfomer (XPath) generates new request:
>>article2523423.xml?language=en
>>(where the XPath might be /article/meta/language)
>>
>>Resource resp. new another Pipeline matches to language=en
>>(A resource can't be matched!?)
>>
> 
> Resource can not be matched, pipeline can be. You can have pipeline
> matching "article2523423.xml?language=en" and your transformer can
> include result of this pipeline. Or, your transformer can generate
> include tags and then you can have include transformer to process these
> tags.



That will work. Thanks a lot

Michael







> 
> Vadim
> 
> 
> 
>>>If you want, you can go through -dev archive, this was discussed
>>>multiple times.
>>>
>>>
>>>
>>>
>>>>>I have situations where I would like to select the pipeline or
>>>>>at least the XSLT depending on the value of an attribute within the
>>>>>generated XML.
>>>>>
>>>>>
>>>>If there is no such mecanism in Cocoon, you can code your XSLT
>>>>
>>>>
>>>stylesheets
>>>
>>>
>>>>so they make the test by themselves.
>>>>
>>>>
>>>That's another option - do the same in XSLT.
>>>
>>
>>
>>That is certainly an option, but I rather not put the
>>
> matching/selecting
> 
>>mechanism into the XSLT. But if the approach from above does not work,
>>then I probably will :-/
>>
>>
>>Michael
>>
>>
>>
>>>Vadim
>>>
>>>
>>>
>>>
>>>
> -
> 
>>>Please check that your question  has not already been answered in
>>>
> the
> 
>>>FAQ before posting.
>>>
> <http://xml.apache.org/cocoon/faq/index.html>
> 
>>>To unsubscribe, e-mail:
>>>
> <[EMAIL PROTECTED]>
> 
>>>For additional commands, e-mail:
>>>
> <[EMAIL PROTECTED]>
> 
>>
>>
>>-
>>Please check that your question  has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 



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

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




Re: XPath selector or XPath matcher

2002-08-13 Thread Michael Wechner



Vadim Gritsenko wrote:

>>From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
>>
>>
>>>Is anybody working on a XPath selector or XPath matcher?
>>>
> 
> These are not possible. Matchers, selectors and actions are processed
> *before* pipeline starts. They are used to *assemble* pipeline, and
> invoked when pipeline is not *completed* yet.
> 
> What you can do is to write Transformer to react on XML, and if you use
> full-blown XPath, it will be DOMTransformer --> be prepared to buy more
> memory (it depends on intensity of your site, of course).



Do you mean that I use a pipeline with a transformer to generate a
new "request" and then call with this new request a resource or another 
pipeline?

In More detail

Original Request:  article2523423.xml

Pipeline with Transfomer (XPath) generates new request: 
article2523423.xml?language=en
(where the XPath might be /article/meta/language)

Resource resp. new another Pipeline matches to language=en
(A resource can't be matched!?)


> 
> If you want, you can go through -dev archive, this was discussed
> multiple times.
> 
> 
> 
>>>I have situations where I would like to select the pipeline or
>>>at least the XSLT depending on the value of an attribute within the
>>>generated XML.
>>>
>>If there is no such mecanism in Cocoon, you can code your XSLT
>>
> stylesheets
> 
>>so they make the test by themselves.
>>
> 
> That's another option - do the same in XSLT.



That is certainly an option, but I rather not put the matching/selecting
mechanism into the XSLT. But if the approach from above does not work,
then I probably will :-/


Michael


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




XPath selector or XPath matcher

2002-08-12 Thread Michael Wechner

Hi

Is anybody working on a XPath selector or XPath matcher?

I have situations where I would like to select the pipeline or
at least the XSLT depending on the value of an attribute within the 
generated XML.

Thanks

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




[SUMMARY] Re: Resolver within XSP

2002-08-12 Thread Michael Wechner



Vadim Gritsenko wrote:

>>From: Michael Wechner [mailto:[EMAIL PROTECTED]]
>>
>>Hi
>>
>>How can I access the Resolver from within an XSP in order
>>
> 
> this.resolver


Yes, that is the hint I needed:

org.apache.cocoon.environment.Source source=this.resolver.resolve("");
String sitemapPath=source.getSystemId();

Thanks Vadim

Michael



> 
> 
> 
>>to determine the absolute sitemap path from where the XSP
>>was called?
>>
> 
> URI or file name?
> 
> 
> 
>>Or is there another method to do this within an XSP?
>>
> 
> request.getSitemapURI()
> 
> 
> Vadim
> 
> 
>>Thanks in advance
>>
>>Michael
>>
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 



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

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




Resolver within XSP

2002-08-12 Thread Michael Wechner

Hi

How can I access the Resolver from within an XSP in order
to determine the absolute sitemap path from where the XSP
was called?

Or is there another method to do this within an XSP?

Thanks in advance

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: Redirect/Rewrite Module

2002-08-09 Thread Michael Wechner



ROSSEL Olivier wrote:

>>I have a situation where I would like to do a lot of 
>>URI-redirects/rewrites. I know I can do this via the sitemap,
>>but other people would be doing this. So for the reason of "Separation
>>of Concern" I would like to separate this from the actual sitemap.
>>
>>My question is what are the possibilties to do something like that?
>>
>>-One way would probably be to have a separate sitemap dedicated to 
>>redirects, which is mounted by the actual sitemap.
>>
> 
> Exactly.
> I  think this is the more robust system.
> URL patterns will make the redirection via map:redirect, except
> for special cases where you would need XSP ou may be actions.
> I think it is the most flexible way to do the trick.


Sounds good to me as well (KISS)

But what about Apache-Struts? Any ideas?

Thanks

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



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




Redirect/Rewrite Module

2002-08-09 Thread Michael Wechner

Hi

I have a situation where I would like to do a lot of 
URI-redirects/rewrites. I know I can do this via the sitemap,
but other people would be doing this. So for the reason of "Separation
of Concern" I would like to separate this from the actual sitemap.

My question is what are the possibilties to do something like that?

-One way would probably be to have a separate sitemap dedicated to 
redirects, which is mounted by the actual sitemap.

-Or to have the redirects in a separate file, which is "pulled in" by
the actual sitemap as an external entity

-Or to have an action/component, where every request is sent through and 
is acting
as an redirect/rewrite module (and maybe calling Cocoon again!!)

Any thoughts on this?

Thanks a lot in advance

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: Servlet generating an XML--->How to write the pipeline?

2002-08-03 Thread Michael Wechner



Skip Carter wrote:

>>I have a servlet which generates an xml file which in
>>turn should be transformed using xslt.How do I write
>>the pipeline for the same?
>>
>>Say the name of the servlet is check.class(where
>>should I place the class, in web-inf?), the name of
>>the xml file generated by the pipeline is test.xml and
>>the stylesheet used is test.xsl.How should my pipeline
>>look like?
>>
>
>  I handle this with any entry like the following in the main pipeline in 
>sitemap.xmap:
>
>
>  
>  
>   
>   
>   
>   http://myserver.com:8080{requestURI}{requestQ
>uery}" />
>   
>   
>   
>  
>
>
>  (If somebody has a good solution for POST I'd be interested in seeing it)
>

Please see the thread

http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=102728683118655&w=2

Hope that helps

Michael





>
>
>  My servlets are handled directly by tomcat (which is listening on port 
>8080), that way I can easily control
>  access to the "raw" servlet.  But you can have cocoon handle the servlet 
>instead by making the proper
>  entries in the cocoon WEB-INF/web.xml file, for example:
>
>   
>   
>  check
>  check
>   
>
>  
>  
>check
>/check
>  
>   
>
>   Your classes can go in WEB-INF/classes
>
>
>
>
>
>Skip
>
>
>



-
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: checking out xml source from CVS?

2002-08-03 Thread Michael Wechner



Steven Noels wrote:

> Jon Stewart wrote:
>
>> Hi -
>>
>> The development team I'm on is going to be writing a lot of 
>> documentation in the next few weeks. I'd like to use Cocoon for 
>> publishing our docs. However, we'll no doubt be keeping our docs 
>> under source control in CVS. Is there any way to for Cocoon's 
>> generators to do checkouts from CVS?
>
>
> Jon,
>
> have a look at Forrest - http://xml.apache.org/forrest/ - a project 
> documentation system built on top of Cocoon. It does support CVS - 
> automatically extracting sources from CVS and building them remotely. 
> I have a feeling it should be almost everything you're looking for. 

I didn't know that. That's good to know. I wanted to try out JCVS some 
weeks ago,
but never found the time. So I probably first try out the Forrest stuff.

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: Editing xml-file with cocoon, how?

2002-07-27 Thread Michael Wechner

I just realized that there is a project page on Cocoon
http://xml.apache.org/cocoon/link/projects.html
which also lists some "Editor applications"

Michael

Michael Wechner wrote:

> Maybe you want to check out Wyona (based on Cocoon), which has a 
> prototype of a generic Form Editor,
> or Callisto CMS, which is based on AxKit, but has also an Editor based 
> on XML and XSLT.
>
> All the best
>
> Michael
>
>
>
> [EMAIL PROTECTED] wrote:
>
>> Hello!
>>
>> I want to load an xml-file into the browser, edit it (adding, deleting,
>> changing elements), and transform the edited xml-file with xsl to html.
>>
>> Does someone know, how this problem could be solved with cocoon? 
>> Maybe with
>> JSP or XSP?
>> Maybe there is already software/code which goes in this direction?
>>
>> So in my eyes I have to do the following tasks:
>>
>> 1. Read the xml-file and transform it to readable html.
>> 2. Supply entry-fields (forms) where the user can change/remove/add 
>> elements
>>   based on the old xml-file.
>> 3. generate new xml file and transform it into html
>>
>> The problem is the first and second step.
>> Has someone an idea which technology I should use (Xsp?) and/or knows 
>> where
>> to find tutorials/code relating to that topic?
>>
>> *greets*
>>
>>
>
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>



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

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




Re: Editing xml-file with cocoon, how?

2002-07-27 Thread Michael Wechner

Maybe you want to check out Wyona (based on Cocoon), which has a 
prototype of a generic Form Editor,
or Callisto CMS, which is based on AxKit, but has also an Editor based 
on XML and XSLT.

All the best

Michael



[EMAIL PROTECTED] wrote:

>Hello!
>
>I want to load an xml-file into the browser, edit it (adding, deleting,
>changing elements), and transform the edited xml-file with xsl to html.
>
>Does someone know, how this problem could be solved with cocoon? Maybe with
>JSP or XSP?
>Maybe there is already software/code which goes in this direction?
>
>So in my eyes I have to do the following tasks:
>
>1. Read the xml-file and transform it to readable html.
>2. Supply entry-fields (forms) where the user can change/remove/add elements
>   based on the old xml-file.
>3. generate new xml file and transform it into html
>
>The problem is the first and second step.
>Has someone an idea which technology I should use (Xsp?) and/or knows where
>to find 
>tutorials/code relating to that topic?
>
>*greets*
>
>



-
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: Excel generator

2002-07-23 Thread Michael Wechner



Andrew C. Oliver wrote:

> But the more important part of my answer was "What do you want on your 
> generator, and
> what do you wish you had on your serializer  --  would you like fries 
> too?"  Meaning I need ideas!  I'm on the fence,  I want some input. 


I have a friend, and unfortunately he doesn't know about XML and doens't 
want
to learn how to work with (maybe he shouldn't be my friend ;-), but he 
loves Excel.

I don't want to work with Excel (maybe I should't be his friend ;-) 
because I want to
use XML.

Well, that's how it is. BUT, we want to collaborate nevertheless!

Therefore I thought it would be nice if he is sending me his Excel and I 
generate an XML,
which I can modify , and then I serialize it back into Excel, such that 
he can work on it.

Thanks

Michael


>
>
> -Andy
>
> Sven Kuenzler wrote:
>
>>> Is there an Excel Generator, which creates *from* an Excel (xls) file
>>> some XML? Or what approach would you take to convert existing Excel
>>> documents into some useful XML?
>>
>>
>>
>> I think the previous responses missed the *from* (my emphasis) :-)
>> So, read Andy's answer on the dev list. In short: No, there is no 
>> HSSFGenerator (yet).
>>
>> Sven
>>
>>
>>
>>
>> -
>> 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: Excel generator

2002-07-23 Thread Michael Wechner

That would certainly be a possible work-around

Thanks a lot

Michael


Litrik De Roy wrote:

>FYI,
>
>This is how I integrate some Excel spreadsheets in a (fairly static) web
>site. The data (tennis results) is sent to me as an Excel spreadsheet. (This
>is is far from perfect but at least it is better than a table in an MS Word
>document. :-)
>
>1) The old way (Before Cocoon, data in Excel 97)
>
>Before Cocoon, I had all documents for the site as xml documents sitting on
>my harddisk. Using Xalan, I applied a stylesheet to convert everything into
>HTML. I saved the spreadsheet (made in Excel 97) to HTML and simply
>copy/pasted everything in the HTML documents that needed the information.
>The result was an HTML table that did not really look like the Excel
>spreadsheet but at least all the data was there and it did not have fixed
>sizes for cells, so everything resized nicely according to the browser
>window.
>
>2) The new way (Using Cocoon, data in Excel 2000)
>
>I still get data in Excel, but now in Excel 2000 instead of Excel 97. The
>problem is that the 'Save as HTML' of Excel 2000 is way too smart. It saves
>every bit of information about the layout of the sheet so it can be
>recreated when opened again in Excel. But it is a lot harder to get 'just'
>the data. My solution for this is to 'cinclude' the HTML version of the
>spreadsheet AFTER applying a stylesheet that removes some HTML/CSS
>information that defines the fixed size.
>
>The following XSLT snippet is all that is required to remove some of the
>unwanted HTML/CSS:
>
>  
>
>cellpadding="0" border="0" str="x:str">
>
>
>  
>
>The result is an HTML table that does resize nicely but still looks like the
>original Excel 2000 version. A static version is available at
>http://users.skynet.be/litrik/rolmite/en/gv_palmares.html
>
>PS: I did look at the POI project but figured out it would be overkill for
>the stuff I am trying to do.
>
>Just sharing my experience...
>
>Litrik De Roy
>www.litrik.com
>
>
>- Original Message -
>From: "Sven Kuenzler" <[EMAIL PROTECTED]>
>Newsgroups: gmane.text.xml.cocoon.user
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, July 23, 2002 2:57 PM
>Subject: Re: Excel generator
>
>
>>>Is there an Excel Generator, which creates *from* an Excel (xls) file
>>>some XML? Or what approach would you take to convert existing Excel
>>>documents into some useful XML?
>>>
>>I think the previous responses missed the *from* (my emphasis) :-)
>>So, read Andy's answer on the dev list. In short: No, there is no
>>HSSFGenerator (yet).
>>
>>Sven
>>
>>
>>
>>
>>-
>>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]>




Excel generator

2002-07-22 Thread Michael Wechner

Hi

Is there an Excel Generator, which creates from an Excel (xls) file
some XML? Or what approach would you take to convert existing Excel
documents into some useful XML?

Thanks  a lot

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: pulling content - reader vs. generator + serializer

2002-07-22 Thread Michael Wechner



gv wrote:

>I'm pulling some existing web page content into my
>Cocoon app by simply mapping a URI in Cocoon to an
>HTTP URI. I'm using a Reader with the mime-type set to
>"text/html"; works fine. I also tried a FileGenerator
>and Serializer, both type "html", which also works.
>Which is the preferred way to handle this, and are
>there significant advantages/disadvantages to either
>approach?
>

I think the Reader is faster. The FileGenerator actually "needs" XHTML,
(e.g.  instead of ). Which means I would use the Reader if you 
just
want to pull through common HTML, or even better use Apache (or Tomcat) 
itself,
which is even faster.

But please better let my statements be confirmed.

Michael

>
>
>Thanks,
>John
>
>
>__
>Do You Yahoo!?
>Yahoo! Health - Feel better, live better
>http://health.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: ServletProxyGenerator

2002-07-18 Thread Michael Wechner



Ivelin Ivanov wrote:

>Sounds similar to the recently contributed WebServiceProxyGenerator.
>
>Check it. Maybe you can add improvements instead of writing a new component
>with overlapping functionality:
>

That's right. I will check it out.

Thanks a lot

Michael


>
>
>http://www.mail-archive.com/cocoon-dev@xml.apache.org/msg19390.html
>
>
>Ivelin
>
>
>- Original Message -
>From: "Michael Wechner" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Tuesday, July 16, 2002 10:46 AM
>Subject: ServletProxyGenerator
>
>
>>Hi
>>
>>I am currently working on a ServletProxyGenerator:
>>
>>++   ++   +-+
>>|| > | Cocoon:| > | |
>>| Client |   | ServletProxyGenerator: |   | Servlet |
>>|| < | HttpClient | < | |
>>++   ++   +-+
>>
>>with the goal to connect some "legacy servlets" and being able to
>>pipe them through Cocoon.
>>
>>Actually the ServletProxyGenerator doesn't do a lot. It is just creating
>>an HttpClient (org.apache.commons.http) and "forwarding" all parameters
>>(POST) and
>>the QueryString (GET) from the original client to the HttpClient being
>>instanced within the ServletProxyGenerator.
>>
>>It is working very fine so far. I now wanted to connect some servlets
>>which need the session of the original client, which means I started to
>>transfer all Cookies into the HttpClient.
>>
>>The problem now is, that the servlet still doesn't find the session!
>>
>>Does anyone have experience with these kind of stuff: Passing cookies
>>from one client to another?
>>
>>Thanks for your help and comments
>>
>>Michael
>>
>>P.S.: If the ServletProxyGenerator is of any use for the Cocoon
>>community, then I would be happy to donate it.
>>
>>
>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, email: [EMAIL PROTECTED]
>>
>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>



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

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




Re: AW: ServletProxyGenerator

2002-07-17 Thread Michael Wechner



Ewert, Sven wrote:

> is your generic-servlet a "single thread" servlet?





No, not that I know. Just a common "HelloWorld" servlet for testing
purposes:

public class HelloWorld extends HttpServlet {


(or how do I recognize a "single thread" servlet?)

Thanks

Michael




> 
> cheerz
> 
> sven
> 
> -Ursprüngliche Nachricht-
> Von: Michael Wechner [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 16. Juli 2002 17:47
> An: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Betreff: ServletProxyGenerator
> 
> 
> Hi
> 
> I am currently working on a ServletProxyGenerator:
> 
> ++   ++   +-+
> || > | Cocoon:| > | |
> | Client |   | ServletProxyGenerator: |   | Servlet |
> || < | HttpClient | < | |
> ++   ++   +-+
> 
> with the goal to connect some "legacy servlets" and being able to
> pipe them through Cocoon.
> 
> Actually the ServletProxyGenerator doesn't do a lot. It is just creating
> an HttpClient (org.apache.commons.http) and "forwarding" all parameters
> (POST) and
> the QueryString (GET) from the original client to the HttpClient being
> instanced within the ServletProxyGenerator.
> 
> It is working very fine so far. I now wanted to connect some servlets
> which need the session of the original client, which means I started to
> transfer all Cookies into the HttpClient.
> 
> The problem now is, that the servlet still doesn't find the session!
> 
> Does anyone have experience with these kind of stuff: Passing cookies
> from one client to another?
> 
> Thanks for your help and comments
> 
> Michael
> 
> P.S.: If the ServletProxyGenerator is of any use for the Cocoon
> community, then I would be happy to donate it.
> 
> 
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 



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

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




Re: AW: ServletProxyGenerator

2002-07-16 Thread Michael Wechner



Ewert, Sven wrote:

> is your generic-servlet a "single thread" servlet?






No, not that I know. Just a common "HelloWorld" servlet for testing
purposes:

public class HelloWorld extends HttpServlet {


(or how do I recognize a "single thread" servlet?)

Thanks

Michael


P.S.: Sorry for taking such a long time to answer, but we have
a DNS problem at our office and the emails bounce for whatever reason


> 
> cheerz
> 
> sven
> 
> -Ursprüngliche Nachricht-
> Von: Michael Wechner [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 16. Juli 2002 17:47
> An: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Betreff: ServletProxyGenerator
> 
> 
> Hi
> 
> I am currently working on a ServletProxyGenerator:
> 
> ++   ++   +-+
> || > | Cocoon:| > | |
> | Client |   | ServletProxyGenerator: |   | Servlet |
> || < | HttpClient | < | |
> ++   ++   +-+
> 
> with the goal to connect some "legacy servlets" and being able to
> pipe them through Cocoon.
> 
> Actually the ServletProxyGenerator doesn't do a lot. It is just creating
> an HttpClient (org.apache.commons.http) and "forwarding" all parameters
> (POST) and
> the QueryString (GET) from the original client to the HttpClient being
> instanced within the ServletProxyGenerator.
> 
> It is working very fine so far. I now wanted to connect some servlets
> which need the session of the original client, which means I started to
> transfer all Cookies into the HttpClient.
> 
> The problem now is, that the servlet still doesn't find the session!
> 
> Does anyone have experience with these kind of stuff: Passing cookies
> from one client to another?
> 
> Thanks for your help and comments
> 
> Michael
> 
> P.S.: If the ServletProxyGenerator is of any use for the Cocoon
> community, then I would be happy to donate it.
> 
> 
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 



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

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




ServletProxyGenerator

2002-07-16 Thread Michael Wechner

Hi

I am currently working on a ServletProxyGenerator:

++   ++   +-+
|| > | Cocoon:| > | |
| Client |   | ServletProxyGenerator: |   | Servlet |
|| < | HttpClient | < | |
++   ++   +-+

with the goal to connect some "legacy servlets" and being able to
pipe them through Cocoon.

Actually the ServletProxyGenerator doesn't do a lot. It is just creating
an HttpClient (org.apache.commons.http) and "forwarding" all parameters
(POST) and
the QueryString (GET) from the original client to the HttpClient being
instanced within the ServletProxyGenerator.

It is working very fine so far. I now wanted to connect some servlets
which need the session of the original client, which means I started to
transfer all Cookies into the HttpClient.

The problem now is, that the servlet still doesn't find the session!

Does anyone have experience with these kind of stuff: Passing cookies
from one client to another?

Thanks for your help and comments

Michael

P.S.: If the ServletProxyGenerator is of any use for the Cocoon
community, then I would be happy to donate it.




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




[ANNOUNCEMENT] Second Open Content Management Conference

2002-07-10 Thread Michael Wechner

Dear Group

OSCOM is organizing the Second Open Source Content
Management Conference in Berkeley, California, USA, from 25 - 27
September 2002. Registration for this second conference is now open. For
more details see
http://www.oscom.org/conferences/sanfrancisco2002/index.html

Cocoon will be represented by DBPrism and Wyona.

Ted Nelson will give the keynote.

BTW: OSCOM is powered by Cocoon

Please spread the word about this new conference and help us make it a
success.

Thanks a lot

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: XInclude/CInclude Issue (Re: including dynamic data with XMLForm)

2002-07-08 Thread Michael Wechner

oh, I am sorry, I made another mistake, you can't use the cocoon 
protocol (or any) within the href. You have to do it as follows:



or for instance:

http://www.cmswatch.com"; href="/RSS/cmswatch.xml"/>

I mixed that up because I am currently using my own XInclude Processor, 
where I can use the protocol within the href.
In the case of the Cocoon version you have to use xml:base.
If you do not use it, then it will always assume that you are looking 
for a file.
I never checked if that is because the W3C recommendation is saying that 
or for whatever reason.

All the best

Michael







Andrew C. Oliver wrote:

> Thanks but XInclude really likes files:
> 
> org.apache.cocoon.ResourceNotFoundException: Resource not found.:
> org.apache.excalibur.source.SourceNotFoundException: Resource not found
> 
>file:/opt/tomcat/webapps/cocoon/samples/bringmethis/content/form/cocoon:/categories_combo.xml
> 
> 
> 
> On Mon, 2002-07-08 at 00:38, Michael Wechner wrote:
> 
>>>>>href="cocoon:/categories_combo.xml#xpointer(xformcategories/*)"
>>>parse="xml"/>
>>>
>>>Perhaps you forget the 'parse' attribute?
>>>
>>
>>
>>XInclude supports the cocoon protocol and XPointer. As I know CInclude
>>does not support XPointer (which you already said, sorry), which would 
>>mean you have to use XInclude. I don't think you need the parse 
>>attribute but rather fix the XInclude call:
>>
>>>href="cocoon:/action/categories_combo.xml#xpointer(/xformcategories/*)"/>
>>
>>The other problem I think is why are you serializing 
>>categories_combo.xml as HTML instead of XML?
>>
>>
> 
> good point.  changed that. (it was so it was easy to debug when I wrote
> the stylesheet).
> 
> 
>>Hope I am not more confusing than I actually intend to help
>>
>>Michael
>>
>>
> 
> I appreciate it!
> 
> 
> Thanks,
> 
> Andy
> 
> 
>>
>>-
>>Please check that your question  has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>



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

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




Re: XInclude/CInclude Issue (Re: including dynamic data with XMLForm)

2002-07-07 Thread Michael Wechner


> 
>  href="cocoon:/categories_combo.xml#xpointer(xformcategories/*)"
> parse="xml"/>
> 
> Perhaps you forget the 'parse' attribute?



XInclude supports the cocoon protocol and XPointer. As I know CInclude
does not support XPointer (which you already said, sorry), which would 
mean you have to use XInclude. I don't think you need the parse 
attribute but rather fix the XInclude call:



The other problem I think is why are you serializing 
categories_combo.xml as HTML instead of XML?

Hope I am not more confusing than I actually intend to help

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: Feature of esql:get-xml?

2002-07-06 Thread Michael Wechner



Diana Shannon wrote:

> 
> On Friday, July 5, 2002, at 07:04  AM, Christian Haul wrote:
> 
>>> ok, I started to write a little docu on the usage of hsqldb and esql:
>>> http://194.191.122.220:8080/wyona-cms/docs/xdocs/hsqldb.html
>>>
>>> Maybe people from Cocoon can use certain parts of it if they want
>>>
> 
> Thanks! Just let us know when you think it's more or less finished, and 
> we'll add it to the Cocoon documentation. Submit a patch via Bugzilla. 
> Check the How-Tos if you don't know how. Post to the list if you have 
> any problems submitting.


ok, I will do that. If people have some input with regard to content, 
just let me know.

Michael


> 
> Thanks.
> 
> Diana
> 
> 
> -
> 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: Multiple Instances / Second does not serve data...

2002-07-05 Thread Michael Wechner

Have you really changed all ports?

8080 (conf/server.xml)
8008 (conf/server.xml)
8005 (conf/server.xml)
9002  (WEB-INF/cocoon.xconf)

Maybe you want to use "nmap" or some other port scanning tool.

Hope that helps

Michael



Alexander Schatten wrote:

> I am not sure, whether this is a Cocoon core topic, I would say, it is 
> moreless a Tomcat problem? so maybe anyone has an idea either:
> 
> for our test server I wanted to run two parallel Cocoon instances on one 
> Linux server on different ports:
> 
> (1) I made two directories each containing the same tomcat/cocoon version
> 
> (2) I started the first one on port 9000 (changed Connector port=9000 
> and server port to 8005). This one runs, and serves correctly
> 
> (3) the second one is set to port 8080 (default) and the server port to 
> 8010
> 
> (4) I start the second one.
> 
> 
> both seem to run, and I also can shutdown both correctly, but only port 
> 9000 (the first one) serves data (Tomcat, as well as cocoon), to the 
> second one on port 8080 the browser is connecting (no error message), 
> but no data is served...
> 
> 
> any ideas?
> 
> 
> thank you in advance!
> 
> 
> Alex
> 
> 
> -
> 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 and OpenCMS?

2002-06-14 Thread Michael Wechner



Derek Hohls wrote:

> Thanks
> 
> It seems like Wyona is pretty quite tho' - no updates since
> January (and 6 months is a long time in the web-world)
> and the documentation there is very thin... is this
> project still active?? - 


Oh yes, it's very active. But you are definitely right,
the website is totally outdated. Check out the mailing lists
archive or even subscribe to the mailing list, then you will see.

All the best

Michael





at least OpenCMS seems like a 
> thriving development (as is Cocoon!)
> 
> Derek
> 
> 
[EMAIL PROTECTED] 14/06/2002 11:08:06 >>>

> Dear Derek
> 
> If you are looking for a CMS based on Cocoon, then you might be
> interested in Wyona http://www.wyona.org.
> 
> There will also be a conference on Open Source Content Management
> this September in San Francisco: http://www.oscom.org 
> 
> All the best
> 
> Michael
> 
> 
> 
> Derek Hohls wrote:
> 
> 
>>a quick question (I know the answer may be more difficult ;-):
>>
>>what is the relationship - if any - between OpenCMS 
>>http://www.opencms.org/opencms/opencms/index.html 
>>and Cocoon - it seems there are some overlaps - yet
>>perhaps the focus of each is different - and lots of the 
>>'buzzwords' seem similar - Velocity; Struts; JSP; Tomcat etal
>>
>>can these systems be 'integrated' - if so, how? and 
>>what, if any, roles could each play?
>>
>>i appreciate there is not a *specific* question i am asking here
>>but CMS is an issue for me at present, and i wondering if
>>i will have to learn yet-another-package - or can i keep building
>>on what i have learnt so far?
>>
>>any thoughts/comment would be welcome
>>
>>derek
>>
>>ps - i am especially curious re the role of JSP; OpenCMS
>>seems to be adopting it only now - yet from a Cocoon 
>>perspective, might that not be a move backwards??
>>
>>
>>
> -
> 
>>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]>




Re: Cocoon and OpenCMS?

2002-06-14 Thread Michael Wechner

Dear Derek

If you are looking for a CMS based on Cocoon, then you might be
interested in Wyona http://www.wyona.org.

There will also be a conference on Open Source Content Management
this September in San Francisco: http://www.oscom.org

All the best

Michael



Derek Hohls wrote:

> a quick question (I know the answer may be more difficult ;-):
> 
> what is the relationship - if any - between OpenCMS 
> http://www.opencms.org/opencms/opencms/index.html
> and Cocoon - it seems there are some overlaps - yet
> perhaps the focus of each is different - and lots of the 
> 'buzzwords' seem similar - Velocity; Struts; JSP; Tomcat etal
> 
> can these systems be 'integrated' - if so, how? and 
> what, if any, roles could each play?
> 
> i appreciate there is not a *specific* question i am asking here
> but CMS is an issue for me at present, and i wondering if
> i will have to learn yet-another-package - or can i keep building
> on what i have learnt so far?
> 
> any thoughts/comment would be welcome
> 
> derek
> 
> ps - i am especially curious re the role of JSP; OpenCMS
> seems to be adopting it only now - yet from a Cocoon 
> perspective, might that not be a move backwards??
> 
> -
> 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 and Struts model 2x

2002-06-14 Thread Michael Wechner

Dear Sylvain

I don't have experience with Struts and Cocoon combined, but I recently
had a discussion with people from Canoo which built something similar to 
Struts: http://www.canoo.com/products/webapp.html
They developed their WebApp Java Framework together with Credit Suissse.
Unfortunately they never tried to merge their software with Struts.
I am a big fan of Cocoon, but during the discussion I realized how 
powerfull it could be to use their framework resp. Struts for 
presentation logic (e.g. generation of navigation, tables etc.) together 
with Cocoon. The integration would probably quite simple: just create a
StrutsGenerator which is generating XML! But I never tried it out,
so maybe it's not that simple.

All the best

Michael




[EMAIL PROTECTED] wrote:

> Hello,
> 
> Anyone has implemented a web application with Struts model 2x and Cocoon??
> 
> I thought to start a project with this architecture:
> 
> Middleware: J2EE EJB server (JBoss) with Tomcat Servlet container. EJB classes to 
>access to the data and more.
> 
> Web front-end: Struts model 2x and Cocoon. Struts model 2x to have a MVC framework 
>which generate XML pages and Cocoon to process the XML pages to any format (HTML, 
>WML, PDF, etc...).
> 
> 
> Has anyone an experience of it??
> 
> 
> Thank you
> Sylvain
> 
> -
> 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: rdf from Slashdot and Freshmeat

2002-04-08 Thread Michael Wechner

Roman, thanks a lot for your help.

It works by using an invented namespace "n-rdf" (as you suggested):

http://www.w3.org/1999/02/22-rdf-syntax-ns#
xmlns:n-rdf="http://my.netscape.com/rdf/simple/0.9/";>

All the best

Michael





KOZLOV Roman wrote:

> Hi Michael,
> 
> Try to put the rdf namespace declaration in stylesheet tag like this:
> http://my.netscape.com/rdf/simple/0.9/";>
> 
> and then in your xsl templates refer to elements from this namespace with rdf: 
>prefix:
> 
> 
> PS: Of course, you can declare it with another prefix.
> 
> Hope it helps.
> 
> Best regards
> Roman
> 
> Michael Wechner wrote:
> 
> 
>>Hi
>>
>>I would like to use the rdf from Slashdot and Freshmeat via XInclude.
>>http://www.slashdot.org/slashdot.rdf
>>http://www.freshmeat.net/backend/fm.rdf
>>
>>Everything works fine except that the following declaration
>>
>>xmlns="http://my.netscape.com/rdf/simple/0.9/";
>>
>>within these document makes a lot of trouble. First of all
>>the XSLT transformer just doesn't seem to match anything if the
>>declaration is present. When I remove it, everything works fine.
>>The other thing is when the bracket > is on a new line then the
>>XML Serialzer seems to remove the declaration. When the bracket >
>>is on the same line, then it will stay there.
>>
>>Pretty strange everything.
>>
>>Did anybody xinclude this stuff before?
>>
>>Thanks
>>
>>Michael
>>
>>Michael Wechner wrote:
>>
>>
>>>For us mod_proxy seems to work quite alright so far, except for
>>>the following problems:
>>>1) Referer which are used for later redirection (held within session)
>>>2) Absolute URL's within pages
>>>3) Absolute Path to images
>>>
>>>We are currently resolving these problems by setting on the Cocoon side
>>>some rules how these URL's have to be "rewritten" in case the
>>>publication is viewed via proxy. But it's not very elegant (Although
>>>other applications such as for instance Zope seem to have the same
>>>problem).
>>>
>>>Maybe we just need some more experience:-)
>>>
>>>Michael
>>>
>>>giacomo wrote:
>>>
>>>
>>>>On Thu, 4 Apr 2002, Michael Wechner wrote:
>>>>
>>>>
>>>>
>>>>>Did you try mod_proxy?
>>>>>
>>>>>You will find some notes at
>>>>>
>>>>>http://www.wyona.org/docs/wyona-cms-docs/integrator-guide/virtual-server/proxy-apache.html
>>>>>
>>>>>
>>>>>
>>>>We had some issues with ProxyPass (I don't remember right now what it
>>>>was) and used both like this:
>>>>
>>>>RewriteRule ^/cocoon/(.*)$ http://cocoonhost:8080/cocoon/$1 [P,L]
>>>>ProxyPassReverse  /cocoon/ http://cocoonhost:8080/cocoon/
>>>>
>>>>Giacomo
>>>>
>>>>
>>>>
>>>>>All the best
>>>>>
>>>>>Michael
>>>>>
>>>>>
>>>>>
>>>>>Liam Morley wrote:
>>>>>
>>>>>
>>>>>
>>>>>>I read up on working with mod_rewrite in the Cocoon FAQ, and I'm
>>>>>>having a
>>>>>>bit of a hard time getting mod_rewrite to cooperate with my sessions.
>>>>>>
>>>>>>I've got the following in my Apache httpd.conf:
>>>>>>
>>>>>>RewriteEngine On
>>>>>>RewriteLog "E:/rewrite.log"
>>>>>>RewriteLogLevel 3
>>>>>>RewriteRule /cms/(.*) /cocoon/cms/$1 [PT]
>>>>>>
>>>>>>
>>>>>>Each time the page is visited, a new session ID is created. After
>>>>>>checking
>>>>>>the logs, I noticed that the JSESSIONID isn't getting passed when using
>>>>>>mod_rewrite. Here's an excerpt from the log without using mod_rewrite:
>>>>>>
>>>>>>PARAM: 'cookie' VALUES: '[JSESSIONID=A897E11152D430961782D5C9D9E67211;
>>>>>>CMSUSER=mMsjah1coqlTGONdauaj1HrXi%2Fi2nT0lSZBixdwP%2BwQ%3D]'
>>>>>>PARAM: 'connection' VALUES: '[Keep-Alive]'
>>>>>>PARAM: 'accept-encoding' VALUES: '[gzip, deflate]'
>>>>>>PARAM: 'referer' VALUES:
>&

Re: cocoon 2 load

2002-04-06 Thread Michael Wechner

There was current thread on load at

http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101793101732240&w=2

All the best

Michael




Sven Ewert wrote:

> hi all,
> did somebody does a stress test on cocoon 2?
> 
> ive flooded a simple application over a 100 mbit connection.
> ca. 10 seconds.
> 
> the result was pure horror.
> hunderts of java vms where startet
> and tomcat screams an loop exception.
> 
> 
> config:
> 
> 800 PIII
> 1gb ram
> cocoon 2
> tomcat 3.3.1
> jdk 1.4
> 
> cheers
> 
> sven
> 
> ---
> sven (e)wert
>!!!   ___
> ()_() `  _ _  ' <_*_>
> (o o)  -  (OXO)  -  (o o)
> ooO--`o'--Ooo-ooO--(_)--Ooo--8---(_)--Ooo-
>  (¯`·.¸(¯`·.¸ I`ll greetz you ¸.·´¯)¸.·´¯)
> "In a time of insanity, let a madman lead the way"
> 
> 
> -
> 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: Load test with ab

2002-04-05 Thread Michael Wechner

Sorry, didn't see your email. Ok, then I won't try 2.0.2 but rather
try the latest CVS version.

Thanks a lot for your help

Michael



Carsten Ziegeler wrote:

> We had the same problem, and it had to do with the MRUStore which is
> not thread safe in 2.0.1 and 2.0.2.
> 
> I suggest you try the latest cvs version which is (paranoid) synchronized.
> This solved our problem with a hanging (dead) Cocoon.
> 
> Carsten
> 
> 
>>-Original Message-
>>From: Michael Wechner [mailto:[EMAIL PROTECTED]]
>>Sent: Friday, April 05, 2002 2:08 PM
>>To: [EMAIL PROTECTED]
>>Subject: Re: Load test with ab
>>
>>
>>Where do I find sitemap_xmap.java? Within the work directory of Tomcat?
>>If so, then I can't tell, because I deleted it unfortunately.
>>But I can do another load test!
>>
>>Thanks for your help
>>
>>Michael
>>
>>
>>
>>Vadim Gritsenko wrote:
>>
>>
>>>What is in these lines?
>>>
>>>org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2099)
>>>org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2071)
>>>
>>>Vadim
>>>
>>>
>>>
>>>>-Original Message-
>>>>From: Michael Wechner [mailto:[EMAIL PROTECTED]]
>>>>Sent: Thursday, April 04, 2002 9:37 AM
>>>>To: [EMAIL PROTECTED]
>>>>Subject: Load test with ab
>>>>
>>>>Hi
>>>>
>>>>We did a load test of Cocoon 2.0.1 with "ab" from Apache.
>>>>
>>>>Everything is fine when we do Concurrency 1 or 3
>>>>(ab -n 10 -c 3)
>>>>and performance looks good (pretty much the same as Zope).
>>>>
>>>>But when we set Concurrency 10 we run into trouble.
>>>>Cocoon seems to stop running after a certain time and is throwing
>>>>various Exceptions. And it doesn't recover (to recover we have to
>>>>restart Tomcat).
>>>>
>>>>But Tomcat is still running perfectly althought Cocoon doesn't work
>>>>anymore.
>>>>
>>>>So I guess it must have something to do with Caching in the memory!
>>>>
>>>>Any help is very much appreciated.
>>>>
>>>>Thanks
>>>>
>>>>Michael
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>==> error.log.03 <==
>>>>ERROR   (2002-04-04) 16:33.01:693   [access] (/wyona-cms/)
>>>>HttpProcessor[8080][2]/CocoonServlet: Problem with servlet
>>>>java.lang.NullPointerException
>>>>at
>>>>org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2099)
>>>>at
>>>>org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2071)
>>>>at
>>>>
>>>>
>>>org.apache.cocoon.sitemap.Handler.process(Handler.java:173)
>>>
>>>
>>>>at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:115)
>>>>at
>>>>
>>>>
>>>>
>>>org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:144
>>>)
>>>
>>>
>>>>at org.apache.cocoon.Cocoon.process(Cocoon.java:605)
>>>>at
>>>>
>>>>
>>>>
>>>org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:795)
>>>
>>>
>>>>at
>>>>
>>>>
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>>
>>>
>>>>at
>>>>
>>>>
>>>>
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown
>>>
>>>
>>>>Source)
>>>>at
>>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown
>>>>
>>>>
>>>Source)
>>>
>>>
>>>>at
>>>>
>>>>
>>>org.apache.catalina.core.StandardWrapperValve.invoke(Unknown
>>>
>>>
>>>>Source)
>>>>at
>>>>
>>>>
>>>org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
>>>
>>>
>>>>Source)
>>>>at org.apache.catalina.core.StandardPipeline.invoke(Unknown
>>>>
>>>>
>>>Source)
>>>
>>>
>>>>at org.apache.catalina.core.Contain

Re: Load test with ab

2002-04-05 Thread Michael Wechner

There must be another reason in our case. We don't use Microsoft
and we don't use a database. In the case of our load test, everything 
was retrieved from the filesystem.

I will try Cocoon 2.0.2 over the weekend. Maybe that helps.

Michael



Nicola Ken Barozzi wrote:

> From: "Chris Warr" <[EMAIL PROTECTED]>
> 
>>Hi, I'm a bit of a newbie so go easy on me if I get things wrong.
>>
>>We're also having trouble with with cocoon under load.  We're running
>>
> under
> 
>>NT4 SP6a, Tomcat 4.0.3, Cocoon 2.0.2, and JDK 1.3.1.  We've got a webapp
>>that connects to an MSSQL Server 2000 db using Microsoft's jdbc driver, it
>>reads some XML from the db then uses FOP to generate a PDF.  The app works
>>fine under low load however once we beef it up to say 20 processes
>>
> querying
> 
>>concurrently  bad things happen.  Firstly we were using cocoon 2.0.1 as
>>
> you
> 
>>are and found after about 1500 hits cocoon would hang, as you found,
>>
> Tomcat
> 
>>was still okay, and even the sample webapps still run.  So it's our webapp
>>only that hangs.  THe last few days I've upgraded to Cocoon 2.0.2 and
>>haven't encountered the hang-up problem.  However I have a new problem,
>>after a random amount of time (the furthest I've got is 2500 hits, the
>>quickest was 100 hits) the jvm crashes.  I'm running Tomcat standalone in
>>
> a
> 
>>command prompt.  The error comes in a message box, something about a
>>reference to a null pointer (0x00), sorry I don't have the exact
>>
> message
> 
>>handy, trying to replicate but it takes a while to get to the problem
>>numbers.  Anyone else seen this, would upgrading to Tomcat 4.0.4b2 or JVM
>>1.4 help at all.  To use 1.4 do I need to rebuild cocoon, or just run it
>>
> all
> 
>>with jvm 1.4?
>>
> 
> I've had the same problems with many versions of Tomcat, Cocoon, and JDK.
> The problem is the Microsoft drivers and (in the case of Access) the
> JDBC-ODBC bridge driver.
> 
> Never use the bridge in a production environment; we had crashes when simply
> closing connections!
> 
> Also, Microsofts driver limits in some way the performance:
> http://www.eweek.com/article/0,3658,s=708&a=23115,00.asp
> 
> "
> Out of all the drivers we used, Microsoft's new JDBC driver had the most
> problems. It's still a beta driver in the form distributed on Microsoft's
> Web site, but it's not a new product per se, because it's based on code
> licensed from DataDirect Technologies Inc., which has had the leading
> third-party SQL Server JDBC driver for some years now.
> Providing and supporting its own JDBC driver is a very welcome move, and
> Microsoft officials informed us last month that they had 70,000 downloads of
> the driver so far, so there is considerable customer interest in it.
> However, the driver, in both Beta 1 and Beta 2 forms (we tested both), has
> serious performance and stability problems.
> Using the driver, we were unable to get more than about 200-page-per-second
> throughput, and the problem was clearly the driver-the database was only at
> about 15 percent to 20 percent CPU utilization at this load. The driver also
> has memory leaks: We could see on WebLogic's administration console that
> less memory was freed each time the Java virtual machine did a garbage
> collection. Because of these leaks, the Microsoft JDBC driver was unable to
> run for 8 hours straight.
> "
> 
> You should change driver (see 3rd party) od DB ;-)
> 
> --
> Nicola Ken Barozzi   [EMAIL PROTECTED]
> - verba volant, scripta manent -
>(discussions get forgotten, just code remains)
> -
> 
> 
> -
> 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: Load test with ab

2002-04-05 Thread Michael Wechner

Where do I find sitemap_xmap.java? Within the work directory of Tomcat?
If so, then I can't tell, because I deleted it unfortunately.
But I can do another load test!

Thanks for your help

Michael



Vadim Gritsenko wrote:

> What is in these lines?
> 
> org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2099)
> org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2071)
> 
> Vadim
> 
> 
>>-Original Message-
>>From: Michael Wechner [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, April 04, 2002 9:37 AM
>>To: [EMAIL PROTECTED]
>>Subject: Load test with ab
>>
>>Hi
>>
>>We did a load test of Cocoon 2.0.1 with "ab" from Apache.
>>
>>Everything is fine when we do Concurrency 1 or 3
>>(ab -n 10 -c 3)
>>and performance looks good (pretty much the same as Zope).
>>
>>But when we set Concurrency 10 we run into trouble.
>>Cocoon seems to stop running after a certain time and is throwing
>>various Exceptions. And it doesn't recover (to recover we have to
>>restart Tomcat).
>>
>>But Tomcat is still running perfectly althought Cocoon doesn't work
>>anymore.
>>
>>So I guess it must have something to do with Caching in the memory!
>>
>>Any help is very much appreciated.
>>
>>Thanks
>>
>>Michael
>>
>>
>>
>>
>>
>>
>>==> error.log.03 <==
>>ERROR   (2002-04-04) 16:33.01:693   [access] (/wyona-cms/)
>>HttpProcessor[8080][2]/CocoonServlet: Problem with servlet
>>java.lang.NullPointerException
>> at
>>org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2099)
>> at
>>org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2071)
>> at
>>
> org.apache.cocoon.sitemap.Handler.process(Handler.java:173)
> 
>> at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:115)
>> at
>>
>>
> org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:144
> )
> 
>> at org.apache.cocoon.Cocoon.process(Cocoon.java:605)
>> at
>>
>>
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:795)
> 
>> at
>>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 
>> at
>>
>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown
> 
>>Source)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown
>>
> Source)
> 
>> at
>>
> org.apache.catalina.core.StandardWrapperValve.invoke(Unknown
> 
>>Source)
>> at
>>
> org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
> 
>>Source)
>> at org.apache.catalina.core.StandardPipeline.invoke(Unknown
>>
> Source)
> 
>> at org.apache.catalina.core.ContainerBase.invoke(Unknown
>>
> Source)
> 
>> at
>>
> org.apache.catalina.core.StandardContextValve.invoke(Unknown
> 
>>Source)
>> at
>>
> org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
> 
>>Source)
>> at org.apache.catalina.core.StandardPipeline.invoke(Unknown
>>
> Source)
> 
>> at org.apache.catalina.core.ContainerBase.invoke(Unknown
>>
> Source)
> 
>> at org.apache.catalina.core.StandardContext.invoke(Unknown
>>
> Source)
> 
>> at org.apache.catalina.core.StandardHostValve.invoke(Unknown
>>Source)
>> at
>>
> org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
> 
>>Source)
>> at
>>org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
>> at
>>
> org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
> 
>>Source)
>> at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown
>>Source)
>> at
>>
> org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
> 
>>Source)
>> at org.apache.catalina.valves.AccessLogValve.invoke(Unknown
>>
> Source)
> 
>> at
>>
> org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
> 
>>Source)
>> at org.apache.catalina.core.StandardPipeline.invoke(Unknown
>>
> Source)
> 
>> at org.apache.catalina.core.ContainerBase.invoke(Unknown
>>
> Source)
> 
>> at
>>
> org.apache.catalina.core.StandardEngineValve.invoke(Unknown
> 
>>Source)
>> at
>>
> org.apache.catalina.core.Stand

rdf from Slashdot and Freshmeat

2002-04-04 Thread Michael Wechner


Hi

I would like to use the rdf from Slashdot and Freshmeat via XInclude.
http://www.slashdot.org/slashdot.rdf
http://www.freshmeat.net/backend/fm.rdf

Everything works fine except that the following declaration

xmlns="http://my.netscape.com/rdf/simple/0.9/";

within these document makes a lot of trouble. First of all
the XSLT transformer just doesn't seem to match anything if the
declaration is present. When I remove it, everything works fine.
The other thing is when the bracket > is on a new line then the
XML Serialzer seems to remove the declaration. When the bracket >
is on the same line, then it will stay there.

Pretty strange everything.

Did anybody xinclude this stuff before?

Thanks

Michael


Michael Wechner wrote:

> For us mod_proxy seems to work quite alright so far, except for
> the following problems:
> 1) Referer which are used for later redirection (held within session)
> 2) Absolute URL's within pages
> 3) Absolute Path to images
> 
> We are currently resolving these problems by setting on the Cocoon side
> some rules how these URL's have to be "rewritten" in case the 
> publication is viewed via proxy. But it's not very elegant (Although
> other applications such as for instance Zope seem to have the same 
> problem).
> 
> Maybe we just need some more experience:-)
> 
> Michael
> 
> giacomo wrote:
> 
>> On Thu, 4 Apr 2002, Michael Wechner wrote:
>>
>>
>>> Did you try mod_proxy?
>>>
>>> You will find some notes at
>>>
>>> 
>http://www.wyona.org/docs/wyona-cms-docs/integrator-guide/virtual-server/proxy-apache.html
> 
>>>
>>>
>>
>> We had some issues with ProxyPass (I don't remember right now what it
>> was) and used both like this:
>>
>> RewriteRule ^/cocoon/(.*)$ http://cocoonhost:8080/cocoon/$1 [P,L]
>> ProxyPassReverse  /cocoon/ http://cocoonhost:8080/cocoon/
>>
>> Giacomo
>>
>>
>>> All the best
>>>
>>> Michael
>>>
>>>
>>>
>>> Liam Morley wrote:
>>>
>>>
>>>> I read up on working with mod_rewrite in the Cocoon FAQ, and I'm 
>>>> having a
>>>> bit of a hard time getting mod_rewrite to cooperate with my sessions.
>>>>
>>>> I've got the following in my Apache httpd.conf:
>>>>
>>>> RewriteEngine On
>>>> RewriteLog "E:/rewrite.log"
>>>> RewriteLogLevel 3
>>>> RewriteRule /cms/(.*) /cocoon/cms/$1 [PT]
>>>>
>>>>
>>>> Each time the page is visited, a new session ID is created. After 
>>>> checking
>>>> the logs, I noticed that the JSESSIONID isn't getting passed when using
>>>> mod_rewrite. Here's an excerpt from the log without using mod_rewrite:
>>>>
>>>> PARAM: 'cookie' VALUES: '[JSESSIONID=A897E11152D430961782D5C9D9E67211;
>>>> CMSUSER=mMsjah1coqlTGONdauaj1HrXi%2Fi2nT0lSZBixdwP%2BwQ%3D]'
>>>> PARAM: 'connection' VALUES: '[Keep-Alive]'
>>>> PARAM: 'accept-encoding' VALUES: '[gzip, deflate]'
>>>> PARAM: 'referer' VALUES: 
>>>> '[http://localhost/cocoon/cms/info/mission.html]'
>>>> PARAM: 'accept' VALUES: '[image/gif, image/x-xbitmap, image/jpeg,
>>>> image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint,
>>>> application/msword, */*]'
>>>> PARAM: 'accept-language' VALUES: '[en-us]'
>>>> PARAM: 'user-agent' VALUES: '[Mozilla/4.0 (compatible; MSIE 6.0; 
>>>> Windows
>>>> NT 5.1; Q312461)]'
>>>> PARAM: 'host' VALUES: '[localhost]'
>>>>
>>>> And here's what happens when I use mod_rewrite:
>>>> PARAM: 'cookie' VALUES:
>>>> '[CMSUSER=mMsjah1coqlTGONdauaj1HrXi%2Fi2nT0lSZBixdwP%2BwQ%3D]'
>>>> PARAM: 'connection' VALUES: '[Keep-Alive]'
>>>> PARAM: 'accept-encoding' VALUES: '[gzip, deflate]'
>>>> PARAM: 'referer' VALUES: 
>>>> '[http://localhost/cms/news/news_story_1.html]'
>>>> PARAM: 'accept' VALUES: '[*/*]'
>>>> PARAM: 'accept-language' VALUES: '[en-us]'
>>>> PARAM: 'user-agent' VALUES: '[Mozilla/4.0 (compatible; MSIE 6.0; 
>>>> Windows
>>>> NT 5.1; Q312461)]'
>>>> PARAM: 'host' VALUES:

Re: working with mod_rewrite

2002-04-04 Thread Michael Wechner

For us mod_proxy seems to work quite alright so far, except for
the following problems:
1) Referer which are used for later redirection (held within session)
2) Absolute URL's within pages
3) Absolute Path to images

We are currently resolving these problems by setting on the Cocoon side
some rules how these URL's have to be "rewritten" in case the 
publication is viewed via proxy. But it's not very elegant (Although
other applications such as for instance Zope seem to have the same problem).

Maybe we just need some more experience:-)

Michael

giacomo wrote:

> On Thu, 4 Apr 2002, Michael Wechner wrote:
> 
> 
>>Did you try mod_proxy?
>>
>>You will find some notes at
>>
>>http://www.wyona.org/docs/wyona-cms-docs/integrator-guide/virtual-server/proxy-apache.html
>>
> 
> We had some issues with ProxyPass (I don't remember right now what it
> was) and used both like this:
> 
> RewriteRule ^/cocoon/(.*)$ http://cocoonhost:8080/cocoon/$1 [P,L]
> ProxyPassReverse  /cocoon/ http://cocoonhost:8080/cocoon/
> 
> Giacomo
> 
> 
>>All the best
>>
>>Michael
>>
>>
>>
>>Liam Morley wrote:
>>
>>
>>>I read up on working with mod_rewrite in the Cocoon FAQ, and I'm having a
>>>bit of a hard time getting mod_rewrite to cooperate with my sessions.
>>>
>>>I've got the following in my Apache httpd.conf:
>>>
>>>RewriteEngine On
>>>RewriteLog "E:/rewrite.log"
>>>RewriteLogLevel 3
>>>RewriteRule /cms/(.*) /cocoon/cms/$1 [PT]
>>>
>>>
>>>Each time the page is visited, a new session ID is created. After checking
>>>the logs, I noticed that the JSESSIONID isn't getting passed when using
>>>mod_rewrite. Here's an excerpt from the log without using mod_rewrite:
>>>
>>>PARAM: 'cookie' VALUES: '[JSESSIONID=A897E11152D430961782D5C9D9E67211;
>>>CMSUSER=mMsjah1coqlTGONdauaj1HrXi%2Fi2nT0lSZBixdwP%2BwQ%3D]'
>>>PARAM: 'connection' VALUES: '[Keep-Alive]'
>>>PARAM: 'accept-encoding' VALUES: '[gzip, deflate]'
>>>PARAM: 'referer' VALUES: '[http://localhost/cocoon/cms/info/mission.html]'
>>>PARAM: 'accept' VALUES: '[image/gif, image/x-xbitmap, image/jpeg,
>>>image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint,
>>>application/msword, */*]'
>>>PARAM: 'accept-language' VALUES: '[en-us]'
>>>PARAM: 'user-agent' VALUES: '[Mozilla/4.0 (compatible; MSIE 6.0; Windows
>>>NT 5.1; Q312461)]'
>>>PARAM: 'host' VALUES: '[localhost]'
>>>
>>>And here's what happens when I use mod_rewrite:
>>>PARAM: 'cookie' VALUES:
>>>'[CMSUSER=mMsjah1coqlTGONdauaj1HrXi%2Fi2nT0lSZBixdwP%2BwQ%3D]'
>>>PARAM: 'connection' VALUES: '[Keep-Alive]'
>>>PARAM: 'accept-encoding' VALUES: '[gzip, deflate]'
>>>PARAM: 'referer' VALUES: '[http://localhost/cms/news/news_story_1.html]'
>>>PARAM: 'accept' VALUES: '[*/*]'
>>>PARAM: 'accept-language' VALUES: '[en-us]'
>>>PARAM: 'user-agent' VALUES: '[Mozilla/4.0 (compatible; MSIE 6.0; Windows
>>>NT 5.1; Q312461)]'
>>>PARAM: 'host' VALUES: '[localhost]'
>>>
>>>As you can tell, there's no JSESSIONID when I use mod_rewrite.. also, the
>>>'accept' parameter is different.
>>>
>>>If anybody can help me, I'd greatly appreciate it. Thanks:)
>>>
>>>Liam Morley
>>>
>>>
>>>-
>>>Please check that your question has not already been answered in the
>>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>>
>>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>>>
>>>
>>
>>
>>-
>>Please check that your question has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>>
>>
>>
>>
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 



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

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




Re: working with mod_rewrite

2002-04-04 Thread Michael Wechner

Did you try mod_proxy?

You will find some notes at

http://www.wyona.org/docs/wyona-cms-docs/integrator-guide/virtual-server/proxy-apache.html

All the best

Michael



Liam Morley wrote:

> I read up on working with mod_rewrite in the Cocoon FAQ, and I'm having a
> bit of a hard time getting mod_rewrite to cooperate with my sessions.
> 
> I've got the following in my Apache httpd.conf:
> 
> RewriteEngine On
> RewriteLog "E:/rewrite.log"
> RewriteLogLevel 3
> RewriteRule /cms/(.*) /cocoon/cms/$1 [PT]
> 
> 
> Each time the page is visited, a new session ID is created. After checking
> the logs, I noticed that the JSESSIONID isn't getting passed when using
> mod_rewrite. Here's an excerpt from the log without using mod_rewrite:
> 
> PARAM: 'cookie' VALUES: '[JSESSIONID=A897E11152D430961782D5C9D9E67211;
> CMSUSER=mMsjah1coqlTGONdauaj1HrXi%2Fi2nT0lSZBixdwP%2BwQ%3D]'
> PARAM: 'connection' VALUES: '[Keep-Alive]'
> PARAM: 'accept-encoding' VALUES: '[gzip, deflate]'
> PARAM: 'referer' VALUES: '[http://localhost/cocoon/cms/info/mission.html]'
> PARAM: 'accept' VALUES: '[image/gif, image/x-xbitmap, image/jpeg,
> image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint,
> application/msword, */*]'
> PARAM: 'accept-language' VALUES: '[en-us]'
> PARAM: 'user-agent' VALUES: '[Mozilla/4.0 (compatible; MSIE 6.0; Windows
> NT 5.1; Q312461)]'
> PARAM: 'host' VALUES: '[localhost]'
> 
> And here's what happens when I use mod_rewrite:
> PARAM: 'cookie' VALUES:
> '[CMSUSER=mMsjah1coqlTGONdauaj1HrXi%2Fi2nT0lSZBixdwP%2BwQ%3D]'
> PARAM: 'connection' VALUES: '[Keep-Alive]'
> PARAM: 'accept-encoding' VALUES: '[gzip, deflate]'
> PARAM: 'referer' VALUES: '[http://localhost/cms/news/news_story_1.html]'
> PARAM: 'accept' VALUES: '[*/*]'
> PARAM: 'accept-language' VALUES: '[en-us]'
> PARAM: 'user-agent' VALUES: '[Mozilla/4.0 (compatible; MSIE 6.0; Windows
> NT 5.1; Q312461)]'
> PARAM: 'host' VALUES: '[localhost]'
> 
> As you can tell, there's no JSESSIONID when I use mod_rewrite.. also, the
> 'accept' parameter is different.
> 
> If anybody can help me, I'd greatly appreciate it. Thanks:)
> 
> Liam Morley
> 
> 
> -
> 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]>




Load test with ab

2002-04-04 Thread Michael Wechner

Hi

We did a load test of Cocoon 2.0.1 with "ab" from Apache.

Everything is fine when we do Concurrency 1 or 3
(ab -n 10 -c 3)
and performance looks good (pretty much the same as Zope).

But when we set Concurrency 10 we run into trouble.
Cocoon seems to stop running after a certain time and is throwing 
various Exceptions. And it doesn't recover (to recover we have to 
restart Tomcat).

But Tomcat is still running perfectly althought Cocoon doesn't work
anymore.

So I guess it must have something to do with Caching in the memory!

Any help is very much appreciated.

Thanks

Michael






==> error.log.03 <==
ERROR   (2002-04-04) 16:33.01:693   [access] (/wyona-cms/) 
HttpProcessor[8080][2]/CocoonServlet: Problem with servlet
java.lang.NullPointerException
 at 
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2099)
 at 
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2071)
 at org.apache.cocoon.sitemap.Handler.process(Handler.java:173)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:115)
 at 
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:144)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:605)
 at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:795)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown 
Source)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
 at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown 
Source)
 at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown 
Source)
 at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
 at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
 at org.apache.catalina.core.StandardContextValve.invoke(Unknown 
Source)
 at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown 
Source)
 at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
 at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
 at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
 at org.apache.catalina.core.StandardHostValve.invoke(Unknown 
Source)
 at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown 
Source)
 at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
 at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown 
Source)
 at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown 
Source)
 at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown 
Source)
 at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
 at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown 
Source)
 at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
 at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
 at org.apache.catalina.core.StandardEngineValve.invoke(Unknown 
Source)
 at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown 
Source)
 at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
 at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
 at 
org.apache.catalina.connector.http.HttpProcessor.process(Unknown Source)
 at org.apache.catalina.connector.http.HttpProcessor.run(Unknown 
Source)
 at java.lang.Thread.run(Thread.java:484)





-
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: SGML comments and XSL

2002-03-16 Thread Michael Wechner

In your "last" XSLT you can use

.

or do I misunderstand you?!

All the best

Michael



Corey Jewett wrote:

> New cocoon user. Apologies if this is documented somewhere, but I can't
> find it. 
> 
> I'm attempting to use XSL to translate XML documents, basically I'm
> 'skinning' the XML content with a variety of layout templates (XSL). The
> current output format is HTML/XHTML.
> 
> I did a simple test and it worked great. However I ran into a kink when
> I upgraded the template to a full blown layout. I'm using CSS and
> JavaScript, which customarily are escaped using the standard SGML
> comments . Since XML is SGML they're also obviously XML
> comments, and as such are being (properly) stripped out of the template
> and hence out of my output.
> 
> I tried embedding the comments in CDATA sections, but then they were
> translated to character escapes. I then tried embedding escaped
> characters < and > as in ''. Also to no avail.
> 
> I did some searching through the list archives and found ways to embed
> comments in XSP, but not XSL. Is there a simple solution, other than
> switching to XSP?
> 
> Thanks much for any help and pointers.
> 
> Corey
> 
> 
> Pipeline Snippet:
> 
> 
> 
> 
> 
> 
> 
> 
> Document Snippet:
> 
> Page Title
> 
> Stuff and whatnot.
> 
> 
> 
> XSL snippets: (cropped for clarity)
> 
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> 
> http://www.w3.org/1999/XSL/Transform";
> version="1.0">
>   
> http://www.w3.org/1999/xhtml";>
>   
> 
> 
> 
> 
>   
>   
> 
>marginheight="0" marginwidth="0" topmargin="0" leftmargin="0"
> onload="loadnav();init();">
> 
> ...
> 
> ...
> 
>   
> 
>   
> 
> 
> 
> 
> -
> 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]>




Optimize Performance

2002-03-14 Thread Michael Wechner

Hi

I try to configure Cocoon and Tomcat such that the
performance is as good as possible. What I figured out already is

1) set all "check-reloads" attributes within all sitemaps to "false"
2) set all "log-level" attributes within logkit.xconf to "ERROR"
3) set attribute "reloadable" of Context cocoon within 
tomcat/conf/server.xml to "false"


I guess there are more parameters to turn, for instance
how do I turn off the lookup of lastmodified of XSLT, or
is this configured by check-reloads already?

Any further tips or help appreciated.

Thanks

Michael






Joseph Jupin wrote:

> Hi, Kinga...
> 
> Thanx for taking time to talk about this.  But so far, that solution's 
> not working either.  Just a quick question - does the contents of the 
> postData need to be of the form "?foo=data" and does the data segment 
> need to be url encoded?
> 
> I've put your suggestions in and so far, the server hangs - it never 
> responds back - and doesn't even act like it's been queried...  kinda 
> strange...
> 
> again, many thanx...
> 
> peace.  JOe...
> 
> On Wed, 30 Jan 2002 11:11:53 -0800
>  "DZIEMBOWSKI,KINGA (HP-NewJersey,ex2)" <[EMAIL PROTECTED]> wrote:
> 
>> Hi,
>>
>> As a first step you should specify the Content-type HTTP header.
>> StreamGenerator do not accepts all mime types.
>> connect.setRequestProperty( "Content-type", "text/xml" );
>>
>> As a second the StreamGenerator sample is showing one of the aspects of
>> StreamGenerator - ability to process the data coming from the form. I 
>> such
>> case it expects the payload to be a value of the "Foo" parameter. This is
>> not the main reason for existence of this generator. The main reason 
>> is the
>> ability to process POST requests where the payloads is in InputStream. 
>> This
>> is typical scenario for the clients implemented using 
>> HttpURLConnection. (By
>> the way be careful, HttpURLConnection has a bug. If the response has
>> statusCode >400 you will be unable to retrieve the response payload,
>> exception is thrown...)
>>
>> The code sample to do that can be similar to:
>> Assuming you have a xml contents in String postData
>>
>> connect.setRequestMethod("POST"); 
>> connect.setAllowUserInteraction(false); 
>> connect.setDoOutput(true);
>> // Sets the default Content-type and content length for POST
>> requests connect.setRequestProperty( "Content-type", "text/xml" ); 
>>  connect.setRequestProperty( "Content-length",
>> Integer.toString(postData.length()));
>> // Gets the output stream and POSTs data OutputStream 
>> POSTStream = connect.getOutputStream(); PrintWriter POSTWriter = 
>> new PrintWriter(POSTStream); POSTWriter.println(postData); 
>> POSTWriter.flush(); POSTWriter.close(); I hope this will help
>> Kinga
>>
>>> -Original Message-
>>> From: Joseph Jupin [mailto:[EMAIL PROTECTED]]
>>> Sent: Wednesday, January 30, 2002 12:47 PM
>>> To: [EMAIL PROTECTED]
>>> Subject: problems with StreamGenerator...
>>>
>>>
>>> Hey, All...
>>>
>>> I've been using Cocoon 2.0 for about a month & 1/2 now and I've run 
>>> into the following problem:
>>>
>>> First off, refer to the Order example that comes with cocoon which 
>>> when you hit the submit, it will return the xml typed into the 
>>> textarea.  Now, for testing, I've taken my xml doc, modified the 
>>> stream pipeline to use my transform and then output html.  Using the 
>>> same form, entered my xml text (cut & Paste from my text file) - hit 
>>> submit and it works like a charm - the generated HTML comes back 
>>> after the transform.
>>>
>>> Now, the problem is in an application I'm writing that needs to send 
>>> the XML data as a parameter call to the cocoon server and capture the 
>>> resulting HTML.  Using the URL class and URLConnection class, I have 
>>> to pass the parameter (say "Foo") and the URLEncoder.encode value of 
>>> the parameter (URLEncoder.encode(some text))...  The problem is that 
>>> the stream or cocoon doesn't see the parameter passed in.  Any ideas 
>>> on how to get it to understand the URLEncoded parameter.
>>>
>>> Here's some example code:
>>>
>>> StringBuffer uri = new 
>>> StringBuffer("http://localhost:8080/cocoon/request1";);
>>>
>>> try {
>>> URL url = new URL(uri.toString());
>>> HttpURLConnection u_connect = 
>>> (HttpURLConnection)url.openConnection();
>>> u_connect.setRequestMethod("POST");
>>> u_connect.setDoOutput(true);
>>> u_connect.setRequestProperty("Foo", URLEncoder.encode(some text));
>>>
>>> u_connect.connect();
>>>
>>> // print out some results...
>>>
>>> } catch (exceptions...) {}
>>>
>>> Now, here's some of the output:
>>>
>>> content length:  12341
>>> content type  :  text/html
>>> content encode:  null
>>> request method:  POST
>>> response code :  500
>>> response mssg :  Internal Server Error
>>> e:java.lang.NullPointerException
>>>
>>> So, in other words it gets there and then returns the 
>>> nullPointerException afterwards.  Now, remember the te

Re: Sitemap File System Path from within an Action

2002-01-31 Thread Michael Wechner

Vadim, thanks for your help.

What I meant was:

org.apache.cocoon.environment.Source inputSource=resolver.resolve(src);

I didn't realize that I can do that within an action. I thought that's 
just for generators.
But it does just what I wanted.

All the best

Michael




Vadim Gritsenko wrote:

>No other way. Or use working directory instead.
>
>Vadim
>
>-Original Message-----
>From: Michael Wechner [mailto:[EMAIL PROTECTED]] 
>Sent: Wednesday, January 30, 2002 11:15 AM
>To: [EMAIL PROTECTED]
>Subject: Re: Sitemap File System Path from within an Action
>
>Thanks Vadim. I will try it out.
>
>But how else would you write a file into the filesystem relative
>to the sitemap from where the action has been called from a
>HTML form for instance (or HTTP upload)?
>
>Michael
>
>
>
>Vadim Gritsenko wrote:
>
>From: Michael Wechner [mailto:[EMAIL PROTECTED]]
>
>How do I find the filesystem path of the sitemap from within an
>Action?
>I mean something like that:
>
>public Map act(Redirector ){
>String sitemapFileSystemPath=???.getSitemapPath()
>
>It is really not recommended to use file paths. You won't be able run
>your app from the packed war file.
>
>If you still think you can't live without path, use
>org.apache.cocoon.environment.Context.getRealPath()
>
>Vadim
>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>



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

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




Re: Looking for a little help

2002-01-30 Thread Michael Wechner

Dear Anthony

We have built an Authorizer/Authenticator pattern. As I understand
from your email it is doing what you want.

You can download it from

http://www.wyona.org/download/

It's running under the Apache license. The tarball is rather big (13MB) 
since
Cocoon is included as well.

All the best

Michael



Anthony Diodato wrote:

>Here is what Im trying to do.
>I have a website that is using form based authentication, and is verifying
>the session on everypage.
>
>If the session is null, Im sending them back to the login page, otherwise
>displaying the page.
>
>What I want to do is this,
>If someone has a page bookmarked, I want to capture that bookmarked page,
>re-direct them to the login page, then redirect them back to the page they
>initially wanted.
>Any suggestions would be greatly appreciated.
>Thanks
>Tony
>
>Anthony Diodato
>Webmaster - IT
>Prophet 21, Inc.
>19 West College Avenue
>Yardley, PA 19067
>1-800-776-7438, ext. 4600
>Fax: 215-321-8014 
>[EMAIL PROTECTED]
>http://www.p21.com/
>Prophet 21 -- Powering the Distribution Industry for the Digital Age 
>
>For the latest press releases from Prophet 21 --
>http://www.p21.com/press/press.html 
>*  2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
>(E2E) Commerce 
>*  2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
>*  2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
>For the latest articles on Prophet 21
>http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
>htm 
>http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
>http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
>
>
>
>
>Visit our website at http://www.p21.com/visit 
>The information in this e-mail is confidential and may contain legally
>privileged information.  It is intended solely for the person or entity to
>which it is addressed.  Access to this e-mail by anyone else is
>unauthorized. If you are not the intended recipient, any disclosure,
>copying, distribution, action taken, or action omitted to be taken in
>reliance on it, is prohibited and may be unlawful.  If you received this
>e-mail in error, please contact the sender and delete the material from any
>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: Sitemap File System Path from within an Action

2002-01-30 Thread Michael Wechner



Thanks Vadim. I will try it out.

But how else would you write a file into the filesystem relative
to the sitemap from where the action has been called from a
HTML form for instance (or HTTP upload)?

Michael



Vadim Gritsenko wrote:
00da01c1a9a3$c51e5f70$0a00a8c0@vgritsenkopc">
  
    From: Michael Wechner [mailto:[EMAIL PROTECTED]]How do I find the filesystem path of the sitemap from within an

Action?

  I mean something like that:public Map act(Redirector ){String sitemapFileSystemPath=???.getSitemapPath()
  
  It is really not recommended to use file paths. You won't be able runyour app from the packed war file.If you still think you can't live without path, useorg.apache.cocoon.environment.Context.getRealPath()Vadim-Please check that your question has not already been answered in theFAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]>For additional commands, e-mail: <[EMAIL PROTECTED]>
  
  
  
  


Sitemap File System Path from within an Action

2002-01-30 Thread Michael Wechner

How do I find the filesystem path of the sitemap from within an Action?

I mean something like that:

public Map act(Redirector ){
String sitemapFileSystemPath=???.getSitemapPath()

Thanks  for your help

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

2002-01-27 Thread Michael Wechner

RTFM Michael, but not the online version
http://xml.apache.org/cocoon/userdocs/generators/generators.html

You will find it when you download the newest Cocoon version.

All the best

Michael

Michael Wechner wrote:

> Hi
>
> I have been looking for docs on XMLDB and Cocoon, but didn`t find a 
> nice piece.
> Maybe somebody knows one or if there really doesn't exist one, then I 
> would start
> writing one. In the latter case any hints on the usage of the 
> XMLDBGenerator and
> xmldb.jar are very appreciated.
>
> Thanks a lot for your help
>
> Michael
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>



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

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




xmldb

2002-01-27 Thread Michael Wechner

Hi

I have been looking for docs on XMLDB and Cocoon, but didn`t find a nice 
piece.
Maybe somebody knows one or if there really doesn't exist one, then I 
would start
writing one. In the latter case any hints on the usage of the 
XMLDBGenerator and
xmldb.jar are very appreciated.

Thanks a lot for your help

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: Recursive XInclude

2002-01-23 Thread Michael Wechner



Thanks a lot for your help Vadim. That's the way it worked:

xml:base="http://slashdot.org" href="/slashdot.xml"/>
xml:base="cocoon:" href="/live/sections/al/section.xml#xpointer(/section/article[1])"/>

But having the "cocoon" protocol in there to be able to resolve xi:iclude
recursively isn't very nice.

All the best

Michael





Vadim Gritsenko wrote:
00d701c1a476$3743c910$90a4558b@vgritsenkopc">
  From: Michael Wechner [mailto:[EMAIL PROTECTED]] Thanks Vadim, but the XInclude Transformer does not interpret cocoon:as a protocol, but rather as a filesystem path. I have the same problemwith"http://slashdot.org/slashdot.xml"/>It says: Resource can't be found.I remember there was a thread in the mailing list about something likethat, but I can'tfind it anymore.Sorry for asking the same things again.<<<It was sad on the list:-There is a bug/feature in the XInclude transformer which assumes thatunless a base attribute is specified somewhere, the 's hrefvalue is a filename, and prepends the Cocoon install path in front ofit.  This is probably turning your
 "http://slashdot.org/" into"/usr/local/tomcat/webapps/Cocoon/http://slashdot...".  The solution isto add a base="http://slashdot.org" attribute either at (I believe) orabove (for sure) the  element. Then just use the documentportion of the desired URL for the 's href attribute(href="/slashdot.xml").Try this base attribute with cocoon: protocol, it should work.Vadim-Please check that your question has not already been answered in theFAQ before posting. To unsubscribe, e-mai
l: <[EMAIL PROTECTED]>For additional commands, e-mail: <[EMAIL PROTECTED]>
  
  
  
  


Re: Recursive XInclude

2002-01-23 Thread Michael Wechner



Thanks Vadim, but the XInclude Transformer does not interpret cocoon:
as a protocol, but rather as a filesystem path. I have the same problem with
"http://slashdot.org/slashdot.xml"/>

It says: Resource can't be found.

I remember there was a thread in the mailing list about something like that,
but I can't
find it anymore.

Sorry for asking the same things again.

Thanks for your help

Michael




Vadim Gritsenko wrote:
00d401c1a46f$2be3a970$90a4558b@vgritsenkopc">
  
From: Michael Wechner [mailto:[EMAIL PROTECTED]]HiDoes anybody know if the XInclude Transformer is actually resolving

the

  "xi:include" recursively?
  
  No.
  
I tried something like that:department.xml:  xi:include href="group.xml"group.xml:  xi:include href="member.xml"member.xml:  Michaeland got the following result:department.xml:   xi:include href="member.xml"group.xml:  MichaelThanks for your help

You have to use something like:department.xml:  xi:include href="cocoon:/group.xml"group.xml:  xi:include href="cocoon:/member.xml"member.xml:  Michaelwith the sitemap like:Vadim-Please check that your question has not already been answered in theFAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]>For additional commands, e-mail: <[EMAIL PROTECTED]>






Recursive XInclude

2002-01-23 Thread Michael Wechner

Hi

Does anybody know if the XInclude Transformer is actually resolving the 
"xi:include"
recursively?

I tried something like that:

department.xml:
  xi:include href="group.xml"

group.xml:
  xi:include href="member.xml"

member.xml:
  Michael

and got the following result:

department.xml:
   xi:include href="member.xml"

group.xml:
  Michael

Thanks for your help

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




Re: Mounted Sitemap context

2001-12-06 Thread Michael Wechner


Hi Luke

We started to implement a very general AccessControlling-Sitemap 
(Authorization and
Authentication)

You can download it from

http://www.wyona.org/download/wyona-cms-2001.12.05-00.11.tar.gz

The package is rather big since Tomcat4.0 and Cocoon2 is included as well.

Unpack it and then you will find the sitemap within the directory:

download/wyona/tomcat/webapps/cocoon/sitemap.xmap

We have not finished yet the AbstractFactory Pattern for loading
your own Authorizer resp. Authenticator, but next week it should be ready.


But the rest is working (more or less).


All the best

Michael




Luke Studley wrote:

>Hi list.
>
>Basically anybody know how to get access in the sitemap to the full context
>for that sitemap? Especially when it is a mounted sub map?
>
>I'm trying to implement some basic login / authentication functionality from
>a sub-sitemap and I have noticed the following.
>
>  
> 
>
>  value="context://web//descriptors/params.xml"/>
>  
>  
>  
>  
>  
>
> 
>
>  
>
>The re-direct to login page takes the context of the URI and not the context
>of the sitemap, which kind of makes sense, but is not very useful
>
>So if the cocoon context is /cocoon
>And my sub sitemap is /web
>
>Then if the user selects 
>/cocoon/web/secure/a/b/c/d/index.html 
>
>They are re-directed to 
>/cocoon/web/secure/a/b/c/d/login.html
>
>whereas I want them to be sent to 
>/cocoon/web/login.html
>
>So I was thinking I need to do something like:
>
>
>Any ideas how to get at such data?
>
>Cheers
>
>Luke
>
>
>
>
>
>
>-
>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: Any Publishing Frameworks similar to cocoon?

2001-11-26 Thread Michael Wechner



I think there is also a proprietary pipeline processor: 
"ATG Dynamo" from http://www.atg.com

But I am not really sure if it's really a pipeline processor.

Anyway, we are organizing in March 21-22 a conference
on Open Source Content Management Systems where you will hear
a lot about pipeline processors and related stuff:

http://conference.wyona.org

All the best

Michael




Tomas Espeleta wrote:
006101c17403$abb3dd60$0a001aac@DIGITAL">
  
No I like Cocoon and Java very much :-)but currently I'm writing a dissertaion about Cocoon and thereforI'm wondering there are no other products like Cocoon.

I really don't know, but I've heard many medium-sized companies with $$ (andeven bigger ones),use cocoon mounted on $$$ J2EE App servers... This may be for 2 reason (orboth!):1) Cocoon is a really good product2) It doesn't exist some commercial product similar to cocoon...

  For your interest:For my dissertation I developt a online Timer based on cocoon2.One of the goals of the implementation was to allow any user touse this online timer. This means every Browser type (micro ordesktop-browser)can access this application. With the help of CC/PP i read themax. resolution of the device and therefore the webpage is customizeddue to the needs of the client. It also allows to generate CSS dynamicallybased on the preferences the user has (stored in a DB).
  
  Really interesting! any ready url to take a look?-- Tomas.-Please check that your question has not already been answered in theFAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]>For additional commands, e-mail: <[EMAIL PROTECTED]>
  
  
  
  


Re: More Examples plea

2001-11-19 Thread Michael Wechner

Yes, it is a refactored XPS based on Cocoon2. We wanted to get a few
things done before  we "release" it. The plan is the following:

-Writing an Authenticator- and Authorizer-Action which are calling
the AccessController of XPS.

-Rebuilding the "URL-space" within Cocoon2: Authoring, Staging,
Production/Live

-Writing Read- and Write-Actions for the editors Xopus and HTMLFormEditor,
which are calling the RevisionController of XPS

-Writing "something" to connect to the WorkflowManager

-Creating a  nice sample publication (NYTIMES) and a tutorial how to
create your own publication.

By the way: Where do I set the flag for automatic class reloading for
classes within   "webapps/cocoon/WEB-INF/classes"   ???

Thanks a lot

Michael





Carsten Ziegeler wrote:

> Michael Wechner wrote:
> >
> > Yes, there is a CMS in development for C2, but you have to wait till
> > X'mas (December 24-25, 2001).
> >
> Hey, that's not fair, I won't wait until then.
> Please enlighten us or just give us a hint. Are you refering to xps?
>
> Carsten
> > All the best
> >
> > Michael
> >
> >
> >
> > >
> > >
> > > what do you mean with until X'max. Is there a CMS in development
> > > for C2?
> > >
> > > best regards
> > >
> > > Max
> > >
> > > -
> > > Please check that your question has not already been answered in the
> > > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > >
> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > > For additional commands, e-mail: <[EMAIL PROTECTED]>
> >
> >
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> >
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


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

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




Re: More Examples plea

2001-11-19 Thread Michael Wechner


Yes, there is a CMS in development for C2, but you have to wait till
X'mas (December 24-25, 2001).

All the best

Michael



>
>
> what do you mean with until X'max. Is there a CMS in development
> for C2?
>
> best regards
>
> 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]>


-
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: More Examples plea

2001-11-19 Thread Michael Wechner

Dear Alex

I suggest that you create one XML Document per novellist and
one XML Document per photo. Then you use XInclude or XLink
to connect the novellist XML with the corresponding photos.

There is an "XInclude Transformer" shipped with Cocoon2.

Concerning CMS (Content Management System) you have to wait
till X'mas.

All the best

Michael



Alex McLintock wrote:

> Hi folks,
>
> This is a plea for more simple examples of how and when to use Cocoon. I've
> gone through the
> documentation for 2.0rc2 and get most of the details - I think. I have for
> example taken
> the slashdot news example and created a new page which displays news from
> my slashcode
> site http://news.DiverseBooks.com/diversebooks.xml
> What I'm missing is the big picture.
>
> For instance I'm a bit worried by Cocoon's lack of a content management
> system so that
> document authors  can add documents to the system in a structured and
> traceable way,
> but I suppose a separate one could be bolted on and use the file system as the
> interface between the two systems
>
> Anyway
>
> Take for example my problem which I am using to learn Cocoon.
>
> I have a bunch of photos of novelists which I am turning into a website and
> hopefully pdf booklet. (I am doing this for a literary  non-profit
> organisation so do volunteer help :-)
>
> I have very little data at the moment other than the picture, location,
> approx date photo taken,
> who took the photo, copyright holder (typically the photographer), but in
> the future I'd like
> to link to a bibliographic database, link to reviews of their work (some of
> which are on my sites,
> but may also involve a wider list of reviews elsewhere) and so on.
> It seems natural to me to put all this info in an xml file, or files
> (plural) so that I can use xsl/xslt
> to create html pages, and fo/pdf pages for each author.
>
> My problem now is how to best structure this info. A lot of the info is
> specific to the photo -
> and at the moment I only have one photo per novelist. If I stick to one
> photo per novelist and one
> xml file per photo, I then have one xml file per page and I believe I can
> set this up in Cocoon2
> with some fiddling of the sitemap file and one or two xsl files in the
> pipeline.
>
> But is that the right way about it? Should all the info be in seperate xml
> files or just one big one?
> (That would be harder on the sax parser presumably). How do I cope with the
> situation where
> I have more than one photo of the same novelist? Should I have xml files
> for each novelist,
> and xml files for each photo and use *both* of them in FileGenerators to
> create a page?
>
> How do I list the pages available? Would I have to create a separate list
> in a database or
> is there an easy way of indexing all the xml files presumably if there
> was just one xml
> database it would be easy to list all the novelists
>
> Newbie advice welcome.
>
> Alex McLintock
>
> -
> 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]>