cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bartek <>
Subject Re: Tutorial application error
Date Mon, 04 Feb 2002 09:33:15 GMT

Friday, March 08, 2002, 10:06:49 AM, you wrote:

FK> Received: from ( [])
FK>         by (8.9.1b+Sun/8.9.3) with SMTP id KAA01512
FK>         for <>; Fri, 8 Mar 2002 10:07:33 +0100 (MET)
FK> Received: (qmail 23057 invoked by uid 500); 8 Mar 2002 09:06:42 -0000
FK> Mailing-List: contact; run by ezmlm
FK> Precedence: bulk
FK> list-help: <>
FK> list-unsubscribe: <>
FK> list-post: <>
FK> Reply-To:
FK> Delivered-To: mailing list
FK> Received: (qmail 23046 invoked from network); 8 Mar 2002 09:06:42 -0000
FK> From: "Felix Kugel" <>
FK> To: <>
FK> Subject: Tutorial application error
FK> Date: Fri, 8 Mar 2002 10:06:49 +0100
FK> Message-ID: <000601c1c680$963517e0$8353e23e@shakti>
FK> MIME-Version: 1.0
FK> Content-Transfer-Encoding: 7bit
FK> X-Priority: 3 (Normal)
FK> X-MSMail-Priority: Normal
FK> X-Mailer: Microsoft Outlook, Build 10.0.2616
FK> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
FK> Importance: Normal
FK> X-Spam-Rating: 1.6.2 0/1000/N
FK> Content-Type: text/plain;
FK>         charset="us-ascii"

FK> In the Cocoon tutorial application, I created a few departments. Then,
FK> as I tried to add an employee to one of the departments, Cocoon produced
FK> the following error message:

FK> -------------------------- Cocoon error message
FK> Message: 
FK>    Could not add record

FK> Source:  
FK>    org.apache.cocoon.ProcessingException

FK> Description: 
FK>    org.apache.cocoon.ProcessingException: Could not add record:
FK> java.sql.SQLException: Column not found: EMPLOYEE in statement [INSERT
FK> INTO employee (id, employee, department_id) VALUES (6, 'Felix', 4)]
FK> --------------------------

>From oryginal sql-page.xml.sql :

CREATE TABLE employee (
  id int(11) DEFAULT '0' NOT NULL,
  department_id int(11) DEFAULT '0' NOT NULL,
  name varchar(255) DEFAULT '' NOT NULL,

so :
INSERT INTO employee VALUES (6,4,'Felix');

FK> My Configuration:
FK> Windows XP
FK> Tomcat 4.0.1
FK> Cocoon 2.0.1 (Binary distribution)

FK> Thanks for any help,
FK> Felix

Bartłomiej Burba

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

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message