PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-39544

Opening localhost:8080 immediately upon server startup gives Internal Server Error and duplicate entry database errors

    Details

    • Type: Regression Bug Regression Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 6.2.0 CE B3, 7.0.0 M5
    • Fix Version/s: Master
    • Labels:
      None
    • Environment:
      Tomcat 7.0 + MySQL 5. Portal 6.2.x CE GIT ID: 597e90da15b6a47bc6cdf2ec0b57ab89f43340f6.
    • Fix Priority:
      2
    • Similar Issues:
      Show 5 results 

      Description

      Steps to reproduce:

      1. Start appserver with a clean environment
      2. When the server starts populating the database, direct the browser to localhost:8080
      3. If you don't see the error when the server finishes loading reload the browser.

      Expected result:
      Liferay's home page should load, and console should be free of errors.

      Actual result:
      Browser opens to an Internal Server Error, and console shows the following database errors.

      15:27:49,201 ERROR [RuntimePageImpl-3][JDBCExceptionReporter:87] Duplicate entry '0-3-10187-58' for key 'IX_C7057FF7'
      15:27:49,201 ERROR [RuntimePageImpl-2][JDBCExceptionReporter:87] Duplicate entry '0-3-10187-47' for key 'IX_C7057FF7'
      

      A .txt file containing the full stacktrace is attached.

      1. duplicate key.txt
        195 kB
        Andrew Entzminger
      2. liferay.2013-09-27.log
        103 kB
        Hong Zhao
      3. liferay.2015-04-10.log
        75 kB
        Hong Zhao
      1. internal error.PNG
        9 kB

        Activity

        Hide
        Carlos Sierra added a comment -

        Hi all,

        I have tested with clean environment both manually and setting browser.launcher.url for the portal to open the navigator automatically for me.
        I can not reproduce the issue.

        Could you please retest and send the properties and details of your environment?

        Regards.

        Show
        Carlos Sierra added a comment - Hi all, I have tested with clean environment both manually and setting browser.launcher.url for the portal to open the navigator automatically for me. I can not reproduce the issue. Could you please retest and send the properties and details of your environment? Regards.
        Hide
        Carlos Sierra added a comment -

        After watching the screencast I have been able to reproduce it, but I have the feeling that the description is wrong, that is why we could not reproduce it before. I will update the description and have a look at the bug.

        Anyhow... I also have doubts whether this should be a 4.

        Show
        Carlos Sierra added a comment - After watching the screencast I have been able to reproduce it, but I have the feeling that the description is wrong, that is why we could not reproduce it before. I will update the description and have a look at the bug. Anyhow... I also have doubts whether this should be a 4.
        Hide
        Carlos Sierra added a comment - - edited

        I have changed fix priority to 3 because the likelyhood of this to happen is low, and it does not cause a big impact since the portal keeps working correctly.

        Show
        Carlos Sierra added a comment - - edited I have changed fix priority to 3 because the likelyhood of this to happen is low, and it does not cause a big impact since the portal keeps working correctly.
        Hide
        Juan Gonzalez added a comment - - edited

        Hi!

        Today I reproduced this, just after starting the portal in a clean installation:

        06:52:03,693 INFO  [pool-2-thread-1][BaseDB:117] Database does not support case sensitive queries
        06:52:05,226 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyProcessSuite
        06:52:05,227 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyProperties
        06:52:05,236 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyDB2
        06:52:05,237 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyMySQL
        06:52:05,266 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyOracle
        06:52:05,267 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifySQLServer
        06:52:05,268 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyUUID
        06:52:05,280 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyPermission
        06:52:08,406 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyGroup
        06:52:08,443 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyRole
        06:52:08,446 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyAsset
        06:52:08,450 INFO  [pool-2-thread-1][UpgradeProcess:117] Upgrading com.liferay.portal.upgrade.util.UpgradeAssetPublisherManualEntries
        06:52:08,451 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyAuditedModel
        06:52:08,459 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyBlogs
        06:52:08,465 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyBookmarks
        06:52:08,479 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyDocumentLibrary
        06:52:08,614 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyDynamicDataMapping
        06:52:08,619 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyGroupId
        06:52:08,622 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyJournal
        06:52:08,633 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyLayout
        06:52:08,653 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyMessageBoards
        06:52:08,672 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyOrganization
        06:52:08,686 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyResourcePermissions
        06:52:08,689 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyUser
        06:52:08,699 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyWiki
        06:52:08,707 INFO  [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyWorkflow
        06:52:08,764 INFO  [pool-2-thread-1][ServerDetector:117] Server supports hot deploy
        06:52:08,768 INFO  [pool-2-thread-1][PluginPackageUtil:117] Reading plugin package for the root context
        06:52:12,915 INFO  [pool-2-thread-1][AutoDeployDir:117] Auto deploy scanner started for /opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/deploy
        03-oct-2013 6:52:27 org.apache.catalina.core.ApplicationContext log
        INFO: Initializing Spring FrameworkServlet 'Remoting Servlet'
        03-oct-2013 6:52:28 org.apache.catalina.startup.HostConfig deployDirectory
        INFO: Despliegue del directorio /opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/tomcat-7.0.25/webapps/marketplace-portlet de la aplicación web
        06:52:29,024 INFO  [pool-2-thread-1][HotDeployImpl:117] Deploying marketplace-portlet from queue
        06:52:29,026 INFO  [pool-2-thread-1][PluginPackageUtil:117] Reading plugin package for marketplace-portlet
        Loading file:/opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/tomcat-7.0.25/webapps/marketplace-portlet/WEB-INF/classes/portlet.properties
        Loading file:/opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/tomcat-7.0.25/webapps/marketplace-portlet/WEB-INF/classes/service.properties
        06:52:29,184 INFO  [pool-2-thread-1][ServiceComponentLocalServiceImpl:117] Running Marketplace SQL scripts
        Loading file:/opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/tomcat-7.0.25/webapps/marketplace-portlet/WEB-INF/classes/portlet.properties
        03-oct-2013 6:52:29 org.apache.catalina.core.ApplicationContext log
        INFO: Initializing Spring root WebApplicationContext
        Loading file:/opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/tomcat-7.0.25/webapps/marketplace-portlet/WEB-INF/classes/service.properties
        Loading file:/opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/tomcat-7.0.25/webapps/marketplace-portlet/WEB-INF/classes/service.properties
        06:52:30,154 INFO  [pool-2-thread-1][HookHotDeployListener:117] Registering hook for marketplace-portlet
        Loading file:/opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/tomcat-7.0.25/webapps/marketplace-portlet/WEB-INF/classes/portal.properties
        06:52:30,237 INFO  [pool-2-thread-1][UpgradeProcess:117] Upgrading com.liferay.marketplace.hook.upgrade.UpgradeProcess_1_0_0
        06:52:30,239 INFO  [pool-2-thread-1][UpgradeProcess:117] Upgrading com.liferay.marketplace.hook.upgrade.v1_0_0.UpgradeExpando
        06:52:30,309 INFO  [pool-2-thread-1][HookHotDeployListener:117] Hook for marketplace-portlet is available for use
        06:52:30,339 INFO  [pool-2-thread-1][PortletHotDeployListener:117] Registering portlets for marketplace-portlet
        Loading file:/opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/tomcat-7.0.25/webapps/marketplace-portlet/WEB-INF/classes/portlet.properties
        06:52:30,488 INFO  [pool-2-thread-1][PortletHotDeployListener:117] 3 portlets for marketplace-portlet are available for use
        03-oct-2013 6:52:30 org.apache.coyote.AbstractProtocol start
        INFO: Starting ProtocolHandler ["http-bio-8080"]
        03-oct-2013 6:52:30 org.apache.coyote.AbstractProtocol start
        INFO: Starting ProtocolHandler ["ajp-bio-8009"]
        03-oct-2013 6:52:30 org.apache.catalina.startup.Catalina start
        INFO: Server startup in 96557 ms
        06:52:51,578 ERROR [http-bio-8080-exec-1][JDBCExceptionReporter:87] Duplicate entry '0-3-10187-145' for key 'IX_C7057FF7'
        06:52:51,594 ERROR [http-bio-8080-exec-1][DefaultTransactionExecutor:92] Application exception overridden by commit exception
        org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into PortletPreferences (ownerId, ownerType, plid, portletId, preferences, portletPreferencesId) values (?, ?, ?, ?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
        	at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:637)
        	at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:793)
        	at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:664)
        	at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754)
        	at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
        	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.processCommit(DefaultTransactionExecutor.java:82)
        	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:70)
        	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
        	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
        	at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationHandler.java:62)
        	at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHandler.java:51)
        	at com.sun.proxy.$Proxy197.addPortletPreferences(Unknown Source)
        	at com.liferay.portal.service.impl.PortletPreferencesLocalServiceImpl.doGetPreferences(PortletPreferencesLocalServiceImpl.java:357)
        	at com.liferay.portal.service.impl.PortletPreferencesLocalServiceImpl.getPreferences(PortletPreferencesLocalServiceImpl.java:380)
        	at com.liferay.portal.service.impl.PortletPreferencesLocalServiceImpl.getPreferences(PortletPreferencesLocalServiceImpl.java:254)
        	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:115)
        	at com.liferay.portal.service.impl.PortletPreferencesLocalServiceStagingAdvice.getPreferences(PortletPreferencesLocalServiceStagingAdvice.java:137)
        	at com.liferay.portal.service.impl.PortletPreferencesLocalServiceStagingAdvice.invoke(PortletPreferencesLocalServiceStagingAdvice.java:67)
        	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
        	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
        	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
        	at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationHandler.java:62)
        	at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHandler.java:51)
        	at com.sun.proxy.$Proxy197.getPreferences(Unknown Source)
        	at com.liferay.portal.service.PortletPreferencesLocalServiceUtil.getPreferences(PortletPreferencesLocalServiceUtil.java:395)
        	at com.liferay.portlet.PortletPreferencesFactoryImpl.getPortletSetup(PortletPreferencesFactoryImpl.java:665)
        	at com.liferay.portlet.PortletPreferencesFactoryImpl.getPortletSetup(PortletPreferencesFactoryImpl.java:468)
        	at com.liferay.portlet.PortletPreferencesFactoryImpl.getPortletSetup(PortletPreferencesFactoryImpl.java:447)
        	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.security.lang.DoPrivilegedHandler.doInvoke(DoPrivilegedHandler.java:88)
        	at com.liferay.portal.security.lang.DoPrivilegedHandler.invoke(DoPrivilegedHandler.java:56)
        	at com.sun.proxy.$Proxy611.getPortletSetup(Unknown Source)
        	at com.liferay.portlet.PortletPreferencesFactoryUtil.getPortletSetup(PortletPreferencesFactoryUtil.java:187)
        	at com.liferay.taglib.portletext.RuntimeTag.doTag(RuntimeTag.java:124)
        	at com.liferay.taglib.portletext.RuntimeTag.doTag(RuntimeTag.java:68)
        	at com.liferay.taglib.util.VelocityTaglibImpl.runtime(VelocityTaglibImpl.java:1065)
        	at com.liferay.taglib.util.VelocityTaglibImpl.runtime(VelocityTaglibImpl.java:1058)
        	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.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
        	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
        	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
        	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
        	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
        	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
        	at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
        	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
        	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
        	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
        	at org.apache.velocity.Template.merge(Template.java:328)
        	at org.apache.velocity.Template.merge(Template.java:235)
        	at com.liferay.portal.velocity.VelocityTemplate.processTemplate(VelocityTemplate.java:112)
        	at com.liferay.portal.template.AbstractTemplate.processTemplate(AbstractTemplate.java:106)
        	at com.liferay.taglib.util.ThemeUtil.doIncludeVM(ThemeUtil.java:511)
        	at com.liferay.taglib.util.ThemeUtil.doDispatch(ThemeUtil.java:177)
        	at com.liferay.taglib.util.ThemeUtil.includeVM(ThemeUtil.java:133)
        	at com.liferay.taglib.util.ThemeUtil.include(ThemeUtil.java:99)
        	at com.liferay.taglib.theme.IncludeTag.doEndTag(IncludeTag.java:34)
        	at org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_liferay_002dtheme_005finclude_005f1(portal_jsp.java:479)
        	at org.apache.jsp.html.common.themes.portal_jsp._jspService(portal_jsp.java:423)
        	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
        	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
        	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
        	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
        	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
        	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
        	at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:78)
        	at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:282)
        	at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
        	at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
        	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
        	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)
        	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
        	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:549)
        	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:526)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
        	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)
        	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
        	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
        	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
        	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
        	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
        	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:158)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
        	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:359)
        	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)
        	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)
        	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        	at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:244)
        	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        	at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:409)
        	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        	at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:70)
        	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
        	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:263)
        	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
        	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
        	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
        	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
        	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:320)
        	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
        	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
        	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
        	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
        	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
        	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
        	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
        	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
        	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
        	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
        	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
        	at java.lang.Thread.run(Thread.java:662)
        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 org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383)
        	at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133)
        	at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:656)
        	... 224 more
        

        Anyway, seems after this error doesn't reproduce anymore (perhaps because some initial preferences had been added to DB)

        Show
        Juan Gonzalez added a comment - - edited Hi! Today I reproduced this, just after starting the portal in a clean installation: 06:52:03,693 INFO [pool-2-thread-1][BaseDB:117] Database does not support case sensitive queries 06:52:05,226 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyProcessSuite 06:52:05,227 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyProperties 06:52:05,236 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyDB2 06:52:05,237 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyMySQL 06:52:05,266 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyOracle 06:52:05,267 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifySQLServer 06:52:05,268 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyUUID 06:52:05,280 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyPermission 06:52:08,406 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyGroup 06:52:08,443 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyRole 06:52:08,446 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyAsset 06:52:08,450 INFO [pool-2-thread-1][UpgradeProcess:117] Upgrading com.liferay.portal.upgrade.util.UpgradeAssetPublisherManualEntries 06:52:08,451 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyAuditedModel 06:52:08,459 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyBlogs 06:52:08,465 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyBookmarks 06:52:08,479 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyDocumentLibrary 06:52:08,614 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyDynamicDataMapping 06:52:08,619 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyGroupId 06:52:08,622 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyJournal 06:52:08,633 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyLayout 06:52:08,653 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyMessageBoards 06:52:08,672 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyOrganization 06:52:08,686 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyResourcePermissions 06:52:08,689 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyUser 06:52:08,699 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyWiki 06:52:08,707 INFO [pool-2-thread-1][VerifyProcess:117] Verifying com.liferay.portal.verify.VerifyWorkflow 06:52:08,764 INFO [pool-2-thread-1][ServerDetector:117] Server supports hot deploy 06:52:08,768 INFO [pool-2-thread-1][PluginPackageUtil:117] Reading plugin package for the root context 06:52:12,915 INFO [pool-2-thread-1][AutoDeployDir:117] Auto deploy scanner started for /opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/deploy 03-oct-2013 6:52:27 org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring FrameworkServlet 'Remoting Servlet' 03-oct-2013 6:52:28 org.apache.catalina.startup.HostConfig deployDirectory INFO: Despliegue del directorio /opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/tomcat-7.0.25/webapps/marketplace-portlet de la aplicación web 06:52:29,024 INFO [pool-2-thread-1][HotDeployImpl:117] Deploying marketplace-portlet from queue 06:52:29,026 INFO [pool-2-thread-1][PluginPackageUtil:117] Reading plugin package for marketplace-portlet Loading file:/opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/tomcat-7.0.25/webapps/marketplace-portlet/WEB-INF/classes/portlet.properties Loading file:/opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/tomcat-7.0.25/webapps/marketplace-portlet/WEB-INF/classes/service.properties 06:52:29,184 INFO [pool-2-thread-1][ServiceComponentLocalServiceImpl:117] Running Marketplace SQL scripts Loading file:/opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/tomcat-7.0.25/webapps/marketplace-portlet/WEB-INF/classes/portlet.properties 03-oct-2013 6:52:29 org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Loading file:/opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/tomcat-7.0.25/webapps/marketplace-portlet/WEB-INF/classes/service.properties Loading file:/opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/tomcat-7.0.25/webapps/marketplace-portlet/WEB-INF/classes/service.properties 06:52:30,154 INFO [pool-2-thread-1][HookHotDeployListener:117] Registering hook for marketplace-portlet Loading file:/opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/tomcat-7.0.25/webapps/marketplace-portlet/WEB-INF/classes/portal.properties 06:52:30,237 INFO [pool-2-thread-1][UpgradeProcess:117] Upgrading com.liferay.marketplace.hook.upgrade.UpgradeProcess_1_0_0 06:52:30,239 INFO [pool-2-thread-1][UpgradeProcess:117] Upgrading com.liferay.marketplace.hook.upgrade.v1_0_0.UpgradeExpando 06:52:30,309 INFO [pool-2-thread-1][HookHotDeployListener:117] Hook for marketplace-portlet is available for use 06:52:30,339 INFO [pool-2-thread-1][PortletHotDeployListener:117] Registering portlets for marketplace-portlet Loading file:/opt/liferay-portal-tomcat-6.2.0/liferay-portal-6.2.0/tomcat-7.0.25/webapps/marketplace-portlet/WEB-INF/classes/portlet.properties 06:52:30,488 INFO [pool-2-thread-1][PortletHotDeployListener:117] 3 portlets for marketplace-portlet are available for use 03-oct-2013 6:52:30 org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8080"] 03-oct-2013 6:52:30 org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-8009"] 03-oct-2013 6:52:30 org.apache.catalina.startup.Catalina start INFO: Server startup in 96557 ms 06:52:51,578 ERROR [http-bio-8080-exec-1][JDBCExceptionReporter:87] Duplicate entry '0-3-10187-145' for key 'IX_C7057FF7' 06:52:51,594 ERROR [http-bio-8080-exec-1][DefaultTransactionExecutor:92] Application exception overridden by commit exception org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into PortletPreferences (ownerId, ownerType, plid, portletId, preferences, portletPreferencesId) values (?, ?, ?, ?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:637) at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:793) at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:664) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.processCommit(DefaultTransactionExecutor.java:82) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:70) at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175) at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationHandler.java:62) at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHandler.java:51) at com.sun.proxy.$Proxy197.addPortletPreferences(Unknown Source) at com.liferay.portal.service.impl.PortletPreferencesLocalServiceImpl.doGetPreferences(PortletPreferencesLocalServiceImpl.java:357) at com.liferay.portal.service.impl.PortletPreferencesLocalServiceImpl.getPreferences(PortletPreferencesLocalServiceImpl.java:380) at com.liferay.portal.service.impl.PortletPreferencesLocalServiceImpl.getPreferences(PortletPreferencesLocalServiceImpl.java:254) 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:115) at com.liferay.portal.service.impl.PortletPreferencesLocalServiceStagingAdvice.getPreferences(PortletPreferencesLocalServiceStagingAdvice.java:137) at com.liferay.portal.service.impl.PortletPreferencesLocalServiceStagingAdvice.invoke(PortletPreferencesLocalServiceStagingAdvice.java:67) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62) at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175) at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationHandler.java:62) at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHandler.java:51) at com.sun.proxy.$Proxy197.getPreferences(Unknown Source) at com.liferay.portal.service.PortletPreferencesLocalServiceUtil.getPreferences(PortletPreferencesLocalServiceUtil.java:395) at com.liferay.portlet.PortletPreferencesFactoryImpl.getPortletSetup(PortletPreferencesFactoryImpl.java:665) at com.liferay.portlet.PortletPreferencesFactoryImpl.getPortletSetup(PortletPreferencesFactoryImpl.java:468) at com.liferay.portlet.PortletPreferencesFactoryImpl.getPortletSetup(PortletPreferencesFactoryImpl.java:447) 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.security.lang.DoPrivilegedHandler.doInvoke(DoPrivilegedHandler.java:88) at com.liferay.portal.security.lang.DoPrivilegedHandler.invoke(DoPrivilegedHandler.java:56) at com.sun.proxy.$Proxy611.getPortletSetup(Unknown Source) at com.liferay.portlet.PortletPreferencesFactoryUtil.getPortletSetup(PortletPreferencesFactoryUtil.java:187) at com.liferay.taglib.portletext.RuntimeTag.doTag(RuntimeTag.java:124) at com.liferay.taglib.portletext.RuntimeTag.doTag(RuntimeTag.java:68) at com.liferay.taglib.util.VelocityTaglibImpl.runtime(VelocityTaglibImpl.java:1065) at com.liferay.taglib.util.VelocityTaglibImpl.runtime(VelocityTaglibImpl.java:1058) 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.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) at org.apache.velocity.Template.merge(Template.java:235) at com.liferay.portal.velocity.VelocityTemplate.processTemplate(VelocityTemplate.java:112) at com.liferay.portal.template.AbstractTemplate.processTemplate(AbstractTemplate.java:106) at com.liferay.taglib.util.ThemeUtil.doIncludeVM(ThemeUtil.java:511) at com.liferay.taglib.util.ThemeUtil.doDispatch(ThemeUtil.java:177) at com.liferay.taglib.util.ThemeUtil.includeVM(ThemeUtil.java:133) at com.liferay.taglib.util.ThemeUtil.include(ThemeUtil.java:99) at com.liferay.taglib.theme.IncludeTag.doEndTag(IncludeTag.java:34) at org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_liferay_002dtheme_005finclude_005f1(portal_jsp.java:479) at org.apache.jsp.html.common.themes.portal_jsp._jspService(portal_jsp.java:423) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169) at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329) at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:78) at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:282) at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239) at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241) at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:549) at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:526) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169) at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169) at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329) at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:158) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169) at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:359) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169) at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169) at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169) at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:244) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169) at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:409) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169) at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:70) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169) at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169) at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:263) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329) at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:320) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) 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 org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133) at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:656) ... 224 more Anyway, seems after this error doesn't reproduce anymore (perhaps because some initial preferences had been added to DB)
        Hide
        Hong Zhao added a comment -

        FAILED Manual Testing following the steps in the descriptions.

        Failed on:
        Tomcat 7.0.42 + MySQL 5.5.21. Portal master GIT ID: f435a1b642ea5f5d32abded859d8909d66b377e8.

        Duplicate entry database errors still displayed in console.

        01:42:36,845 ERROR [http-bio-8080-exec-7][JDBCExceptionReporter:234] Duplicate entry 'com.liferay.portal.kernel.servlet.taglib.ui.BreadcrumbEntry' for key 'IX_B27A301F'
        01:42:36,854 ERROR [http-bio-8080-exec-7][DefaultTransactionExecutor:54] Application exception overridden by commit exception
        org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into ClassName_ (mvccVersion, value, classNameId) values (?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
        	at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:643)
        	at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:794)
        	at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:665)
        	at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755)
        	at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)
        	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.commit(DefaultTransactionExecutor.java:43)
        	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:103)
        	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
        	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
        	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
        	at com.sun.proxy.$Proxy51.addClassName(Unknown Source)
        	at com.liferay.portal.service.impl.ClassNameLocalServiceImpl.getClassName(ClassNameLocalServiceImpl.java:113)
        	at com.liferay.portal.service.impl.ClassNameLocalServiceImpl.getClassNameId(ClassNameLocalServiceImpl.java:138)
        
        

        Note: When start the portal, home page displayed correctly, Internal Server Error is not displayed.

        Show
        Hong Zhao added a comment - FAILED Manual Testing following the steps in the descriptions. Failed on: Tomcat 7.0.42 + MySQL 5.5.21. Portal master GIT ID: f435a1b642ea5f5d32abded859d8909d66b377e8. Duplicate entry database errors still displayed in console. 01:42:36,845 ERROR [http-bio-8080-exec-7][JDBCExceptionReporter:234] Duplicate entry 'com.liferay.portal.kernel.servlet.taglib.ui.BreadcrumbEntry' for key 'IX_B27A301F' 01:42:36,854 ERROR [http-bio-8080-exec-7][DefaultTransactionExecutor:54] Application exception overridden by commit exception org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into ClassName_ (mvccVersion, value, classNameId) values (?, ?, ?)]; constraint [ null ]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:643) at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:794) at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:665) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.commit(DefaultTransactionExecutor.java:43) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:103) at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123) at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173) at com.sun.proxy.$Proxy51.addClassName(Unknown Source) at com.liferay.portal.service.impl.ClassNameLocalServiceImpl.getClassName(ClassNameLocalServiceImpl.java:113) at com.liferay.portal.service.impl.ClassNameLocalServiceImpl.getClassNameId(ClassNameLocalServiceImpl.java:138) Note: When start the portal, home page displayed correctly, Internal Server Error is not displayed.

          People

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

            Dates

            • Created:
              Updated:
              Days since last comment:
              20 weeks, 3 days ago

              Development

                Structure Helper Panel