4 Replies Latest reply on Apr 30, 2007 3:39 PM by Prabhat Jha

    can't change the theme for default in CR1 bundle hsqldb

    Grant Newbie

      sign in as admin
      click on theme for default portal
      java script error appears with the following
      Line 191
      char 3
      Error 'elements' is null or not an object
      Code 0

      This error stops you from being able to change the theme.

        • 1. Re: can't change the theme for default in CR1 bundle hsqldb
          Thomas Heute Master

          On which browser ?
          With which version of JBoss Portal ?

          • 2. Re: can't change the theme for default in CR1 bundle hsqldb
            Grant Newbie

            2.6CR1
            IE 7.0.5730.11

            • 3. Re: can't change the theme for default in CR1 bundle hsqldb
              Grant Newbie

              I am using MS SQL 8.0 (2000) with the 2.6CR1 portal

              could it have something to do with this:
              14:48:08,671 INFO [RepositoryImpl] Starting repository...
              14:48:08,749 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null
              14:48:08,749 ERROR [JDBCExceptionReporter] Unknown parameter datatype:2004
              14:48:08,764 ERROR [HibernateStore] failed to create folder entry: /
              org.hibernate.exception.GenericJDBCException: could not insert: [org.jboss.porta
              l.cms.hibernate.RepositoryEntry]
              at org.hibernate.exception.SQLStateConverter.handledNonSpecificException
              (SQLStateConverter.java:103)
              at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
              ava:91)
              at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
              er.java:43)
              at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(Abstr
              actReturningDelegate.java:40)
              at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstrac
              tEntityPersister.java:2093)
              at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstrac
              tEntityPersister.java:2573)
              at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentit
              yInsertAction.java:47)
              at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
              at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplic
              ate(AbstractSaveEventListener.java:290)
              at org.hibernate.event.def.AbstractSaveEventListener.performSave(Abstrac
              tSaveEventListener.java:180)
              at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId
              (AbstractSaveEventListener.java:108)
              at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGene
              ratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:186)
              at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrR
              equestedId(DefaultSaveEventListener.java:33)
              at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTran
              sient(DefaultSaveOrUpdateEventListener.java:175)
              at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(
              DefaultSaveEventListener.java:27)
              at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpda
              te(DefaultSaveOrUpdateEventListener.java:70)
              at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
              at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
              at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
              at org.jboss.portal.cms.hibernate.HibernateStore.createDeepFolder(Hibern
              ateStore.java:1517)
              at org.jboss.portal.cms.hibernate.HibernateStore.createDeepFolder(Hibern
              ateStore.java:1493)
              at org.jboss.portal.cms.hibernate.HibernateStore.createFolder(HibernateS
              tore.java:195)
              at org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:
              214)
              at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:
              497)
              at org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService.start(J
              ackrabbitJCRService.java:105)
              at org.jboss.portal.cms.impl.jcr.JCRCMS.startJCR(JCRCMS.java:334)
              at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:299)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
              upport.java:289)
              at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
              96)
              at org.jboss.portal.jems.as.system.AbstractJBossService.start(AbstractJB
              ossService.java:73)
              at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
              sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.e
              xecute(JBossServiceModelMBean.java:428)
              at org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.s
              tartService(JBossServiceModelMBean.java:394)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
              upport.java:289)
              at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
              96)
              at org.jboss.portal.jems.as.system.JBossServiceModelMBean$5.invoke(JBoss
              ServiceModelMBean.java:316)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
              or.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
              BeanOperationInterceptor.java:142)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
              java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
              ler.java:995)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:417)
              at org.jboss.system.ServiceController.start(ServiceController.java:435)
              at org.jboss.system.ServiceController.start(ServiceController.java:435)
              at org.jboss.system.ServiceController.start(ServiceController.java:435)
              at org.jboss.system.ServiceController.start(ServiceController.java:435)
              at org.jboss.system.ServiceController.start(ServiceController.java:435)

              • 4. Re: can't change the theme for default in CR1 bundle hsqldb
                Prabhat Jha Master

                Please search forum for similar issue. AFAIR, the problem was with the jdbc driver. Once user changed it, he was able to run portal with MSSQL server 8.0.