2 Replies Latest reply on Apr 8, 2013 8:36 AM by casey perkins

    Failed to create folder for repository

    Steve Rose Newbie

      I am trying to install version 2.2 rc2 but I keep getting errors. I am using a oracle 9i database. Any ideas?

      --- MBeans waiting for other MBeans ---
      ObjectName: portal:service=CMS
       State: FAILED
       Reason: javax.jcr.RepositoryException: failed to create folder for repository
      meta data: failed to check existence of file system entry: /meta: could not exec
      ute query: failed to check existence of file system entry: /meta: could not exec
      ute query
       I Depend On:
       jboss.jca:service=DataSourceBinding,name=PortalDS
       portal:service=JAASLoginModule
       Depends On Me:
       portal:mapper=CMSObject
      
      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: portal:service=CMS
       State: FAILED
       Reason: javax.jcr.RepositoryException: failed to create folder for repository
      meta data: failed to check existence of file system entry: /meta: could not exec
      ute query: failed to check existence of file system entry: /meta: could not exec
      ute query
       I Depend On:
       jboss.jca:service=DataSourceBinding,name=PortalDS
       portal:service=JAASLoginModule
       Depends On Me:
       portal:mapper=CMSObject

      --------------------------------------------------------------------------------
      org.hibernate.exception.SQLGrammarException: could not execute query
       at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:65)
       at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
       at org.hibernate.loader.Loader.doList(Loader.java:2150)
       at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2026)
       at org.hibernate.loader.Loader.list(Loader.java:2021)
       at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369)
       at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:298)
       at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1020)
       at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
       at org.jboss.portal.cms.hibernate.HibernateStore.exists(HibernateStore.java:487)
       at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:172)
       at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:424)
       at org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:124)
       at org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:110)
       at org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:57)
       at org.jboss.portal.cms.util.RepositoryUtil.registerRepository(RepositoryUtil.java:69)
       at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:222)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:181)
       at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:73)
      Caused by: java.sql.SQLException: ORA-00932: inconsistent datatypes: expected - got CLOB
      
       at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
       at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
       at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
       at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
       at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
       at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:799)
       at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
       at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:839)
       at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
       at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
       at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3329)
       at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:211)
       at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:137)
       at org.hibernate.loader.Loader.getResultSet(Loader.java:1676)
       at org.hibernate.loader.Loader.doQuery(Loader.java:662)
       at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:223)
       at org.hibernate.loader.Loader.doList(Loader.java:2147)
       at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2026)
       at org.hibernate.loader.Loader.list(Loader.java:2021)
       at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369)
       at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:298)
       at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1020)
       at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
       at org.jboss.portal.cms.hibernate.HibernateStore.exists(HibernateStore.java:487)
       at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:172)
       at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:424)
       at org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:124)
       at org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:110)
       at org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:57)
       at org.jboss.portal.cms.util.RepositoryUtil.registerRepository(RepositoryUtil.java:69)
       at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:222)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
      2005-12-13 14:33:58,031 DEBUG [org.jboss.portal.cms.impl.jcr.JCRCMS] Starting failed portal:service=CMS