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

Portal throws "Cardinality violation" exceptions at startup for Javascript and Ruby modules

    Details

    • Story Points:
      1
    • Fix Priority:
      3

      Description

      [exec] 18:07:35,932 WARN  [localhost-startStop-1][org_eclipse_equinox_metatype:103] Default value "com.liferay.portal.kernel.scripting.ScriptingUtil,com.liferay.portal.scripting.internal.ScriptingImpl,java.lang.System" for attribute definition "forbiddenClassNames" is invalid because "Cardinality violation: "com.liferay.portal.kernel.scripting.ScriptingUtil,com.liferay.portal.scripting.internal.ScriptingImpl,java.lang.System" has 3 value(s) but must have between 1 and 1 value(s).".
      [exec] 18:07:35,938 WARN  [localhost-startStop-1][org_eclipse_equinox_metatype:103] Invalid default value "com.liferay.portal.kernel.scripting.ScriptingUtil,com.liferay.portal.scripting.internal.ScriptingImpl,java.lang.System" for attribute definition "forbiddenClassNames" in metadata XML at "bundleentry://34.fwk20609906/OSGI-INF/metatype/com.liferay.portal.scripting.javascript.configuration.JavaScriptExecutorConfiguration.xml" for bundle ID "34" with symbolic name "com.liferay.portal.scripting.javascript".
      [exec] 18:07:36,359 WARN  [localhost-startStop-1][org_eclipse_equinox_metatype:103] Default value "classpath:/META-INF/jruby.home/lib/ruby/2.0,classpath:/META-INF/jruby.home/lib/ruby/shared," for attribute definition "loadPaths" is invalid because "Cardinality violation: "classpath:/META-INF/jruby.home/lib/ruby/2.0,classpath:/META-INF/jruby.home/lib/ruby/shared," has 3 value(s) but must have between 1 and 1 value(s).".
      [exec] 18:07:36,361 WARN  [localhost-startStop-1][org_eclipse_equinox_metatype:103] Invalid default value "classpath:/META-INF/jruby.home/lib/ruby/2.0,classpath:/META-INF/jruby.home/lib/ruby/shared," for attribute definition "loadPaths" in metadata XML at "bundleentry://102.fwk20609906/OSGI-INF/metatype/com.liferay.portal.scripting.ruby.configuration.RubyScriptingConfiguration.xml" for bundle ID "102" with symbolic name "com.liferay.portal.scripting.ruby".
      

        Attachments

          Activity

            People

            Assignee:
            ian.song Ian Song (Inactive)
            Reporter:
            andrea.digiorgi Andrea Di Giorgi (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 years, 32 weeks, 1 day ago

                Packages

                Version Package
                7.0.1 CE GA2