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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to