You can get the same effect if you try and use samples/mod-db/user-list. 
If you add a group you get no error, but if you add a person, person-group
you get the following error.

The error reported from the sitemap.log is

org.apache.avalon.framework.component.ComponentException: Could not find
component
        at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:255)
        at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:236)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory$ComponentManagerProxy.lookup(DefaultComponentFactory.java:393)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:185)
        at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:236)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:185)
        at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:236)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invokeErrorHandler(PipelineNode.java:198)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:175)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:326)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:308)
        at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:131)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:85)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:166)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:326)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:308)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:595)
        at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1034)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
        at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
        at java.lang.Thread.run(Thread.java:479)


> On 25.Oct.2002 -- 08:14 AM, Antonio Gallardo Rivera wrote:
>> Hello.
>>
>> I am trying to insert permission into a table. The descriptor is:
>>
>> <table name="permisos">
>>   <keys>
>>     <key name="usr_id" type="long">
>>       <mode name="request-attr" type="all"
>> 
>parameter="org.apache.cocoon.components.modules.output.OutputModule:usuarios.usr_id[0]"/>
>>
>>     </key>
>>    <key name="obj_id" type="long" set="master">
>>        <mode name="request-param" parameter="obj_id" type="all"/>
>>    </key>
>>  </keys>
>> </table>
>>
>> The table-set is:
>>
>> <table-set name="usuario_y_permisos">
>>   <table name="usuarios"/>
>>   <table name="permisos" others-mode="request-attr"/>
>> </table-set>
>>
>> The error I got is in the sitemap.log:
>>
>> Thread-4/DatabaseAction: query: INSERT INTO permisos (usr_id, obj_id)
>> VALUES  (?, ?)
>> Thread-4/DatabaseAction: Trying to set column permisos.usr_id from
>> request-attr using getAttribute method
>> Thread-4/DatabaseAction: Setting column permisos.usr_id [0] 5
>> Thread-4/DatabaseAction: Trying to set column permisos.obj_id from
>> request-param using getAttributeValues method
>> Thread-4/DatabaseAction: Setting column permisos.obj_id [0] 3
>> Thread-4/DatabaseAction: Setting column permisos.obj_id [1] 2
>> Thread-4/DatabaseAction: ====> row no. 0
>> Thread-4/DatabaseAction: Setting column permisos.usr_id[0] to 5
>> Thread-4/DatabaseAction: Rolling back transaction. Caused by null
>
> Mmmh, it looks fine so far. Could you make it throw an exception
> ("<throw-exception>yes</throw-exception>" in config) and send me the
> log? You are using a 2.1 CVS snapshot? JDK version? Database?
>
>       Chris.
> --
> C h r i s t i a n       H a u l
> [EMAIL PROTECTED]
>     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
>
> ---------------------------------------------------------------------
> 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]>

Reply via email to