Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-25216

Starting the portal with a empty database and start wizard disabled fails

    Details

      Description

      • create an empty database
      • setup portal-ext.properties to use database
      • disable setup wizard (setup.wizard.enabled=false)
      • startup the portal
      log and error
      Unable to find source-code formatter for language: text. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      Jan 30, 2012 10:26:43 PM org.apache.coyote.AbstractProtocol init
      INFO: Initializing ProtocolHandler ["http-bio-8080"]
      Jan 30, 2012 10:26:43 PM org.apache.coyote.AbstractProtocol init
      INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
      Jan 30, 2012 10:26:43 PM org.apache.catalina.startup.Catalina load
      INFO: Initialization processed in 534 ms
      Jan 30, 2012 10:26:43 PM org.apache.catalina.core.StandardService startInternal
      INFO: Starting service Catalina
      Jan 30, 2012 10:26:43 PM org.apache.catalina.core.StandardEngine startInternal
      INFO: Starting Servlet Engine: Apache Tomcat/7.0.21
      Jan 30, 2012 10:26:43 PM org.apache.catalina.startup.HostConfig deployDescriptor
      INFO: Deploying configuration descriptor ROOT.xml from /home/rotty/apache-tomcat-7.0.21-clean/conf/Catalina/localhost
      Loading jar:file:/home/rotty/apache-tomcat-7.0.21-clean/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
      22:26:45,056 INFO  [EasyConf:122] Refreshed the configuration of all components
      22:26:45,387 INFO  [ConfigurationLoader:56] Properties for jar:file:/home/rotty/apache-tomcat-7.0.21-clean/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal loaded from [file:/home/rotty/workspace-2/portal-trunk-github/portal-web/docroot/WEB-INF/src/jdbc-mysql.properties, file:/home/rotty/workspace-2/portal-trunk-github/portal-web/docroot/WEB-INF/src/portal-developer-tomcat.properties, file:/home/rotty/workspace-2/portal-trunk-github/portal-web/docroot/WEB-INF/src/jdbc-mysql.properties, file:/home/rotty/workspace-2/portal-trunk-github/portal-web/docroot/WEB-INF/src/portal-developer-tomcat.properties, file:/home/rotty/apache-tomcat-7.0.21-clean/webapps/ROOT/WEB-INF/classes/portal-ext.properties, jar:file:/home/rotty/apache-tomcat-7.0.21-clean/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties]
      Loading jar:file:/home/rotty/apache-tomcat-7.0.21-clean/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
      Loading file:/home/rotty/apache-tomcat-7.0.21-clean/webapps/ROOT/WEB-INF/classes/portal-ext.properties
      Loading file:/home/rotty/workspace-2/portal-trunk-github/portal-web/docroot/WEB-INF/src/portal-developer-tomcat.properties
      Loading file:/home/rotty/workspace-2/portal-trunk-github/portal-web/docroot/WEB-INF/src/jdbc-mysql.properties
      22:26:46,663 INFO  [osgi:50] [STARTED]
      22:26:46,663 INFO  [osgi:122] [STARTED]
      22:26:46,664 INFO  [osgi:137] [STARTLEVEL_CHANGED]
      22:26:50,932 INFO  [DialectDetector:80] Determine dialect for MySQL 5
      22:26:50,962 INFO  [DialectDetector:145] Found dialect org.hibernate.dialect.MySQLDialect
      22:27:14,992 INFO  [osgi:48] [REGISTERED] {javax.servlet.ServletContext}={service.vendor=Liferay, Inc., original.bean=true, bean.id=javax.servlet.ServletContext, service.id=28}
      22:27:14,993 INFO  [osgi:137] [STARTLEVEL_CHANGED]
      Starting Liferay Portal Community Edition 6.2.0 CE (Newton / Build 6200 / January 18, 2012)
      22:27:33,341 ERROR [JDBCExceptionReporter:75] Table 'sesamestreet4.Lock_' doesn't exist
      
      Query being executed when exception was thrown:
      
      select lockimpl0_.lockId as lockId22_, lockimpl0_.uuid_ as uuid2_22_, lockimpl0_.companyId as companyId22_, lockimpl0_.userId as userId22_, lockimpl0_.userName as userName22_, lockimpl0_.createDate as createDate22_, lockimpl0_.className as className22_, lockimpl0_.key_ as key8_22_, lockimpl0_.owner as owner22_, lockimpl0_.inheritable as inherit10_22_, lockimpl0_.expirationDate as expirat11_22_ from Lock_ lockimpl0_ where (lockimpl0_.expirationDate<'2012-01-30 22:27:33' )
      22:27:33,857 WARN  [ReleaseLocalServiceImpl:140] Table 'sesamestreet4.Release_' doesn't exist
      
      Query being executed when exception was thrown:
      
      select buildNumber from Release_ where releaseId = 1
      22:27:33,859 INFO  [ReleaseLocalServiceImpl:84] Create tables and populate with default data
      22:30:32,494 INFO  [BaseDB:409] Database does not support case sensitive queries
      22:30:38,428 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyProcessSuite
      22:30:38,429 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyProperties
      22:30:38,436 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyMySQL
      22:30:39,201 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifySQLServer
      22:30:39,201 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyCounter
      22:30:39,360 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyUUID
      22:30:39,367 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyPermission
      22:30:42,626 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyRole
      22:30:42,627 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyAsset
      22:30:42,630 INFO  [UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.util.UpgradeAssetPublisherManualEntries
      22:30:42,631 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyBlogs
      22:30:42,659 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyBookmarks
      22:30:42,663 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyCalendar
      22:30:42,666 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyDocumentLibrary
      22:30:42,714 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyGroup
      22:30:42,725 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyJournal
      22:30:42,742 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyLayout
      22:30:42,754 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyMessageBoards
      22:30:42,769 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyOrganization
      22:30:42,770 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyResourcePermissions
      22:30:42,771 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifySocial
      22:30:42,771 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyUser
      22:30:42,779 INFO  [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyWiki
      22:30:42,834 INFO  [PluginPackageUtil:1023] Reading plugin package for the root context
      22:30:44,804 INFO  [AutoDeployDir:105] Auto deploy scanner started for /home/rotty/apache-tomcat-7.0.21-clean/repositories/sesamestreet4/deploy
      22:30:52,378 ERROR [PortalInstances:375] java.lang.NullPointerException
      java.lang.NullPointerException
          at com.liferay.portal.service.impl.UserLocalServiceImpl.validate(UserLocalServiceImpl.java:5444)
          at com.liferay.portal.service.impl.UserLocalServiceImpl.addUserWithWorkflow(UserLocalServiceImpl.java:593)
          at com.liferay.portal.service.impl.UserLocalServiceImpl.addUser(UserLocalServiceImpl.java:464)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:616)
          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 $Proxy97.addUser(Unknown Source)
          at com.liferay.portal.service.impl.CompanyLocalServiceImpl.checkCompany(CompanyLocalServiceImpl.java:444)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:616)
          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:160)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:616)
          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:766)
          at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:336)
          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(FutureTask.java:334)
          at java.util.concurrent.FutureTask.run(FutureTask.java:166)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
          at java.lang.Thread.run(Thread.java:679)
      22:30:52,393 ERROR [PortalInstances:468] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=0, classNameId=10021, classPK=0}
      com.liferay.portal.kernel.events.ActionException: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=0, classNameId=10021, classPK=0}
          at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.run(AddDefaultDocumentLibraryStructuresAction.java:64)
          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:53)
          at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:462)
          at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:92)
          at com.liferay.portal.servlet.MainServlet.initCompanies(MainServlet.java:766)
          at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:336)
          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(FutureTask.java:334)
          at java.util.concurrent.FutureTask.run(FutureTask.java:166)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
          at java.lang.Thread.run(Thread.java:679)
      Caused by: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=0, classNameId=10021, classPK=0}
          at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByC_C_C(GroupPersistenceImpl.java:2123)
          at com.liferay.portal.service.impl.GroupLocalServiceImpl.getCompanyGroup(GroupLocalServiceImpl.java:822)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:616)
          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:263)
          at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.run(AddDefaultDocumentLibraryStructuresAction.java:61)
          ... 20 more
      Jan 30, 2012 10:30:54 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory vldap-web
      Loading file:/home/rotty/apache-tomcat-7.0.21-clean/temp/0-vldap-web/WEB-INF/classes/portlet.properties
      22:30:55,277 INFO  [PluginPackageUtil:1026] Reading plugin package for vldap-web
      22:30:55,284 DEBUG [SearchEngineUtil:407] Document {uid=[PluginPackageIndexer_PORTLET_liferay/vldap-web/6.1.0.1/war], entryClassName=[com.liferay.portal.kernel.plugin.PluginPackage], moduleId=[liferay/vldap-web/6.1.0.1/war], installedVersion=[6.1.0.1], status=[sameVersionInstalled], tag=[], artifactId=[vldap-web], osi-approved-license=[true], type=[web], pageURL=[http://www.liferay.com], version=[6.1.0.1], modified=[20120130223055], content=[Liferay, Inc.  Virtual LDAP Server Web ], groupId=[liferay], author=[Liferay, Inc.], title=[Virtual LDAP Server Web], repositoryURL=[LOCAL_URL], companyId=[0], license=[LGPL], portletId=[PluginPackageIndexer], title_sortable=[Virtual LDAP Server Web]}
      Loading file:/home/rotty/apache-tomcat-7.0.21-clean/temp/0-vldap-web/WEB-INF/classes/portlet.properties
      Jan 30, 2012 10:30:55 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory web-extender-0.0.1
      22:30:55,700 INFO  [PluginPackageUtil:1026] Reading plugin package for web-extender-0.0.1.jar
      22:30:55,701 DEBUG [SearchEngineUtil:407] Document {uid=[PluginPackageIndexer_PORTLET_Liferay, Inc./Web Extender Hook/0.0.1/war], entryClassName=[com.liferay.portal.kernel.plugin.PluginPackage], moduleId=[Liferay, Inc./Web Extender Hook/0.0.1/war], installedVersion=[0.0.1], status=[sameVersionInstalled], tag=[], artifactId=[Web Extender Hook], osi-approved-license=[false], type=[], version=[0.0.1], content=[null  Web Extender Hook ], groupId=[Liferay, Inc.], title=[Web Extender Hook], repositoryURL=[LOCAL_URL], companyId=[0], portletId=[PluginPackageIndexer], title_sortable=[Web Extender Hook], license=[]}
      Jan 30, 2012 10:30:55 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["http-bio-8080"]
      Jan 30, 2012 10:30:55 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["ajp-bio-8009"]
      Jan 30, 2012 10:30:55 PM org.apache.catalina.startup.Catalina start
      INFO: Server startup in 252179 ms
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  8 years, 4 weeks ago

                  Packages

                  Version Package
                  --Sprint 11/12
                  6.2.0 CE M2