Uploaded image for project: 'ZZZ: PUBLIC - Old Liferay Portal (Use Liferay Portal Standard Edition)'
  1. ZZZ: PUBLIC - Old Liferay Portal (Use Liferay Portal Standard Edition)
  2. LEP-3101

Mutliple errors in Upgrade Process (JCR problem, Batch update problem, etc...)

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 4.3.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP, jdk1.6.0_01, apache-tomcat-6.0.10,mysql, Portal 4.3.0 (Owen / Build 4285 / June 25, 2007)

      Description

      After updating env from svn --> src --> ext --> deploy, and following instruction for upgrade at http://wiki.liferay.com/index.php/Upgrade_Instructions_from_4.2_to_4.3, The upgrade process is still failing. Here is my console output, with "************************" marking the point at which I tried accessing the portal from a browser.

      Jun 25, 2007 8:48:25 AM org.apache.catalina.core.AprLifecycleListener init
      INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.
      path: C:\Java\jdk1.6.0_01\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\apps\apache-ant-1.7.0\bin;C:\Java\jdk1.6.0_
      01\bin;C:\apps\jikes\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program
      Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\jEdit
      Jun 25, 2007 8:48:25 AM org.apache.coyote.http11.Http11Protocol init
      INFO: Initializing Coyote HTTP/1.1 on http-9002
      Jun 25, 2007 8:48:25 AM org.apache.catalina.startup.Catalina load
      INFO: Initialization processed in 1371 ms
      Jun 25, 2007 8:48:26 AM org.apache.catalina.core.StandardService start
      INFO: Starting service Catalina
      Jun 25, 2007 8:48:26 AM org.apache.catalina.core.StandardEngine start
      INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
      Jun 25, 2007 8:48:26 AM org.apache.catalina.startup.HostConfig deployWAR
      INFO: Deploying web application archive ROOT.war
      Jun 25, 2007 8:48:26 AM org.apache.catalina.realm.JAASRealm setUseContextClassLoader
      INFO: Setting useContextClassLoader = false
      Jun 25, 2007 8:48:44 AM org.apache.catalina.session.PersistentManagerBase start
      SEVERE: No Store configured, persistence disabled
      Loading jar:file:/C:/tomcat/apache-tomcat-6.0.10/instance/9002/work/Catalina/localhost/_/WEB-INF/lib/portal-impl.jar!/system.properti
      es
      Loading jar:file:/C:/tomcat/apache-tomcat-6.0.10/instance/9002/work/Catalina/localhost/_/WEB-INF/lib/portal-impl.jar!/portal.properti
      es
      Loading file:/C:/tomcat/apache-tomcat-6.0.10/lib/portal-ext.properties
      Loading jar:file:/C:/tomcat/apache-tomcat-6.0.10/instance/9002/work/Catalina/localhost/_/WEB-INF/lib/portal-impl.jar!/cache-single-vm
      .properties
      Starting Liferay Enterprise Portal 4.3.0 (Owen / Build 4285 / June 25, 2007)
      08:48:51,893 INFO [spring.hibernate.DynamicDialect] Determining dialect for MySQL 5
      08:48:51,903 INFO [spring.hibernate.DynamicDialect] Using dialect org.hibernate.dialect.MySQLDialect
      08:48:53,503 INFO [portal.events.StartupAction] Running upgrade com.liferay.portal.upgrade.UpgradeProcess_4_3_0
      08:48:53,503 INFO [portal.upgrade.UpgradeProcess_4_3_0] Upgrading
      08:48:53,503 INFO [upgrade.v4_3_0.UpgradeSchema] Upgrading
      08:48:53,623 ERROR [tools.sql.DBUtil] Error running alter table Address change column className classNameId varchar(75)
      08:48:53,623 WARN [tools.sql.DBUtil] Unknown column 'className' in 'address'
      08:48:53,633 ERROR [tools.sql.DBUtil] Error running create table ClassName_ ( classNameId bigint not null primary key, value
      varchar(75) null)
      08:48:53,633 WARN [tools.sql.DBUtil] Table 'classname_' already exists
      08:48:53,663 ERROR [tools.sql.DBUtil] Error running alter table Company add accountId bigint
      08:48:53,663 WARN [tools.sql.DBUtil] Duplicate column name 'accountId'
      08:48:53,673 ERROR [tools.sql.DBUtil] Error running alter table Company add webId varchar(75) null
      08:48:53,673 WARN [tools.sql.DBUtil] Duplicate column name 'webId'
      08:48:53,683 ERROR [tools.sql.DBUtil] Error running alter table Company add virtualHost varchar(75) null
      08:48:53,683 WARN [tools.sql.DBUtil] Duplicate column name 'virtualHost'
      08:48:53,693 ERROR [tools.sql.DBUtil] Error running alter table Company add logoId bigint
      08:48:53,693 WARN [tools.sql.DBUtil] Duplicate column name 'logoId'
      08:48:53,764 ERROR [tools.sql.DBUtil] Error running drop table DataTracker
      08:48:53,764 WARN [tools.sql.DBUtil] Unknown table 'datatracker'
      08:48:53,794 ERROR [tools.sql.DBUtil] Error running alter table DLFileEntry add fileEntryId bigint
      08:48:53,794 WARN [tools.sql.DBUtil] Duplicate column name 'fileEntryId'
      08:48:53,814 ERROR [tools.sql.DBUtil] Error running alter table DLFileRank add fileRankId bigint
      08:48:53,814 WARN [tools.sql.DBUtil] Duplicate column name 'fileRankId'
      08:48:53,844 ERROR [tools.sql.DBUtil] Error running alter table DLFileVersion add fileVersionId bigint
      08:48:53,844 WARN [tools.sql.DBUtil] Duplicate column name 'fileVersionId'
      08:48:53,904 ERROR [tools.sql.DBUtil] Error running alter table EmailAddress change column className classNameId varchar(75)
      08:48:53,904 WARN [tools.sql.DBUtil] Unknown column 'className' in 'emailaddress'
      08:48:53,934 ERROR [tools.sql.DBUtil] Error running alter table Group_ add creatorUserId varchar(75) null
      08:48:53,934 WARN [tools.sql.DBUtil] Duplicate column name 'creatorUserId'
      08:48:53,944 ERROR [tools.sql.DBUtil] Error running alter table Group_ change column className classNameId varchar(75)
      08:48:53,944 WARN [tools.sql.DBUtil] Unknown column 'className' in 'group_'
      08:48:53,954 ERROR [tools.sql.DBUtil] Error running alter table Group_ add liveGroupId bigint
      08:48:53,954 WARN [tools.sql.DBUtil] Duplicate column name 'liveGroupId'
      08:48:53,964 ERROR [tools.sql.DBUtil] Error running alter table Group_ add active_ tinyint
      08:48:53,964 WARN [tools.sql.DBUtil] Duplicate column name 'active_'
      08:48:54,024 ERROR [tools.sql.DBUtil] Error running alter table IGImage add smallImageId bigint
      08:48:54,024 WARN [tools.sql.DBUtil] Duplicate column name 'smallImageId'
      08:48:54,044 ERROR [tools.sql.DBUtil] Error running alter table IGImage add largeImageId bigint
      08:48:54,044 WARN [tools.sql.DBUtil] Duplicate column name 'largeImageId'
      08:48:54,094 ERROR [tools.sql.DBUtil] Error running alter table Image add height integer
      08:48:54,094 WARN [tools.sql.DBUtil] Duplicate column name 'height'
      08:48:54,104 ERROR [tools.sql.DBUtil] Error running alter table Image add width integer
      08:48:54,104 WARN [tools.sql.DBUtil] Duplicate column name 'width'
      08:48:54,114 ERROR [tools.sql.DBUtil] Error running alter table Image add size_ integer
      08:48:54,114 WARN [tools.sql.DBUtil] Duplicate column name 'size_'
      08:48:54,154 ERROR [tools.sql.DBUtil] Error running alter table JournalArticle add id_ varchar(75) null
      08:48:54,154 WARN [tools.sql.DBUtil] Duplicate column name 'id_'
      08:48:54,164 ERROR [tools.sql.DBUtil] Error running alter table JournalArticle add resourcePrimKey bigint
      08:48:54,164 WARN [tools.sql.DBUtil] Duplicate column name 'resourcePrimKey'
      08:48:54,184 ERROR [tools.sql.DBUtil] Error running create table JournalArticleImage ( articleImageId bigint not null primary key,
      groupId bigint, articleId varchar(75) null, version double, elName varchar(75) null, languageId varchar(75) null, tempI
      mage tinyint)
      08:48:54,224 WARN [tools.sql.DBUtil] Table 'journalarticleimage' already exists
      08:48:54,234 ERROR [tools.sql.DBUtil] Error running create table JournalArticleResource ( resourcePrimKey bigint not null prima
      ry key, groupId bigint, articleId varchar(75) null)
      08:48:54,234 WARN [tools.sql.DBUtil] Table 'journalarticleresource' already exists
      08:48:54,504 ERROR [tools.sql.DBUtil] Error running alter table JournalStructure add id_ varchar(75) null
      08:48:54,504 WARN [tools.sql.DBUtil] Duplicate column name 'id_'
      08:48:54,544 ERROR [tools.sql.DBUtil] Error running alter table JournalTemplate add id_ varchar(75) null
      08:48:54,544 WARN [tools.sql.DBUtil] Duplicate column name 'id_'
      08:48:54,544 ERROR [tools.sql.DBUtil] Error running alter table JournalTemplate add smallImageId bigint
      08:48:54,544 WARN [tools.sql.DBUtil] Duplicate column name 'smallImageId'
      08:48:54,624 ERROR [tools.sql.DBUtil] Error running alter table Layout add plid bigint
      08:48:54,624 WARN [tools.sql.DBUtil] Duplicate column name 'plid'
      08:48:54,634 ERROR [tools.sql.DBUtil] Error running alter table Layout add groupId bigint
      08:48:54,634 WARN [tools.sql.DBUtil] Duplicate column name 'groupId'
      08:48:54,634 ERROR [tools.sql.DBUtil] Error running alter table Layout add privateLayout tinyint
      08:48:54,634 WARN [tools.sql.DBUtil] Duplicate column name 'privateLayout'
      08:48:54,644 ERROR [tools.sql.DBUtil] Error running alter table Layout add iconImage tinyint
      08:48:54,644 WARN [tools.sql.DBUtil] Duplicate column name 'iconImage'
      08:48:54,654 ERROR [tools.sql.DBUtil] Error running alter table Layout add iconImageId bigint
      08:48:54,654 WARN [tools.sql.DBUtil] Duplicate column name 'iconImageId'
      08:48:54,664 ERROR [tools.sql.DBUtil] Error running alter table Layout add wapThemeId varchar(75) null
      08:48:54,664 WARN [tools.sql.DBUtil] Duplicate column name 'wapThemeId'
      08:48:54,664 ERROR [tools.sql.DBUtil] Error running alter table Layout add wapColorSchemeId varchar(75) null
      08:48:54,664 WARN [tools.sql.DBUtil] Duplicate column name 'wapColorSchemeId'
      08:48:54,674 ERROR [tools.sql.DBUtil] Error running alter table Layout add css varchar(75) null
      08:48:54,674 WARN [tools.sql.DBUtil] Duplicate column name 'css'
      08:48:54,714 ERROR [tools.sql.DBUtil] Error running alter table LayoutSet add layoutSetId bigint
      08:48:54,714 WARN [tools.sql.DBUtil] Duplicate column name 'layoutSetId'
      08:48:54,724 ERROR [tools.sql.DBUtil] Error running alter table LayoutSet add logo tinyint
      08:48:54,724 WARN [tools.sql.DBUtil] Duplicate column name 'logo'
      08:48:54,734 ERROR [tools.sql.DBUtil] Error running alter table LayoutSet add logoId bigint
      08:48:54,734 WARN [tools.sql.DBUtil] Duplicate column name 'logoId'
      08:48:54,734 ERROR [tools.sql.DBUtil] Error running alter table LayoutSet add wapThemeId varchar(75) null
      08:48:54,744 WARN [tools.sql.DBUtil] Duplicate column name 'wapThemeId'
      08:48:54,744 ERROR [tools.sql.DBUtil] Error running alter table LayoutSet add wapColorSchemeId varchar(75) null
      08:48:54,744 WARN [tools.sql.DBUtil] Duplicate column name 'wapColorSchemeId'
      08:48:54,754 ERROR [tools.sql.DBUtil] Error running alter table LayoutSet add css varchar(75) null
      08:48:54,754 WARN [tools.sql.DBUtil] Duplicate column name 'css'
      08:48:54,764 ERROR [tools.sql.DBUtil] Error running create table MBBan ( banId bigint not null primary key, groupId bigin
      t, companyId bigint, userId bigint, userName varchar(75) null, createDate datetime null, modifiedDate datetime
      null, banUserId bigint)
      08:48:54,764 WARN [tools.sql.DBUtil] Table 'mbban' already exists
      08:48:54,834 ERROR [tools.sql.DBUtil] Error running alter table MBDiscussion change column className classNameId varchar(75)
      08:48:54,834 WARN [tools.sql.DBUtil] Unknown column 'className' in 'mbdiscussion'
      08:48:54,844 ERROR [tools.sql.DBUtil] Error running alter table MBMessageFlag add messageFlagId bigint
      08:48:54,854 WARN [tools.sql.DBUtil] Duplicate column name 'messageFlagId'
      08:48:54,894 ERROR [tools.sql.DBUtil] Error running alter table MBStatsUser add statsUserId bigint
      08:48:54,894 WARN [tools.sql.DBUtil] Duplicate column name 'statsUserId'
      08:48:55,244 ERROR [tools.sql.DBUtil] Error running create table PasswordPolicy ( passwordPolicyId bigint not null primary key,
      companyId bigint, userId bigint, userName varchar(75) null, createDate datetime null, modifiedDate datetime
      null, defaultPolicy tinyint, name varchar(75) null, description longtext null, changeable tinyint, changeRequired tinyin
      t, minAge bigint, checkSyntax tinyint, allowDictionaryWords tinyint, minLength integer, history tinyint, historyCount
      integer, expireable tinyint, maxAge bigint, warningTime bigint, graceLimit integer, lockout tinyint, maxFailure in
      teger, lockoutDuration bigint, requireUnlock tinyint, resetFailureCount bigint)
      08:48:55,244 WARN [tools.sql.DBUtil] Table 'passwordpolicy' already exists
      08:48:55,244 ERROR [tools.sql.DBUtil] Error running create table PasswordPolicyRel ( passwordPolicyRelId bigint not null primary k
      ey, passwordPolicyId bigint, classNameId bigint, classPK bigint)
      08:48:55,254 WARN [tools.sql.DBUtil] Table 'passwordpolicyrel' already exists
      08:48:55,284 ERROR [tools.sql.DBUtil] Error running alter table Phone change column className classNameId varchar(75)
      08:48:55,284 WARN [tools.sql.DBUtil] Unknown column 'className' in 'phone'
      08:48:55,294 ERROR [tools.sql.DBUtil] Error running create table PluginSetting ( pluginSettingId bigint not null primary key,
      companyId bigint, pluginId varchar(75) null, pluginType varchar(75) null, roles varchar(75) null, active_ tinyint)
      08:48:55,294 WARN [tools.sql.DBUtil] Table 'pluginsetting' already exists
      08:48:55,314 ERROR [tools.sql.DBUtil] Error running alter table PollsChoice add name varchar(75) null
      08:48:55,314 WARN [tools.sql.DBUtil] Duplicate column name 'name'
      08:48:55,364 ERROR [tools.sql.DBUtil] Error running alter table PollsVote add voteId bigint
      08:48:55,364 WARN [tools.sql.DBUtil] Duplicate column name 'voteId'
      08:48:55,384 ERROR [tools.sql.DBUtil] Error running alter table Portlet add id_ bigint
      08:48:55,384 WARN [tools.sql.DBUtil] Duplicate column name 'id_'
      08:48:55,424 ERROR [tools.sql.DBUtil] Error running alter table PortletPreferences add portletPreferencesId bigint
      08:48:55,424 WARN [tools.sql.DBUtil] Duplicate column name 'portletPreferencesId'
      08:48:55,444 ERROR [tools.sql.DBUtil] Error running alter table PortletPreferences add ownerType integer
      08:48:55,444 WARN [tools.sql.DBUtil] Duplicate column name 'ownerType'
      08:48:55,454 ERROR [tools.sql.DBUtil] Error running alter table PortletPreferences add plid bigint
      08:48:55,454 WARN [tools.sql.DBUtil] Duplicate column name 'plid'
      08:48:55,494 ERROR [tools.sql.DBUtil] Error running alter table RatingsEntry change column className classNameId varchar(75)
      08:48:55,494 WARN [tools.sql.DBUtil] Unknown column 'className' in 'ratingsentry'
      08:48:55,534 ERROR [tools.sql.DBUtil] Error running alter table RatingsStats change column className classNameId varchar(75)
      08:48:55,534 WARN [tools.sql.DBUtil] Unknown column 'className' in 'ratingsstats'
      08:48:55,574 ERROR [tools.sql.DBUtil] Error running alter table Release_ add verified tinyint
      08:48:55,574 WARN [tools.sql.DBUtil] Duplicate column name 'verified'
      08:48:55,614 ERROR [tools.sql.DBUtil] Error running alter table Resource_ add codeId bigint
      08:48:55,614 WARN [tools.sql.DBUtil] Duplicate column name 'codeId'
      08:48:55,624 ERROR [tools.sql.DBUtil] Error running create table ResourceCode ( codeId bigint not null primary key, companyId big
      int, name varchar(75) null, scope integer)
      08:48:55,624 WARN [tools.sql.DBUtil] Table 'resourcecode' already exists
      08:48:55,654 ERROR [tools.sql.DBUtil] Error running alter table Role_ change column className classNameId varchar(75)
      08:48:55,654 WARN [tools.sql.DBUtil] Unknown column 'className' in 'role_'
      08:48:55,664 ERROR [tools.sql.DBUtil] Error running alter table Role_ add type_ integer
      08:48:55,664 WARN [tools.sql.DBUtil] Duplicate column name 'type_'
      08:48:55,694 ERROR [tools.sql.DBUtil] Error running create table SCFrameworkVersi_SCProductVers ( productVersionId bigint not null,
      frameworkVersionId bigint not null, primary key (productVersionId, frameworkVersionId))
      08:48:55,694 WARN [tools.sql.DBUtil] Table 'scframeworkversi_scproductvers' already exists
      08:48:55,704 ERROR [tools.sql.DBUtil] Error running create table SCFrameworkVersion ( frameworkVersionId bigint not null primary ke
      y, groupId bigint, companyId bigint, userId bigint, userName varchar(75) null, createDate datetime null, modif
      iedDate datetime null, name varchar(75) null, url varchar(1024) null, active_ tinyint, priority integer)
      08:48:55,704 WARN [tools.sql.DBUtil] Table 'scframeworkversion' already exists
      08:48:55,714 ERROR [tools.sql.DBUtil] Error running create table SCLicense ( licenseId bigint not null primary key, name varchar(
      75) null, url varchar(1024) null, openSource tinyint, active_ tinyint, recommended tinyint)
      08:48:55,714 WARN [tools.sql.DBUtil] Table 'sclicense' already exists
      08:48:55,714 ERROR [tools.sql.DBUtil] Error running create table SCLicenses_SCProductEntries ( productEntryId bigint not null, licen
      seId bigint not null, primary key (productEntryId, licenseId))
      08:48:55,724 WARN [tools.sql.DBUtil] Table 'sclicenses_scproductentries' already exists
      08:48:55,724 ERROR [tools.sql.DBUtil] Error running create table SCProductEntry ( productEntryId bigint not null primary key,
      groupId bigint, companyId bigint, userId bigint, userName varchar(75) null, createDate datetime null, modifiedDate
      datetime null, name varchar(75) null, type_ varchar(75) null, shortDescription longtext null, longDescription longtext null, pageU
      RL varchar(1024) null, repoGroupId varchar(75) null, repoArtifactId varchar(75) null)
      08:48:55,724 WARN [tools.sql.DBUtil] Table 'scproductentry' already exists
      08:48:55,734 ERROR [tools.sql.DBUtil] Error running create table SCProductVersion ( productVersionId bigint not null primary key,
      companyId bigint, userId bigint, userName varchar(75) null, createDate datetime null, modifiedDate datetime
      null, productEntryId bigint, version varchar(75) null, changeLog longtext null, downloadPageURL varchar(1024) null,
      directDownloadURL varchar(1024) null, repoStoreArtifact tinyint)
      08:48:55,734 WARN [tools.sql.DBUtil] Table 'scproductversion' already exists
      08:48:55,774 ERROR [tools.sql.DBUtil] Error running alter table ShoppingCart change column couponIds couponCodes varchar(75)
      08:48:55,774 WARN [tools.sql.DBUtil] Unknown column 'couponIds' in 'shoppingcart'
      08:48:55,804 ERROR [tools.sql.DBUtil] Error running alter table ShoppingCoupon add code_ varchar(75) null
      08:48:55,804 WARN [tools.sql.DBUtil] Duplicate column name 'code_'
      08:48:55,844 ERROR [tools.sql.DBUtil] Error running alter table ShoppingItem add smallImageId bigint
      08:48:55,844 WARN [tools.sql.DBUtil] Duplicate column name 'smallImageId'
      08:48:55,854 ERROR [tools.sql.DBUtil] Error running alter table ShoppingItem add mediumImageId bigint
      08:48:55,854 WARN [tools.sql.DBUtil] Duplicate column name 'mediumImageId'
      08:48:55,864 ERROR [tools.sql.DBUtil] Error running alter table ShoppingItem add largeImageId bigint
      08:48:55,864 WARN [tools.sql.DBUtil] Duplicate column name 'largeImageId'
      08:48:55,914 ERROR [tools.sql.DBUtil] Error running alter table ShoppingOrder add number_ varchar(75) null
      08:48:55,914 WARN [tools.sql.DBUtil] Duplicate column name 'number_'
      08:48:55,914 ERROR [tools.sql.DBUtil] Error running alter table ShoppingOrder change column couponIds couponCodes varchar(75)
      08:48:55,914 WARN [tools.sql.DBUtil] Unknown column 'couponIds' in 'shoppingorder'
      08:48:55,954 ERROR [tools.sql.DBUtil] Error running alter table ShoppingOrderItem add orderItemId bigint
      08:48:55,964 WARN [tools.sql.DBUtil] Duplicate column name 'orderItemId'
      08:48:56,004 ERROR [tools.sql.DBUtil] Error running alter table Subscription change column className classNameId varchar(75)
      08:48:56,004 WARN [tools.sql.DBUtil] Unknown column 'className' in 'subscription'
      08:48:56,014 ERROR [tools.sql.DBUtil] Error running create table TagsAsset ( assetId bigint not null primary key, companyId big
      int, userId bigint, userName varchar(75) null, createDate datetime null, modifiedDate datetime null, classNameId b
      igint, classPK bigint, startDate datetime null, endDate datetime null, publishDate datetime null, expirationDate dateti
      me null, mimeType varchar(75) null, title varchar(75) null, url varchar(75) null, height integer, width integer)
      08:48:56,014 WARN [tools.sql.DBUtil] Table 'tagsasset' already exists
      08:48:56,034 ERROR [tools.sql.DBUtil] Error running create table TagsAssets_TagsEntries ( assetId bigint not null, entry
      Id bigint not null, primary key (assetId, entryId))
      08:48:56,034 WARN [tools.sql.DBUtil] Table 'tagsassets_tagsentries' already exists
      08:48:56,034 ERROR [tools.sql.DBUtil] Error running create table TagsEntry ( entryId bigint not null primary key, companyId big
      int, userId bigint, userName varchar(75) null, createDate datetime null, modifiedDate datetime null, name varchar(
      75) null)
      08:48:56,034 WARN [tools.sql.DBUtil] Table 'tagsentry' already exists
      08:48:56,044 ERROR [tools.sql.DBUtil] Error running create table TagsProperty ( propertyId bigint not null primary key, companyId big
      int, userId bigint, userName varchar(75) null, createDate datetime null, modifiedDate datetime null, entryId bigin
      t, key_ varchar(75) null, value varchar(75) null)
      08:48:56,044 WARN [tools.sql.DBUtil] Table 'tagsproperty' already exists
      08:48:56,054 ERROR [tools.sql.DBUtil] Error running create table TagsSource ( sourceId bigint not null primary key, parentSourceI
      d bigint, name varchar(75) null, acronym varchar(75) null)
      08:48:56,054 WARN [tools.sql.DBUtil] Table 'tagssource' already exists
      08:48:56,104 ERROR [tools.sql.DBUtil] Error running alter table User_ add defaultUser tinyint
      08:48:56,104 WARN [tools.sql.DBUtil] Duplicate column name 'defaultUser'
      08:48:56,104 ERROR [tools.sql.DBUtil] Error running alter table User_ add passwordModifiedDate datetime null
      08:48:56,104 WARN [tools.sql.DBUtil] Duplicate column name 'passwordModifiedDate'
      08:48:56,114 ERROR [tools.sql.DBUtil] Error running alter table User_ add graceLoginCount integer
      08:48:56,114 WARN [tools.sql.DBUtil] Duplicate column name 'graceLoginCount'
      08:48:56,124 ERROR [tools.sql.DBUtil] Error running alter table User_ add screenName varchar(75) null
      08:48:56,124 WARN [tools.sql.DBUtil] Duplicate column name 'screenName'
      08:48:56,124 ERROR [tools.sql.DBUtil] Error running alter table User_ add portraitId bigint
      08:48:56,134 WARN [tools.sql.DBUtil] Duplicate column name 'portraitId'
      08:48:56,134 ERROR [tools.sql.DBUtil] Error running alter table User_ add lastFailedLoginDate datetime null
      08:48:56,134 WARN [tools.sql.DBUtil] Duplicate column name 'lastFailedLoginDate'
      08:48:56,144 ERROR [tools.sql.DBUtil] Error running alter table User_ add lockout tinyint
      08:48:56,144 WARN [tools.sql.DBUtil] Duplicate column name 'lockout'
      08:48:56,154 ERROR [tools.sql.DBUtil] Error running alter table User_ add lockoutDate datetime null
      08:48:56,154 WARN [tools.sql.DBUtil] Duplicate column name 'lockoutDate'
      08:48:56,184 ERROR [tools.sql.DBUtil] Error running create table UserGroupRole ( userId bigint not null, groupId bigint not nu
      ll, roleId bigint not null, primary key (userId, groupId, roleId))
      08:48:56,184 WARN [tools.sql.DBUtil] Table 'usergrouprole' already exists
      08:48:56,224 ERROR [tools.sql.DBUtil] Error running alter table UserIdMapper add userIdMapperId bigint
      08:48:56,224 WARN [tools.sql.DBUtil] Duplicate column name 'userIdMapperId'
      08:48:56,654 ERROR [tools.sql.DBUtil] Error running alter table Website change column className classNameId varchar(75)
      08:48:56,654 WARN [tools.sql.DBUtil] Unknown column 'className' in 'website'
      08:48:56,694 ERROR [tools.sql.DBUtil] Error running alter table WikiPage add pageId bigint
      08:48:56,694 WARN [tools.sql.DBUtil] Duplicate column name 'pageId'
      08:48:56,694 ERROR [tools.sql.DBUtil] Error running alter table WikiPage add resourcePrimKey bigint
      08:48:56,694 WARN [tools.sql.DBUtil] Duplicate column name 'resourcePrimKey'
      08:48:56,724 ERROR [tools.sql.DBUtil] Error running create table WikiPageResource ( resourcePrimKey bigint not null primary key,
      nodeId bigint, title varchar(75) null)
      08:48:56,724 WARN [tools.sql.DBUtil] Table 'wikipageresource' already exists
      08:48:56,734 INFO [upgrade.v4_3_0.UpgradeClassName] Upgrading
      08:48:57,235 INFO [upgrade.v4_3_0.UpgradeLucene] Upgrading
      08:48:57,235 INFO [upgrade.v4_3_0.UpgradeImage] Upgrading
      08:48:59,595 INFO [upgrade.util.BaseUpgradeTableImpl] Image table backed up to file temp-db-Image-1182779337275
      08:49:11,729 INFO [upgrade.util.BaseUpgradeTableImpl] Image table repopulated with data
      08:49:11,729 INFO [upgrade.v4_3_0.UpgradeCompany] Upgrading
      08:49:16,551 INFO [upgrade.util.BaseUpgradeTableImpl] Company table backed up to file temp-db-Company-1182779356541
      08:49:16,781 INFO [upgrade.util.BaseUpgradeTableImpl] Company table repopulated with data
      08:49:16,861 INFO [upgrade.v4_3_0.UpgradeUser] Upgrading
      08:49:16,881 INFO [upgrade.util.BaseUpgradeTableImpl] User_ table backed up to file temp-db-User_-1182779356871
      08:49:17,491 INFO [upgrade.util.BaseUpgradeTableImpl] User_ table repopulated with data
      08:49:17,511 INFO [upgrade.util.BaseUpgradeTableImpl] Account_ table backed up to file temp-db-Account_-1182779357501
      08:49:17,821 INFO [upgrade.util.BaseUpgradeTableImpl] Account_ table repopulated with data
      08:49:17,841 INFO [upgrade.util.BaseUpgradeTableImpl] Contact_ table backed up to file temp-db-Contact_-1182779357831
      08:49:18,441 INFO [upgrade.util.BaseUpgradeTableImpl] Contact_ table repopulated with data
      08:49:18,461 INFO [upgrade.util.BaseUpgradeTableImpl] CyrusUser table backed up to file temp-db-CyrusUser-1182779358441
      08:49:18,701 INFO [upgrade.util.BaseUpgradeTableImpl] CyrusVirtual table backed up to file temp-db-CyrusVirtual-1182779358691
      08:49:18,931 INFO [upgrade.util.BaseUpgradeTableImpl] PasswordTracker table backed up to file temp-db-PasswordTracker-1182779358921
      08:49:19,582 INFO [upgrade.util.BaseUpgradeTableImpl] PasswordTracker table repopulated with data
      08:49:19,582 INFO [upgrade.v4_3_0.UpgradeContact] Upgrading
      08:49:19,592 INFO [upgrade.util.BaseUpgradeTableImpl] Contact_ table backed up to file temp-db-Contact_-1182779359582
      08:49:20,282 INFO [upgrade.util.BaseUpgradeTableImpl] Contact_ table repopulated with data
      08:49:20,302 INFO [upgrade.util.BaseUpgradeTableImpl] User_ table backed up to file temp-db-User_-1182779360282
      08:49:20,952 INFO [upgrade.util.BaseUpgradeTableImpl] User_ table repopulated with data
      08:49:20,952 INFO [upgrade.v4_3_0.UpgradeUserGroup] Upgrading
      08:49:20,962 INFO [upgrade.util.BaseUpgradeTableImpl] UserGroup table backed up to file temp-db-UserGroup-1182779360952
      08:49:21,202 INFO [upgrade.v4_3_0.UpgradeOrganization] Upgrading
      08:49:21,212 INFO [upgrade.util.BaseUpgradeTableImpl] Organization_ table backed up to file temp-db-Organization_-1182779361202
      08:49:21,572 INFO [upgrade.util.BaseUpgradeTableImpl] Organization_ table repopulated with data
      08:49:21,582 INFO [upgrade.util.BaseUpgradeTableImpl] Organization_ table backed up to file temp-db-Organization_-1182779361572
      08:49:21,812 INFO [upgrade.util.BaseUpgradeTableImpl] Organization_ table repopulated with data
      08:49:21,822 INFO [upgrade.util.BaseUpgradeTableImpl] OrgGroupPermission table backed up to file temp-db-OrgGroupPermission-11827793
      61822
      08:49:22,122 INFO [upgrade.util.BaseUpgradeTableImpl] OrgLabor table backed up to file temp-db-OrgLabor-1182779362122
      08:49:22,322 INFO [upgrade.v4_3_0.UpgradeGroup] Upgrading
      08:49:22,402 INFO [upgrade.util.BaseUpgradeTableImpl] Group_ table backed up to file temp-db-Group_-1182779362382
      08:49:23,253 INFO [upgrade.util.BaseUpgradeTableImpl] Group_ table repopulated with data
      08:49:23,423 INFO [upgrade.util.BaseUpgradeTableImpl] Layout table backed up to file temp-db-Layout-1182779363263
      08:49:33,116 INFO [upgrade.util.BaseUpgradeTableImpl] Layout table repopulated with data
      08:49:33,136 INFO [upgrade.util.BaseUpgradeTableImpl] LayoutSet table backed up to file temp-db-LayoutSet-1182779373126
      08:49:34,646 INFO [upgrade.util.BaseUpgradeTableImpl] LayoutSet table repopulated with data
      08:49:34,656 INFO [upgrade.util.BaseUpgradeTableImpl] OrgGroupPermission table backed up to file temp-db-OrgGroupPermission-11827793
      74646
      08:49:34,816 INFO [upgrade.util.BaseUpgradeTableImpl] OrgGroupRole table backed up to file temp-db-OrgGroupRole-1182779374806
      08:49:35,566 INFO [upgrade.v4_3_0.UpgradeRole] Upgrading
      08:49:35,576 INFO [upgrade.util.BaseUpgradeTableImpl] Role_ table backed up to file temp-db-Role_-1182779375566
      08:49:36,127 INFO [upgrade.util.BaseUpgradeTableImpl] Role_ table repopulated with data
      08:49:36,127 INFO [upgrade.v4_3_0.UpgradeAddress] Upgrading
      08:49:36,137 INFO [upgrade.util.BaseUpgradeTableImpl] Address table backed up to file temp-db-Address-1182779376127
      08:49:36,497 INFO [upgrade.util.BaseUpgradeTableImpl] Address table repopulated with data
      08:49:36,497 INFO [upgrade.v4_3_0.UpgradeBlogs] Upgrading
      08:49:36,517 INFO [upgrade.util.BaseUpgradeTableImpl] BlogsCategory table backed up to file temp-db-BlogsCategory-1182779376497
      08:49:36,757 INFO [upgrade.util.BaseUpgradeTableImpl] BlogsCategory table backed up to file temp-db-BlogsCategory-1182779376747
      08:49:36,787 INFO [upgrade.util.BaseUpgradeTableImpl] BlogsEntry table backed up to file temp-db-BlogsEntry-1182779376757
      08:49:37,297 INFO [upgrade.v4_3_0.UpgradeBookmarks] Upgrading
      08:49:37,317 INFO [upgrade.util.BaseUpgradeTableImpl] BookmarksFolder table backed up to file temp-db-BookmarksFolder-1182779377297
      08:49:37,667 INFO [upgrade.util.BaseUpgradeTableImpl] BookmarksFolder table repopulated with data
      08:49:37,677 INFO [upgrade.util.BaseUpgradeTableImpl] BookmarksFolder table backed up to file temp-db-BookmarksFolder-1182779377667
      08:49:37,857 INFO [upgrade.util.BaseUpgradeTableImpl] BookmarksFolder table repopulated with data
      08:49:37,867 INFO [upgrade.util.BaseUpgradeTableImpl] BookmarksEntry table backed up to file temp-db-BookmarksEntry-1182779377857
      08:49:38,287 INFO [upgrade.util.BaseUpgradeTableImpl] BookmarksEntry table repopulated with data
      08:49:38,287 INFO [upgrade.v4_3_0.UpgradeCalendar] Upgrading
      08:49:38,297 INFO [upgrade.util.BaseUpgradeTableImpl] CalEvent table backed up to file temp-db-CalEvent-1182779378287
      08:49:38,547 INFO [upgrade.v4_3_0.UpgradeCountry] Upgrading
      08:49:38,557 INFO [upgrade.util.BaseUpgradeTableImpl] Country table backed up to file temp-db-Country-1182779378547
      08:49:59,004 INFO [upgrade.util.BaseUpgradeTableImpl] Country table repopulated with data
      08:49:59,004 INFO [upgrade.v4_3_0.UpgradeDocumentLibrary] Upgrading
      08:49:59,144 INFO [upgrade.util.BaseUpgradeTableImpl] DLFolder table backed up to file temp-db-DLFolder-1182779399004
      08:50:04,175 INFO [upgrade.util.BaseUpgradeTableImpl] DLFolder table repopulated with data
      08:50:04,195 INFO [upgrade.util.BaseUpgradeTableImpl] DLFolder table backed up to file temp-db-DLFolder-1182779404175
      08:50:09,327 INFO [upgrade.util.BaseUpgradeTableImpl] DLFolder table repopulated with data
      08:50:09,767 ERROR [portal.servlet.MainServlet] com.liferay.portal.struts.ActionException: com.liferay.portal.struts.ActionException:
      com.liferay.portal.upgrade.UpgradeException: com.liferay.portal.SystemException: javax.jcr.PathNotFoundException: /

      {my company id}/100
      com.liferay.portal.struts.ActionException: com.liferay.portal.struts.ActionException: com.liferay.portal.upgrade.UpgradeException: co
      m.liferay.portal.SystemException: javax.jcr.PathNotFoundException: /{my company id}

      /documentlibrary/100
      at com.liferay.portal.events.EventsProcessor._process(EventsProcessor.java:155)
      at com.liferay.portal.events.EventsProcessor.process(EventsProcessor.java:76)
      at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:122)
      at javax.servlet.GenericServlet.init(GenericServlet.java:212)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Caused by: com.liferay.portal.struts.ActionException: com.liferay.portal.upgrade.UpgradeException: com.liferay.portal.SystemException
      : javax.jcr.PathNotFoundException: /entrata.sharedtech/documentlibrary/100
      at com.liferay.portal.events.StartupAction.run(StartupAction.java:208)
      at com.liferay.portal.events.EventsProcessor._process(EventsProcessor.java:152)
      ... 29 more
      Caused by: com.liferay.portal.upgrade.UpgradeException: com.liferay.portal.SystemException: javax.jcr.PathNotFoundException: /

      {my company id}/documentlibrary/100
      at com.liferay.portal.upgrade.v4_3_0.UpgradeDocumentLibrary.upgrade(UpgradeDocumentLibrary.java:63)
      at com.liferay.portal.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:67)
      at com.liferay.portal.upgrade.UpgradeProcess_4_3_0.upgrade(UpgradeProcess_4_3_0.java:103)
      at com.liferay.portal.events.StartupAction.run(StartupAction.java:114)
      ... 30 more
      Caused by: com.liferay.portal.SystemException: javax.jcr.PathNotFoundException: /{my company id}

      /documentlibrary/100
      at com.liferay.documentlibrary.service.impl.DLLocalServiceImpl.move(DLLocalServiceImpl.java:254)
      at com.liferay.documentlibrary.service.DLLocalServiceUtil.move(DLLocalServiceUtil.java:93)
      at com.liferay.portal.upgrade.v4_3_0.util.DLFileEntryIdUpgradeColumnImpl.getNewValue(DLFileEntryIdUpgradeColumnImpl.java:73)
      at com.liferay.portal.upgrade.util.DefaultUpgradeTableImpl.getExportedData(DefaultUpgradeTableImpl.java:238)
      at com.liferay.portal.upgrade.util.BaseUpgradeTableImpl.getTempFileName(BaseUpgradeTableImpl.java:405)
      at com.liferay.portal.upgrade.util.BaseUpgradeTableImpl.updateTable(BaseUpgradeTableImpl.java:356)
      at com.liferay.portal.upgrade.v4_3_0.UpgradeDocumentLibrary.doUpgrade(UpgradeDocumentLibrary.java:133)
      at com.liferay.portal.upgrade.v4_3_0.UpgradeDocumentLibrary.upgrade(UpgradeDocumentLibrary.java:60)
      ... 33 more
      Caused by: javax.jcr.PathNotFoundException: /

      {my company id}

      /documentlibrary/100
      at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:296)
      at org.apache.jackrabbit.core.SessionImpl.move(SessionImpl.java:901)
      at com.liferay.documentlibrary.service.impl.DLLocalServiceImpl.move(DLLocalServiceImpl.java:249)
      ... 40 more
      08:50:09,937 INFO [deploy.hot.PluginPackageHotDeployListener] Reading plugin package for the root context
      08:50:10,257 INFO [deploy.hot.HotDeployUtil] Initializing hot deploy manager 19852440
      Loading jar:file:/C:/tomcat/apache-tomcat-6.0.10/instance/9002/work/Catalina/localhost/_/WEB-INF/lib/portal-impl.jar!/cache-multi-vm.
      properties
      08:50:10,417 ERROR [hibernate.util.JDBCExceptionReporter] Field 'layoutId' doesn't have a default value
      08:50:10,427 ERROR [event.def.AbstractFlushingEventListener] Could not synchronize database state with session
      org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
      at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
      at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
      at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:237)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
      at com.liferay.portal.spring.hibernate.LiferaySession.flush(LiferaySession.java:167)
      at com.liferay.portal.service.persistence.PortletPreferencesPersistenceImpl.update(PortletPreferencesPersistenceImpl.java:141
      )
      at com.liferay.portal.service.persistence.PortletPreferencesPersistenceImpl.update(PortletPreferencesPersistenceImpl.java:121
      )
      at com.liferay.portal.service.persistence.PortletPreferencesUtil.update(PortletPreferencesUtil.java:99)
      at com.liferay.portal.service.impl.PortletPreferencesLocalServiceImpl.getPreferences(PortletPreferencesLocalServiceImpl.java:
      160)
      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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy10.getPreferences(Unknown Source)
      at com.liferay.portal.service.PortletPreferencesLocalServiceUtil.getPreferences(PortletPreferencesLocalServiceUtil.java:147)
      at com.liferay.portal.util.PrefsPropsUtil.getPreferences(PrefsPropsUtil.java:57)
      at com.liferay.portal.util.PrefsPropsUtil.getPreferences(PrefsPropsUtil.java:46)
      at com.liferay.portal.util.PrefsPropsUtil.getBoolean(PrefsPropsUtil.java:64)
      at com.liferay.portal.events.GlobalStartupAction.run(GlobalStartupAction.java:146)
      at com.liferay.portal.events.EventsProcessor._process(EventsProcessor.java:152)
      at com.liferay.portal.events.EventsProcessor.process(EventsProcessor.java:76)
      at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:260)
      at javax.servlet.GenericServlet.init(GenericServlet.java:212)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Caused by: java.sql.BatchUpdateException: Field 'layoutId' doesn't have a default value
      at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:665)
      at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
      ... 56 more
      08:50:10,537 ERROR [spring.hibernate.HibernateUtil] Caught HibernateException. Could not execute JDBC batch update
      08:50:10,537 ERROR [portal.events.GlobalStartupAction] com.liferay.portal.SystemException: org.hibernate.exception.GenericJDBCExcepti
      on: Could not execute JDBC batch update
      08:50:12,128 ERROR [hibernate.util.JDBCExceptionReporter] Duplicate entry '1' for key 1
      08:50:12,128 ERROR [event.def.AbstractFlushingEventListener] Could not synchronize database state with session
      org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
      at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
      at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:237)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
      at com.liferay.portal.spring.hibernate.LiferaySession.flush(LiferaySession.java:167)
      at com.liferay.portal.service.persistence.ResourceCodePersistenceImpl.update(ResourceCodePersistenceImpl.java:139)
      at com.liferay.portal.service.persistence.ResourceCodePersistenceImpl.update(ResourceCodePersistenceImpl.java:119)
      at com.liferay.portal.service.persistence.ResourceCodeUtil.update(ResourceCodeUtil.java:97)
      at com.liferay.portal.service.impl.ResourceCodeLocalServiceImpl.getResourceCode(ResourceCodeLocalServiceImpl.java:76)
      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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy20.getResourceCode(Unknown Source)
      at com.liferay.portal.service.ResourceCodeLocalServiceUtil.getResourceCode(ResourceCodeLocalServiceUtil.java:84)
      at com.liferay.portal.service.impl.ResourceLocalServiceImpl.addResource(ResourceLocalServiceImpl.java:153)
      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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy12.addResource(Unknown Source)
      at com.liferay.portal.service.ResourceLocalServiceUtil.addResource(ResourceLocalServiceUtil.java:97)
      at com.liferay.portal.service.impl.PermissionLocalServiceImpl.setRolePermission(PermissionLocalServiceImpl.java:522)
      at com.liferay.portal.service.impl.PermissionLocalServiceImpl.setRolePermissions(PermissionLocalServiceImpl.java:555)
      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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy13.setRolePermissions(Unknown Source)
      at com.liferay.portal.service.PermissionLocalServiceUtil.setRolePermissions(PermissionLocalServiceUtil.java:266)
      at com.liferay.portal.service.impl.RoleLocalServiceImpl.checkSystemRoles(RoleLocalServiceImpl.java:150)
      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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy19.checkSystemRoles(Unknown Source)
      at com.liferay.portal.service.RoleLocalServiceUtil.checkSystemRoles(RoleLocalServiceUtil.java:92)
      at com.liferay.portal.service.impl.CompanyLocalServiceImpl.checkCompany(CompanyLocalServiceImpl.java:286)
      at com.liferay.portal.service.impl.CompanyLocalServiceImpl.checkCompany(CompanyLocalServiceImpl.java:129)
      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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy6.checkCompany(Unknown Source)
      at com.liferay.portal.service.CompanyLocalServiceUtil.checkCompany(CompanyLocalServiceUtil.java:84)
      at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:282)
      at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:98)
      at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:272)
      at javax.servlet.GenericServlet.init(GenericServlet.java:212)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Caused by: java.sql.BatchUpdateException: Duplicate entry '1' for key 1
      at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:665)
      at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
      ... 106 more
      08:50:12,328 ERROR [spring.hibernate.HibernateUtil] Caught HibernateException. Could not execute JDBC batch update
      08:50:12,428 ERROR [portal.util.PortalInstances] com.liferay.portal.SystemException: org.hibernate.exception.ConstraintViolationExcep
      tion: Could not execute JDBC batch update
      com.liferay.portal.SystemException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
      at com.liferay.portal.spring.hibernate.HibernateUtil.processException(HibernateUtil.java:199)
      at com.liferay.portal.service.persistence.ResourceCodePersistenceImpl.update(ResourceCodePersistenceImpl.java:145)
      at com.liferay.portal.service.persistence.ResourceCodePersistenceImpl.update(ResourceCodePersistenceImpl.java:119)
      at com.liferay.portal.service.persistence.ResourceCodeUtil.update(ResourceCodeUtil.java:97)
      at com.liferay.portal.service.impl.ResourceCodeLocalServiceImpl.getResourceCode(ResourceCodeLocalServiceImpl.java:76)
      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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy20.getResourceCode(Unknown Source)
      at com.liferay.portal.service.ResourceCodeLocalServiceUtil.getResourceCode(ResourceCodeLocalServiceUtil.java:84)
      at com.liferay.portal.service.impl.ResourceLocalServiceImpl.addResource(ResourceLocalServiceImpl.java:153)
      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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy12.addResource(Unknown Source)
      at com.liferay.portal.service.ResourceLocalServiceUtil.addResource(ResourceLocalServiceUtil.java:97)
      at com.liferay.portal.service.impl.PermissionLocalServiceImpl.setRolePermission(PermissionLocalServiceImpl.java:522)
      at com.liferay.portal.service.impl.PermissionLocalServiceImpl.setRolePermissions(PermissionLocalServiceImpl.java:555)
      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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy13.setRolePermissions(Unknown Source)
      at com.liferay.portal.service.PermissionLocalServiceUtil.setRolePermissions(PermissionLocalServiceUtil.java:266)
      at com.liferay.portal.service.impl.RoleLocalServiceImpl.checkSystemRoles(RoleLocalServiceImpl.java:150)
      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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy19.checkSystemRoles(Unknown Source)
      at com.liferay.portal.service.RoleLocalServiceUtil.checkSystemRoles(RoleLocalServiceUtil.java:92)
      at com.liferay.portal.service.impl.CompanyLocalServiceImpl.checkCompany(CompanyLocalServiceImpl.java:286)
      at com.liferay.portal.service.impl.CompanyLocalServiceImpl.checkCompany(CompanyLocalServiceImpl.java:129)
      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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy6.checkCompany(Unknown Source)
      at com.liferay.portal.service.CompanyLocalServiceUtil.checkCompany(CompanyLocalServiceUtil.java:84)
      at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:282)
      at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:98)
      at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:272)
      at javax.servlet.GenericServlet.init(GenericServlet.java:212)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
      at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
      at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:237)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
      at com.liferay.portal.spring.hibernate.LiferaySession.flush(LiferaySession.java:167)
      at com.liferay.portal.service.persistence.ResourceCodePersistenceImpl.update(ResourceCodePersistenceImpl.java:139)
      ... 99 more
      Caused by: java.sql.BatchUpdateException: Duplicate entry '1' for key 1
      at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:665)
      at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
      ... 106 more
      08:50:12,788 ERROR [hibernate.util.JDBCExceptionReporter] Field 'layoutId' doesn't have a default value
      08:50:12,788 ERROR [event.def.AbstractFlushingEventListener] Could not synchronize database state with session
      org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
      at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
      at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
      at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:237)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
      at com.liferay.portal.spring.hibernate.LiferaySession.flush(LiferaySession.java:167)
      at com.liferay.portal.service.persistence.PortletPreferencesPersistenceImpl.update(PortletPreferencesPersistenceImpl.java:141
      )
      at com.liferay.portal.service.persistence.PortletPreferencesPersistenceImpl.update(PortletPreferencesPersistenceImpl.java:121
      )
      at com.liferay.portal.service.persistence.PortletPreferencesUtil.update(PortletPreferencesUtil.java:99)
      at com.liferay.portal.service.impl.PortletPreferencesLocalServiceImpl.getPreferences(PortletPreferencesLocalServiceImpl.java:
      160)
      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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy10.getPreferences(Unknown Source)
      at com.liferay.portal.service.PortletPreferencesLocalServiceUtil.getPreferences(PortletPreferencesLocalServiceUtil.java:147)
      at com.liferay.portal.util.PrefsPropsUtil.getPreferences(PrefsPropsUtil.java:57)
      at com.liferay.portal.util.PrefsPropsUtil.getPreferences(PrefsPropsUtil.java:46)
      at com.liferay.portal.util.PrefsPropsUtil.getLong(PrefsPropsUtil.java:159)
      at com.liferay.portlet.messageboards.job.ExpireBanJob.<init>(ExpireBanJob.java:47)
      at com.liferay.portlet.messageboards.job.Scheduler.schedule(Scheduler.java:53)
      at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:366)
      at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:98)
      at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:272)
      at javax.servlet.GenericServlet.init(GenericServlet.java:212)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Caused by: java.sql.BatchUpdateException: Field 'layoutId' doesn't have a default value
      at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:665)
      at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
      ... 57 more
      08:50:12,898 ERROR [spring.hibernate.HibernateUtil] Caught HibernateException. Could not execute JDBC batch update
      08:50:12,898 ERROR [messageboards.job.ExpireBanJob] com.liferay.portal.SystemException: org.hibernate.exception.GenericJDBCException:
      Could not execute JDBC batch update
      com.liferay.portal.SystemException: org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
      at com.liferay.portal.spring.hibernate.HibernateUtil.processException(HibernateUtil.java:199)
      at com.liferay.portal.service.persistence.PortletPreferencesPersistenceImpl.update(PortletPreferencesPersistenceImpl.java:147
      )
      at com.liferay.portal.service.persistence.PortletPreferencesPersistenceImpl.update(PortletPreferencesPersistenceImpl.java:121
      )
      at com.liferay.portal.service.persistence.PortletPreferencesUtil.update(PortletPreferencesUtil.java:99)
      at com.liferay.portal.service.impl.PortletPreferencesLocalServiceImpl.getPreferences(PortletPreferencesLocalServiceImpl.java:
      160)
      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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy10.getPreferences(Unknown Source)
      at com.liferay.portal.service.PortletPreferencesLocalServiceUtil.getPreferences(PortletPreferencesLocalServiceUtil.java:147)
      at com.liferay.portal.util.PrefsPropsUtil.getPreferences(PrefsPropsUtil.java:57)
      at com.liferay.portal.util.PrefsPropsUtil.getPreferences(PrefsPropsUtil.java:46)
      at com.liferay.portal.util.PrefsPropsUtil.getLong(PrefsPropsUtil.java:159)
      at com.liferay.portlet.messageboards.job.ExpireBanJob.<init>(ExpireBanJob.java:47)
      at com.liferay.portlet.messageboards.job.Scheduler.schedule(Scheduler.java:53)
      at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:366)
      at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:98)
      at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:272)
      at javax.servlet.GenericServlet.init(GenericServlet.java:212)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Caused by: org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
      at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
      at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
      at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:237)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
      at com.liferay.portal.spring.hibernate.LiferaySession.flush(LiferaySession.java:167)
      at com.liferay.portal.service.persistence.PortletPreferencesPersistenceImpl.update(PortletPreferencesPersistenceImpl.java:141
      )
      ... 50 more
      Caused by: java.sql.BatchUpdateException: Field 'layoutId' doesn't have a default value
      at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:665)
      at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
      ... 57 more
      08:50:13,068 ERROR [portal.util.PortalInstances] org.quartz.SchedulerException: Repeat Interval cannot be zero.
      org.quartz.SchedulerException: Repeat Interval cannot be zero.
      at org.quartz.SimpleTrigger.validate(SimpleTrigger.java:856)
      at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:688)
      at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:255)
      at com.liferay.portal.job.JobScheduler.scheduleJob(JobScheduler.java:69)
      at com.liferay.portal.job.JobScheduler.schedule(JobScheduler.java:63)
      at com.liferay.portlet.messageboards.job.Scheduler.schedule(Scheduler.java:53)
      at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:366)
      at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:98)
      at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:272)
      at javax.servlet.GenericServlet.init(GenericServlet.java:212)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      08:50:13,498 ERROR [hibernate.util.JDBCExceptionReporter] Field 'layoutId' doesn't have a default value
      08:50:13,498 ERROR [event.def.AbstractFlushingEventListener] Could not synchronize database state with session
      org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
      at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
      at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
      at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:237)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
      at com.liferay.portal.spring.hibernate.LiferaySession.flush(LiferaySession.java:167)
      at com.liferay.portal.service.persistence.PortletPreferencesPersistenceImpl.update(PortletPreferencesPersistenceImpl.java:141
      )
      at com.liferay.portal.service.persistence.PortletPreferencesPersistenceImpl.update(PortletPreferencesPersistenceImpl.java:121
      )
      at com.liferay.portal.service.persistence.PortletPreferencesUtil.update(PortletPreferencesUtil.java:99)
      at com.liferay.portal.service.impl.PortletPreferencesLocalServiceImpl.getPreferences(PortletPreferencesLocalServiceImpl.java:
      160)
      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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy10.getPreferences(Unknown Source)
      at com.liferay.portal.service.PortletPreferencesLocalServiceUtil.getPreferences(PortletPreferencesLocalServiceUtil.java:147)
      at com.liferay.portal.util.PrefsPropsUtil.getPreferences(PrefsPropsUtil.java:57)
      at com.liferay.portal.util.PrefsPropsUtil.getBoolean(PrefsPropsUtil.java:72)
      at com.liferay.portal.security.ldap.PortalLDAPUtil.isImportOnStartup(PortalLDAPUtil.java:506)
      at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:407)
      at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:98)
      at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:272)
      at javax.servlet.GenericServlet.init(GenericServlet.java:212)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Caused by: java.sql.BatchUpdateException: Field 'layoutId' doesn't have a default value
      at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:665)
      at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
      ... 55 more
      08:50:13,608 ERROR [spring.hibernate.HibernateUtil] Caught HibernateException. Could not execute JDBC batch update
      08:50:13,608 ERROR [portal.util.PortalInstances] com.liferay.portal.SystemException: org.hibernate.exception.GenericJDBCException: Co
      uld not execute JDBC batch update
      com.liferay.portal.SystemException: org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
      at com.liferay.portal.spring.hibernate.HibernateUtil.processException(HibernateUtil.java:199)
      at com.liferay.portal.service.persistence.PortletPreferencesPersistenceImpl.update(PortletPreferencesPersistenceImpl.java:147
      )
      at com.liferay.portal.service.persistence.PortletPreferencesPersistenceImpl.update(PortletPreferencesPersistenceImpl.java:121
      )
      at com.liferay.portal.service.persistence.PortletPreferencesUtil.update(PortletPreferencesUtil.java:99)
      at com.liferay.portal.service.impl.PortletPreferencesLocalServiceImpl.getPreferences(PortletPreferencesLocalServiceImpl.java:
      160)
      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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy10.getPreferences(Unknown Source)
      at com.liferay.portal.service.PortletPreferencesLocalServiceUtil.getPreferences(PortletPreferencesLocalServiceUtil.java:147)
      at com.liferay.portal.util.PrefsPropsUtil.getPreferences(PrefsPropsUtil.java:57)
      at com.liferay.portal.util.PrefsPropsUtil.getBoolean(PrefsPropsUtil.java:72)
      at com.liferay.portal.security.ldap.PortalLDAPUtil.isImportOnStartup(PortalLDAPUtil.java:506)
      at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:407)
      at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:98)
      at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:272)
      at javax.servlet.GenericServlet.init(GenericServlet.java:212)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Caused by: org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
      at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
      at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
      at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:237)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
      at com.liferay.portal.spring.hibernate.LiferaySession.flush(LiferaySession.java:167)
      at com.liferay.portal.service.persistence.PortletPreferencesPersistenceImpl.update(PortletPreferencesPersistenceImpl.java:141
      )
      ... 48 more
      Caused by: java.sql.BatchUpdateException: Field 'layoutId' doesn't have a default value
      at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:665)
      at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
      ... 55 more
      Jun 25, 2007 8:50:13 AM org.apache.coyote.http11.Http11Protocol start
      INFO: Starting Coyote HTTP/1.1 on http-9002
      Jun 25, 2007 8:50:14 AM org.apache.jk.common.ChannelSocket init
      INFO: JK: ajp13 listening on /0.0.0.0:8009
      Jun 25, 2007 8:50:14 AM org.apache.jk.server.JkMain start
      INFO: Jk running ID=0 time=0/60 config=null
      Jun 25, 2007 8:50:14 AM org.apache.catalina.startup.Catalina start
      INFO: Server startup in 108103 ms
      08:50:14,138 ERROR [hibernate.util.JDBCExceptionReporter] Invalid value for getLong() - 'AA.SANDBOX' in column 1
      08:50:14,138 ERROR [spring.hibernate.HibernateUtil] Caught HibernateException. could not execute query
      08:50:14,138 ERROR [portal.lucene.LuceneIndexer] com.liferay.portal.kernel.search.SearchException: com.liferay.portal.SystemException
      : org.hibernate.exception.GenericJDBCException: could not execute query

      **************************************

      08:55:07,369 ERROR [portal.events.ServicePreAction] java.lang.NullPointerException
      java.lang.NullPointerException
      at com.liferay.portal.events.ServicePreAction.servicePre(ServicePreAction.java:469)
      at com.liferay.portal.events.ServicePreAction.run(ServicePreAction.java:124)
      at com.liferay.portal.events.EventsProcessor._process(EventsProcessor.java:132)
      at com.liferay.portal.events.EventsProcessor.process(EventsProcessor.java:70)
      at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:516)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:144)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:136)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
      at java.lang.Thread.run(Thread.java:619)
      08:55:07,369 ERROR [portal.servlet.MainServlet] com.liferay.portal.struts.ActionException: com.liferay.portal.struts.ActionException
      java.lang.NullPointerException
      com.liferay.portal.struts.ActionException: com.liferay.portal.struts.ActionException: java.lang.NullPointerException
      at com.liferay.portal.events.EventsProcessor._process(EventsProcessor.java:135)
      at com.liferay.portal.events.EventsProcessor.process(EventsProcessor.java:70)
      at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:516)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:144)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:136)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: com.liferay.portal.struts.ActionException: java.lang.NullPointerException
      at com.liferay.portal.events.ServicePreAction.run(ServicePreAction.java:129)
      at com.liferay.portal.events.EventsProcessor._process(EventsProcessor.java:132)
      ... 22 more
      Caused by: java.lang.NullPointerException
      at com.liferay.portal.events.ServicePreAction.servicePre(ServicePreAction.java:469)
      at com.liferay.portal.events.ServicePreAction.run(ServicePreAction.java:124)
      ... 23 more
      08:55:08,870 ERROR [common.error.jsp] com.liferay.portal.struts.ActionException: java.lang.NullPointerException
      com.liferay.portal.struts.ActionException: com.liferay.portal.struts.ActionException: java.lang.NullPointerException
      at com.liferay.portal.events.EventsProcessor._process(EventsProcessor.java:135)
      at com.liferay.portal.events.EventsProcessor.process(EventsProcessor.java:70)
      at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:516)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:144)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:136)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: com.liferay.portal.struts.ActionException: java.lang.NullPointerException
      at com.liferay.portal.events.ServicePreAction.run(ServicePreAction.java:129)
      at com.liferay.portal.events.EventsProcessor._process(EventsProcessor.java:132)
      ... 22 more
      Caused by: java.lang.NullPointerException
      at com.liferay.portal.events.ServicePreAction.servicePre(ServicePreAction.java:469)
      at com.liferay.portal.events.ServicePreAction.run(ServicePreAction.java:124)
      ... 23 more

      Jun 25, 2007 8:55:08 AM org.apache.catalina.core.StandardWrapperValve invoke
      SEVERE: Servlet.service() for servlet MainServlet threw exception
      java.lang.NullPointerException
      at com.liferay.portal.struts.PortalRequestProcessor.getLastPath(PortalRequestProcessor.java:588)
      at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:146)
      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:690)
      at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:280)
      at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:534)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:144)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:136)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
      at java.lang.Thread.run(Thread.java:619)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:

                Packages

                Version Package