Hi, the reason is probably that the structure for the CMF isn't installed. Independent from installing the structure from the ContentQueryManager, you also need to install the db backend where the content is store, for example:
ContentQueryManager<Paste> pastes = new ContentQueryManager<Paste>(datasource, Paste.class); pastes.getContentManager().install(); // this installs the CMF structure pastes.install(); Hope this helps, Geert On 26 Jul 2007, at 17:53, harala wrote: > > hi. I am using postgresql on an ubuntu machine. I tried to set > the database to postgresql the friends example on the documentation. > Everything gone well except image which is hold as byte array in the > bean. In my database I have all columns except image column. And when > I wanted to add a record which has image it gives > "com > .uwyn > .rife > .cmf.dam.contentmanagers.exceptions.UnknownContentRepositoryException: > The repository 'default' doesn't exist." error. I could not find > anything on the net. -- Geert Bevin Terracotta - http://www.terracotta.org Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rife-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rife-users?hl=en -~----------~----~----~----~------~----~------~--~---
