cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Joseph <pjoseph...@yahoo.com>
Subject Re: Cocoon 2.1.5 Forms example in JDO section of OBJ block
Date Sat, 14 Aug 2004 23:04:10 GMT
Yes Jean-Roch!

Thank you very much - you hit the nail on the head!

It all works now!

-Paul
--- Jean-Roch SCHMITT <jean-roch.schmitt@noos.fr>
wrote:

> Hi,
> 
> I would associate this error message with an
> incorrect bean *.class 
> "enhancement" in JDO's concepts.
> If you can browse the bean *.class files, check
> wether they contain 
> some JDO specific method.
> In case they don't, it means they have not been
> properly "enhanced". 
> Look inside the corresponding build.xml ant file (in
> cocoon src 
> directory or subdirectories, I don't remember), it
> contains the command 
> line and environment paramters to achieve this step.
> 
> I recently went through the whole cocoon/JDO usage
> process and one can 
> get very different error messages until all is set
> up.
> 
> I hope this helps you, good luck
> 
> Jean-Roch
> 
> Le 14 août 04, à 14:26, Paul Joseph a écrit :
> 
> > 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
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message