db-ojb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kalén <mka...@apache.org>
Subject Re: This feature is not supported by this implementation - UnsupportedOperationException
Date Mon, 06 Jun 2005 08:09:08 GMT
Dennis Riedel wrote:
> repository_database.xml:
> #########
> <jdbc-connection-descriptor default-connection="true" jcd-alias="postgres-pool" platform="postgresql"

> Is it a MUST DO to configure OJB for a specific database before BUILD ? I just compiled
cocoon with the JDO libraries to get the examples work.

As far as OJB is concerned: no, not at all.

You just change the deployed repository_database.xml and can even modify the
platform selection at runtime (although there are some caveats with cached
connection pools in if you do this, see the mail archives for ojb-user).

When you re-build Cocoon with the OJB block, your deployed repository_database.xml
might get overwritten with configuration from files in src/blocks/ojb/configuration/ [*],
so I think you should investigate how Antonio has structured the block build and
maybe ask cocoon-user's list for more info re this.

*) at least this is where block configuration used to be located up to C2.1.6,
before the new Cocoon feature of external blocks

> Is it useful to upgrade to 1.0.3? If yes, is it easily to update it in Cocoon?

Upgrading the OJB JAR in the Cocoon block will not affect the build process,
this is more of a Cocoon block issue than OJB build procedure.

To verify which database implementation your CocoonServlet/webapp is using,
check the deployed repository_database.xml (which you might find in
Cocoon's WEB-INF/classes or built into a JAR depending on how the block
deployment is configured).

Since you got the "This feature is not supported by this implementation"
exception, it looks very much like your hand-crafted repository got
overwritten by a default one from the block (using default hsqldb platform)
when you re-built your Cocoon.

Hopefully this gave you enough pointers to follow up on the cocoon-user's
list. If you get it to work, please write or CC this list so that we can
give more specific info to OJB-block users in the future.


To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org

View raw message