Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.2.0 CE M6
    • Fix Version/s: 6.2.0 CE M6
    • Component/s: Core Infrastructure
    • Labels:
      None
    • Environment:
      Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 85fa47a3661220c4c8a695ab325c0214809f8c74.
    • Fix Priority:
      4

      Description

      When starting 6.2.x, there are non-fatal start up errors.

      H:\portal-trunk\bundles\tomcat-7.0.34\bin>catalina run
      Using CATALINA_BASE:   "H:\portal-trunk\bundles\tomcat-7.0.34"
      Using CATALINA_HOME:   "H:\portal-trunk\bundles\tomcat-7.0.34"
      Using CATALINA_TMPDIR: "H:\portal-trunk\bundles\tomcat-7.0.34\temp"
      Using JRE_HOME:        "C:\Program Files\Java\jre7"
      Using CLASSPATH:       "H:\portal-trunk\bundles\tomcat-7.0.34\bin\bootstrap.jar;H:\portal-trunk\bundles\tomcat-7.0.34\bin\tomcat-juli.jar"
      May 14, 2013 7:43:00 PM org.apache.catalina.core.AprLifecycleListener init
      INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.7.0_15\bin;C:\Program Files\ImageMagick-6.8.3-Q16;C:\Program Files (x86)\Xuggle\bin;C:\Perl64\site\bin;C:\Perl64\bin;C:\Program Files\Java\jre7\bin;C:\apache-ant-1.8.2\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files (x86)\Git\cmd;C:\Python27;C:\Program Files (x86)\Mozilla Firefox;C:\putty;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;.
      May 14, 2013 7:43:00 PM org.apache.coyote.AbstractProtocol init
      INFO: Initializing ProtocolHandler ["http-bio-9080"]
      May 14, 2013 7:43:00 PM org.apache.coyote.AbstractProtocol init
      INFO: Initializing ProtocolHandler ["ajp-bio-9009"]
      May 14, 2013 7:43:00 PM org.apache.catalina.startup.Catalina load
      INFO: Initialization processed in 759 ms
      May 14, 2013 7:43:00 PM org.apache.catalina.core.StandardService startInternal
      INFO: Starting service Catalina
      May 14, 2013 7:43:00 PM org.apache.catalina.core.StandardEngine startInternal
      INFO: Starting Servlet Engine: Apache Tomcat/7.0.34
      May 14, 2013 7:43:00 PM org.apache.catalina.startup.HostConfig deployDescriptor
      INFO: Deploying configuration descriptor H:\portal-trunk\bundles\tomcat-7.0.34\conf\Catalina\localhost\ROOT.xml
      Loading jar:file:/H:/portal-trunk/bundles/tomcat-7.0.34/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
      Loading jar:file:/H:/portal-trunk/bundles/tomcat-7.0.34/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
      Loading file:/H:/portal-trunk/bundles/tomcat-7.0.34/webapps/ROOT/WEB-INF/classes/portal-ext.properties
      May 14, 2013 7:43:27 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      19:43:31,276 INFO  [localhost-startStop-1][DialectDetector:71] Determine dialect for MySQL 5
      19:43:31,304 INFO  [localhost-startStop-1][DialectDetector:136] Found dialect org.hibernate.dialect.MySQLDialect
      Starting Liferay Portal Community Edition 6.2.0 CE M5 (Newton / Build 6200 / April 25, 2013)
      19:43:52,606 ERROR [localhost-startStop-1][JDBCExceptionReporter:76] Table 'lportaltrunk.lock_' doesn't exist
      19:43:52,980 WARN  [localhost-startStop-1][ReleaseLocalServiceImpl:173] Table 'lportaltrunk.release_' doesn't exist
      19:43:52,981 INFO  [localhost-startStop-1][ReleaseLocalServiceImpl:83] Create tables and populate with default data
      19:44:05,636 INFO  [localhost-startStop-1][BaseDB:456] Database does not support case sensitive queries
      19:44:06,161 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyProcessSuite
      19:44:06,162 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyProperties
      19:44:06,171 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyDB2
      19:44:06,172 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyMySQL
      19:44:06,207 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyOracle
      19:44:06,208 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifySQLServer
      19:44:06,209 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyUUID
      19:44:06,414 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyPermission
      19:44:07,288 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyRole
      19:44:07,289 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyAsset
      19:44:07,294 INFO  [localhost-startStop-1][UpgradeProcess:175] Upgrading com.liferay.portal.upgrade.util.UpgradeAssetPublisherManualEntries
      19:44:07,296 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyAuditedModel
      19:44:07,318 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyBlogs
      19:44:07,330 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyBookmarks
      19:44:07,345 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyCalendar
      19:44:07,356 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyDocumentLibrary
      19:44:07,411 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyGroup
      19:44:07,998 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyGroupId
      19:44:08,000 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyJournal
      19:44:08,038 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyLayout
      19:44:08,045 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyMessageBoards
      19:44:08,077 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyOrganization
      19:44:08,079 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyResourcePermissions
      19:44:08,080 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifySocial
      19:44:08,080 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyUser
      19:44:08,107 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyWiki
      19:44:08,121 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyWorkflow
      19:44:08,153 INFO  [localhost-startStop-1][ServerDetector:166] Server supports hot deploy
      19:44:08,160 INFO  [localhost-startStop-1][PluginPackageUtil:1041] Reading plugin package for the root context
      19:44:19,696 INFO  [localhost-startStop-1][AutoDeployDir:99] Auto deploy scanner started for H:\portal-trunk\home\deploy
      19:44:23,917 ERROR [localhost-startStop-1][JDBCExceptionReporter:76] Duplicate entry '10325-1-/home-en_US' for key 'IX_A6FC2B28'
      19:44:23,922 ERROR [localhost-startStop-1][PortalInstances:471] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.exception.SystemException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
      com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.exception.SystemException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
              at com.liferay.portal.events.AddDefaultLayoutSetPrototypesAction.run(AddDefaultLayoutSetPrototypesAction.java:58)
              at com.liferay.portal.events.AddDefaultDataAction.run(AddDefaultDataAction.java:40)
              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:465)
              at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:91)
              at com.liferay.portal.servlet.MainServlet.initCompanies(MainServlet.java:773)
              at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:342)
              at javax.servlet.GenericServlet.init(GenericServlet.java:160)
              at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
              at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
              at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
              at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
              at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
              at java.util.concurrent.FutureTask.run(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)
      Caused by: com.liferay.portal.kernel.exception.SystemException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
              at com.liferay.portal.spring.hibernate.LastSessionRecorderUtil.syncLastSessionState(LastSessionRecorderUtil.java:36)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:58)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:166)
              at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationHandler.java:61)
              at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHandler.java:50)
              at com.sun.proxy.$Proxy280.increment(Unknown Source)
              at com.liferay.portlet.messageboards.service.impl.MBMessageLocalServiceImpl.addMessage(MBMessageLocalServiceImpl.java:235)
              at com.liferay.portlet.messageboards.service.impl.MBMessageLocalServiceImpl.addDiscussionMessage(MBMessageLocalServiceImpl.java:179)
              at com.liferay.portlet.messageboards.service.impl.MBMessageLocalServiceImpl.addDiscussionMessage(MBMessageLocalServiceImpl.java:138)
              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.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:61)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:166)
              at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationHandler.java:61)
              at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHandler.java:50)
              at com.sun.proxy.$Proxy352.addDiscussionMessage(Unknown Source)
              at com.liferay.portal.service.impl.LayoutLocalServiceImpl.addLayout(LayoutLocalServiceImpl.java:295)
              at com.liferay.portal.service.impl.LayoutLocalServiceImpl.addLayout(LayoutLocalServiceImpl.java:462)
              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.service.impl.LayoutLocalServiceVirtualLayoutsAdvice.invoke(LayoutLocalServiceVirtualLayoutsAdvice.java:181)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
              at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.invoke(LayoutLocalServiceStagingAdvice.java:133)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:61)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:166)
              at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationHandler.java:61)
              at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHandler.java:50)
              at com.sun.proxy.$Proxy135.addLayout(Unknown Source)
              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.security.pacl.PortalSecurityManagerImpl$DoBeanLocatorImplPACL$1.invoke(PortalSecurityManagerImpl.java:452)
              at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationHandler.java:61)
              at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHandler.java:50)
              at com.sun.proxy.$Proxy136.addLayout(Unknown Source)
              at com.liferay.portal.service.LayoutLocalServiceUtil.addLayout(LayoutLocalServiceUtil.java:429)
              at com.liferay.portal.events.AddDefaultLayoutSetPrototypesAction.addLayout(AddDefaultLayoutSetPrototypesAction.java:71)
              at com.liferay.portal.events.AddDefaultLayoutSetPrototypesAction.addPublicSite(AddDefaultLayoutSetPrototypesAction.java:268)
              at com.liferay.portal.events.AddDefaultLayoutSetPrototypesAction.doRun(AddDefaultLayoutSetPrototypesAction.java:333)
              at com.liferay.portal.events.AddDefaultLayoutSetPrototypesAction.run(AddDefaultLayoutSetPrototypesAction.java:55)
              ... 26 more
      Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
              at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96)
              at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
              at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
              at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268)
              at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
              at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
              at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
              at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
              at com.liferay.portal.spring.hibernate.LastSessionRecorderUtil.syncLastSessionState(LastSessionRecorderUtil.java:32)
              ... 79 more
      Caused by: java.sql.BatchUpdateException: Duplicate entry '10325-1-/home-en_US' for key 'IX_A6FC2B28'
              at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2054)
              at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1467)
              at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
              at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
              at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
              ... 85 more
      Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '10325-1-/home-en_US' for key 'IX_A6FC2B28'
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
              at java.lang.reflect.Constructor.newInstance(Unknown Source)
              at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
              at com.mysql.jdbc.Util.getInstance(Util.java:386)
              at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1040)
              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
              at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
              at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
              at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
              at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458)
              at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2006)
              ... 89 more
      May 14, 2013 7:44:24 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring FrameworkServlet 'Remoting Servlet'
      May 14, 2013 7:44:25 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["http-bio-9080"]
      May 14, 2013 7:44:25 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["ajp-bio-9009"]
      May 14, 2013 7:44:25 PM org.apache.catalina.startup.Catalina start
      INFO: Server startup in 84716 ms
      
      

      Expected behavior:
      Start up is clean.

      Actual behavior:
      Stack trace but portal is still functional.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 22 weeks, 3 days ago

                  Packages

                  Version Package
                  6.2.0 CE M6