Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 93067 invoked from network); 14 Aug 2004 21:10:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Aug 2004 21:10:02 -0000 Received: (qmail 62973 invoked by uid 500); 14 Aug 2004 21:09:52 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 62934 invoked by uid 500); 14 Aug 2004 21:09:51 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 62920 invoked by uid 99); 14 Aug 2004 21:09:51 -0000 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received: from [195.46.220.208] (HELO mx.noos.fr) (195.46.220.208) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sat, 14 Aug 2004 14:09:48 -0700 Received: from localhost (pm-mnet6.mgn.net [195.46.220.215]) by mx.noos.fr (Postfix) with SMTP id 996CA2703E for ; Sat, 14 Aug 2004 23:09:44 +0200 (MEST) X-Mailbox-Line: From jean-roch.schmitt@noos.fr Sat Aug 14 23:09:44 2004 Received: from [192.168.200.100] ([192.168.200.100] [212.198.104.66]) by pm-mnet6.mgn.net with ESMTP; Sat, 14 Aug 2004 23:09:44 (MEST) Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: <20040814122614.75743.qmail@web21003.mail.yahoo.com> References: <20040814122614.75743.qmail@web21003.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <43ECCA67-EE36-11D8-A85A-00039377F97C@noos.fr> Content-Transfer-Encoding: quoted-printable From: Jean-Roch SCHMITT Subject: Re: Cocoon 2.1.5 Forms example in JDO section of OBJ block Date: Sat, 14 Aug 2004 23:09:44 +0200 To: users@cocoon.apache.org X-Mailer: Apple Mail (2.618) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I would associate this error message with an incorrect bean *.class=20 "enhancement" in JDO's concepts. If you can browse the bean *.class files, check wether they contain=20 some JDO specific method. In case they don't, it means they have not been properly "enhanced".=20 Look inside the corresponding build.xml ant file (in cocoon src=20 directory or subdirectories, I don't remember), it contains the command=20= line and environment paramters to achieve this step. I recently went through the whole cocoon/JDO usage process and one can=20= get very different error messages until all is set up. I hope this helps you, good luck Jean-Roch Le 14 ao=FBt 04, =E0 14:26, Paul Joseph a =E9crit : > Hi, > > I am trying to explore the OJB Block in Cocoon 2.1.5 > specifically the Cocoon Forms example in the JDO 1.01 > section. > > When I click on this link, I get the following error > and am not sure if it is a setup issue on my part or a > genuine bug in the employee.js file. > > thx > Paul > ------------------- > > org.apache.avalon.framework.CascadingRuntimeException: > "file:/C:/Program Files/Apache Software > Foundation/Tomcat > 5.0/webapps/cocoon/samples/blocks/ojb/forms/employee.js", > line 29: uncaught JavaScript exception: at > employeeform_jdo (file:/C:/Program Files/Apache > Software Foundation/Tomcat > 5.0/webapps/cocoon/samples/blocks/ojb/forms/employee.js, > Line 29): javax.jdo.JDOUserException: Given object is > not a valid OID. > FailedObject:org.apache.cocoon.ojb.samples.bean.Employee{1} > NestedThrowables: javax.jdo.JDOFatalUserException: No > metadata has been registered for class > org.apache.cocoon.ojb.samples.bean.Employee. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org