7 Replies Latest reply on Apr 6, 2006 11:34 AM by peter

    Error creating new directory on CMS

    angel gonzalez Newbie

      I'm creating new directory on CMS (in root folder, call 'new') and error ocurs:

      08:20:42,133 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: 23505
      08:20:42,133 ERROR [JDBCExceptionReporter] ERROR: duplicate key violates unique constraint "jbp_cms_wsp_prop_pkey"
      08:20:42,133 ERROR [AbstractFlushingEventListener] Could not synchronize database state with session
      org.hibernate.exception.ConstraintViolationException: could not insert: [org.jboss.portal.cms.hibernate.state.WSPProp]
       at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:69)
       at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
       at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2078)
       at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2427)
       at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:51)
       at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
       at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227)
      
      <...>
      
      08:20:42,243 ERROR [STDERR] javax.jcr.PathNotFoundException: /new
      08:20:42,243 ERROR [STDERR] at org.apache.jackrabbit.core.HierarchyManagerImpl.resolvePath(HierarchyManagerImpl.java:263)
      08:20:42,243 ERROR [STDERR] at org.apache.jackrabbit.core.CachingHierarchyManager.resolvePath(CachingHierarchyManager.java:127)
      08:20:42,243 ERROR [STDERR] at org.apache.jackrabbit.core.HierarchyManagerImpl.resolvePath(HierarchyManagerImpl.java:202)
      
      

      ---

      Help me :\