I'm trying to use multiple descriptor files for mod-db actions.
My actions are defined in the sitemap as:
66 <map:action name="mod-db-upd"
67 src="org.apache.cocoon.acting.modular.DatabaseUpdateAction">
68 <descriptor>db3.xml</descriptor>
69 <throw-exception>false</throw-exception>
70 </map:action>
71
72 <map:action name="mod-db-sel-email-pw"
73 src="org.apache.cocoon.acting.modular.DatabaseSelectAction">
74 <descriptor>db1.xml</descriptor>
75 <throw-exception>true</throw-exception>
76 <append-table-name>false</append-table-name>
77 <output>session</output>
78 </map:action>
79
80 <map:action name="mod-db-sel-email"
81 src="org.apache.cocoon.acting.modular.DatabaseSelectAction">
82 <descriptor>db2.xml</descriptor>
83 <throw-exception>true</throw-exception>
84 <append-table-name>false</append-table-name>
85 <output>session</output>
86 </map:action>
The error message:
_org.apache.cocoon.ProcessingException: Could not add record:
org.apache.avalon.framework.configuration.ConfigurationException: Error
trying to load configurations for resource:
file:/var/tomcat4/webapps/cocoon/list/db1.xml_
All of these files have file permissions of 664 and are owned by tomcat4.
I am using Cocoon 2.1-dev from cvs around Aug 15, Tomcat 4.0.2, and JDK
1.4.1 from Sun.
I have also tried using <map:parameter name="descriptor"
value="db1.xml"/>, but I get the same results.
Are there any limitations on file name, such as excluded characters,
length, etc?
--
Robert J. (Bobby) Mitchell
Systems Administrator
NASA Institute for Advanced Concepts
555A 14th St Atlanta, Ga. 30318
Phone: (404)347-9633 Fax: (404)347-9638
---------------------------------------------------------------------
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]>