AnsweredAssumed Answered

Error uploading Content via CIFS and Webdav on 1.2

Question asked by lateral on Mar 1, 2006
Latest reply on Mar 2, 2006 by lateral
Hi,
I have just installed the 1.2 release on CentOS linux under JDK1.5.0_06 and Tomcat 5.5.15 running on MySQL 4.1.18 on Solaris. Install went fine. However I just tried to upload several folders of content (only about 25mb) and the server crashed. I tried again…it happened again. I tried via Webdav instead of CIFS…it happened again. Each time, the error was

java.lang.NoSuchMethodError: java.lang.Object.getHibernateLazyInitializer()Lorg/hibernate/proxy/LazyInitializer;
   org.hibernate.proxy.HibernateProxy$$EnhancerByCGLIB$$e050d162.getHibernateLazyInitializer(<generated>)
   org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:274)
   org.hibernate.type.EntityType.resolve(EntityType.java:303)
   org.hibernate.type.OneToOneType.assemble(OneToOneType.java:141)
   org.hibernate.type.TypeFactory.assemble(TypeFactory.java:398)
   org.hibernate.cache.entry.CacheEntry.assemble(CacheEntry.java:96)
   org.hibernate.cache.entry.CacheEntry.assemble(CacheEntry.java:82)
   org.hibernate.event.def.DefaultLoadEventListener.assembleCacheEntry(DefaultLoadEventListener.java:520)
   org.hibernate.event.def.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:474)
   org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:328)
   org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
   org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177)
   org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87)
   org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891)
   org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:859)
   org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266)
   org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:177)
   org.hibernate.type.TypeFactory.assemble(TypeFactory.java:398)
   org.hibernate.cache.entry.CacheEntry.assemble(CacheEntry.java:96)
   org.hibernate.cache.entry.CacheEntry.assemble(CacheEntry.java:82)
   org.hibernate.event.def.DefaultLoadEventListener.assembleCacheEntry(DefaultLoadEventListener.java:520)
   org.hibernate.event.def.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:474)
   org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:328)
   org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
   org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177)
   org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87)
   org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891)
   org.hibernate.impl.SessionImpl.get(SessionImpl.java:828)
   org.hibernate.impl.SessionImpl.get(SessionImpl.java:821)
   org.springframework.orm.hibernate3.HibernateTemplate$1.doInHibernate(HibernateTemplate.java:451)
   org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:365)
   org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTemplate.java:445)
   org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTemplate.java:439)
   org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.getStore(HibernateNodeDaoServiceImpl.java:171)
   sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:585)
   org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
   org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
   org.alfresco.repo.transaction.NodeDaoServiceTransactionInterceptor.invoke(NodeDaoServiceTransactionInterceptor.java:61)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   $Proxy1.getStore(Unknown Source)
   org.alfresco.repo.node.db.DbNodeServiceImpl.exists(DbNodeServiceImpl.java:107)
   sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:585)
   org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:165)
   $Proxy2.exists(Unknown Source)
   sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:585)
   org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:212)
   $Proxy3.exists(Unknown Source)
   org.alfresco.repo.security.authentication.RepositoryAuthenticationDao.getUserStoreRef(RepositoryAuthenticationDao.java:257)
   org.alfresco.repo.security.authentication.RepositoryAuthenticationDao.getUserOrNull(RepositoryAuthenticationDao.java:135)
   org.alfresco.repo.security.authentication.RepositoryAuthenticationDao.loadUserByUsername(RepositoryAuthenticationDao.java:111)
   sun.reflect.GeneratedMethodAccessor262.invoke(Unknown Source)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:585)
   org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
   org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
   org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   $Proxy9.loadUserByUsername(Unknown Source)
   org.alfresco.repo.security.authentication.AuthenticationComponentImpl.getUserDetails(AuthenticationComponentImpl.java:79)
   org.alfresco.repo.security.authentication.AbstractAuthenticationComponent.setCurrentUser(AbstractAuthenticationComponent.java:89)
   org.alfresco.repo.security.authentication.AuthenticationServiceImpl.validate(AuthenticationServiceImpl.java:112)
   sun.reflect.GeneratedMethodAccessor264.invoke(Unknown Source)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:585)
   org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
   org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
   org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:116)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:37)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   $Proxy22.validate(Unknown Source)
   org.alfresco.web.app.servlet.AuthenticationHelper.authenticate(AuthenticationHelper.java:201)
   org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:67)

Can you help me understand what is going wrong please?

Thanks,
Alex

Outcomes