You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Johnson <jo...@soho.club.tw> on 2004/02/21 03:13:22 UTC
what's no pbkey error
I try to bind the registration example to database by OJB JDO.
my database is postgres,had primary key setup ok,every thing seemed right.
But when I test it,the system has a error below,
"file:/jakarta-tomcat-5.0.18/webapps/cocoon/test/flow/registration.js", line 8: uncaught JavaScript exception: at registration (file:/jakarta-tomcat-5.0.18/webapps/cocoon/test/flow/registration.js, Line 8): org.apache.ojb.broker.PBFactoryException: There was no default-PBKey specified
what's this.
Best Regards
Johnson
Re: what's no pbkey error
Posted by Antonio Gallardo <ag...@agssa.net>.
Johnson dijo:
> I try to bind the registration example to database by OJB JDO.
> my database is postgres,had primary key setup ok,every thing seemed right.
> But when I test it,the system has a error below,
>
> "file:/jakarta-tomcat-5.0.18/webapps/cocoon/test/flow/registration.js",
> line 8: uncaught JavaScript exception: at registration
> (file:/jakarta-tomcat-5.0.18/webapps/cocoon/test/flow/registration.js,
> Line 8): org.apache.ojb.broker.PBFactoryException: There was no
> default-PBKey specified
Interesting enough! PBKey is a immutable key to identify PB (Persistence
Brokers) instances in pools, ...
I wonder why you got this error. Maybe a bad configuration in
repository.xml went to this error. AFAIK, JDO implementation uses PB API.
Hope this helps.
Best Regards,
Antonio Gallardo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: what's no pbkey error
Posted by Johnson <jo...@soho.club.tw>.
got it
It reository.xml setting error,default-connection must 'true'
Johnson
----- Original Message -----
From: Johnson
To: users@cocoon.apache.org
Sent: Saturday, February 21, 2004 10:13 AM
Subject: what's no pbkey error
I try to bind the registration example to database by OJB JDO.
my database is postgres,had primary key setup ok,every thing seemed right.
But when I test it,the system has a error below,
"file:/jakarta-tomcat-5.0.18/webapps/cocoon/test/flow/registration.js", line 8: uncaught JavaScript exception: at registration (file:/jakarta-tomcat-5.0.18/webapps/cocoon/test/flow/registration.js, Line 8): org.apache.ojb.broker.PBFactoryException: There was no default-PBKey specified
what's this.
Best Regards
Johnson