Details
-
Bug
-
Resolution: Done
-
Critical
-
WCM 5.0 SP2
-
None
-
Sp2 17635
Description
I am trying to install a Jahia in cluster (latest fresh nightly build). I booted the processing node and accessed the home page with root. I then startup the publishing node (no processing, no indexing) and logued myself as siteadmin. On access the home page after login (by default the home page is not validated after a fresh install) I directly got such an exception:
INFO: Server startup in 46641 ms
2007-06-19 13:57:08,656: INFO [org.apache.struts.tiles.TilesRequestProcessor] - Tiles definition factory found for request processor ''.
2007-06-19 13:57:08,671: WARN [org.jahia.bin.JahiaAction] - Access denied for request /jahia/Jahia/ queryString=null: User message=403 Access forbidden, System message=403 Access forbidden
2007-06-19 13:57:08,750: INFO [org.jahia.bin.Jahia] - Processed [/jahia/Jahia/] user=[guest] ip=[127.0.0.1] in [375ms]
2007-06-19 13:57:17,031: DEBUG [jsp.jahia.engines.engine] - LastScreen: edit, JspSource: login, EngineName: login
2007-06-19 13:57:17,031: DEBUG [jsp.jahia.engines.engine] - JSP: /jsp/jahia/engines/login/login.jsp
2007-06-19 13:57:17,125: INFO [org.jahia.bin.Jahia] - Processed [/jahia/Jahia//engineName/login] user=[guest] ip=[127.0.0.1] in [141ms]
2007-06-19 13:57:27,281: DEBUG [jsp.jahia.engines.engine] - LastScreen: save, JspSource: login_close, EngineName: core
2007-06-19 13:57:27,281: DEBUG [jsp.jahia.engines.engine] - JSP: /jsp/jahia/engines/login/close.jsp
2007-06-19 13:57:27,296: INFO [org.jahia.bin.Jahia] - Processed [/jahia/Jahia/engineName/login/op/edit/pid/1] user=[siteadmin] ip=[127.0.0.1] in [5406ms]
2007-06-19 13:57:52,890: DEBUG [jsp.jahia.engines.engine] - LastScreen: edit, JspSource: login, EngineName: login
2007-06-19 13:57:52,890: DEBUG [jsp.jahia.engines.engine] - JSP: /jsp/jahia/engines/login/login.jsp
2007-06-19 13:57:52,906: INFO [org.jahia.bin.Jahia] - Processed [/jahia/Jahia//engineName/login] user=[guest] ip=[127.0.0.1] in [31ms]
2007-06-19 13:58:01,671: DEBUG [jsp.jahia.engines.engine] - LastScreen: save, JspSource: login_close, EngineName: core
2007-06-19 13:58:01,671: DEBUG [jsp.jahia.engines.engine] - JSP: /jsp/jahia/engines/login/close.jsp
2007-06-19 13:58:01,671: INFO [org.jahia.bin.Jahia] - Processed [/jahia/Jahia/engineName/login/op/edit/pid/1] user=[siteadmin] ip=[127.0.0.1] in [31ms]
2007-06-19 13:58:02,359: INFO [org.jahia.services.containers.ContentContainerTools] - ***** Starting up the ContentContainerTools singleton *****
2007-06-19 13:58:02,562: INFO [org.apache.slide.security.SecurityImpl] - Action aggregations loaded successfully
2007-06-19 13:58:03,125: INFO [org.jahia.bin.Jahia] - Processed [/jahia/Jahia/op/edit/pid/1] user=[siteadmin] ip=[127.0.0.1] in [1391ms]
2007-06-19 13:58:06,812: ERROR [org.jahia.hibernate.dao.JahiaStatisticsDAO] - SERIOUS ERROR : Error while trying to generate new ID for sequence org.jahia.hibernate.model.JahiaStatistics, returning ID null
java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/jboss/serial/io/JBossObjectInputStreamSharedTree
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5875)
at org.jboss.cache.TreeCache.put(TreeCache.java:3833)
at org.jboss.cache.TreeCache.put(TreeCache.java:3774)
at org.jahia.hibernate.dao.IDGeneratorDAO.getNextLong(IDGeneratorDAO.java:97)
at org.jahia.hibernate.dao.IDGeneratorDAO.getNextInteger(IDGeneratorDAO.java:147)
at org.jahia.hibernate.dao.AbstractGeneratorDAO.getNextInteger(AbstractGeneratorDAO.java:40)
at org.jahia.hibernate.dao.JahiaStatisticsDAO.save(JahiaStatisticsDAO.java:49)
at org.jahia.hibernate.manager.JahiaStatisticsManager.addStatistics(JahiaStatisticsManager.java:103)
at org.jahia.hibernate.manager.JahiaStatisticsManager$$FastClassByCGLIB$$8dbe176d.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:546)
at org.jahia.hibernate.manager.JahiaStatisticsManager$$EnhancerByCGLIB$$6cdb4ac8.addStatistics(<generated>)
at org.jahia.services.statistics.JahiaStatisticsManagerDBService.addStatistics(JahiaStatisticsManagerDBService.java:114)
at org.jahia.services.statistics.JahiaStatisticsManagerDBService$$FastClassByCGLIB$$89f681ec.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
at org.jahia.services.statistics.JahiaStatisticsManagerDBService$$EnhancerByCGLIB$$d703bd5.addStatistics(<generated>)
at org.jahia.services.logger.LoggerJahiaStatistics.internalLog(LoggerJahiaStatistics.java:45)
at org.jahia.services.logger.LoggerBaseDelegate.run(LoggerBaseDelegate.java:165)
Caused by: java.lang.NoClassDefFoundError: org/jboss/serial/io/JBossObjectInputStreamSharedTree
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.jboss.cache.marshall.ObjectSerializationFactory.<clinit>(ObjectSerializationFactory.java:39)
at org.jboss.cache.marshall.VersionAwareMarshaller.objectToByteBuffer(VersionAwareMarshaller.java:128)
at org.jgroups.blocks.RpcDispatcher.callRemoteMethods(RpcDispatcher.java:181)
at org.jgroups.blocks.RpcDispatcher.callRemoteMethods(RpcDispatcher.java:163)
at org.jboss.cache.TreeCache.callRemoteMethodsViaReflection(TreeCache.java:4437)
at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4391)
at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4344)
at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4455)
at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:110)
at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:88)
at org.jboss.cache.interceptors.ReplicationInterceptor.handleReplicatedMethod(ReplicationInterceptor.java:124)
at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:88)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:365)
at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:160)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:157)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5863)
... 28 more
2007-06-19 13:58:06,906: ERROR [org.hibernate.util.JDBCExceptionReporter] - L'ΘlΘment du batch 0 insert into jahia_statistics (datetime_jahia_statistics, username_jahia_statistics, parentid_jahia_statistics, eventtype_jahia_statistics, eventinfo_jahia_statistics, siteid_jahia_statistics, objecttype_
jahia_statistics, objectid_jahia_statistics, actionid_jahia_statistics, systemid_jahia_statistics, year_jahia_statistics, month_jahia_statistics, yearmonth_jahia_statistics, week_jahia_statistics, day_jahia_statistics, dayofweek_jahia_statistics, level0_jahia_statistics, level1_jahia_statistics, lev
el2_jahia_statistics, level3_jahia_statistics, level4_jahia_statistics, level5_jahia_statistics, id_jahia_statistics, serverid_jahia_statistics) values (2007-06-19 13:58:01.750000 +0200, siteadmin, , , 62173, 1, JahiaPage, 1, visited, JahiaStatistics, 2007, 6, 200706, 25, 19, 3, NULL, NULL, NULL, NU
LL, NULL, NULL, NULL, jahia1) a ΘtΘ annulΘ. Appeler getNextException pour en connaεtre la cause.
2007-06-19 13:58:06,968: ERROR [org.hibernate.util.JDBCExceptionReporter] - ERROR: null value in column "id_jahia_statistics" violates not-null constraint
2007-06-19 13:58:06,984: ERROR [org.hibernate.event.def.AbstractFlushingEventListener] - Could not synchronize database state with session
org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:63)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:181)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:226)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:136)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:730)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:324)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:86)
at org.jahia.hibernate.dao.JahiaStatisticsDAO$1.doInHibernate(JahiaStatisticsDAO.java:56)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:312)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:288)
at org.jahia.hibernate.dao.JahiaStatisticsDAO.save(JahiaStatisticsDAO.java:51)
at org.jahia.hibernate.manager.JahiaStatisticsManager.addStatistics(JahiaStatisticsManager.java:103)
at org.jahia.hibernate.manager.JahiaStatisticsManager$$FastClassByCGLIB$$8dbe176d.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:546)
at org.jahia.hibernate.manager.JahiaStatisticsManager$$EnhancerByCGLIB$$6cdb4ac8.addStatistics(<generated>)
at org.jahia.services.statistics.JahiaStatisticsManagerDBService.addStatistics(JahiaStatisticsManagerDBService.java:114)
at org.jahia.services.statistics.JahiaStatisticsManagerDBService$$FastClassByCGLIB$$89f681ec.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
at org.jahia.services.statistics.JahiaStatisticsManagerDBService$$EnhancerByCGLIB$$d703bd5.addStatistics(<generated>)
at org.jahia.services.logger.LoggerJahiaStatistics.internalLog(LoggerJahiaStatistics.java:45)
at org.jahia.services.logger.LoggerBaseDelegate.run(LoggerBaseDelegate.java:165)
Caused by: java.sql.BatchUpdateException: L'ΘlΘment du batch 0 insert into jahia_statistics (datetime_jahia_statistics, username_jahia_statistics, parentid_jahia_statistics, eventtype_jahia_statistics, eventinfo_jahia_statistics, siteid_jahia_statistics, objecttype_jahia_statistics, objectid_jahia_s
tatistics, actionid_jahia_statistics, systemid_jahia_statistics, year_jahia_statistics, month_jahia_statistics, yearmonth_jahia_statistics, week_jahia_statistics, day_jahia_statistics, dayofweek_jahia_statistics, level0_jahia_statistics, level1_jahia_statistics, level2_jahia_statistics, level3_jahia
_statistics, level4_jahia_statistics, level5_jahia_statistics, id_jahia_statistics, serverid_jahia_statistics) values (2007-06-19 13:58:01.750000 +0200, siteadmin, , , 62173, 1, JahiaPage, 1, visited, JahiaStatistics, 2007, 6, 200706, 25, 19, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, jahia1) a Θt
Θ annulΘ. Appeler getNextException pour en connaεtre la cause.
at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2478)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1298)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:347)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2540)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:57)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:174)
... 33 more
org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:63)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:181)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:226)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:136)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:730)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:324)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:86)
at org.jahia.hibernate.dao.JahiaStatisticsDAO$1.doInHibernate(JahiaStatisticsDAO.java:56)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:312)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:288)
at org.jahia.hibernate.dao.JahiaStatisticsDAO.save(JahiaStatisticsDAO.java:51)
at org.jahia.hibernate.manager.JahiaStatisticsManager.addStatistics(JahiaStatisticsManager.java:103)
at org.jahia.hibernate.manager.JahiaStatisticsManager$$FastClassByCGLIB$$8dbe176d.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:546)
at org.jahia.hibernate.manager.JahiaStatisticsManager$$EnhancerByCGLIB$$6cdb4ac8.addStatistics(<generated>)
at org.jahia.services.statistics.JahiaStatisticsManagerDBService.addStatistics(JahiaStatisticsManagerDBService.java:114)
at org.jahia.services.statistics.JahiaStatisticsManagerDBService$$FastClassByCGLIB$$89f681ec.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
at org.jahia.services.statistics.JahiaStatisticsManagerDBService$$EnhancerByCGLIB$$d703bd5.addStatistics(<generated>)
at org.jahia.services.logger.LoggerJahiaStatistics.internalLog(LoggerJahiaStatistics.java:45)
at org.jahia.services.logger.LoggerBaseDelegate.run(LoggerBaseDelegate.java:165)
Caused by: java.sql.BatchUpdateException: L'ΘlΘment du batch 0 insert into jahia_statistics (datetime_jahia_statistics, username_jahia_statistics, parentid_jahia_statistics, eventtype_jahia_statistics, eventinfo_jahia_statistics, siteid_jahia_statistics, objecttype_jahia_statistics, objectid_jahia_s
tatistics, actionid_jahia_statistics, systemid_jahia_statistics, year_jahia_statistics, month_jahia_statistics, yearmonth_jahia_statistics, week_jahia_statistics, day_jahia_statistics, dayofweek_jahia_statistics, level0_jahia_statistics, level1_jahia_statistics, level2_jahia_statistics, level3_jahia
_statistics, level4_jahia_statistics, level5_jahia_statistics, id_jahia_statistics, serverid_jahia_statistics) values (2007-06-19 13:58:01.750000 +0200, siteadmin, , , 62173, 1, JahiaPage, 1, visited, JahiaStatistics, 2007, 6, 200706, 25, 19, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, jahia1) a Θt
Θ annulΘ. Appeler getNextException pour en connaεtre la cause.
at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2478)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1298)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:347)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2540)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:57)