-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: why are locked table stats a problem for schema update?
PostPosted: Thu Jun 04, 2009 5:47 pm 
Newbie

Joined: Thu Jun 04, 2009 5:18 pm
Posts: 1
I'm hoping you can help me understand what's happening behind the scenes.

On Tomcat startup when Hibernate is updating the schema if Oracle table statistics are locked a java.sql.SQLException is thrown and Spring destroys all beans. I see

org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not get table metadata: EVAL_ITEM

where EVAL_ITEM stats have been locked. Our DBA says ORA-38029: object statistics are locked would only happen if something is running DBMS_STATS or ANALYZE TABLE.

Is running these commands a part of what Hibernate does in schema updating? Any insight would be appreciated.

Thanks,

Dick Ellis
University of Michigan


<sakai.hibernate.version>3.2.5.ga</sakai.hibernate.version>
<sakai.tomcat.version>tomcat-5.5.26</sakai.tomcat.version>
<sakai.spring.version>2.0.6</sakai.spring.version>

INFO: Updating database schema for Hibernate SessionFactory (2009-06-04 16:07:06,530 main_org.sakaiproject.springframework.orm.hibernate.AddableSessionFactoryBean)
WARN: SQL Error: 38029, SQLState: 99999 (2009-06-04 16:07:08,645 main_org.hibernate.util.JDBCExceptionReporter)
ERROR: ORA-38029: object statistics are locked
(2009-06-04 16:07:08,645 main_org.hibernate.util.JDBCExceptionReporter)
ERROR: Failed to preinstantiate the singleton named org.sakaiproject.evaluation.providers.EvalGroupsProvider. Destroying all Spring beans. (2009-06-04 16:07:08,696 main_org.sakaiproject.util.NoisierDefaultListableBeanFactory)
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.evaluation.providers.EvalGroupsProvider' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/ctools-providers-pack/WEB-INF/components.xml]: Cannot resolve reference to bean 'org.sakaiproject.evaluation.logic.externals.EvalExternalLogic' while setting bean property 'externalLogic'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.evaluation.logic.externals.EvalExternalLogic' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/sakai-evaluation-pack/WEB-INF/external-logic.xml]: Cannot resolve reference to bean 'org.sakaiproject.entitybroker.EntityBroker' while setting bean property 'entityBroker'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.entitybroker.EntityBroker' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/entitybroker-pack/WEB-INF/components.xml]: Cannot resolve reference to bean 'org.sakaiproject.entitybroker.impl.EntityMetaPropertiesService' while setting bean property 'entityMetaPropertiesService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.entitybroker.impl.EntityMetaPropertiesService' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/entitybroker-pack/WEB-INF/components.xml]: Cannot resolve reference to bean 'org.sakaiproject.entitybroker.dao.EntityBrokerDao' while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.entitybroker.dao.EntityBrokerDao' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/entitybroker-pack/WEB-INF/spring-jdbc.xml]: Cannot resolve reference to bean 'org.sakaiproject.springframework.orm.hibernate.GlobalTransactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.springframework.orm.hibernate.GlobalTransactionManager' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/sakai-db-pack/WEB-INF/components.xml]: Cannot resolve reference to bean 'org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/sakai-db-pack/WEB-INF/components.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not get table metadata: EVAL_ITEM; uncategorized SQLException for SQL [???]; SQL state [99999]; error code [38029]; ORA-38029: object statistics are locked
; nested exception is java.sql.SQLException: ORA-38029: object statistics are locked

Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.evaluation.logic.externals.EvalExternalLogic' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/sakai-evaluation-pack/WEB-INF/external-logic.xml]: Cannot resolve reference to bean 'org.sakaiproject.entitybroker.EntityBroker' while setting bean property 'entityBroker'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.entitybroker.EntityBroker' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/entitybroker-pack/WEB-INF/components.xml]: Cannot resolve reference to bean 'org.sakaiproject.entitybroker.impl.EntityMetaPropertiesService' while setting bean property 'entityMetaPropertiesService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.entitybroker.impl.EntityMetaPropertiesService' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/entitybroker-pack/WEB-INF/components.xml]: Cannot resolve reference to bean 'org.sakaiproject.entitybroker.dao.EntityBrokerDao' while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.entitybroker.dao.EntityBrokerDao' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/entitybroker-pack/WEB-INF/spring-jdbc.xml]: Cannot resolve reference to bean 'org.sakaiproject.springframework.orm.hibernate.GlobalTransactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.springframework.orm.hibernate.GlobalTransactionManager' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/sakai-db-pack/WEB-INF/components.xml]: Cannot resolve reference to bean 'org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/sakai-db-pack/WEB-INF/components.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not get table metadata: EVAL_ITEM; uncategorized SQLException for SQL [???]; SQL state [99999]; error code [38029]; ORA-38029: object statistics are locked
; nested exception is java.sql.SQLException: ORA-38029: object statistics are locked

Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.entitybroker.EntityBroker' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/entitybroker-pack/WEB-INF/components.xml]: Cannot resolve reference to bean 'org.sakaiproject.entitybroker.impl.EntityMetaPropertiesService' while setting bean property 'entityMetaPropertiesService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.entitybroker.impl.EntityMetaPropertiesService' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/entitybroker-pack/WEB-INF/components.xml]: Cannot resolve reference to bean 'org.sakaiproject.entitybroker.dao.EntityBrokerDao' while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.entitybroker.dao.EntityBrokerDao' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/entitybroker-pack/WEB-INF/spring-jdbc.xml]: Cannot resolve reference to bean 'org.sakaiproject.springframework.orm.hibernate.GlobalTransactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.springframework.orm.hibernate.GlobalTransactionManager' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/sakai-db-pack/WEB-INF/components.xml]: Cannot resolve reference to bean 'org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/sakai-db-pack/WEB-INF/components.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not get table metadata: EVAL_ITEM; uncategorized SQLException for SQL [???]; SQL state [99999]; error code [38029]; ORA-38029: object statistics are locked
; nested exception is java.sql.SQLException: ORA-38029: object statistics are locked

Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.entitybroker.impl.EntityMetaPropertiesService' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/entitybroker-pack/WEB-INF/components.xml]: Cannot resolve reference to bean 'org.sakaiproject.entitybroker.dao.EntityBrokerDao' while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.entitybroker.dao.EntityBrokerDao' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/entitybroker-pack/WEB-INF/spring-jdbc.xml]: Cannot resolve reference to bean 'org.sakaiproject.springframework.orm.hibernate.GlobalTransactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.springframework.orm.hibernate.GlobalTransactionManager' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/sakai-db-pack/WEB-INF/components.xml]: Cannot resolve reference to bean 'org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/sakai-db-pack/WEB-INF/components.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not get table metadata: EVAL_ITEM; uncategorized SQLException for SQL [???]; SQL state [99999]; error code [38029]; ORA-38029: object statistics are locked
; nested exception is java.sql.SQLException: ORA-38029: object statistics are locked

Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.entitybroker.dao.EntityBrokerDao' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/entitybroker-pack/WEB-INF/spring-jdbc.xml]: Cannot resolve reference to bean 'org.sakaiproject.springframework.orm.hibernate.GlobalTransactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.springframework.orm.hibernate.GlobalTransactionManager' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/sakai-db-pack/WEB-INF/components.xml]: Cannot resolve reference to bean 'org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/sakai-db-pack/WEB-INF/components.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not get table metadata: EVAL_ITEM; uncategorized SQLException for SQL [???]; SQL state [99999]; error code [38029]; ORA-38029: object statistics are locked
; nested exception is java.sql.SQLException: ORA-38029: object statistics are locked

Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.springframework.orm.hibernate.GlobalTransactionManager' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/sakai-db-pack/WEB-INF/components.xml]: Cannot resolve reference to bean 'org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/sakai-db-pack/WEB-INF/components.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not get table metadata: EVAL_ITEM; uncategorized SQLException for SQL [???]; SQL state [99999]; error code [38029]; ORA-38029: object statistics are locked
; nested exception is java.sql.SQLException: ORA-38029: object statistics are locked

Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory' defined in file [/Users/rwellis/dev/apache-tomcat-5.5.26/components/sakai-db-pack/WEB-INF/components.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not get table metadata: EVAL_ITEM; uncategorized SQLException for SQL [???]; SQL state [99999]; error code [38029]; ORA-38029: object statistics are locked
; nested exception is java.sql.SQLException: ORA-38029: object statistics are locked

Caused by:
org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not get table metadata: EVAL_ITEM; uncategorized SQLException for SQL [???]; SQL state [99999]; error code [38029]; ORA-38029: object statistics are locked
; nested exception is java.sql.SQLException: ORA-38029: object statistics are locked

Caused by:
java.sql.SQLException: ORA-38029: object statistics are locked

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:113)
at oracle.jdbc.driver.T4CStatement.execute_for_rows(T4CStatement.java:561)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1487)
at oracle.jdbc.OracleDatabaseMetaData.getIndexInfo(OracleDatabaseMetaData.java:3296)
at org.hibernate.tool.hbm2ddl.TableMetadata.initIndexes(TableMetadata.java:130)
at org.hibernate.tool.hbm2ddl.TableMetadata.<init>(TableMetadata.java:35)
at org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(DatabaseMetadata.java:90)
at org.hibernate.cfg.Configuration.generateSchemaUpdateScript(Configuration.java:948)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean$3.doInHibernate(LocalSessionFactoryBean.java:948)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:372)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:338)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.updateDatabaseSchema(LocalSessionFactoryBean.java:942)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterSessionFactoryCreation(LocalSessionFactoryBean.java:833)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:136)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.sakaiproject.util.NoisierDefaultListableBeanFactory.preInstantiateSingletons(NoisierDefaultListableBeanFactory.java:63)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
at org.sakaiproject.component.impl.SpringCompMgr.init(SpringCompMgr.java:254)
at org.sakaiproject.component.cover.ComponentManager.getInstance(ComponentManager.java:62)
at org.sakaiproject.component.cover.ComponentManager.get(ComponentManager.java:71)
at org.sakaiproject.portal.api.cover.PortalService.getInstance(PortalService.java:51)
at org.sakaiproject.portal.charon.SkinnableCharonPortal.init(SkinnableCharonPortal.java:1787)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
INFO: Destroying singletons in org.sakaiproject.util.NoisierDefaultListableBeanFactory@c4c9f6: defining beans [org.sakaiproject.portal.api.PortalService,org.sakaiproject.portal.api.PortalService.portletRegistryListener,org.sakaiproject.util.api.umiac.UmiacConnector,org.sakaiproject.util.api.umiac.UmiacClient,org.sakaiproject.user.api.UserDirectoryProvider,org.sakaiproject.authz.api.GroupProvider,org.sakaiproject.component.legacy.realm.EvalUmiacProvider,org.sakaiproject.evaluation.providers.EvalGroupsProvider,org.sakaiproject.coursemanagement.api.CourseManagementService,eventwatcher,org.sakaiproject.sitemanage.api.SectionFieldProvider,org.sakaiproject.sitemanage.api.AffiliatedSectionProvider,org.sakaiproject.tbook.provider.TextbookProvider,sakaiAutoDDL,sakaiDatabaseType,org.sakaiproject.entitybroker.dao.impl.EntityBrokerDaoTarget,org.sakaiproject.entitybroker.dao.EntityBrokerDao,org.sakaiproject.entitybroker.entityprovider.EntityProviderManager,org.sakaiproject.entitybroker.EntityBroker,org.sakaiproject.entitybroker.DeveloperHelperService,org.sakaiproject.entitybroker.entityprovider.AbstractEntityProvider,org.sakaiproject.entitybroker.util.request.RequestGetter,org.sakaiproject.entitybroker.util.request.RequestStorage,org.sakaiproject.entitybroker.EntityPropertiesService,org.sakaiproject.entitybroker.access.EntityViewAccessProviderManager,org.sakaiproject.entitybroker.access.HttpServletAccessProviderManager,org.sakaiproject.entitybroker.entityprovider.EntityProviderMethodStore,org.sakaiproject.entitybroker.EntityBrokerManager,org.sakaiproject.entitybroker.impl.EntityMetaPropertiesService,org.sakaiproject.entitybroker.impl.EntityTaggingService,org.sakaiproject.entitybroker.impl.event.EventReceiverCoordinator,org.sakaiproject.entitybroker.providers.ExternalIntegrationProvider,org.sakaiproject.entitybroker.impl.collector.BeanCollectorAutoRegistrar,org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderAutoRegistrar,org.sakaiproject.entitybroker.impl.oldentity.EntityBrokerEntityProducer,org.sakaiproject.component.app.dissertation.StepChangeJob,org.sakaiproject.component.app.dissertation.UploadExtractsJob,org.sakaiproject.api.app.dissertation.DissertationService,hierarchy.hbmMappingList,org.sakaiproject.hierarchy.dao.HierarchyDaoTarget,org.sakaiproject.hierarchy.dao.HierarchyDao,org.sakaiproject.springframework.orm.hibernate.impl.AdditionalHibernateMappingsImpl,org.sakaiproject.hierarchy.HierarchyService,org.sakaiproject.alias.api.AliasService,org.sakaiproject.announcement.api.AnnouncementService,org.sakaiproject.announcement.impl.SiteEmailNotificationAnnc,org.sakaiproject.authz.impl.DbAuthzGroupSqlDb2,org.sakaiproject.authz.impl.DbAuthzGroupSqlDefault,org.sakaiproject.authz.impl.DbAuthzGroupSqlHSql,org.sakaiproject.authz.impl.DbAuthzGroupSqlMsSql,org.sakaiproject.authz.impl.DbAuthzGroupSqlMySql,org.sakaiproject.authz.impl.DbAuthzGroupSqlOracle,org.sakaiproject.authz.api.AuthzGroupService,org.sakaiproject.authz.api.SecurityService,org.sakaiproject.authz.api.FunctionManager,org.sakaiproject.cluster.impl.SakaiClusterServiceSqlDb2,org.sakaiproject.cluster.impl.SakaiClusterServiceSqlDefault,org.sakaiproject.cluster.impl.SakaiClusterServiceSqlHSql,org.sakaiproject.cluster.impl.SakaiClusterServiceSqlMsSql,org.sakaiproject.cluster.impl.SakaiClusterServiceSqlMySql,org.sakaiproject.cluster.impl.SakaiClusterServiceSqlOracle,org.sakaiproject.cluster.api.ClusterService,org.sakaiproject.api.app.scheduler.SchedulerManager,org.sakaiproject.api.app.scheduler.ScheduledInvocationManager,schedulerSampleTest,org.sakaiproject.api.app.scheduler.JobBeanWrapper.schedulerSampleTest,org.sakaiproject.component.api.ServerConfigurationService,org.sakaiproject.content.impl.ContentServiceSqlDb2,org.sakaiproject.content.impl.ContentServiceSqlDefault,org.sakaiproject.content.impl.ContentServiceSqlHSql,org.sakaiproject.content.impl.ContentServiceSqlMsSql,org.sakaiproject.content.impl.ContentServiceSqlMySql,org.sakaiproject.content.impl.ContentServiceSqlOracle,org.sakaiproject.content.api.ContentHostingService,org.sakaiproject.content.api.ContentHostingHandlerResolver,org.sakaiproject.content.api.ContentTypeImageService,org.sakaiproject.content.api.ContentResourceFilter.base,lockManagerHibernateMappings,org.sakaiproject.content.impl.LockManagerTarget,org.sakaiproject.content.api.LockManager,org.sakaiproject.content.api.ResourceTypeRegistry,org.sakaiproject.content.impl.DropboxContextObserver,org.sakaiproject.content.api.ContentHostingService.collectionSerializer,org.sakaiproject.content.api.ContentHostingService.resourceSerializer,org.sakaiproject.content.providers.CourseManagement,org.sakaiproject.content.providers.CourseManagement.advisor,org.sakaiproject.courier.api.CourierService,org.sakaiproject.db.impl.BasicSqlServiceSqlDefault,org.sakaiproject.db.impl.BasicSqlServiceSqlDb2,org.sakaiproject.db.impl.BasicSqlServiceSqlHSql,org.sakaiproject.db.impl.BasicSqlServiceSqlMsSql,org.sakaiproject.db.impl.BasicSqlServiceSqlMySql,org.sakaiproject.db.impl.BasicSqlServiceSqlOracle,org.sakaiproject.db.api.SqlService,javax.sql.BaseDataSource,javax.sql.DataSource,javax.sql.LongDataSource,org.sakaiproject.springframework.orm.hibernate.SessionFactoryBase,org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory,org.sakaiproject.springframework.orm.hibernate.GlobalTransactionManager,org.sakaiproject.springframework.orm.hibernate.L2Cache,org.sakaiproject.springframework.orm.hibernate.SessionFactoryBase.jmxAgent,org.sakaiproject.email.api.DigestService,org.sakaiproject.email.api.EmailService,org.sakaiproject.entity.api.EntityManager,evaluation.hbmMappingList,org.sakaiproject.evaluation.dao.EvaluationDao,org.sakaiproject.evaluation.dao.PreloadData,org.sakaiproject.evaluation.dao.EvalAdhocSupport,org.sakaiproject.evaluation.logic.EvalSettings,org.sakaiproject.evaluation.dao.EvalDaoInvoker,org.sakaiproject.evaluation.interceptor.LogicTransactionProxy,org.sakaiproject.genericdao.springutil.CurrentClassLoaderBeanNameAutoProxyCreator,org.sakaiproject.springframework.orm.hibernate.impl.AdditionalHibernateMappingsImpl#1,org.sakaiproject.evaluation.logic.externals.EvalExternalLogic,org.sakaiproject.evaluation.logic.externals.ExternalHierarchyLogic,org.sakaiproject.evaluation.logic.EvalCommonLogic,org.sakaiproject.evaluation.beans.EvalBeanUtils,org.sakaiproject.evaluation.logic.externals.EvalSecurityChecks,org.sakaiproject.evaluation.logic.ReportingPermissions,org.sakaiproject.evaluation.logic.EvalEvaluationService,org.sakaiproject.evaluation.logic.entity.EvaluationEntityProvider,org.sakaiproject.evaluation.logic.entity.AssignGroupEntityProvider,org.sakaiproject.evaluation.logic.entity.AdhocGroupEntityProvider,org.sakaiproject.evaluation.logic.entity.EvalCategoryEntityProvider,org.sakaiproject.evaluation.logic.entity.TemplateEntityProvider,org.sakaiproject.evaluation.logic.entity.TemplateItemEntityProvider,org.sakaiproject.evaluation.logic.entity.ConfigEntityProvider,org.sakaiproject.evaluation.logic.entity.EvalReportsEntityProvider,org.sakaiproject.evaluation.logic.EvalEmailsLogic,org.sakaiproject.evaluation.logic.EvalJobLogic,org.sakaiproject.evaluation.logic.EvalAuthoringService,org.sakaiproject.evaluation.logic.EvalEvaluationSetupService,org.sakaiproject.evaluation.logic.EvalDeliveryService,org.sakaiproject.evaluation.dao.EvalDataPreloaderImpl,org.sakaiproject.evaluation.logic.externals.EvalScheduledInvocation,org.sakaiproject.evaluation.logic.imports.EvalImportJob,org.sakaiproject.event.impl.ClusterEventTrackingServiceSqlDb2,org.sakaiproject.event.impl.ClusterEventTrackingServiceSqlDefault,org.sakaiproject.event.impl.ClusterEventTrackingServiceSqlHSql,org.sakaiproject.event.impl.ClusterEventTrackingServiceSqlMsSql,org.sakaiproject.event.impl.ClusterEventTrackingServiceSqlMySql,org.sakaiproject.event.impl.ClusterEventTrackingServiceSqlOracle,org.sakaiproject.event.impl.UsageSessionServiceSqlDb2,org.sakaiproject.event.impl.UsageSessionServiceSqlDefault,org.sakaiproject.event.impl.UsageSessionServiceSqlHSql,org.sakaiproject.event.impl.UsageSessionServiceSqlMsSql,org.sakaiproject.event.impl.UsageSessionServiceSqlMySql,org.sakaiproject.event.impl.UsageSessionServiceSqlOracle,org.sakaiproject.event.api.EventTrackingService,org.sakaiproject.event.api.NotificationService,org.sakaiproject.event.api.UsageSessionService,org.sakaiproject.importer.api.ImportFileParser-Sakai,org.sakaiproject.importer.api.ImportFileParser-CommonCartridge,org.sakaiproject.importer.impl.handlers.ResourcesHandler,org.sakaiproject.importer.api.ImportService,org.sakaiproject.jcr.api.JCRService.startup1,org.sakaiproject.jcr.api.JCRService,org.sakaiproject.jcr.api.UnboundJCRService,org.sakaiproject.jcr.api.JCRRegistrationService,org.sakaiproject.jcr.api.JCRService.repositoryBuilder,org.sakaiproject.jcr.api.JCRService.credentials,org.sakaiproject.jcr.api.JCRSecurityServiceAdapter,org.sakaiproject.jcr.support.api.JCRNodeFactoryService,org.sakaiproject.mailarchive.api.MailArchiveService,org.sakaiproject.memory.api.MemoryService,org.sakaiproject.memory.api.MemoryService.cacheManager,org.sakaiproject.memory.api.MemoryService.jmxAgent,org.sakaiproject.portal.render.api.ToolRenderService,fragmentRenderService,iframeRenderService,portletRenderService,portletStateEncoder,urlSafeEncoder,org.sakaiproject.springframework.orm.hibernate.impl.AdditionalHibernateMappingsImpl.privacy,org.sakaiproject.component.privacy.PrivacyManagerImpl,org.sakaiproject.api.privacy.PrivacyManager,org.sakaiproject.site.impl.SiteServiceSqlDb2,org.sakaiproject.site.impl.SiteServiceSqlDefault,org.sakaiproject.site.impl.SiteServiceSqlHSql,org.sakaiproject.site.impl.SiteServiceSqlMsSql,org.sakaiproject.site.impl.SiteServiceSqlMySql,org.sakaiproject.site.impl.SiteServiceSqlOracle,org.sakaiproject.site.api.SiteService,org.sakaiproject.springframework.orm.hibernate.impl.AdditionalHibernateMappingsImpl.syllabus,org.sakaiproject.api.app.syllabus.SyllabusManager,org.sakaiproject.api.app.syllabus.SyllabusService,org.sakaiproject.tool.api.SessionManager,org.sakaiproject.tool.api.ActiveToolManager,org.sakaiproject.user.impl.UserServiceSqlDb2,org.sakaiproject.user.impl.UserServiceSqlDefault,org.sakaiproject.user.impl.UserServiceSqlHSql,org.sakaiproject.user.impl.UserServiceSqlMsSql,org.sakaiproject.user.impl.UserServiceSqlMySql,org.sakaiproject.user.impl.UserServiceSqlOracle,org.sakaiproject.user.api.UserDirectoryService,org.sakaiproject.user.api.AuthenticationManager,org.sakaiproject.user.api.PreferencesService,org.sakaiproject.user.impl.AuthenticationCache,org.sakaiproject.user.api.AuthenticationManager.cache,org.sakaiproject.user.api.UserDirectoryService.cache,org.sakaiproject.id.api.IdManager,org.sakaiproject.thread_local.api.ThreadLocalManager,org.sakaiproject.time.api.TimeService,org.sakaiproject.log.api.LogConfigurationManager,org.sakaiproject.springframework.orm.hibernate.impl.AdditionalHibernateMappingsImpl#2,org.sakaiproject.tbook.HBMMappingList,org.sakaiproject.tbook.dao.TbookDaoTarget,org.sakaiproject.tbook.dao.TbookDao,org.sakaiproject.tbook.dao.PreloadData,org.sakaiproject.tbook.logic.ExternalLogic,org.sakaiproject.tbook.logic.TextbookLogic,org.sakaiproject.tbook.auditor.BookFinderAuditor,org.sakaiproject.tbook.logic.BookFinder,org.sakaiproject.tbook.context.TextbookContext]; root of factory hierarchy (2009-06-04 16:07:08,701 main_org.sakaiproject.util.NoisierDefaultListableBeanFactory)


Top
 Profile  
 
 Post subject: Re: why are locked table stats a problem for schema update?
PostPosted: Tue Sep 08, 2009 4:57 am 
Newbie

Joined: Tue Sep 08, 2009 4:52 am
Posts: 1
I had similar issue when there was same table names between users. If same table already exists for other user such error occurs.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.