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

Navigating to portal before the browser to localhost:8080 auto opens causes Internal Server Error and exceptions occur when

    Details

      Description

      Steps to reproduce:

      1. Start portal clean with no additional properties
      2. Restart when prompted by the setup wizard
      3. Once the server is up (as noted from the console) navigate to localhost:8080 before it autolaunches a browser to that url.

      Alternate steps to reproduce:

      1. Turn setup wizard off (setup.wizard.enabled=false) in portal-ext.properties
      2. Start portal
      3. Once the server is up (as noted from the console) navigate to localhost:8080 before it autolaunches a browser to that url.

      Expected results:
      If the portal is not ready, it should not try to load anything

      Actual results:
      The page shows an Internal Service Error and console errors are thrown. This does not happen on subsequent

      Errors:

      Using CATALINA_BASE:   "D:\Liferay Bundles Zipped\liferay-portal-7.0-ce-m7\tomcat-7.0.62"
      Using CATALINA_HOME:   "D:\Liferay Bundles Zipped\liferay-portal-7.0-ce-m7\tomcat-7.0.62"
      Using CATALINA_TMPDIR: "D:\Liferay Bundles Zipped\liferay-portal-7.0-ce-m7\tomcat-7.0.62\temp"
      Using JRE_HOME:        "C:\Program Files\Java\jdk1.7.0_75"
      Using CLASSPATH:       "D:\Liferay Bundles Zipped\liferay-portal-7.0-ce-m7\tomcat-7.0.62\bin\bootstrap.jar;D:\Liferay Bundles Zipped\liferay-portal-7.0-ce-m7\tomcat-7.0.62\bin\tomcat-juli.jar"
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: Server version:        Apache Tomcat/7.0.62
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: Server built:          May 7 2015 17:14:55 UTC
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: Server number:         7.0.62.0
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: OS Name:               Windows 8.1
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: OS Version:            6.3
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: Architecture:          amd64
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: Java Home:             C:\Program Files\Java\jdk1.7.0_75\jre
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: JVM Version:           1.7.0_75-b13
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: JVM Vendor:            Oracle Corporation
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: CATALINA_BASE:         D:\Liferay Bundles Zipped\liferay-portal-7.0-ce-m7\tomcat-7.0.62
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: CATALINA_HOME:         D:\Liferay Bundles Zipped\liferay-portal-7.0-ce-m7\tomcat-7.0.62
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: Command line argument: -Djava.util.logging.config.file=D:\Liferay Bundles Zipped\liferay-portal-7.0-ce-m7\tomcat-7.0.62\conf\logging.properties
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: Command line argument: -Dfile.encoding=UTF8
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: Command line argument: -Djava.net.preferIPv4Stack=true
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: Command line argument: -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: Command line argument: -Duser.timezone=GMT
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: Command line argument: -Xmx1024m
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: Command line argument: -XX:MaxPermSize=256m
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: Command line argument: -Djava.endorsed.dirs=D:\Liferay Bundles Zipped\liferay-portal-7.0-ce-m7\tomcat-7.0.62\endorsed
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: Command line argument: -Dcatalina.base=D:\Liferay Bundles Zipped\liferay-portal-7.0-ce-m7\tomcat-7.0.62
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: Command line argument: -Dcatalina.home=D:\Liferay Bundles Zipped\liferay-portal-7.0-ce-m7\tomcat-7.0.62
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.VersionLoggerListener log
      INFO: Command line argument: -Djava.io.tmpdir=D:\Liferay Bundles Zipped\liferay-portal-7.0-ce-m7\tomcat-7.0.62\temp
      Aug 19, 2015 9:40:34 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
      INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.7.0_75\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\Oracle\product\11.2.0\dbhome_1\bin;C:\Program Files\ImageMagick-6.8.9-Q16;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.7.0_75\bin;C:\Program Files (x86)\apache-ant-1.9.4\bin;C:\Program Files\MySQL\MySQL Server 5.6\bin;C:\Program Files (x86)\Git\cmd;C:\Java\cmd;C:\Python27;C:\Program Files (x86)\Pandoc\bin;C:\groovy\bin;C:\Program Files (x86)\apache-maven-3.2.3\bin;C:\Program Files (x86)\Curl Corporation\Surge\8\bin;C:\Program Files\cURL\bin;C:\Users\liferay\Downloads\Console-2.00b148-
      Aug 19, 2015 9:40:34 PM org.apache.coyote.AbstractProtocol init
      INFO: Initializing ProtocolHandler ["http-bio-8080"]
      Aug 19, 2015 9:40:34 PM org.apache.coyote.AbstractProtocol init
      INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.Catalina load
      INFO: Initialization processed in 525 ms
      Aug 19, 2015 9:40:34 PM org.apache.catalina.core.StandardService startInternal
      INFO: Starting service Catalina
      Aug 19, 2015 9:40:34 PM org.apache.catalina.core.StandardEngine startInternal
      INFO: Starting Servlet Engine: Apache Tomcat/7.0.62
      Aug 19, 2015 9:40:34 PM org.apache.catalina.startup.HostConfig deployDescriptor
      INFO: Deploying configuration descriptor D:\Liferay Bundles Zipped\liferay-portal-7.0-ce-m7\tomcat-7.0.62\conf\Catalina\localhost\ROOT.xml
      Aug 19, 2015 9:40:43 PM org.apache.catalina.startup.TldConfig execute
      INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      Aug 19, 2015 9:40:43 PM org.apache.catalina.core.ApplicationContext log
      INFO: No Spring WebApplicationInitializer types detected on classpath
      Loading jar:file:/D:/Liferay%20Bundles%20Zipped/liferay-portal-7.0-ce-m7/tomcat-7.0.62/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
      Loading jar:file:/D:/Liferay%20Bundles%20Zipped/liferay-portal-7.0-ce-m7/tomcat-7.0.62/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
      Loading file:/D:/Liferay%20Bundles%20Zipped/liferay-portal-7.0-ce-m7/portal-setup-wizard.properties
      21:40:46,296 INFO  [localhost-startStop-1][DialectDetector:71] Determine dialect for HSQL Database Engine 2
      21:40:46,302 WARN  [localhost-startStop-1][DialectDetector:86] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demo'ing purposes. The database settings can be changed in portal-ext.properties.
      21:40:46,329 INFO  [localhost-startStop-1][DialectDetector:136] Found dialect org.hibernate.dialect.HSQLDialect
      Aug 19, 2015 9:40:53 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      21:41:04,973 INFO  [localhost-startStop-1][node:143] [Phantom Eagle] version[1.6.0], pid[5348], build[cdd3ac4/2015-06-09T13:36:34Z]
      21:41:04,974 INFO  [localhost-startStop-1][node:145] [Phantom Eagle] initializing ...
      21:41:05,001 INFO  [localhost-startStop-1][plugins:151] [Phantom Eagle] loaded [analysis-smartcn, analysis-kuromoji, analysis-stempel, analysis-phonetic, analysis-icu], sites []
      21:41:05,033 INFO  [localhost-startStop-1][env:228] [Phantom Eagle] using [1] data paths, mounts [[(D:)]], net usable_space [30.6gb], net total_space [146.4gb], types [NTFS]
      21:41:06,333 INFO  [localhost-startStop-1][node:219] [Phantom Eagle] initialized
      21:41:06,334 INFO  [localhost-startStop-1][node:238] [Phantom Eagle] starting ...
      21:41:06,337 INFO  [localhost-startStop-1][transport:155] [Phantom Eagle] bound_address {local[1]}, publish_address {local[1]}
      21:41:06,348 INFO  [localhost-startStop-1][discovery:85] [Phantom Eagle] LiferayElasticSearch/uWi4zgVhQvCHtYLVVH-iwg
      21:41:06,350 INFO  [elasticsearch[Phantom Eagle][clusterService#updateTask][T#1]][service:450] [Phantom Eagle] master {new [Phantom Eagle][uWi4zgVhQvCHtYLVVH-iwg][ayame][local[1]]{local=true}}, removed {[Phantom Eagle][YbGfvsWETXS9zNLaLI4K2Q][ayame][local[1]]{local=true},}, reason: local-disco-initial_connect(master)
      21:41:06,402 INFO  [elasticsearch[Phantom Eagle][clusterService#updateTask][T#1]][gateway:272] [Phantom Eagle] recovered [2] indices into cluster_state
      21:41:06,799 INFO  [localhost-startStop-1][http:91] [Phantom Eagle] bound_address {inet[/0.0.0.0:9200]}, publish_address {inet[/172.16.19.11:9200]}
      21:41:06,800 INFO  [localhost-startStop-1][node:277] [Phantom Eagle] started
      Starting Liferay Portal Community Edition 7.0.0 CE M6 (Wilberforce / Build 7000 / June 25, 2015)
      21:41:08,238 INFO  [localhost-startStop-1][BaseDB:469] Database supports case sensitive queries
      21:41:09,208 INFO  [localhost-startStop-1][ServerDetector:140] Server supports hot deploy
      21:41:09,213 INFO  [localhost-startStop-1][PluginPackageUtil:1004] Reading plugin package for the root context
      Loading jar:file:/D:/Liferay%20Bundles%20Zipped/liferay-portal-7.0-ce-m7/tomcat-7.0.62/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
      Loading file:/D:/Liferay%20Bundles%20Zipped/liferay-portal-7.0-ce-m7/portal-setup-wizard.properties
      21:41:11,550 INFO  [localhost-startStop-1][AutoDeployDir:138] Auto deploy scanner started for D:\Liferay Bundles Zipped\liferay-portal-7.0-ce-m7\deploy
      Loading bundleresource://46.fwk2033717457/service.properties
      Loading bundleresource://46.fwk2033717457/service.properties
      Loading bundleresource://46.fwk2033717457/portlet.properties
      Loading bundleresource://46.fwk2033717457/portlet.properties
      Loading bundleresource://76.fwk2033717457/service.properties
      Loading bundleresource://76.fwk2033717457/service.properties
      Loading bundleresource://76.fwk2033717457/portlet.properties
      Loading bundleresource://76.fwk2033717457/portlet.properties
      Loading bundleresource://112.fwk2033717457/service.properties
      Loading bundleresource://112.fwk2033717457/service.properties
      Loading bundleresource://112.fwk2033717457/portlet.properties
      Loading bundleresource://112.fwk2033717457/portlet.properties
      Loading bundleresource://116.fwk2033717457/service.properties
      Loading bundleresource://116.fwk2033717457/service.properties
      Loading bundleresource://116.fwk2033717457/portlet.properties
      Loading bundleresource://116.fwk2033717457/portlet.properties
      Loading bundleresource://142.fwk2033717457/service.properties
      Loading bundleresource://142.fwk2033717457/service.properties
      Loading bundleresource://142.fwk2033717457/portlet.properties
      Loading bundleresource://142.fwk2033717457/portlet.properties
      Loading bundleresource://154.fwk2033717457/service.properties
      Loading bundleresource://154.fwk2033717457/service.properties
      Loading bundleresource://154.fwk2033717457/portlet.properties
      Loading bundleresource://154.fwk2033717457/portlet.properties
      21:41:47,421 INFO  [localhost-startStop-1][VerifyResourcePermissions:117] Processed 0 of 8 resource permissions for company = 20131 and model com.liferay.portal.model.Layout
      Loading bundleresource://225.fwk2033717457/service.properties
      Loading bundleresource://225.fwk2033717457/service.properties
      Loading bundleresource://225.fwk2033717457/portlet.properties
      Loading bundleresource://225.fwk2033717457/portlet.properties
      Loading bundleresource://103.fwk2033717457/portlet.properties
      Loading bundleresource://228.fwk2033717457/service.properties
      Loading bundleresource://228.fwk2033717457/service.properties
      Loading bundleresource://228.fwk2033717457/portlet.properties
      Loading bundleresource://228.fwk2033717457/portlet.properties
      Loading bundleresource://238.fwk2033717457/service.properties
      Loading bundleresource://238.fwk2033717457/service.properties
      Loading bundleresource://238.fwk2033717457/portlet.properties
      Loading bundleresource://238.fwk2033717457/portlet.properties
      Loading bundleresource://198.fwk2033717457/service.properties
      Loading bundleresource://198.fwk2033717457/service.properties
      Loading bundleresource://198.fwk2033717457/portlet.properties
      Loading bundleresource://198.fwk2033717457/portlet.properties
      Loading bundleresource://274.fwk2033717457/service.properties
      Loading bundleresource://274.fwk2033717457/service.properties
      Loading bundleresource://274.fwk2033717457/portlet.properties
      Loading bundleresource://274.fwk2033717457/portlet.properties
      Loading bundleresource://298.fwk2033717457/portlet.properties
      Loading bundleresource://298.fwk2033717457/service.properties
      Loading bundleresource://298.fwk2033717457/service.properties
      Loading bundleresource://298.fwk2033717457/portlet.properties
      Loading bundleresource://298.fwk2033717457/portlet.properties
      Loading bundleresource://217.fwk2033717457/portlet.properties
      Loading bundleresource://231.fwk2033717457/portlet.properties
      21:41:52,827 INFO  [localhost-startStop-1][HotDeployImpl:222] Deploying bookmarks-web from queue
      21:41:52,828 INFO  [localhost-startStop-1][PluginPackageUtil:1007] Reading plugin package for bookmarks-web
      Loading bundleresource://118.fwk2033717457/portlet.properties
      Loading bundleresource://118.fwk2033717457/portlet.properties
      Aug 19, 2015 9:41:52 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      21:41:52,914 INFO  [localhost-startStop-1][PortletHotDeployListener:262] Registering portlets for bookmarks-web
      21:41:52,926 INFO  [elasticsearch[Phantom Eagle][clusterService#updateTask][T#1]][metadata:314] [Phantom Eagle] [0] update_mapping [LiferayDocumentType] (dynamic)
      Loading bundleresource://118.fwk2033717457/portlet.properties
      21:41:53,223 INFO  [localhost-startStop-1][PortletHotDeployListener:409] 2 portlets for bookmarks-web are available for use
      21:41:53,224 INFO  [localhost-startStop-1][SocialHotDeployListener:88] Registering social for bookmarks-web
      21:41:53,226 INFO  [localhost-startStop-1][SocialHotDeployListener:97] Social for bookmarks-web is available for use
      21:41:53,388 INFO  [localhost-startStop-1][HotDeployImpl:222] Deploying social-office-announcements-web from queue
      21:41:53,389 INFO  [localhost-startStop-1][PluginPackageUtil:1007] Reading plugin package for social-office-announcements-web
      Aug 19, 2015 9:41:53 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      21:41:53,431 INFO  [localhost-startStop-1][PortletHotDeployListener:262] Registering portlets for social-office-announcements-web
      21:41:53,585 INFO  [localhost-startStop-1][PortletHotDeployListener:404] 1 portlet for social-office-announcements-web is available for use
      21:41:53,694 INFO  [localhost-startStop-1][Environment:105] Loading properties from D:\Liferay Bundles Zipped\liferay-portal-7.0-ce-m7\tomcat-7.0.62\temp\3POUWklLZBnx1bziLIvC7149086287883484538.tmp
      21:41:53,930 INFO  [localhost-startStop-1][HotDeployImpl:222] Deploying microblogs-web from queue
      21:41:53,931 INFO  [localhost-startStop-1][PluginPackageUtil:1007] Reading plugin package for microblogs-web
      Loading bundleresource://163.fwk2033717457/portlet.properties
      Loading bundleresource://163.fwk2033717457/portlet.properties
      Aug 19, 2015 9:41:53 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      21:41:53,985 INFO  [localhost-startStop-1][PortletHotDeployListener:262] Registering portlets for microblogs-web
      Loading bundleresource://163.fwk2033717457/portlet.properties
      Loading bundleresource://163.fwk2033717457/portlet.properties
      21:41:54,244 INFO  [localhost-startStop-1][PortletHotDeployListener:409] 2 portlets for microblogs-web are available for use
      21:41:54,544 INFO  [localhost-startStop-1][HotDeployImpl:222] Deploying polls-web from queue
      21:41:54,545 INFO  [localhost-startStop-1][PluginPackageUtil:1007] Reading plugin package for polls-web
      Loading bundleresource://191.fwk2033717457/portlet.properties
      Loading bundleresource://191.fwk2033717457/portlet.properties
      Aug 19, 2015 9:41:54 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      21:41:54,660 INFO  [localhost-startStop-1][PortletHotDeployListener:262] Registering portlets for polls-web
      Loading bundleresource://154.fwk2033717457/portlet.properties
      Loading bundleresource://191.fwk2033717457/portlet.properties
      21:41:54,843 INFO  [localhost-startStop-1][PortletHotDeployListener:409] 2 portlets for polls-web are available for use
      21:41:55,036 INFO  [localhost-startStop-1][HotDeployImpl:222] Deploying wiki-web from queue
      21:41:55,037 INFO  [localhost-startStop-1][PluginPackageUtil:1007] Reading plugin package for wiki-web
      Loading bundleresource://204.fwk2033717457/portlet.properties
      Loading bundleresource://204.fwk2033717457/portlet.properties
      Aug 19, 2015 9:41:55 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      21:41:55,091 INFO  [localhost-startStop-1][PortletHotDeployListener:262] Registering portlets for wiki-web
      Loading bundleresource://204.fwk2033717457/portlet.properties
      21:41:55,396 INFO  [localhost-startStop-1][PortletHotDeployListener:409] 3 portlets for wiki-web are available for use
      21:41:55,397 INFO  [localhost-startStop-1][SocialHotDeployListener:88] Registering social for wiki-web
      21:41:55,401 INFO  [localhost-startStop-1][SocialHotDeployListener:97] Social for wiki-web is available for use
      Loading bundleresource://103.fwk2033717457/portlet.properties
      Loading bundleresource://225.fwk2033717457/portlet.properties
      Loading bundleresource://104.fwk2033717457/portlet.properties
      Loading bundleresource://129.fwk2033717457/portlet.properties
      Loading bundleresource://137.fwk2033717457/portlet.properties
      Loading bundleresource://166.fwk2033717457/portlet.properties
      Loading bundleresource://169.fwk2033717457/portlet.properties
      Loading bundleresource://179.fwk2033717457/portlet.properties
      Loading bundleresource://183.fwk2033717457/portlet.properties
      Loading bundleresource://219.fwk2033717457/portlet.properties
      Loading bundleresource://248.fwk2033717457/portlet.properties
      Loading bundleresource://249.fwk2033717457/portlet.properties
      Loading bundleresource://250.fwk2033717457/portlet.properties
      Loading bundleresource://276.fwk2033717457/portlet.properties
      Loading bundleresource://297.fwk2033717457/portlet.properties
      Loading bundleresource://297.fwk2033717457/portlet.properties
      Loading bundleresource://291.fwk2033717457/portlet.properties
      Loading bundleresource://102.fwk2033717457/portlet.properties
      Loading bundleresource://195.fwk2033717457/portlet.properties
      Loading bundleresource://164.fwk2033717457/portlet.properties
      Loading bundleresource://101.fwk2033717457/portlet.properties
      Loading bundleresource://260.fwk2033717457/portlet.properties
      Loading bundleresource://178.fwk2033717457/portlet.properties
      Loading bundleresource://146.fwk2033717457/portlet.properties
      Loading bundleresource://190.fwk2033717457/portlet.properties
      Loading bundleresource://299.fwk2033717457/portlet.properties
      Loading bundleresource://245.fwk2033717457/portlet.properties
      Loading bundleresource://262.fwk2033717457/portlet.properties
      Loading bundleresource://278.fwk2033717457/portlet.properties
      Loading bundleresource://268.fwk2033717457/portlet.properties
      Loading bundleresource://217.fwk2033717457/portlet.properties
      Loading bundleresource://232.fwk2033717457/portlet.properties
      Loading bundleresource://282.fwk2033717457/portlet.properties
      Loading bundleresource://285.fwk2033717457/portlet.properties
      Loading bundleresource://211.fwk2033717457/portlet.properties
      Loading bundleresource://135.fwk2033717457/portlet.properties
      Loading bundleresource://137.fwk2033717457/portlet.properties
      Loading bundleresource://213.fwk2033717457/portlet.properties
      Loading bundleresource://152.fwk2033717457/portlet.properties
      Loading bundleresource://207.fwk2033717457/portlet.properties
      Loading bundleresource://157.fwk2033717457/portlet.properties
      Loading bundleresource://153.fwk2033717457/portlet.properties
      Loading bundleresource://167.fwk2033717457/portlet.properties
      Loading bundleresource://231.fwk2033717457/portlet.properties
      Aug 19, 2015 9:42:14 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring FrameworkServlet 'Remoting Servlet'
      Aug 19, 2015 9:42:15 PM org.apache.catalina.startup.HostConfig deployDescriptor
      INFO: Deployment of configuration descriptor D:\Liferay Bundles Zipped\liferay-portal-7.0-ce-m7\tomcat-7.0.62\conf\Catalina\localhost\ROOT.xml has finished in 100,303 ms
      Aug 19, 2015 9:42:15 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["http-bio-8080"]
      Aug 19, 2015 9:42:15 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["ajp-bio-8009"]
      Aug 19, 2015 9:42:15 PM org.apache.catalina.startup.Catalina start
      INFO: Server startup in 100346 ms
      21:42:23,216 ERROR [http-bio-8080-exec-2][JDBCExceptionReporter:234] integrity constraint violation: unique constraint or index violation: IX_8D83D0CE
      21:42:23,221 ERROR [http-bio-8080-exec-2][DefaultTransactionExecutor:54] Application exception overridden by commit exception
      org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into ResourcePermission (mvccVersion, companyId, name, scope, primKey, roleId, ownerId, actionIds, resourcePermissionId) values (?, ?, ?, ?, ?, ?, ?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
              at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:643)
              at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:794)
              at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:665)
              at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755)
              at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.commit(DefaultTransactionExecutor.java:43)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:101)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
              at com.sun.proxy.$Proxy101.addResources(Unknown Source)
              at com.liferay.portal.service.ResourceLocalServiceUtil.addResources(ResourceLocalServiceUtil.java:209)
              at com.liferay.portal.util.PortalImpl.addDefaultResource(PortalImpl.java:7472)
              at com.liferay.portal.util.PortalImpl.addPortletDefaultResource(PortalImpl.java:707)
              at com.liferay.portal.util.PortalUtil.addPortletDefaultResource(PortalUtil.java:204)
              at com.liferay.portal.model.impl.DefaultLayoutTypeAccessPolicyImpl.checkAccessAllowedToPortlet(DefaultLayoutTypeAccessPolicyImpl.java:61)
              at com.liferay.portlet.SecurityPortletContainerWrapper.check(SecurityPortletContainerWrapper.java:190)
              at com.liferay.portlet.SecurityPortletContainerWrapper.checkRender(SecurityPortletContainerWrapper.java:220)
              at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:123)
              at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:126)
              at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:155)
              at com.liferay.portal.layoutconfiguration.util.PortletRenderer._render(PortletRenderer.java:125)
              at com.liferay.portal.layoutconfiguration.util.PortletRenderer.render(PortletRenderer.java:72)
              at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doProcessTemplate(RuntimePageImpl.java:438)
              at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doDispatch(RuntimePageImpl.java:282)
              at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:111)
              at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:123)
              at com.liferay.portal.layoutconfiguration.util.RuntimePageUtil.processTemplate(RuntimePageUtil.java:70)
              at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:490)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
              at com.liferay.portal.model.impl.LayoutTypeControllerImpl.includeLayoutContent(LayoutTypeControllerImpl.java:163)
              at com.liferay.portal.model.impl.LayoutImpl.includeLayoutContent(LayoutImpl.java:825)
              at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:328)
              at com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:167)
              at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:72)
              at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
              at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:169)
              at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
              at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
              at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:561)
              at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:538)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:299)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
              at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:159)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:336)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:125)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:299)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:254)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:407)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:86)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:265)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
              at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:319)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
              at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
              at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
              at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
              at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
              at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
              at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96)
              at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
              at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
              at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268)
              at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
              at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
              at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
              at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
              at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383)
              at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133)
              at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:657)
              ... 171 more
      Caused by: java.sql.BatchUpdateException: integrity constraint violation: unique constraint or index violation: IX_8D83D0CE
              at org.hsqldb.jdbc.JDBCPreparedStatement.executeBatch(Unknown Source)
              at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:2465)
              at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
              at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
              ... 179 more
      Aug 19, 2015 9:42:23 PM org.apache.catalina.core.ApplicationDispatcher invoke
      SEVERE: Servlet.service() for servlet jsp threw exception
      java.sql.BatchUpdateException: integrity constraint violation: unique constraint or index violation: IX_8D83D0CE
              at org.hsqldb.jdbc.JDBCPreparedStatement.executeBatch(Unknown Source)
              at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:2465)
              at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
              at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
              at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268)
              at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
              at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
              at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
              at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
              at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383)
              at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133)
              at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:657)
              at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755)
              at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.commit(DefaultTransactionExecutor.java:43)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:101)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
              at com.sun.proxy.$Proxy101.addResources(Unknown Source)
              at com.liferay.portal.service.ResourceLocalServiceUtil.addResources(ResourceLocalServiceUtil.java:209)
              at com.liferay.portal.util.PortalImpl.addDefaultResource(PortalImpl.java:7472)
              at com.liferay.portal.util.PortalImpl.addPortletDefaultResource(PortalImpl.java:707)
              at com.liferay.portal.util.PortalUtil.addPortletDefaultResource(PortalUtil.java:204)
              at com.liferay.portal.model.impl.DefaultLayoutTypeAccessPolicyImpl.checkAccessAllowedToPortlet(DefaultLayoutTypeAccessPolicyImpl.java:61)
              at com.liferay.portlet.SecurityPortletContainerWrapper.check(SecurityPortletContainerWrapper.java:190)
              at com.liferay.portlet.SecurityPortletContainerWrapper.checkRender(SecurityPortletContainerWrapper.java:220)
              at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:123)
              at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:126)
              at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:155)
              at com.liferay.portal.layoutconfiguration.util.PortletRenderer._render(PortletRenderer.java:125)
              at com.liferay.portal.layoutconfiguration.util.PortletRenderer.render(PortletRenderer.java:72)
              at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doProcessTemplate(RuntimePageImpl.java:438)
              at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doDispatch(RuntimePageImpl.java:282)
              at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:111)
              at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:123)
              at com.liferay.portal.layoutconfiguration.util.RuntimePageUtil.processTemplate(RuntimePageUtil.java:70)
              at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:490)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
              at com.liferay.portal.model.impl.LayoutTypeControllerImpl.includeLayoutContent(LayoutTypeControllerImpl.java:163)
              at com.liferay.portal.model.impl.LayoutImpl.includeLayoutContent(LayoutImpl.java:825)
              at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:328)
              at com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:167)
              at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:72)
              at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
              at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:169)
              at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
              at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
              at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:561)
              at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:538)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:299)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
              at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:159)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:336)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:125)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:299)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:254)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:407)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:86)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:265)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
              at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:319)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
              at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
              at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
              at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
              at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
              at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:745)
      
      21:42:24,339 ERROR [http-bio-8080-exec-1][JDBCExceptionReporter:234] integrity constraint violation: unique constraint or index violation: IX_8D83D0CE
      21:42:24,340 ERROR [http-bio-8080-exec-1][DefaultTransactionExecutor:54] Application exception overridden by commit exception
      org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into ResourcePermission (mvccVersion, companyId, name, scope, primKey, roleId, ownerId, actionIds, resourcePermissionId) values (?, ?, ?, ?, ?, ?, ?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
              at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:643)
              at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:794)
              at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:665)
              at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755)
              at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.commit(DefaultTransactionExecutor.java:43)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:101)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
              at com.sun.proxy.$Proxy101.addResources(Unknown Source)
              at com.liferay.portal.service.ResourceLocalServiceUtil.addResources(ResourceLocalServiceUtil.java:209)
              at com.liferay.portal.util.PortalImpl.addDefaultResource(PortalImpl.java:7472)
              at com.liferay.portal.util.PortalImpl.addPortletDefaultResource(PortalImpl.java:707)
              at com.liferay.portal.util.PortalUtil.addPortletDefaultResource(PortalUtil.java:204)
              at com.liferay.portal.model.impl.DefaultLayoutTypeAccessPolicyImpl.checkAccessAllowedToPortlet(DefaultLayoutTypeAccessPolicyImpl.java:61)
              at com.liferay.portlet.SecurityPortletContainerWrapper.check(SecurityPortletContainerWrapper.java:190)
              at com.liferay.portlet.SecurityPortletContainerWrapper.checkRender(SecurityPortletContainerWrapper.java:220)
              at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:123)
              at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:126)
              at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:155)
              at com.liferay.taglib.portletext.RuntimeTag.doTag(RuntimeTag.java:229)
              at com.liferay.taglib.portletext.RuntimeTag.doTag(RuntimeTag.java:84)
              at com.liferay.taglib.util.VelocityTaglibImpl.runtime(VelocityTaglibImpl.java:963)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
              at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
              at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
              at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
              at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
              at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
              at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
              at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
              at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
              at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
              at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
              at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
              at org.apache.velocity.runtime.directive.Parse.render(Parse.java:263)
              at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
              at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
              at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
              at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
              at org.apache.velocity.Template.merge(Template.java:328)
              at org.apache.velocity.Template.merge(Template.java:235)
              at com.liferay.portal.template.velocity.VelocityTemplate.processTemplate(VelocityTemplate.java:112)
              at com.liferay.portal.template.AbstractTemplate.processTemplate(AbstractTemplate.java:161)
              at com.liferay.taglib.util.ThemeUtil.doIncludeVM(ThemeUtil.java:445)
              at com.liferay.taglib.util.ThemeUtil.doDispatch(ThemeUtil.java:161)
              at com.liferay.taglib.util.ThemeUtil.includeVM(ThemeUtil.java:118)
              at com.liferay.taglib.util.ThemeUtil.include(ThemeUtil.java:82)
              at com.liferay.taglib.theme.IncludeTag.doEndTag(IncludeTag.java:34)
              at org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_liferay_002dtheme_005finclude_005f1(portal_jsp.java:524)
              at org.apache.jsp.html.common.themes.portal_jsp._jspService(portal_jsp.java:461)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
              at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:78)
              at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:275)
              at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:271)
              at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:332)
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:232)
              at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:169)
              at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
              at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
              at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:561)
              at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:538)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:299)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
              at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:159)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:336)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:299)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:254)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:407)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:86)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:265)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
              at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:319)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
              at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
              at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
              at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
              at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
              at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
              at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96)
              at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
              at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
              at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268)
              at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
              at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
              at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
              at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
              at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383)
              at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133)
              at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:657)
              ... 200 more
      Caused by: java.sql.BatchUpdateException: integrity constraint violation: unique constraint or index violation: IX_8D83D0CE
              at org.hsqldb.jdbc.JDBCPreparedStatement.executeBatch(Unknown Source)
              at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:2465)
              at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
              at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
              ... 208 more
      21:42:24,540 ERROR [http-bio-8080-exec-1][LiferayMethodExceptionEventHandler:54] Unable to execute method runtime {exception=com.liferay.portal.kernel.portlet.PortletContainerException: com.liferay.portal.kernel.portlet.PortletContainerException: org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into ResourcePermission (mvccVersion, companyId, name, scope, primKey, roleId, ownerId, actionIds, resourcePermissionId) values (?, ?, ?, ?, ?, ?, ?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update, className=com.liferay.taglib.util.VelocityTaglibImpl}
      com.liferay.portal.kernel.portlet.PortletContainerException: com.liferay.portal.kernel.portlet.PortletContainerException: org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into ResourcePermission (mvccVersion, companyId, name, scope, primKey, roleId, ownerId, actionIds, resourcePermissionId) values (?, ?, ?, ?, ?, ?, ?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
              at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:129)
              at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:155)
              at com.liferay.taglib.portletext.RuntimeTag.doTag(RuntimeTag.java:229)
              at com.liferay.taglib.portletext.RuntimeTag.doTag(RuntimeTag.java:84)
              at com.liferay.taglib.util.VelocityTaglibImpl.runtime(VelocityTaglibImpl.java:963)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
              at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
              at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
              at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
              at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
              at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
              at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
              at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
              at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
              at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
              at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
              at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
              at org.apache.velocity.runtime.directive.Parse.render(Parse.java:263)
              at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
              at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
              at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
              at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
              at org.apache.velocity.Template.merge(Template.java:328)
              at org.apache.velocity.Template.merge(Template.java:235)
              at com.liferay.portal.template.velocity.VelocityTemplate.processTemplate(VelocityTemplate.java:112)
              at com.liferay.portal.template.AbstractTemplate.processTemplate(AbstractTemplate.java:161)
              at com.liferay.taglib.util.ThemeUtil.doIncludeVM(ThemeUtil.java:445)
              at com.liferay.taglib.util.ThemeUtil.doDispatch(ThemeUtil.java:161)
              at com.liferay.taglib.util.ThemeUtil.includeVM(ThemeUtil.java:118)
              at com.liferay.taglib.util.ThemeUtil.include(ThemeUtil.java:82)
              at com.liferay.taglib.theme.IncludeTag.doEndTag(IncludeTag.java:34)
              at org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_liferay_002dtheme_005finclude_005f1(portal_jsp.java:524)
              at org.apache.jsp.html.common.themes.portal_jsp._jspService(portal_jsp.java:461)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
              at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:78)
              at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:275)
              at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:271)
              at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:332)
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:232)
              at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:169)
              at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
              at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
              at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:561)
              at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:538)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:299)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
              at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:159)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:336)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:299)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:254)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:407)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:86)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)
              at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:265)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
              at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:319)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
              at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
              at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
              at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
              at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
              at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.portlet.PortletContainerException: org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into ResourcePermission (mvccVersion, companyId, name, scope, primKey, roleId, ownerId, actionIds, resourcePermissionId) values (?, ?, ?, ?, ?, ?, ?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
              at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:134)
              at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:126)
              ... 183 more
      Caused by: org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into ResourcePermission (mvccVersion, companyId, name, scope, primKey, roleId, ownerId, actionIds, resourcePermissionId) values (?, ?, ?, ?, ?, ?, ?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
              at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:643)
              at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:794)
              at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:665)
              at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755)
              at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.commit(DefaultTransactionExecutor.java:43)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:101)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
              at com.sun.proxy.$Proxy101.addResources(Unknown Source)
              at com.liferay.portal.service.ResourceLocalServiceUtil.addResources(ResourceLocalServiceUtil.java:209)
              at com.liferay.portal.util.PortalImpl.addDefaultResource(PortalImpl.java:7472)
              at com.liferay.portal.util.PortalImpl.addPortletDefaultResource(PortalImpl.java:707)
              at com.liferay.portal.util.PortalUtil.addPortletDefaultResource(PortalUtil.java:204)
              at com.liferay.portal.model.impl.DefaultLayoutTypeAccessPolicyImpl.checkAccessAllowedToPortlet(DefaultLayoutTypeAccessPolicyImpl.java:61)
              at com.liferay.portlet.SecurityPortletContainerWrapper.check(SecurityPortletContainerWrapper.java:190)
              at com.liferay.portlet.SecurityPortletContainerWrapper.checkRender(SecurityPortletContainerWrapper.java:220)
              at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:123)
              ... 184 more
      Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
              at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96)
              at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
              at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
              at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268)
              at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
              at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
              at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
              at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
              at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383)
              at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133)
              at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:657)
              ... 200 more
      Caused by: java.sql.BatchUpdateException: integrity constraint violation: unique constraint or index violation: IX_8D83D0CE
              at org.hsqldb.jdbc.JDBCPreparedStatement.executeBatch(Unknown Source)
              at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:2465)
              at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
              at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
              ... 208 more
      21:42:27,083 ERROR [http-bio-8080-exec-2][status_jsp:693] An exception occurred processing JSP page /html/portal/layout/view/portlet.jsp at line 60____57:      String velocityTemplateContent = LayoutTemplateLocalServiceUtil.getContent(layoutTypePortlet.getLayoutTemplateId(), false, theme.getThemeId());__58: __59:      if (Validator.isNotNull(velocityTemplateContent)) {__60:                RuntimePageUtil.processTemplate(request, response, new StringTemplateResource(velocityTemplateId, velocityTemplateContent));__61:       }__62: }__63: %>______Stacktrace: [Sanitized]
      

        Attachments

          Activity

            People

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

              Dates

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

                Packages

                Version Package
                7.0.0 Beta 5