Re: Howto use a generated stylesheet

2003-07-01 Thread Olivier Billard
Hi Orson !

The problem is solved, finally !
As I wrote in my previous mail, the problem came from an error in the transformation...
The cocoon protocol works in the transformer...
Thanks anyway for your answer !

--
Olivier


Orson Davis wrote:

Looking at how everything uses the avalon framework it appears that the
initialize, configure and setup methods are called on every component of a
pipeline before any processing occurs.  Whether that includes components of
subpipelines I don't know, but in the case of Olivier Billard and his
sitemap snippets the problem he was running into was the xsl sheet wasn't
available when the components tried to initialize, configure and setup.





...


...



Now, I think for him your solution would work.  The reason Olivier's stuff
doesn't work is that the xml from the pipeline for picto-filter.xsl isn't
available when the 
initializes. 

-Original Message-
From: Upayavira [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 9:26 AM
To: [EMAIL PROTECTED]
Subject: RE: Howto use a generated stylesheet
On 1 Jul 2003 at 9:19, Orson Davis wrote:


The stylesheet must be available before the pipeline is setup.  The
setup, configure and compose methods for each component in a pipeline
is called before the startdocument method is called.  In the case of
the org.apache.cocoon.transformation.TraxTransformer the call to the
stylesheet is made in before any XML gets generated from the generate
portion of the pipeline.  

The only way I can think to work around this is to write your own
version of the org.apache.cocoon.transformation.TraxTransformer such
that the getTransformerHandler(inputSource) is called from the
startDocument.  I modified the TraxTransformer in such a way for my
application.  It could probably be easily modified to meet your needs.
If anyone knows a more graceful way to do this, please let me know.


Hmm. Seems rather complicated. Doesn't the stuff on this wiki page work for
you:
http://wiki.cocoondev.org/Wiki.jsp?page=MetaStylesheets

What you say may be correct, but the xsl for the TraxTransformer can be 
initialized from another pipeline before the main pipeline is fully set up.
Surely?

(Sorry about last message - accidentally sent message before I'd finished
writing 
it!)

Regards, Upayavira

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




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


Re: Howto use a generated stylesheet

2003-07-01 Thread Olivier Billard
Thanks Joerg for your answer,

It is in fact an error in my xsl, as I wrote on "Cocoon-dev"...
I'm very happy to see that the cocoon protocol works fine with transformers...
I'm now looking for the solution of the next problem (there is always a next problem... ;))

Thanks again !!

--
Olivier
Joerg Heinicke wrote:

Hello Olivier,

your sitemap looks absolutely ok and I can't spot any error. We did such 
things too and everything works without any problems. No http:// needed, 
nothing with wrong order of initialization of components.

Olivier Billard wrote:

Hi all !

I'm trying to use a generated stylesheet for an xsl transformer and I 
get this error :

org.apache.cocoon.ProcessingException: Unable to get transformer 
handler for cocoon:/picto-filter.xsl:


This error message lets me guess you are using XSLTC - there is no tool 
reporting errors better than this one ;-) Try to use Xalan in the 
pipeline that uses the generated XSLT. Or try to request 
picto-filter.xsl directly in the browser and have a look on it, maybe 
there is an error in it. You can also save this generated XSLT to disk 
and try the transformation statically.

org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in 
creating Transform Handler

Here is a snippet of my sitemap :






...


...



here: 



Isn't the cocoon protocol used in transformers ??
Am I misunderstanding some things ?
Thanks in advance !!


Regards,

Joerg



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


Re: Howto use a generated stylesheet

2003-07-01 Thread Olivier Billard
Thanks Upayavira !

Unfortunately, using the http:// protocol isn't very portable...
"Con" and "StephenNg" were able to use the cocoon protocol... I'll ask them.
I'm using the CVS version of cocoon.

Thanks again...

--

Olivier

Upayavira wrote:

Check out:

http://wiki.cocoondev.org/Wiki.jsp?page=MetaStylesheets

Regards, Upayavira

On 1 Jul 2003 at 16:06, Olivier GUCKERT wrote:


Olivier Billard a écrit :

Hi all !

I'm trying to use a generated stylesheet for an xsl transformer and
I get this error :
org.apache.cocoon.ProcessingException: Unable to get transformer
handler for cocoon:/picto-filter.xsl:
org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in
creating Transform Handler
Here is a snippet of my sitemap :


   
   
   

...


   ...
   
   

Isn't the cocoon protocol used in transformers ??
Am I misunderstanding some things ?
Thanks in advance !!
Did youb try  : 


(without the "/" before picto) ?

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


--
Olivier BILLARD
Service Propriété Industrielle
__
JOUVE
12, rue des Landelles
Immeuble Hercules II
35510 CESSON-SEVIGNE
FRANCE
__
Phone  : 33 2 99 86 93 55
Fax: 33 2 99 86 98 01
E-Mail : [EMAIL PROTECTED]
__
Le présent mail ainsi que toutes les informations qu'il contient ne peuvent en aucun cas être considérés comme un engagement juridique de quelque 
nature que ce soit de JOUVE. Tout accord devra être formulé par écrit papier ultérieur signé par un représentant légal de JOUVE. Par ailleurs, si vous 
recevez ce mail par erreur, merci de nous le signaler et de le détruire ainsi que l'intégralité du document qui pourrait y être joint.

The present email and all information included therein do not constitute a legal agreement accorded by Jouve. All legal agreements must be formulated 
in writing on paper by a legal representative of JOUVE. If you have received this email by mistake, please inform us of that fact and destroy the 
email and any documents it might contain. Thank you for your cooperation.

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


Re: Howto use a generated stylesheet

2003-07-01 Thread Olivier Billard
Thanks Olivier but this syntax is not correct.

You must put a "/" to refer to the current sitemap, and "//" to refer to the root sitemap (or maybe the inverse).

--

Olivier BILLARD



Olivier GUCKERT wrote:

Olivier Billard a écrit :

Hi all !

I'm trying to use a generated stylesheet for an xsl transformer and I get this error :

org.apache.cocoon.ProcessingException: Unable to get transformer handler for 
cocoon:/picto-filter.xsl:
org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform 
Handler
Here is a snippet of my sitemap :


   
   
   

...


   ...
   
   

Isn't the cocoon protocol used in transformers ??
Am I misunderstanding some things ?
Thanks in advance !!


Did youb try  : 


(without the "/" before picto) ?

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


--
Olivier BILLARD
Service Propriété Industrielle
__
JOUVE
12, rue des Landelles
Immeuble Hercules II
35510 CESSON-SEVIGNE
FRANCE
__
Phone  : 33 2 99 86 93 55
Fax: 33 2 99 86 98 01
E-Mail : [EMAIL PROTECTED]
__
Le présent mail ainsi que toutes les informations qu'il contient ne peuvent en aucun cas être considérés comme un engagement juridique de quelque 
nature que ce soit de JOUVE. Tout accord devra être formulé par écrit papier ultérieur signé par un représentant légal de JOUVE. Par ailleurs, si vous 
recevez ce mail par erreur, merci de nous le signaler et de le détruire ainsi que l'intégralité du document qui pourrait y être joint.

The present email and all information included therein do not constitute a legal agreement accorded by Jouve. All legal agreements must be formulated 
in writing on paper by a legal representative of JOUVE. If you have received this email by mistake, please inform us of that fact and destroy the 
email and any documents it might contain. Thank you for your cooperation.

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


Howto use a generated stylesheet

2003-07-01 Thread Olivier Billard
Hi all !

I'm trying to use a generated stylesheet for an xsl transformer and I get this error :

org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon:/picto-filter.xsl: 
org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler

Here is a snippet of my sitemap :






...


...



Isn't the cocoon protocol used in transformers ??
Am I misunderstanding some things ?
Thanks in advance !!
--
Olivier BILLARD
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Cocoon Build : deprecated block necessary ?

2003-06-23 Thread Olivier Billard
Ok thanks Geoff

I'll let you know if I get into a clean patch.
Thanks again !
Geoff Howard wrote:

Well, I think that compiling and running the tests is not optional because
if something is failing a unit test, you'd want to know.  However, the 
present
problem is not a real problem but a fake one!  My understanding is that
it's just a problem of the real package having moved without its tests.

If you get a chance to look into where these things should go, let me know.
Someone will be looking at it - perhaps even me - eventually.  It's going
to get more important once beta stage hits real soon now.
For now, if you want to hack out the test stuff, it won't cause harm.  You
could also remove the specific offending tests (I don't even know which 
ones they are) and leave the depends target alone.

Geoff

At 09:31 AM 6/23/2003, you wrote:

Thanks for your answer Geoff !

By "squeeze", I thought "brutaly delete the compile-tests depends 
clause in the compile targer", to avoid the problem. As I didn't get 
deep into this tests, I don't know what could depend on this.
But why is "compile-tests" not optional, as "compile-deprecated" ? No 
need for this ?

Thanks in advance...

Geoff Howard wrote:

Not sure what you mean by squeeze the depends clause, but the root
problem needs to get fixed.  It either means removing the tests for
deprecated items, or modifying the build to exclude deprecated tests
when deprecated is excluded (which means creating a deprecated test
directory somewhere and moving the offending items there) or, moving
the deprecated tests to their new home (because IIRC, the items have
not been truly deprecated but moved to excalibur??)
Patches or specific suggestions will be very welcome.

Geoff

At 08:31 AM 6/23/2003, you wrote:

Hi all,

I'm trying to build a mini-clean webapp, but the "compile-tests" 
target seems to depend on deprecated stuffs, as said in the comment 
of the build file.
What is the cleanest solution ? Is this target necessary to build 
the webapp, or not ?
Can I squeeze the depends clause of "compile" target ?

Thanks in advance !

--
Olivier Billard
Jouve SI
-
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]




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




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


Re: Cocoon Build : deprecated block necessary ?

2003-06-23 Thread Olivier Billard
Thanks for your answer Geoff !

By "squeeze", I thought "brutaly delete the compile-tests depends clause 
in the compile targer", to avoid the problem. As I didn't get deep into 
this tests, I don't know what could depend on this.
But why is "compile-tests" not optional, as "compile-deprecated" ? No 
need for this ?

Thanks in advance...

Geoff Howard wrote:

Not sure what you mean by squeeze the depends clause, but the root
problem needs to get fixed.  It either means removing the tests for
deprecated items, or modifying the build to exclude deprecated tests
when deprecated is excluded (which means creating a deprecated test
directory somewhere and moving the offending items there) or, moving
the deprecated tests to their new home (because IIRC, the items have
not been truly deprecated but moved to excalibur??)
Patches or specific suggestions will be very welcome.

Geoff

At 08:31 AM 6/23/2003, you wrote:

Hi all,

I'm trying to build a mini-clean webapp, but the "compile-tests" 
target seems to depend on deprecated stuffs, as said in the comment 
of the build file.
What is the cleanest solution ? Is this target necessary to build the 
webapp, or not ?
Can I squeeze the depends clause of "compile" target ?

Thanks in advance !

--
Olivier Billard
Jouve SI
-
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]


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


Cocoon Build : deprecated block necessary ?

2003-06-23 Thread Olivier Billard
Hi all,

I'm trying to build a mini-clean webapp, but the "compile-tests" target 
seems to depend on deprecated stuffs, as said in the comment of the 
build file.
What is the cleanest solution ? Is this target necessary to build the 
webapp, or not ?
Can I squeeze the depends clause of "compile" target ?

Thanks in advance !

--
Olivier Billard
Jouve SI
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: ComponentSelector could not find the component for hint [XML] ?

2003-06-18 Thread Olivier Billard
Maybe a case error :

instead of


- Original Message - 
From: "Lionel Crine" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 18, 2003 3:17 PM
Subject: RE: ComponentSelector could not find the component for hint [XML] ?


> Sorry, I told you crap.
> In fact you use a component that is not defined in the sitemap.xmap
>
>
> Sorry again.
>
> Here is how i call the sunrise components :
>
> 
>src="org.apache.cocoon.sunshine.sunrise.acting.LoginAction" />
>src="org.apache.cocoon.sunshine.sunrise.acting.LogoutAction" />
>src="org.apache.cocoon.sunshine.sunrise.acting.LoggedInAction" />
>src="org.apache.cocoon.sunshine.acting.SessionAction" />
>src="org.apache.cocoon.sunshine.sunspot.acting.AuthAction" />
>src="org.apache.cocoon.sunshine.sunrise.acting.AuthAction">
>  
>xmlns:map="http://apache.org/cocoon/sitemap/1.0";
>xmlns:sunshine="http://sunshine.sundn.de/sunshine/1.0";>
>  
>  
>
>  
>
>
>
> Lionel
>
>
> -
> 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:

2003-06-02 Thread Olivier Billard
Found.
I misunderstood the "as" attribute :
 - "xml" : result wrapped in a  element
 - "string" : only the value...

--
Olivier


- Original Message - 
From: "Olivier Billard" <[EMAIL PROTECTED]>
To: "Cocoon Users" <[EMAIL PROTECTED]>
Sent: Monday, June 02, 2003 10:53 AM
Subject: 


> Hi all !
>
> I have a little problem with the xsp-request taglib : I inserted
> 
> to have the text of the "title" request parameter, but the generator
writes
>  xmlns:xsp-request="http://apache.org/xsp/request/2.0";
> name="title">toto
> in the output... instead of the needed "toto" only.
>
> Is it a normal way of working ? Is an additional transformer needed ?
>
> Thanks in advance !
>
> --
> Olivier
>
>
> -
> 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]



cocoon-users@xml.apache.org

2003-06-02 Thread Olivier Billard
Hi all !

I have a little problem with the xsp-request taglib : I inserted

to have the text of the "title" request parameter, but the generator writes
http://apache.org/xsp/request/2.0";
name="title">toto
in the output... instead of the needed "toto" only.

Is it a normal way of working ? Is an additional transformer needed ?

Thanks in advance !

--
Olivier


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



Re: Scheduler

2003-05-28 Thread Olivier Billard
Sorry, wrong list !


- Original Message - 
From: Olivier Billard
To: Cocoon Users
Sent: Wednesday, May 28, 2003 9:45 AM
Subject: Scheduler


Bonjour à tous !

Un thread est passé sur Cocoon-Dev, où quelqu'un demandait s'il existait un
composant de scheduling pour Cocoon.
Dans la réponse figure une série de composant Excalibur pouvant effectuer ce
service.

http://marc.theaimsgroup.com/?t=10540466466&r=1&w=2


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



Scheduler

2003-05-28 Thread Olivier Billard



Bonjour à tous !
 
Un thread est passé sur Cocoon-Dev, où quelqu'un 
demandait s'il existait un composant de scheduling pour Cocoon.
Dans la réponse figure une série de composant 
Excalibur pouvant effectuer ce service.
 
http://marc.theaimsgroup.com/?t=10540466466&r=1&w=2
    


  
  

  

  
  Olivier BillardIngénieur LogicielService Propriété 
  Industrielle
  

  
  Jouve Rennes12, rue des 
  LandellesImmeuble Hercule II35510 CESSON 
  SEVIGNEFRANCE

  
  TélFaxEmail

  
  : 02.99.86.98.46: 02.99.86.98.01: [EMAIL PROTECTED]

 
The present email and all information included 
therein do not constitute a legal agreement accorded by Jouve. All legal 
agreements must be formulated in writing on paper by a legal representative 
of JOUVE. If you have received this email by mistake, please inform us of that 
fact and destroy the email and any documents it might contain. Thank you 
for your cooperation.
 
Le présent mail ainsi que toutes les informations 
qu'il contient ne peuvent en aucun cas être considérés comme un engagement 
juridique de quelque nature que ce soit de JOUVE. Tout accord devra 
être formulé par écrit papier ultérieur signé par un représentant légal de 
JOUVE. Par ailleurs, si vous recevez ce mail par erreur, merci de nous 
le signaler et de le détruire ainsi que l'intégralité du document 
qui pourrait y être joint. 


<>

Re: Authentication framework sample and Mozilla...

2003-04-04 Thread Olivier Billard
Hi Jin !

I use the cocoon 2.1dev. I think you should try it to check if some bug was
fix between our 2 versions by testing the 2.1 dev with your config. If I'm
not wrong, the authentication framework was split from the sunRise portal in
the 2.1dev with maybe some fixes.

I can't reproduce the problem you describe with my config : win2K, "cocoon
servlet" (jetty) 2.1dev, java 1.4.1_01. In both IE 6 and Netscape 4.78
Good luck and write back for results !

Regards
--
Olivier


From: "jin wu" <[EMAIL PROTECTED]>
> hi oliver,
> i have the similar but worse problem than you. Using Netscape 4.78 or IE
> 6.0, the protected resource is protected well during the first time
> login-access-logout-deny process, however, after i tried the same process
> the second time, the protected resource is still accessable after i
logout.
> the environment i am using is:
> +---+
> |win2000|
> |cocoon 2.0.4 (bin file with cocoon-scratchpad.jar) |
> |Tomcat 4.1.18  |
> |java 1.3.06|
> +---+
>
> And here is part of my sitemap:
>
> ..
> src="org.apache.cocoon.sunshine.sunrise.acting.AuthAction">
>
> http://apache.org/cocoon/sitemap/1.0";
> xmlns:sunshine="http://sunshine.sundn.de/sunshine/1.0";>
> 
> 
>  
>
> ..
>
> 
> 
>   
> 
> 
> 
> 
>   
>   
> 
>   
>   
>value="request:password"/>
>   
>   
> 
> 
> 
> 
>
>  
>  
>
>   
>   
>
>  
>  
>
>
>   
>
>
>  
>      
>   
>   
>   
>       
>   
>   
>  
> 
> 
>
> ..
>
> Hope we could find out the problem or solution.
>
> brdgs,
> j.w
>
>
>
>
>
> >From: "Olivier Billard" <[EMAIL PROTECTED]>
> >Reply-To: "Olivier Billard" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>, "Olivier Billard" <[EMAIL PROTECTED]>
> >Subject: Re: Authentication framework sample and Mozilla...
> >Date: Wed, 2 Apr 2003 11:24:52 +0200
> >
> >Even if the cache is set to 0 Ko !
> >This case doesn't appened in Netscape with the same configuration...
> >
> >But I suppose other protected pages not in memory cache will send the
user
> >to the login page...
> >But would it be better (if not done, but in this case I don't understand)
> >to
> >set expiration date to now in all protected pages ?
> >
> >Sorry if it is a dumb question... ! :)
> >
> >
> >- Original Message -
> >From: "Olivier Billard" <[EMAIL PROTECTED]>
> >To: "Cocoon Users" <[EMAIL PROTECTED]>
> >Sent: Wednesday, April 02, 2003 11:07 AM
> >Subject: Authentication framework sample and Mozilla...
> >
> >
> > > Hi all cocooners !
> > >
> > > I'm working on using the authentication framework, base on the
> > > authentication sample, in the Cocoon 2.1 CVS from yesterday.
> > > I made :
> > > build clean
> > > build webapp
> > > cocoon servlet
> > >
> > > With an ooold Netscape (4.78) and IE 6, all works fine : protected
area
> > > access is first denied, and then accepted after logged in, finally
> >denied
> > > when logged out.
> > > But with Mozilla, when cache option are set to "Never compare with the
> > > cache" (and cache deleted) the protected area is still accessible,
even
> >if
> >I
> > > logged out...
> > >
> > > Is this a bug from Mozilla or Cocoon ?
> > > This "hole" is pretty disturbing...
> > >
> > > Thanks
> > > --
> > > Olivier
> > >
> > >
> > > -
> > > 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]
> >
>
>
> _
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
> -
> 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: Authentication framework sample and Mozilla...

2003-04-02 Thread Olivier Billard
Even if the cache is set to 0 Ko !
This case doesn't appened in Netscape with the same configuration...

But I suppose other protected pages not in memory cache will send the user
to the login page...
But would it be better (if not done, but in this case I don't understand) to
set expiration date to now in all protected pages ?

Sorry if it is a dumb question... ! :)


- Original Message -----
From: "Olivier Billard" <[EMAIL PROTECTED]>
To: "Cocoon Users" <[EMAIL PROTECTED]>
Sent: Wednesday, April 02, 2003 11:07 AM
Subject: Authentication framework sample and Mozilla...


> Hi all cocooners !
>
> I'm working on using the authentication framework, base on the
> authentication sample, in the Cocoon 2.1 CVS from yesterday.
> I made :
> build clean
> build webapp
> cocoon servlet
>
> With an ooold Netscape (4.78) and IE 6, all works fine : protected area
> access is first denied, and then accepted after logged in, finally denied
> when logged out.
> But with Mozilla, when cache option are set to "Never compare with the
> cache" (and cache deleted) the protected area is still accessible, even if
I
> logged out...
>
> Is this a bug from Mozilla or Cocoon ?
> This "hole" is pretty disturbing...
>
> Thanks
> --
> Olivier
>
>
> -
> 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]



Authentication framework sample and Mozilla...

2003-04-02 Thread Olivier Billard
Hi all cocooners !

I'm working on using the authentication framework, base on the
authentication sample, in the Cocoon 2.1 CVS from yesterday.
I made :
build clean
build webapp
cocoon servlet

With an ooold Netscape (4.78) and IE 6, all works fine : protected area
access is first denied, and then accepted after logged in, finally denied
when logged out.
But with Mozilla, when cache option are set to "Never compare with the
cache" (and cache deleted) the protected area is still accessible, even if I
logged out...

Is this a bug from Mozilla or Cocoon ?
This "hole" is pretty disturbing...

Thanks
--
Olivier


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



Re: Lucene index building

2003-03-18 Thread Olivier Billard
Hi Upayavira,

It sounds like an error I also got. It seems that Lucene doesn't release
some Objects and keeps increasing memory consumption. And the end a parsing
error occurs.
My solution was to raise the memory heap size to the JVM with the
CATALINA_OPTS variable : "CATALINA_OPTS=-Xmx128m" (set 128 Mo of heap size,
the default value is 64 Mo).
Then to raise the default heap size in cocoon.xconf :

  
...
 
 
<-
...
  

And it worked...

This turn-around worked also :

  
  
 
 
...
  

Or an other value of maxobjects. But there is a real decrease of
performance...


But is's just a "turn-around"... Not a solution.

Olivier


- Original Message -
From: "Upayavira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 18, 2003 12:47 AM
Subject: Lucene index building


> I have built a site which I want to index with Lucene.
>
> I am using the create-index.xsp file in the $COCOON-ROOT/search directory
to
> build my index.
>
> I have added the following to cocoon.xconf:
>
>   
> .*/search/.*
> cocoon-view=lucene-links
>   
>
>   
>   body
> cocoon-view=lucene-content
>   
>
> I've set up a view lucene-links which works, giving back just links from a
page.
> I've set up a view lucene-content just giving back the content. The
content is like:
> 
>   list of links
>   ... the body content ...
> 
>
> I have had it partially working (indexing both links and body), but now
whenever I
> run create-index, it fails with a Cannot parse!:
org.xml.sax.SAXParseException:
> Premature end of file.
>
> Any ideas what I might be doing wrong?
>
> Regards, Upayavira
>
>
> -
> 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: Eclipe XSP editor

2003-03-07 Thread Olivier Billard
I asked for Stefano, but he doesn't seem to read this list !...
I'm surprised an up-to-date Schema doesn't exist...

See you next tuesday in Jouve, Sylvain ! :)

Olivier

- Original Message - 
From: "Sylvain Wallez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 1:53 PM
Subject: Re: Eclipe XSP editor


> Olivier Billard wrote:
> 
> >You can find a DTD here : http://xml.apache.org/cocoon1/wd-xsp.html
> >  
> >
> 
> Careful : this one is ges old (Cocoon 1), and will fail on most XSPs 
> since it doesn't handle neither taglibs nor the fact that _any_ element 
> of the result document can be written anywhere in the XSP document.
> 
> AFAIK, no XSP schema currently exists. Any taker to write one ?
> 
> Sylvain
> 
> >- Original Message - 
> >From: <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> >Sent: Friday, March 07, 2003 11:24 AM
> >Subject: RE: Eclipe XSP editor
> >
> >  
> >
> >>I didn't find the XSP XMLSchema. There is a Sitemap.xsd and a
> >>xslt-schema.xsd, but no XSP schema
> >>
> >>-Original Message-
> >>From: Olivier Billard [mailto:[EMAIL PROTECTED] 
> >>Sent: Friday, March 07, 2003 10:18 AM
> >>To: [EMAIL PROTECTED]
> >>Subject: Re: Eclipe XSP editor
> >>
> >>
> >>Hi Maxime,
> >>
> >>I think you can use the SunBow plug-in
> >>(http://radio.weblogs.com/0108489/)
> >>with an XSP XMLSchema...
> >>
> >>Regards,
> >>Olivier
> >>
> >>
> >>- Original Message -
> >>From: <[EMAIL PROTECTED]>
> >>To: <[EMAIL PROTECTED]>
> >>Sent: Thursday, March 06, 2003 9:04 AM
> >>Subject: Eclipe XSP editor
> >>
> >>
> >>
> >>
> >>>Hi
> >>>Is there any editor for the XSP language? I use Eclipse for my 
> >>>project, and would like to know if there is a XSP plugin or shema? Thx
> >>>
> >>>  
> >>>
> 
> -- 
> Sylvain Wallez  Anyware Technologies
> http://www.apache.org/~sylvain   http://www.anyware-tech.com
> { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
> 
> 
> 
> -
> 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: Eclipe XSP editor

2003-03-07 Thread Olivier Billard
You can find a DTD here : http://xml.apache.org/cocoon1/wd-xsp.html

Olivier



- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 11:24 AM
Subject: RE: Eclipe XSP editor


> I didn't find the XSP XMLSchema. There is a Sitemap.xsd and a
> xslt-schema.xsd, but no XSP schema
> 
> -Original Message-
> From: Olivier Billard [mailto:[EMAIL PROTECTED] 
> Sent: Friday, March 07, 2003 10:18 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Eclipe XSP editor
> 
> 
> Hi Maxime,
> 
> I think you can use the SunBow plug-in
> (http://radio.weblogs.com/0108489/)
> with an XSP XMLSchema...
> 
> Regards,
> Olivier
> 
> 
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, March 06, 2003 9:04 AM
> Subject: Eclipe XSP editor
> 
> 
> > Hi
> > Is there any editor for the XSP language? I use Eclipse for my 
> > project, and would like to know if there is a XSP plugin or shema? Thx
> >
> > -
> > 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]
> 
> 
> -
> 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: Eclipe XSP editor

2003-03-07 Thread Olivier Billard
Maybe in the pocket of Stefano ? :)

Stefano ?


- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 11:24 AM
Subject: RE: Eclipe XSP editor


> I didn't find the XSP XMLSchema. There is a Sitemap.xsd and a
> xslt-schema.xsd, but no XSP schema
> 
> -Original Message-
> From: Olivier Billard [mailto:[EMAIL PROTECTED] 
> Sent: Friday, March 07, 2003 10:18 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Eclipe XSP editor
> 
> 
> Hi Maxime,
> 
> I think you can use the SunBow plug-in
> (http://radio.weblogs.com/0108489/)
> with an XSP XMLSchema...
> 
> Regards,
> Olivier
> 
> 
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, March 06, 2003 9:04 AM
> Subject: Eclipe XSP editor
> 
> 
> > Hi
> > Is there any editor for the XSP language? I use Eclipse for my 
> > project, and would like to know if there is a XSP plugin or shema? Thx
> >
> > -
> > 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]
> 
> 
> -
> 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: Eclipe XSP editor

2003-03-07 Thread Olivier Billard
Hi Maxime,

I think you can use the SunBow plug-in (http://radio.weblogs.com/0108489/)
with an XSP XMLSchema...

Regards,
Olivier


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 9:04 AM
Subject: Eclipe XSP editor


> Hi
> Is there any editor for the XSP language? I use Eclipse for my project,
> and would like to know if there is a XSP plugin or shema?
> Thx
>
> -
> 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: How to get an absolute path ?

2003-02-12 Thread Olivier Billard
Thank you both Jan and Timothy !

I tried with the "context" variable with the getAbsolutePath(), and it works
perfectly !

--
Olivier BILLARD


- Original Message -
From: "Jan Harms" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 11, 2003 4:47 PM
Subject: AW: How to get an absolute path ?


> Hi Olivier,
>
> in a servlet the ServletContexts getRealPath() method does what you want.
In Cocoon there is the class
> org.apache.cocoon.environment.Context which should do the same.
>
> Hope this helps
>
> -Jan Harms
>
> > -Ursprüngliche Nachricht-
> > Von: Olivier Billard [mailto:[EMAIL PROTECTED]]
> > Gesendet: Dienstag, 11. Februar 2003 16:24
> > An: [EMAIL PROTECTED]
> > Betreff: How to get an absolute path ?
> >
> >
> > Hi all !
> >
> > I am using Cocoon 2.0.4 with Tomcat 4.1.18.
> > In an XSP page, I would like to get the "hard" path of the webapp or a
> > sub-dir of the webapp, to use Lucene with an index directory.
> > I know I can
> > get the relative path of the webapp with
> > , but I want
> > to get the absolute path such like :
> > "/apps/tomcat/webapps/cocoon/mycocoon/index". Is it possible ?
> >
> > I apologize in advance if this doesn't concern this mailing list ! ...
> >
> > Olivier BILLARD
>
>
> -
> 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]>




How to get an absolute path ?

2003-02-11 Thread Olivier Billard
Hi all !

I am using Cocoon 2.0.4 with Tomcat 4.1.18.
In an XSP page, I would like to get the "hard" path of the webapp or a
sub-dir of the webapp, to use Lucene with an index directory. I know I can
get the relative path of the webapp with , but I want
to get the absolute path such like :
"/apps/tomcat/webapps/cocoon/mycocoon/index". Is it possible ?

I apologize in advance if this doesn't concern this mailing list ! ...

Olivier BILLARD


-
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: Using Slide with Cocoon 2

2002-10-31 Thread Olivier Billard
Ye !!

It works perfectly, it was that. I put the jta.jar in the scratchpad/lib
dir, and not in the lib/local...
I didn't notice the warning and the war was build.

Thank you very much for your patience, Stephan.
I think I'll have a nice week end

Regards,
Olivier

- Original Message -
From: "Stephan Michels" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Olivier Billard" <[EMAIL PROTECTED]>
Sent: Thursday, October 31, 2002 5:55 PM
Subject: Re: Using Slide with Cocoon 2


>
>
> On Thu, 31 Oct 2002, Olivier Billard wrote:
>
> > Oooh yep, sorry !
> > Here it is :
> > [
> > ERROR   (2002-10-31) 17:26.28:512   [sitemap.generator.principallist]
> > (/cocoon/samples/slide/authenticate) Thread-8/PrincipalListGenerator:
Could
> > not lookup for component.
> > org.apache.avalon.framework.component.ComponentException: Could not find
> > component
> >  at
> >
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Excal
> > iburComponentManager.java:255)
> >  at
> >
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentMa
> > nager.java:236)
> > ]
> >
> > It seems like a ComponentException is raised...
> > I'm not very familiar with Avalon framework : Cocoon is a
ComponentManager
> > and a generator is a Component, is it right ?
> >
> > The role given to the manager with
> > principalproviders =
> >
(ComponentSelector)this.manager.lookup(PrincipalProvider.ROLE+"Selector");
> > in PrincipalListGenerator.generate()
> >
> > maybe doesn't exist ?
>
> Ahhh, now I see. I think you havn't copied the Java Transaction Lib
> into lib/local??! Search your build messages for the warning.
>
> ;-) Stephan
>
>
> >
> > - Original Message -
> > From: "Stephan Michels" <[EMAIL PROTECTED]>
> > To: "cocoon-users" <[EMAIL PROTECTED]>
> > Sent: Thursday, October 31, 2002 5:17 PM
> > Subject: Re: Using Slide with Cocoon 2
> >
> >
> > >
> > >
> > > On Thu, 31 Oct 2002, Olivier Billard wrote:
> > >
> > > > Thanks again !
> > > >
> > > > But I access to a blank page, without Exception raised...
> > >
> > > Nothing, also when you take a look into the source. Any exceptions
> > > in the logs? Hmm.
> >
> >
> > -
> > 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: Using Slide with Cocoon 2

2002-10-31 Thread Olivier Billard
Oooh yep, sorry !
Here it is :
[
ERROR   (2002-10-31) 17:26.28:512   [sitemap.generator.principallist]
(/cocoon/samples/slide/authenticate) Thread-8/PrincipalListGenerator: Could
not lookup for component.
org.apache.avalon.framework.component.ComponentException: Could not find
component
 at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Excal
iburComponentManager.java:255)
 at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentMa
nager.java:236)
]

It seems like a ComponentException is raised...
I'm not very familiar with Avalon framework : Cocoon is a ComponentManager
and a generator is a Component, is it right ?

The role given to the manager with
principalproviders =
(ComponentSelector)this.manager.lookup(PrincipalProvider.ROLE+"Selector");
in PrincipalListGenerator.generate()

maybe doesn't exist ?

Olivier


- Original Message -
From: "Stephan Michels" <[EMAIL PROTECTED]>
To: "cocoon-users" <[EMAIL PROTECTED]>
Sent: Thursday, October 31, 2002 5:17 PM
Subject: Re: Using Slide with Cocoon 2


>
>
> On Thu, 31 Oct 2002, Olivier Billard wrote:
>
> > Thanks again !
> >
> > But I access to a blank page, without Exception raised...
>
> Nothing, also when you take a look into the source. Any exceptions
> in the logs? Hmm.


-
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: Using Slide with Cocoon 2

2002-10-31 Thread Olivier Billard
Thanks again !

But I access to a blank page, without Exception raised...



- Original Message -
From: "Stephan Michels" <[EMAIL PROTECTED]>
To: "cocoon-users" <[EMAIL PROTECTED]>
Sent: Thursday, October 31, 2002 4:14 PM
Subject: Re: Using Slide with Cocoon 2


>
>
> On Thu, 31 Oct 2002, Olivier Billard wrote:
>
> > Many thanks for your response !!
> >
> > Here is my Exception :
> > [
> >  The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode
> > notifies that java.lang.NullPointerException says:
> > More precisely:
> > java.lang.NullPointerException
> > ]
> >
> > And the stack trace :
> >
> > [
> > java.lang.NullPointerException stacktrace
> > java.lang.NullPointerException
> > at org.apache.cocoon.xml.dom.DOMBuilder.getDocument(DOMBuilder.java:178)
> > at
org.apache.cocoon.components.source.SourceUtil.toDOM(SourceUtil.java:172)
> > at
> >
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.au
> > thenticate(AuthenticationManager.java:458)
> > at
> >
org.apache.cocoon.webapps.authentication.acting.LoginAction.act(LoginAction.
> > java:130)
> > at
>
>
> Hmm, try to remove the attribute 'internal-only="true"' and
> retrieve the page
> /cocoon/samples/slide/authenticate?password=root&name=root
>
> It seems that you have a problem to get a the document
> for authentication.
>
> Stephan.
>
> >
> > - Original Message -
> > From: "Stephan Michels" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>; "Olivier Billard" <[EMAIL PROTECTED]>
> > Sent: Thursday, October 31, 2002 3:23 PM
> > Subject: Re: Using Slide with Cocoon 2
> >
> >
> > >
> > > On Thu, 31 Oct 2002, Olivier Billard wrote:
> > >
> > > > Hi all !
> > > > Hi Stephan !
> > > >
> > > > I didn't manage to do the correction against the login error :
> > > > I modified the sitemap.xmap in samples/slide, changing line 159 from
> > > >  
> > > > to
> > > >   > value="{request-param:resource}"/>
> > >
> > > Hmm, this one have I missed, thanks.
> > >
> > > > I guess that is what you said to do on your precedent mail.
> > > > But I still have the same exception... Is there any other file to
change
> > ?
> > >
> > > Which exception?
> > >
> > > > You don't seemed to commit your changes on CVS, or I may be wrong...
> > >
> > > Yes, the current revision of
> > > xml-cocoon2/src/scratchpad/webapp/samples/slide/sitemap.xmap
> > > is 1.18.
> > >
> > > > Did you rely on SlideRealm or with the default Tomcat user managment
?
> > >
> > > No, but I is also possible to use the SlideRealm to authentificate.
> > >
> > > Many thanks for testing, Stephan.
> > >
> > >
> >
>
>
> -
> 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: Using Slide with Cocoon 2

2002-10-31 Thread Olivier Billard
Many thanks for your response !!

Here is my Exception :
[
 The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode
notifies that java.lang.NullPointerException says:
More precisely:
java.lang.NullPointerException
]

And the stack trace :

[
java.lang.NullPointerException stacktrace
java.lang.NullPointerException
at org.apache.cocoon.xml.dom.DOMBuilder.getDocument(DOMBuilder.java:178)
at org.apache.cocoon.components.source.SourceUtil.toDOM(SourceUtil.java:172)
at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.au
thenticate(AuthenticationManager.java:458)
at
org.apache.cocoon.webapps.authentication.acting.LoginAction.act(LoginAction.
java:130)
at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTyp
eNode.java:133)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:166)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:153)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:143)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:326)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:308)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod
e.java:131)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:166)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:153)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:143)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:326)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:308)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod
e.java:131)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:166)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:153)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:143)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:326)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:308)
at org.apache.cocoon.Cocoon.process(Cocoon.java:595)
...
]

Is there a risk that I forgot something in the configuration ?

Olivier


- Original Message -
From: "Stephan Michels" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Olivier Billard" <[EMAIL PROTECTED]>
Sent: Thursday, October 31, 2002 3:23 PM
Subject: Re: Using Slide with Cocoon 2


>
> On Thu, 31 Oct 2002, Olivier Billard wrote:
>
> > Hi all !
> > Hi Stephan !
> >
> > I didn't manage to do the correction against the login error :
> > I modified the sitemap.xmap in samples/slide, changing line 159 from
> >  
> > to
> >  
>
> Hmm, this one have I missed, thanks.
>
> > I guess that is what you said to do on your precedent mail.
> > But I still have the same exception... Is there any other file to change
?
>
> Which exception?
>
> > You don't seemed to commit your changes on CVS, or I may be wrong...
>
> Yes, the current revision of
> xml-cocoon2/src/scratchpad/webapp/samples/slide/sitemap.xmap
> is 1.18.
>
> > Did you rely on SlideRealm or with the default Tomcat user managment ?
>
> No, but I is also possible to use the SlideRealm to authentificate.
>
> Many thanks for testing, Stephan.
>
>


-

Re: Using Slide with Cocoon 2

2002-10-31 Thread Olivier Billard
Hi all !
Hi Stephan !

I didn't manage to do the correction against the login error :
I modified the sitemap.xmap in samples/slide, changing line 159 from
 
to
 

I guess that is what you said to do on your precedent mail.
But I still have the same exception... Is there any other file to change ?
You don't seemed to commit your changes on CVS, or I may be wrong...

Did you rely on SlideRealm or with the default Tomcat user managment ?

Thank you

Olivier


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