Details

      Description

      The following change in portal.properties:

      set A

      scripting.jruby.load.paths=\
              META-INF/jruby.home/lib/ruby/site_ruby/1.8,\
              META-INF/jruby.home/lib/ruby/site_ruby/shared,\
              META-INF/jruby.home/lib/ruby/1.8,\
              gems/chunky_png-1.2.1/lib,\
              gems/compass-0.11.5/lib,\
              gems/fssm-0.2.7/lib,\
              gems/sass-3.1.7/lib,\
              file:${liferay.lib.portal.dir}ruby-gems.jar!/gems/chunky_png-1.2.1/lib,\
              file:${liferay.lib.portal.dir}ruby-gems.jar!/gems/compass-0.11.5/lib,\
              file:${liferay.lib.portal.dir}ruby-gems.jar!/gems/fssm-0.2.7/lib,\
              file:${liferay.lib.portal.dir}ruby-gems.jar!/gems/sass-3.1.7/lib
      

      to set B

          scripting.jruby.load.paths=\
              classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8,\
              classpath:/META-INF/jruby.home/lib/ruby/site_ruby/shared,\
              classpath:/META-INF/jruby.home/lib/ruby/1.8,\
              classpath:/gems/chunky_png-1.2.1/lib,\
              classpath:/gems/compass-0.11.5/lib,\
              classpath:/gems/fssm-0.2.7/lib,\
              classpath:/gems/sass-3.1.7/lib
      

      causes Weblogic 10.3.2 to fail on SASS jruby execution, giving the following exception:

      <Jul 18, 2012 10:42:27 AM CEST> <Notice> <Stdout> <BEA-000000> <10:42:27,987 ERROR [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (s
      elf-tuning)'][DynamicCSSFilter:177] Unable to parse SASS on CSS /html/themes/classic/css/layout.css
      org.jruby.embed.EvalFailedException: (Errno::ENOENT) classpath:C:/Oracle/Middleware11/user_projects/domains/liferay/servers/AdminServer/tmp/_WL_user/l
      iferay-portal-6/qb88mq/war/WEB-INF/lib/C/gems/sass-3.1.7/VERSION
              at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
              at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
              at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
              at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:165)
              at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:109)
              at com.liferay.portal.servlet.filters.dynamiccss.DynamicCSSUtil._parseSass(DynamicCSSUtil.java:359)
      ...
      

      Visually, this issue is represented as lack of CSS styles.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 30 weeks, 6 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2