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

Exception occurred when start portal with SQL Server

    Details

    • Fix Priority:
      4
    • Databases:
      SQL Server 2008, SQL Server 2008 R2, SQL Server 2012, SQL Server 2014, SQL Server 2016
    • Sprint:
      Kupfernickel

      Description

      Steps to reproduce:

      1. Start portal with SQL Server (2008, 2008R2, 2012, 2016, or 2014).
      2. Check the console/log.txt.

      Expected result:
      Portal start with no exception.

      Actual result:
      Portal start with exception.

      [com.liferay.marketplace.lpkg.deployer.LPKGDeployerRegistrar(1790)] The activate method has thrown an exception 
      com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.DataException: Could not execute JDBC batch update
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:33)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:175)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.flush(ClassLoaderSession.java:282)
      	at com.liferay.portal.dao.orm.hibernate.PortletSessionFactoryImpl.closeSession(PortletSessionFactoryImpl.java:41)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.closeSession(BasePersistenceImpl.java:96)
      	at com.liferay.marketplace.service.persistence.impl.AppPersistenceImpl.updateImpl(AppPersistenceImpl.java:2731)
      	at com.liferay.marketplace.service.persistence.impl.AppPersistenceImpl.updateImpl(AppPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:348)
      	at com.liferay.marketplace.service.impl.AppLocalServiceImpl.updateApp(AppLocalServiceImpl.java:400)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      

      No functional impact observed.

        Attachments

          Activity

            People

            Assignee:
            nikki.prudencio Nikki Prudencio
            Reporter:
            hong.zhao Hong Zhao (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 years, 4 weeks, 6 days ago

                Packages

                Version Package
                7.0.X EE