Details

      Description

      I had a nightly build 2011-06-27 configured and running against a MySQL database. I had changed the site name, virtual host etc.
      I now installed nightly build 2011-07-03 and tried to connect it to my MySQL database (same portal-ext.properties) as in 2011-06-27.

      When Liferay starts up, I get the following error message complaining about a non existing Group (0, Guest):

      08:30:02,700 ERROR [PortalInstances:467] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=0, name=Guest}
      com.liferay.portal.kernel.events.ActionException: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=0, name=Guest}
      	at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.run(AddDefaultDocumentLibraryStructuresAction.java:65)
      	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:754)
      	at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:335)
      	at javax.servlet.GenericServlet.init(GenericServlet.java:212)
      	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
      	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
      	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420)
      	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4733)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
      	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
      	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
      	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
      	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
      	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
      	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
      	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
      	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
      	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
      	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
      	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
      	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
      	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:597)
      	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
      Caused by: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=0, name=Guest}
      	at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByC_N(GroupPersistenceImpl.java:1326)
      	at com.liferay.portal.service.impl.GroupLocalServiceImpl.getGroup(GroupLocalServiceImpl.java:611)
      	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:597)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:119)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:86)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:86)
      	at $Proxy22.getGroup(Unknown Source)
      	at com.liferay.portal.service.GroupLocalServiceUtil.getGroup(GroupLocalServiceUtil.java:334)
      	at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.doRun(AddDefaultDocumentLibraryStructuresAction.java:266)
      	at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.run(AddDefaultDocumentLibraryStructuresAction.java:62)
      	... 35 more
      

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            alex.weirig@technolink.lu Alex Weirig
            Recent user:
            Tamas Zoboki (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              9 years, 45 weeks, 5 days ago

                Packages

                Version Package