RE: Cocoon 2.0.3 Tomcat 4.1.10 sub sitemap problem - failed sitemap 'inheritance' - anyone seen this and have any ideas?

2002-10-01 Thread Christopher Watson

Thanks, again

> -Original Message-
> From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> Sent: 30 September 2002 19:24
> To: [EMAIL PROTECTED]
> Subject: Re: Cocoon 2.0.3 Tomcat 4.1.10 sub sitemap problem - failed
> sitemap 'inheritance' - anyone seen this and have any ideas?
>
>
> Christopher Watson wrote:
> ...
>
> >>These were fixed later on, in 2.0.4-dev.
> >>
> >>
> >
> >I'd rather use the interpreted sitemap. It seems to improve reload
> >dramatically!
> >
> >Could you tell me what files I would have to update, and how to get them?
> >I looked at http://cvs.apache.org/viewcvs.cgi but don't see a 2.0.4-dev
> >branch ...
> >How would I get 2.0.4-dev ?
> >
>
> It's in cocoon_2_0_3_branch
>
> 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]>




RE: Cocoon 2.0.3 Tomcat 4.1.10 sub sitemap problem - failed sitemap 'inheritance' - anyone seen this and have any ideas?

2002-09-30 Thread Christopher Watson

Lajos, Many thanks. I'll give it a go.

> -Original Message-
> From: Lajos Moczar [mailto:[EMAIL PROTECTED]]
> Sent: 30 September 2002 15:04
> To: [EMAIL PROTECTED]
> Subject: Re: Cocoon 2.0.3 Tomcat 4.1.10 sub sitemap problem - failed
> sitemap 'inheritance' - anyone seen this and have any ideas?
> 
> 
> Which is a matter of editing 
> src/java/org/apache/cocoon/components/ExtendedComponentSelector.java, 
> adding the following method at the end of the file and rebuilding Cocoon.
> 
> public boolean hasComponent(Object hint) {
>  boolean exists = super.hasComponent( hint );
>  if ( !exists && this.parentSelector != null ) {
>  exists = this.parentSelector.hasComponent( hint );
>  }
>  return exists;
> }
> 
> Lajos
> 
> 
> Vadim Gritsenko wrote:
> 
> > Christopher Watson wrote:
> > 
> >> Hello
> >>
> >> I'm having problems with a sub-sitemap
> >>
> >> I'm on 2.0.3 release. It works on tomcat 4.0.1 and 4.0.4 but 
> doesn't with
> >> 4.1.10 or 4.1.12
> >>
> >> The example subsitemap http://10.1.1.2:8080/cocoon203/sub/ 
> shows the same
> >> problem.
> >> It's a problem of sitemap 'inheritance' as far as I can tell.
> >>
> >> The error I get from the example URL above is as follows ..
> >>
> >> 
> Description:org.apache.avalon.framework.configuration.Configuratio
> nException 
> >>
> >> : Type 'wildcard' is not defined for 'match' at
> >> file:/F:/jakarta-tomcat/webapps/cocoon203/sub/sitemap.xmap:21:26
> >>
> >> True, the wildcard matcher component is not declared in the 
> >> subsitemap, but
> >> used to 'inherit' it from the 'root' sitemap
> >> at file:/F:/jakarta-tomcat/webapps/cocoon203/sitemap.xmap in the above
> >> example.
> >>
> >> If I declare the lost wildcard matcher component in the subsitemap 
> >> then it
> >> works, or at least, I get the next error caused by the failed 
> >> 'inheritance'
> >>
> >> So I guess I have a workaround in declaring everything in the 
> subsitemap,
> >> but this kind of defeats the object !?
> >>
> >> I've just done a clean install on tomcat 4.0.1 (works) and 4.1.10 
> >> (doesn't)
> >> to check my sanity on this!
> >> It's weird that the version of Tomcat should create this different
> >> behaviour.
> >> Does anyone have any idea what's going on?
> >>
> > 
> > Seems you have switched to interpreted sitemap which (IIRC) in 2.0.3 
> > release had some bugs. These were fixed later on, in 2.0.4-dev.
> > 
> > Vadim
> > 
> > 
> >> Christopher
> >>  
> >>
> > 
> > 
> > 
> > 
> > -
> > 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]>
> > 
> > 
> 
> 
> -- 
> galatea.com
> Cocoon training, consulting & support
> 
> 
> 
> -
> 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: Cocoon 2.0.3 Tomcat 4.1.10 sub sitemap problem - failed sitemap 'inheritance' - anyone seen this and have any ideas?

2002-09-30 Thread Christopher Watson

> -Original Message-
> From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> Sent: 30 September 2002 14:51
> To: [EMAIL PROTECTED]
> Subject: Re: Cocoon 2.0.3 Tomcat 4.1.10 sub sitemap problem - failed
> sitemap 'inheritance' - anyone seen this and have any ideas?
>
>
> Christopher Watson wrote:
>
> >Hello
> >
> >I'm having problems with a sub-sitemap
> >
> >I'm on 2.0.3 release. It works on tomcat 4.0.1 and 4.0.4 but doesn't with
> >4.1.10 or 4.1.12
> >
> >The example subsitemap http://10.1.1.2:8080/cocoon203/sub/ shows the same
> >problem.
> >It's a problem of sitemap 'inheritance' as far as I can tell.
> >
> >The error I get from the example URL above is as follows ..
> >
> >Description:org.apache.avalon.framework.configuration.Configurati
> onException
> >: Type 'wildcard' is not defined for 'match' at
> >file:/F:/jakarta-tomcat/webapps/cocoon203/sub/sitemap.xmap:21:26
> >
> >True, the wildcard matcher component is not declared in the
> subsitemap, but
> >used to 'inherit' it from the 'root' sitemap
> >at file:/F:/jakarta-tomcat/webapps/cocoon203/sitemap.xmap in the above
> >example.
> >
> >If I declare the lost wildcard matcher component in the
> subsitemap then it
> >works, or at least, I get the next error caused by the failed
> 'inheritance'
> >
> >So I guess I have a workaround in declaring everything in the subsitemap,
> >but this kind of defeats the object !?
> >
> >I've just done a clean install on tomcat 4.0.1 (works) and
> 4.1.10 (doesn't)
> >to check my sanity on this!
> >It's weird that the version of Tomcat should create this different
> >behaviour.
> >Does anyone have any idea what's going on?
> >
>
> Seems you have switched to interpreted sitemap which (IIRC) in 2.0.3
> release had some bugs.

Vadim, well spotted !
You are as ever, a brick!
I reset the compiled sitemap and it worked
... and I thought I'd eliminated that from my enquiries. I had too many
machines and versions hanging around ...

> These were fixed later on, in 2.0.4-dev.

I'd rather use the interpreted sitemap. It seems to improve reload
dramatically!

Could you tell me what files I would have to update, and how to get them?
I looked at http://cvs.apache.org/viewcvs.cgi but don't see a 2.0.4-dev
branch ...
How would I get 2.0.4-dev ?

Thanks Again

Christopher

>
> Vadim
>
>
> >Christopher
> >
> >
>
>
>
>
> -
> 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: Cocoon 2.0.3 Tomcat 4.1.10 sub sitemap problem - failed sitemap 'inheritance' - anyone seen this and have any ideas?

2002-09-30 Thread Lajos Moczar

Which is a matter of editing 
src/java/org/apache/cocoon/components/ExtendedComponentSelector.java, 
adding the following method at the end of the file and rebuilding Cocoon.

public boolean hasComponent(Object hint) {
 boolean exists = super.hasComponent( hint );
 if ( !exists && this.parentSelector != null ) {
 exists = this.parentSelector.hasComponent( hint );
 }
 return exists;
}

Lajos


Vadim Gritsenko wrote:

> Christopher Watson wrote:
> 
>> Hello
>>
>> I'm having problems with a sub-sitemap
>>
>> I'm on 2.0.3 release. It works on tomcat 4.0.1 and 4.0.4 but doesn't with
>> 4.1.10 or 4.1.12
>>
>> The example subsitemap http://10.1.1.2:8080/cocoon203/sub/ shows the same
>> problem.
>> It's a problem of sitemap 'inheritance' as far as I can tell.
>>
>> The error I get from the example URL above is as follows ..
>>
>> Description:org.apache.avalon.framework.configuration.ConfigurationException 
>>
>> : Type 'wildcard' is not defined for 'match' at
>> file:/F:/jakarta-tomcat/webapps/cocoon203/sub/sitemap.xmap:21:26
>>
>> True, the wildcard matcher component is not declared in the 
>> subsitemap, but
>> used to 'inherit' it from the 'root' sitemap
>> at file:/F:/jakarta-tomcat/webapps/cocoon203/sitemap.xmap in the above
>> example.
>>
>> If I declare the lost wildcard matcher component in the subsitemap 
>> then it
>> works, or at least, I get the next error caused by the failed 
>> 'inheritance'
>>
>> So I guess I have a workaround in declaring everything in the subsitemap,
>> but this kind of defeats the object !?
>>
>> I've just done a clean install on tomcat 4.0.1 (works) and 4.1.10 
>> (doesn't)
>> to check my sanity on this!
>> It's weird that the version of Tomcat should create this different
>> behaviour.
>> Does anyone have any idea what's going on?
>>
> 
> Seems you have switched to interpreted sitemap which (IIRC) in 2.0.3 
> release had some bugs. These were fixed later on, in 2.0.4-dev.
> 
> Vadim
> 
> 
>> Christopher
>>  
>>
> 
> 
> 
> 
> -
> 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]>
> 
> 


-- 
galatea.com
Cocoon training, consulting & support



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

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




Cocoon 2.0.3 Tomcat 4.1.10 sub sitemap problem - failed sitemap 'inheritance' - anyone seen this and have any ideas?

2002-09-30 Thread Christopher Watson

Hello

I'm having problems with a sub-sitemap

I'm on 2.0.3 release. It works on tomcat 4.0.1 and 4.0.4 but doesn't with
4.1.10 or 4.1.12

The example subsitemap http://10.1.1.2:8080/cocoon203/sub/ shows the same
problem.
It's a problem of sitemap 'inheritance' as far as I can tell.

The error I get from the example URL above is as follows ..

Description:org.apache.avalon.framework.configuration.ConfigurationException
: Type 'wildcard' is not defined for 'match' at
file:/F:/jakarta-tomcat/webapps/cocoon203/sub/sitemap.xmap:21:26

True, the wildcard matcher component is not declared in the subsitemap, but
used to 'inherit' it from the 'root' sitemap
at file:/F:/jakarta-tomcat/webapps/cocoon203/sitemap.xmap in the above
example.

If I declare the lost wildcard matcher component in the subsitemap then it
works, or at least, I get the next error caused by the failed 'inheritance'

So I guess I have a workaround in declaring everything in the subsitemap,
but this kind of defeats the object !?

I've just done a clean install on tomcat 4.0.1 (works) and 4.1.10 (doesn't)
to check my sanity on this!
It's weird that the version of Tomcat should create this different
behaviour.
Does anyone have any idea what's going on?

Christopher


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