RE: Liferay 6.1 - Beta ReleaseRE: Liferay 6.1 - Beta Releasehttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=111122582024-03-28T08:22:49Z2024-03-28T08:22:49ZRE: Liferay 6.1 - Beta ReleaseJuan Gonzalezhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=116936512011-12-06T14:34:39Z2011-12-06T14:34:39Z<div class="quote-title">Trey Howard:</div><blockquote>Juan<br /><br />After rebuilding from trunk (revision #94730) fixed the verify permission errors I was getting.<br />Now I'm getting the 'No Group exists with the key' which is a known problem: http://issues.liferay.com/browse/LPS-23724<br /><br />Thanks for your help<br />-Trey</blockquote><br /><br />Ok glad at least that issue is opened. If you want you can click on "Watch" link to be advised about any change in that issue (have to register in Liferay JIRA first).Juan Gonzalez2011-12-06T14:34:39ZRE: Liferay 6.1 - Beta ReleaseTrey Howardhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=116925862011-12-06T14:31:03Z2011-12-06T14:31:03ZJuan<br /><br />After rebuilding from trunk (revision #94730) fixed the verify permission errors I was getting.<br />Now I'm getting the 'No Group exists with the key' which is a known problem: http://issues.liferay.com/browse/LPS-23724<br /><br />Thanks for your help<br />-TreyTrey Howard2011-12-06T14:31:03ZRE: Liferay 6.1 - Beta ReleaseCorentin Rhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=116933372011-12-06T13:40:55Z2011-12-06T13:40:55Z<html><head></head><body>I updated to trunk version and try to upgrade via tools/db-upgrade. This time the process passed without any error.<br>After that I tryed to lauch Liferay with tomcat B4 bundle and got the following error<br><pre><code>13:27:34,846 INFO [PluginPackageUtil:1096] Reading plugin package for the root context
13:27:44,741 INFO [PluginPackageUtil:1280] Reloading repositories
13:27:48,666 INFO [AutoDeployDir:105] Auto deploy scanner started for D:\dev\liferay-portal-tomcat-6.1.0\beta3\liferay-portal-6.1.0\deploy
13:27:50,147 ERROR [JDBCExceptionReporter:234] Unknown column 'layoutseti0_.layoutSetPrototypeUuid' in 'field list'
13:27:50,154 ERROR [PortalInstances:375] com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query
com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query
at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:193)
at com.liferay.portal.service.persistence.LayoutSetPersistenceImpl.fetchByG_P(LayoutSetPersistenceImpl.java:1385)
at com.liferay.portal.service.persistence.LayoutSetPersistenceImpl.fetchByG_P(LayoutSetPersistenceImpl.java:1313)
at com.liferay.portal.service.persistence.LayoutSetPersistenceImpl.findByG_P(LayoutSetPersistenceImpl.java:1278)
at com.liferay.portal.service.impl.LayoutSetLocalServiceImpl.getLayoutSet(LayoutSetLocalServiceImpl.java:178)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at $Proxy35.getLayoutSet(Unknown Source)
at com.liferay.portal.service.impl.GroupLocalServiceImpl.checkSystemGroups(GroupLocalServiceImpl.java:514)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at $Proxy22.checkSystemGroups(Unknown Source)
at com.liferay.portal.service.impl.CompanyLocalServiceImpl.checkCompany(CompanyLocalServiceImpl.java:369)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at $Proxy15.checkCompany(Unknown Source)
at com.liferay.portal.service.impl.CompanyLocalServiceImpl.checkCompany(CompanyLocalServiceImpl.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at $Proxy15.checkCompany(Unknown Source)
at com.liferay.portal.service.CompanyLocalServiceUtil.checkCompany(CompanyLocalServiceUtil.java:302)
at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:370)
at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:92)
at com.liferay.portal.servlet.MainServlet.initCompanies(MainServlet.java:769)
at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:335)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1228)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1147)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1043)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957)
at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284)
at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query
at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:30)
at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:98)
at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:75)
at com.liferay.portal.service.persistence.LayoutSetPersistenceImpl.fetchByG_P(LayoutSetPersistenceImpl.java:1360)
... 83 more
Caused by: org.hibernate.exception.SQLGrammarException: could not execute query
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.loader.Loader.doList(Loader.java:2536)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
at org.hibernate.loader.Loader.list(Loader.java:2271)
at org.hibernate.hql.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:940)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1268)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:86)
... 85 more
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'layoutseti0_.layoutSetPrototypeUuid' in 'field list'
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3256)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1313)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1448)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1953)
at org.hibernate.loader.Loader.doQuery(Loader.java:802)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
at org.hibernate.loader.Loader.doList(Loader.java:2533)
... 92 more
13:27:50,237 ERROR [PortalInstances:467] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=0, classNameId=10008, classPK=0}
com.liferay.portal.kernel.events.ActionException: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=0, classNameId=10008, classPK=0}
at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.run(AddDefaultDocumentLibraryStructuresAction.java:62)
at com.liferay.portal.events.AddDefaultDataAction.run(AddDefaultDataAction.java:30)
at com.liferay.portal.events.EventsProcessorImpl.processEvent(EventsProcessorImpl.java:106)
at com.liferay.portal.events.EventsProcessorImpl.process(EventsProcessorImpl.java:58)
at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:38)
at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:461)
at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:92)
at com.liferay.portal.servlet.MainServlet.initCompanies(MainServlet.java:769)
at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:335)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1228)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1147)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1043)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957)
at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284)
at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=0, classNameId=10008, classPK=0}
at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByC_C_C(GroupPersistenceImpl.java:2076)
at com.liferay.portal.service.impl.GroupLocalServiceImpl.getCompanyGroup(GroupLocalServiceImpl.java:822)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at $Proxy22.getCompanyGroup(Unknown Source)
at com.liferay.portal.service.GroupLocalServiceUtil.getCompanyGroup(GroupLocalServiceUtil.java:430)
at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.doRun(AddDefaultDocumentLibraryStructuresAction.java:218)
at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.run(AddDefaultDocumentLibraryStructuresAction.java:59)
... 20 more
13:27:50,276 ERROR [JDBCExceptionReporter:234] Unknown column 'layoutseti0_.layoutSetPrototypeUuid' in 'field list'
13:27:50,279 ERROR [PortalInstances:375] com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query
com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query
at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:193)
at com.liferay.portal.service.persistence.LayoutSetPersistenceImpl.fetchByG_P(LayoutSetPersistenceImpl.java:1385)
at com.liferay.portal.service.persistence.LayoutSetPersistenceImpl.fetchByG_P(LayoutSetPersistenceImpl.java:1313)
at com.liferay.portal.service.persistence.LayoutSetPersistenceImpl.findByG_P(LayoutSetPersistenceImpl.java:1278)
at com.liferay.portal.service.impl.LayoutSetLocalServiceImpl.getLayoutSet(LayoutSetLocalServiceImpl.java:178)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at $Proxy35.getLayoutSet(Unknown Source)
at com.liferay.portal.service.impl.GroupLocalServiceImpl.checkSystemGroups(GroupLocalServiceImpl.java:514)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at $Proxy22.checkSystemGroups(Unknown Source)
at com.liferay.portal.service.impl.CompanyLocalServiceImpl.checkCompany(CompanyLocalServiceImpl.java:369)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at $Proxy15.checkCompany(Unknown Source)
at com.liferay.portal.service.impl.CompanyLocalServiceImpl.checkCompany(CompanyLocalServiceImpl.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at $Proxy15.checkCompany(Unknown Source)
at com.liferay.portal.service.CompanyLocalServiceUtil.checkCompany(CompanyLocalServiceUtil.java:302)
at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:370)
at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:92)
at com.liferay.portal.servlet.MainServlet.initCompanies(MainServlet.java:769)
at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:335)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1228)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1147)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1043)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957)
at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284)
at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query
at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:30)
at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:98)
at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:75)
at com.liferay.portal.service.persistence.LayoutSetPersistenceImpl.fetchByG_P(LayoutSetPersistenceImpl.java:1360)
... 59 more
Caused by: org.hibernate.exception.SQLGrammarException: could not execute query
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.loader.Loader.doList(Loader.java:2536)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
at org.hibernate.loader.Loader.list(Loader.java:2271)
at org.hibernate.hql.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:940)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1268)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:86)
... 61 more
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'layoutseti0_.layoutSetPrototypeUuid' in 'field list'
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3256)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1313)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1448)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1953)
at org.hibernate.loader.Loader.doQuery(Loader.java:802)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
at org.hibernate.loader.Loader.doList(Loader.java:2533)
... 68 more
13:27:50,284 ERROR [PortalInstances:467] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=0, classNameId=10008, classPK=0}
com.liferay.portal.kernel.events.ActionException: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=0, classNameId=10008, classPK=0}
at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.run(AddDefaultDocumentLibraryStructuresAction.java:62)
at com.liferay.portal.events.AddDefaultDataAction.run(AddDefaultDataAction.java:30)
at com.liferay.portal.events.EventsProcessorImpl.processEvent(EventsProcessorImpl.java:106)
at com.liferay.portal.events.EventsProcessorImpl.process(EventsProcessorImpl.java:58)
at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:38)
at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:461)
at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:92)
at com.liferay.portal.servlet.MainServlet.initCompanies(MainServlet.java:769)
at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:335)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1228)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1147)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1043)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957)
at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284)
at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=0, classNameId=10008, classPK=0}
at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByC_C_C(GroupPersistenceImpl.java:2076)
at com.liferay.portal.service.impl.GroupLocalServiceImpl.getCompanyGroup(GroupLocalServiceImpl.java:822)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at $Proxy22.getCompanyGroup(Unknown Source)
at com.liferay.portal.service.GroupLocalServiceUtil.getCompanyGroup(GroupLocalServiceUtil.java:430)
at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.doRun(AddDefaultDocumentLibraryStructuresAction.java:218)
at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.run(AddDefaultDocumentLibraryStructuresAction.java:59)
... 20 more
6 déc. 2011 13:27:54 org.apache.catalina.startup.HostConfig deployDirectory</code></pre><br>I also tryed to run it in a bundle built from trunk but the same error occured...<br>Any ideas ?</body></html>Corentin R2011-12-06T13:40:55ZRE: Liferay 6.1 - Beta ReleaseJuan Gonzalezhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=116900202011-12-06T09:24:58Z2011-12-06T09:24:58ZThere had been changes in VerifyPermission process for solve this issue:<br /><br /><a href="http://issues.liferay.com/browse/LPS-23704">http://issues.liferay.com/browse/LPS-23704</a><br /><br /><br />Please update to latest sources (not sure if this is in nightly builds yet), and check it.Juan Gonzalez2011-12-06T09:24:58ZRE: Liferay 6.1 - Beta ReleaseTrey Howardhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=116849032011-12-05T21:32:53Z2011-12-05T21:32:53ZI have created a bug for this error: http://issues.liferay.com/browse/LPS-23641Trey Howard2011-12-05T21:32:53ZRE: Liferay 6.1 - Beta ReleaseTrey Howardhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=116842142011-12-05T21:04:03Z2011-12-05T21:04:03ZHi Juan<br /><br />I installed from trunk and I get the same error:<br /><blockquote><br />20:58:04,453 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyPermission<br />20:58:07,774 ERROR [MainServlet:197] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portal.NoSuchResourcePermissionException: No ResourcePermission exists with the key {companyId=10132, name=com.liferay.portal.model.Group, scope=4, primKey=10430, roleId=10140}<br />com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portal.NoSuchResourcePermissionException: No ResourcePermission exists with the key {companyId=10132, name=com.liferay.portal.model.Group, scope=4, primKey=10430, roleId=10140}<br /> at com.liferay.portal.events.StartupAction.run(StartupAction.java:58)<br /> at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1264)<br /> at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:194)<br /> at javax.servlet.GenericServlet.init(GenericServlet.java:160)<br />...<br /><br />Caused by: com.liferay.portal.NoSuchResourcePermissionException: No ResourcePermission exists with the key {companyId=10132, name=com.liferay.portal.model.Group, scope=4, primKey=10430, roleId=10140}<br /> at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.getResourcePermission(ResourcePermissionLocalServiceImpl.java:423)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:597)<br /> at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)<br /> at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)<br /> at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)<br /> at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)<br /> at $Proxy82.getResourcePermission(Unknown Source)<br /> at com.liferay.portal.service.ResourcePermissionLocalServiceUtil.getResourcePermission(ResourcePermissionLocalServiceUtil.java:459)<br /> at com.liferay.portal.verify.VerifyPermission.fixOrganizationRolePermissions_6(VerifyPermission.java:261)<br /> at com.liferay.portal.verify.VerifyPermission.fixOrganizationRolePermissions(VerifyPermission.java:191)<br /> at com.liferay.portal.verify.VerifyPermission.doVerify(VerifyPermission.java:183)<br /> at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:79)<br /> ... 31 more<br />Stopping the server due to unexpected startup errors<br /></blockquote><br /><br />Let me know if there's anything more that I can provide to help debug.Trey Howard2011-12-05T21:04:03ZRE: Liferay 6.1 - Beta ReleaseJuan Gonzalezhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=116666712011-12-02T19:02:32Z2011-12-02T19:02:32ZCan you try with latest nightly build? Some upgrade processes had been modified since B4.Juan Gonzalez2011-12-02T19:02:32ZRE: Liferay 6.1 - Beta ReleaseTrey Howardhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=116395982011-11-30T13:39:32Z2011-11-30T13:39:32Z@Corentin<br />No, I've never modified a virtual.hosts.default.community.name setting.<br />However, I did customize permissions for some of my portlets.<br /><br />Now that I think about it, I don't remember modifying any organization permissions, only group permissions.<br />My initial thought was that the upgrade tool missed a permission record, but maybe it converted a group permission to an organization permission?<br /><br />This is a huge bummer--I was really excited to install 6.1, but now I can't even startup tomcat (shuts down on verification error).<br /><br />-TreyTrey Howard2011-11-30T13:39:32ZRE: Liferay 6.1 - Beta ReleaseCorentin Rhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=116386952011-11-30T12:11:49Z2011-11-30T12:11:49ZHi!<br />I'm facing the same problem when upgrading my old database (version 6.0.6) to Liferay 6.1 Beta4 or trunk.<br />In my portal-ext.properties I specified virtual.hosts.default.community.name parameter and I suspect that it is the cause of the error.<br /><br />I use a Organization page as default page for my portal and it seems that during migration Liferay 6.1 is expecting a Community and not an Organization as default space...<br /><br />Trey, did you specified virtual.hosts.default.community.name in your portal.properties ?<br />Maybe we could fill an issue in JIRA for that...Corentin R2011-11-30T12:11:49ZRE: Liferay 6.1 - Beta ReleaseTrey Howardhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=115443372011-11-21T19:52:20Z2011-11-21T19:52:20ZI am upgrading my 6.0.5 installation to 6.1 beta 4.<br />I'm running with the Tomcat bundle.<br /><br />I configured 6.1 to point to my old database (mysql lportal) and copied the data sub-folders (images, etc) from my old directory.<br />On starting Tomcat, I saw a few WARN logs during schema upgrade about tables that already existed, but those seemed benign.<br />The rest of the upgrade steps succeeded, but then failed on a verification step:<br /><br /><blockquote>19:30:09,868 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyPermission<br />19:30:13,301 ERROR [MainServlet:197] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portal.NoSuchResourcePermissionException: No ResourcePermission exists with the key {companyId=10132, name=com.liferay.portal.model.Group, scope=4, primKey=10430, roleId=10140}<br />com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portal.NoSuchResourcePermissionException: No ResourcePermission exists with the key {companyId=10132, name=com.liferay.portal.model.Group, scope=4, primKey=10430, roleId=10140}<br /> at com.liferay.portal.events.StartupAction.run(StartupAction.java:58)<br /> at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1267)<br /> at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:194)<br /> at javax.servlet.GenericServlet.init(GenericServlet.java:160)<br /> at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1228)<br /> at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1147)<br /> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1043)<br /> at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957)<br /> at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284)<br /> at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279)<br /> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)<br /> at java.util.concurrent.FutureTask.run(FutureTask.java:138)<br /> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br /> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br /> at java.lang.Thread.run(Thread.java:662)<br />Caused by: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portal.NoSuchResourcePermissionException: No ResourcePermission exists with the key {companyId=10132, name=com.liferay.portal.model.Group, scope=4, primKey=10430, roleId=10140}<br /> at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:82)<br /> at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:117)<br /> at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:78)<br /> at com.liferay.portal.verify.VerifyProcessUtil.verifyProcess(VerifyProcessUtil.java:46)<br /> at com.liferay.portal.events.StartupHelper.verifyProcess(StartupHelper.java:79)<br /> at com.liferay.portal.events.StartupHelperUtil.verifyProcess(StartupHelperUtil.java:44)<br /> at com.liferay.portal.tools.DBUpgrader.verify(DBUpgrader.java:184)<br /> at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:182)<br /> at com.liferay.portal.events.StartupAction.run(StartupAction.java:52)<br /> ... 14 more<br />Caused by: com.liferay.portal.verify.VerifyException: com.liferay.portal.NoSuchResourcePermissionException: No ResourcePermission exists with the key {companyId=10132, name=com.liferay.portal.model.Group, scope=4, primKey=10430, roleId=10140}<br /> at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:82)<br /> at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:89)<br /> at com.liferay.portal.verify.VerifyProcessSuite.doVerify(VerifyProcessSuite.java:32)<br /> at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:79)<br /> ... 22 more<br />Caused by: com.liferay.portal.NoSuchResourcePermissionException: No ResourcePermission exists with the key {companyId=10132, name=com.liferay.portal.model.Group, scope=4, primKey=10430, roleId=10140}<br /> at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.getResourcePermission(ResourcePermissionLocalServiceImpl.java:423)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:597)<br /> at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)<br /> at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)<br /> at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)<br /> at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)<br /> at $Proxy81.getResourcePermission(Unknown Source)<br /> at com.liferay.portal.service.ResourcePermissionLocalServiceUtil.getResourcePermission(ResourcePermissionLocalServiceUtil.java:459)<br /> at com.liferay.portal.verify.VerifyPermission.fixOrganizationRolePermissions_6(VerifyPermission.java:261)<br /> at com.liferay.portal.verify.VerifyPermission.fixOrganizationRolePermissions(VerifyPermission.java:191)<br /> at com.liferay.portal.verify.VerifyPermission.doVerify(VerifyPermission.java:183)<br /> at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:79)<br /> ... 25 more<br /></blockquote><br /><br />Querying the database:<br /><blockquote><br />mysql> select * from ResourcePermission where primKey = 10430;<br />+----------------------+-----------+---------------------------------------+-------+---------+--------+-----------+---------+<br />| resourcePermissionId | companyId | name | scope | primKey | roleId | actionIds | ownerId |<br />+----------------------+-----------+---------------------------------------+-------+---------+--------+-----------+---------+<br />| 290 | 10132 | com.liferay.portal.model.Organization | 4 | 10430 | 10140 | 65535 | NULL |<br />+----------------------+-----------+---------------------------------------+-------+---------+--------+-----------+---------+<br />1 row in set (0.00 sec)<br /></blockquote><br /><br />The name says 'Organization' whereas the exception says 'Group'--is that relevant?<br /><br />-TreyTrey Howard2011-11-21T19:52:20ZRE: Liferay 6.1 - Beta ReleaseJames Falknerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=112786252011-11-01T16:18:53Z2011-11-01T16:18:53Z<div class="quote-title">John Doe:</div><blockquote>Hi James,<br /><br />I downloaded the JBoss bundle.<br /><br />Cheers.</blockquote><br /><br /><br />Ok I just downloaded the <a href="http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.1.0%20B3/liferay-portal-jboss-6.1.0-b3-20111020.zip/download">jboss bundle from here</a>, extracted it, started it up, then deployed the <a href="http://sourceforge.net/projects/lportal/files/Liferay%20Plugins/6.1.0%20B3/knowledge-base-portlet-6.1.0.1-b3-20111014.war/download">knowledgebase plugin from here</a>. I did not get any exceptions. Did you use these same files? Or did you compile/deploy it manually? If you did not use those same files, could you try again and see if you still get errors?James Falkner2011-11-01T16:18:53ZRE: Liferay 6.1 - Beta ReleaseJohn Doehttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=112683042011-10-31T16:29:21Z2011-10-31T16:29:21ZHi James,<br /><br />I downloaded the JBoss bundle.<br /><br />Cheers.John Doe2011-10-31T16:29:21ZRE: Liferay 6.1 - Beta ReleaseJames Falknerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=112662452011-10-31T14:56:31Z2011-10-31T14:56:31ZHey Ralph,<br /><br />I think you may have gotten bitten by the NPE bug that was present in the initial download for Beta 3 - which has since been fixed. Can you re-download the Beta-3 release and try again?James Falkner2011-10-31T14:56:31ZRE: Liferay 6.1 - Beta ReleaseJames Falknerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=112662392011-10-31T14:55:26Z2011-10-31T14:55:26Z<div class="quote-title">John Doe:</div><blockquote>Hi James,<br /><br />This is a great news for the community, but unfortunately two plugins are not working, the knowledge-base-portlet and mail-portlet.<br />The knowledge-base throw this exceptions when I added either Knowledge Base Articles, Display, or Section :<br /><br />.....<br /><br />Is this normal ? Which plugins work with this release ?<br /><br />Thanks.</blockquote><br /><br /><br />Hey John Doe,<br /><br />Which app server / servlet container are you using? It works fine for me with Tomcat 7.James Falkner2011-10-31T14:55:26ZRE: Liferay 6.1 - Beta ReleaseRalph Goershttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=112598732011-10-31T04:50:47Z2011-10-31T04:50:47ZI've downloaded 6.1.0 beta 3 on to my Mac and it fails during startup. I downloaded the bundled with Tomcat zip. After the NoSuchGroupException it gets a bunch of NullPointerExceptions which I've posted below<br /><br /><br />04:38:02,761 INFO [HotDeployUtil:103] Deploying sevencogs-hook from queue<br />04:38:02,761 INFO [PluginPackageUtil:1101] Reading plugin package for sevencogs-hook<br />04:38:02,896 INFO [HookHotDeployListener:1869] Registering hook for sevencogs-hook<br />Loading file:/Users/rgoers/projects/liferay/liferay-portal-6.1.0/tomcat-7.0.21/temp/6-sevencogs-hook/WEB-INF/classes/portal.properties<br />04:38:02,905 INFO [UpgradeProcess:205] Upgrading com.liferay.sevencogs.hook.upgrade.UpgradeProcess_1_0_0<br />04:38:02,981 INFO [UpgradeProcess:205] Upgrading com.liferay.sevencogs.hook.upgrade.v1_0_0.UpgradeCompany<br />04:38:15,259 ERROR [Organization:165] <br />com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=1, classNameId=11, classPK=28}<br /> at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByC_C_C(GroupPersistenceImpl.java:2117)<br /> at com.liferay.portal.service.impl.GroupLocalServiceImpl.getOrganizationGroup(GroupLocalServiceImpl.java:1067)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:597)<br /> at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)<br /> at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)<br /> at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)<br /> at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)<br /> at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)<br /> at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)<br /> at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)<br /> at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)<br /> at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)<br /> at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)<br /> at $Proxy22.getOrganizationGroup(Unknown Source)<br /> at com.liferay.portal.service.GroupLocalServiceUtil.getOrganizationGroup(GroupLocalServiceUtil.java:643)<br /> at com.liferay.portal.model.impl.OrganizationImpl.getGroup(OrganizationImpl.java:161)<br /> at com.liferay.portal.service.impl.UserLocalServiceImpl.unsetOrganizationUsers(UserLocalServiceImpl.java:3595)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:597)<br /> at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)<br /> at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)<br /> at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)<br /> at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)<br /> at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)<br /> at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)<br /> at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)<br /> at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)<br /> at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)<br /> at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)<br /> at $Proxy94.unsetOrganizationUsers(Unknown Source)<br /> at com.liferay.portal.service.UserLocalServiceUtil.unsetOrganizationUsers(UserLocalServiceUtil.java:2260)<br /> at com.liferay.sevencogs.hook.upgrade.v1_0_0.UpgradeCompany.deleteOrganizations(UpgradeCompany.java:678)<br /> at com.liferay.sevencogs.hook.upgrade.v1_0_0.UpgradeCompany.deleteOrganizations(UpgradeCompany.java:671)<br /> at com.liferay.sevencogs.hook.upgrade.v1_0_0.UpgradeCompany.deleteOrganizations(UpgradeCompany.java:671)<br /> at com.liferay.sevencogs.hook.upgrade.v1_0_0.UpgradeCompany.clearData(UpgradeCompany.java:631)<br /> at com.liferay.sevencogs.hook.upgrade.v1_0_0.UpgradeCompany.doUpgrade(UpgradeCompany.java:692)<br /><br /><br /><br />INFO: Server startup in 105410 ms<br />04:38:18,287 INFO [PortalImpl:4645] Current URL / generates exception: {groupId=19,privateLayout=false} does not have any layouts<br />04:38:18,288 INFO [PortalImpl:4662] {groupId=19,privateLayout=false} does not have any layouts<br />04:38:18,338 ERROR [MainServlet:1220] com.liferay.portal.kernel.events.ActionException: java.lang.NullPointerException<br />com.liferay.portal.kernel.events.ActionException: java.lang.NullPointerException<br /> at com.liferay.portal.events.ServicePreAction.run(ServicePreAction.java:1214)<br /> at com.liferay.portal.events.EventsProcessorImpl.processEvent(EventsProcessorImpl.java:81)<br /> at com.liferay.portal.events.EventsProcessorImpl.process(EventsProcessorImpl.java:58)<br /> at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:53)<br /> at com.liferay.portal.servlet.MainServlet.processServicePre(MainServlet.java:1200)<br /> at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:497)<br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)<br /> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)<br /> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)<br /> at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)<br /> at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:199)<br /> at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:68)<br /> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)<br /> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)<br /> at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)<br /> at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)<br /> at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)<br /> at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)<br /> at com.liferay.portal.util.PortalImpl.sendError(PortalImpl.java:4734)<br /> at com.liferay.portal.util.PortalUtil.sendError(PortalUtil.java:1474)<br /> at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:110)<br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)<br /> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)<br /> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)<br /> at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)<br /> at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:302)<br /> at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)<br /> at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)<br /> at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:199)<br /> at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)<br /> at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)<br /> at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)<br /> at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)<br /> at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)<br /> at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:401)<br /> at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)<br /> at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)<br /> at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:55)<br /> at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)<br /> at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)<br /> at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:240)<br /> at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:68)<br /> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)<br /> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)<br /> at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)<br /> at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)<br /> at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)<br /> at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)<br /> at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:301)<br /> at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:184)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)<br /> at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)<br /> at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:68)<br /> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)<br /> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)<br /> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)<br /> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)<br /> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)<br /> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)<br /> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)<br /> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)<br /> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)<br /> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)<br /> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)<br /> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)<br /> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)<br /> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br /> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br /> at java.lang.Thread.run(Thread.java:680)<br />Caused by: java.lang.NullPointerException<br /> at com.liferay.portal.events.ServicePreAction.initThemeDisplay(ServicePreAction.java:1159)<br /> at com.liferay.portal.events.ServicePreAction.servicePre(ServicePreAction.java:1845)<br /> at com.liferay.portal.events.ServicePreAction.run(ServicePreAction.java:1211)<br /> ... 98 moreRalph Goers2011-10-31T04:50:47ZRE: Liferay 6.1 - Beta ReleaseFran Serrano Ponshttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=112583772011-10-30T09:28:51Z2011-10-30T09:28:51Z<div class="quote-title">Muniraj saravanan:</div><blockquote>Hi James,<br /><br />Great News , But the Mobile Device Detection feature is not working. <br /><br />regards<br />Muniraj.Saravanan</blockquote><br /><br /><br />Right! That was the first feature I tested as I got it to run.<br />Not detecting an android device browser, so not applying the correct theme.Fran Serrano Pons2011-10-30T09:28:51ZRE: Liferay 6.1 - Beta ReleaseJohn Doehttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=112534782011-10-28T20:41:58Z2011-10-28T20:41:58Z<html><head></head><body>Hi James,<br><br>This is a great news for the community, but unfortunately two plugins are not working, the knowledge-base-portlet and mail-portlet.<br>The knowledge-base throw this exceptions when I added either Knowledge Base Articles, Display, or Section :<br><pre><code>
...
20:07:07,375 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/knowledge-base-portlet].[4 Servlet]] (http--127.0.0.1-8080-2) Servlet.service() for servlet 4 Servlet threw exception: org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 114 in the generated java file
Only a type can be imported. org.apache.commons.math.util.MathUtils resolves to a package
...
</code></pre><br>whereas mail-portlet throw this after I drag&drop the portlet:<br><pre><code>
...
19:46:58,178 WARN [org.jboss.modules] (MSC service thread 1-2) Failed to define class com.liferay.mail.model.impl.AttachmentImpl in Module "deployment.mail-portlet.war:main" from Service Module Loader: java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_29]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [:1.6.0_29]
at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [:1.6.0_29]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_29]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:397) [jboss-modules.jar:1.0.1.GA]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261) [jboss-modules.jar:1.0.1.GA]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76) [jboss-modules.jar:1.0.1.GA]
...
</code></pre><br><br>Is this normal ? Which plugins work with this release ?<br><br>Thanks.</body></html>John Doe2011-10-28T20:41:58ZRE: Liferay 6.1 - Beta ReleaseTejas Kananihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=111862902011-10-22T08:31:11Z2011-10-22T08:31:11ZGreat News James !!<br />I've downloaded it and it looks cool with many new features.<br /><br />Looking forward for GA release.<br /><br />Thanks,<br />TejasTejas Kanani2011-10-22T08:31:11ZRE: Liferay 6.1 - Beta Release