Foren

Unable to parse SASS on CSS /html/css/main.css in liferay JBoss

thumbnail
Anuvab Ghosh, geändert vor 8 Jahren.

Unable to parse SASS on CSS /html/css/main.css in liferay JBoss

Regular Member Beiträge: 130 Beitrittsdatum: 18.04.15 Neueste Beiträge
Hi,

I am using Liferay 6.2 CE GA5. I developed custom theme and custom portlet application for a portal and developed in tomcat server (as runtime server). I did not get the below mentioned error in log. But after deployment the war files in the liferay JBoss server, I am facing this problem. So many times this error is occurred in the server log. Moreover, server is stopped after few hours. Is it related with that error?


I have checked few forums and posts, but did not get the proper solution. Also I have seen this is a bug of liferay.

Please give some solution about this matter it is really very urgent for me.


ERROR [http--0.0.0.0-8680-1][DynamicCSSFilter:182] Unable to parse SASS on CSS /html/css/main.css
com.liferay.portal.kernel.scripting.ScriptingException: java.util.concurrent.ExecutionException: org.jruby.embed.EvalFailedException: java.lang.NullPointerException
	at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:254)
	at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:129)
	at com.liferay.portal.servlet.filters.dynamiccss.DynamicCSSUtil._parseSass(DynamicCSSUtil.java:509)
	at com.liferay.portal.servlet.filters.dynamiccss.DynamicCSSUtil.parseSass(DynamicCSSUtil.java:178)
	at com.liferay.portal.servlet.filters.dynamiccss.DynamicCSSFilter.getDynamicContent(DynamicCSSFilter.java:147)
	at com.liferay.portal.servlet.filters.dynamiccss.DynamicCSSFilter.processFilter(DynamicCSSFilter.java:209)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
	at com.liferay.portal.servlet.filters.aggregate.AggregateFilter.processFilter(AggregateFilter.java:518)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
	at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
	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:165)
	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:185)
	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:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
	at java.lang.Thread.run(Thread.java:722)
Caused by: java.util.concurrent.ExecutionException: org.jruby.embed.EvalFailedException: java.lang.NullPointerException
	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
	at java.util.concurrent.FutureTask.get(FutureTask.java:111)
	at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:248)
	... 50 more
Caused by: org.jruby.embed.EvalFailedException: java.lang.NullPointerException
	at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:141)
	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.doEval(RubyExecutor.java:189)
	at com.liferay.portal.scripting.ruby.RubyExecutor$EvalCallable.call(RubyExecutor.java:332)
	at com.liferay.portal.scripting.ruby.RubyExecutor$EvalCallable.call(RubyExecutor.java:1)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	... 1 more
Caused by: java.lang.NullPointerException
	at com.kenai.jaffl.provider.jffi.DefaultInvokerFactory$DefaultInvoker.marshal(DefaultInvokerFactory.java:331)
	at com.kenai.jaffl.provider.jffi.DefaultInvokerFactory$DefaultInvoker.invoke(DefaultInvokerFactory.java:338)
	at com.kenai.jaffl.provider.NativeInvocationHandler.invoke(NativeInvocationHandler.java:110)
	at $Proxy568.getpid(Unknown Source)
	at org.jruby.ext.posix.BaseNativePOSIX.getpid(BaseNativePOSIX.java:102)
	at org.jruby.ext.posix.LazyPOSIX.getpid(LazyPOSIX.java:127)
	at org.jruby.RubyGlobal$PidAccessor.getValue(RubyGlobal.java:773)
	at org.jruby.internal.runtime.ReadonlyAccessor.getValue(ReadonlyAccessor.java:51)
	at org.jruby.internal.runtime.GlobalVariables.get(GlobalVariables.java:111)
	at org.jruby.RubyTempfile.make_tmpname(RubyTempfile.java:199)
	at org.jruby.RubyTempfile$i$2$0$make_tmpname.call(RubyTempfile$i$2$0$make_tmpname.gen:65535)
	at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodTwoBlock.call(JavaMethod.java:568)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:181)
	at org.jruby.RubyClass.finvoke(RubyClass.java:680)
	at org.jruby.javasupport.util.RuntimeHelpers.invoke(RuntimeHelpers.java:557)
	at org.jruby.RubyBasicObject.callMethod(RubyBasicObject.java:369)
	at org.jruby.RubyTempfile.initialize(RubyTempfile.java:124)
	at org.jruby.RubyTempfile$i$0$1$initialize.call(RubyTempfile$i$0$1$initialize.gen:65535)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:272)
	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:80)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:84)
	at org.jruby.RubyClass.newInstance(RubyClass.java:834)
	at org.jruby.RubyIO.newInstance(RubyIO.java:868)
	at org.jruby.RubyIO$s$0$0$newInstance.call(RubyIO$s$0$0$newInstance.gen:65535)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:219)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:215)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
	at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
	at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
	at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)
	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:212)
	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:187)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322)
	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:178)
	at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:187)
	at org.jruby.ast.CallOneArgBlockNode.interpret(CallOneArgBlockNode.java:60)
	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
	at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216)
	at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
	at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:120)
	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:134)
	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:154)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:71)
	at org.jruby.ast.FCallManyArgsNode.interpret(FCallManyArgsNode.java:60)
	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
	at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216)
	at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
	at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:276)
	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:211)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:352)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:237)
	at org.jruby.ast.CallThreeArgNode.interpret(CallThreeArgNode.java:61)
	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
	at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:112)
	at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374)
	at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:347)
	at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:304)
	at org.jruby.runtime.Block.yield(Block.java:130)
	at org.jruby.RubyArray.eachCommon(RubyArray.java:1605)
	at org.jruby.RubyArray.each(RubyArray.java:1612)
	at org.jruby.RubyArray$i$0$0$each.call(RubyArray$i$0$0$each.gen:65535)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302)
	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:144)
	at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:153)
	at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:276)
	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:211)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:352)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:237)
	at org.jruby.ast.CallThreeArgNode.interpret(CallThreeArgNode.java:61)
	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
	at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)
	at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
	at org.jruby.ast.IfNode.interpret(IfNode.java:117)
	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
	at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216)
	at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
	at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
	at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
	at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63)
	at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
	at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
	at org.jruby.ast.ReturnNode.interpret(ReturnNode.java:92)
	at org.jruby.ast.IfNode.interpret(IfNode.java:119)
	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
	at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63)
	at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
	at org.jruby.ast.RootNode.interpret(RootNode.java:129)
	at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:120)
	at org.jruby.Ruby.runInterpreter(Ruby.java:720)
	at org.jruby.Ruby.runInterpreter(Ruby.java:728)
	at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:119)
	... 8 more


Thanks in advance.
thumbnail
Anuvab Ghosh, geändert vor 8 Jahren.

RE: Unable to parse SASS on CSS /html/css/main.css in liferay JBoss

Regular Member Beiträge: 130 Beitrittsdatum: 18.04.15 Neueste Beiträge
Hi,

Still I did not get any suggestion or solution or feedback from your side. It is very urgent for me.

I have checked few posts and bugs in the forum and JIRA. But how to overcome it?
Can you tell me please, this exception will stop the JBoss Server (Liferay Portal)?
Please give some feedback about this matter.

Thanks in advance.
thumbnail
Arun Das, geändert vor 8 Jahren.

RE: Unable to parse SASS on CSS /html/css/main.css in liferay JBoss

Regular Member Beiträge: 166 Beitrittsdatum: 23.07.12 Neueste Beiträge
Hi Anuvab,
What is the environment you use? OS/ JDK. Found similar issues in JIRA

HTH
Arun
thumbnail
Anuvab Ghosh, geändert vor 8 Jahren.

RE: Unable to parse SASS on CSS /html/css/main.css in liferay JBoss

Regular Member Beiträge: 130 Beitrittsdatum: 18.04.15 Neueste Beiträge
Arun Das:
Hi Anuvab,
What is the environment you use? OS/ JDK. Found similar issues in JIRA

HTH
Arun


At first thanks for the response.

The environment details are

Liferay : liferay 6.2 ce GA5
JDK : 1.6.0_38
Server : JBoss 7.1.1 (from liferay portal jboss bundled)
DB : Postgresql 9.3
OS : RHEL 6.4
thumbnail
Arun Das, geändert vor 8 Jahren.

RE: Unable to parse SASS on CSS /html/css/main.css in liferay JBoss

Regular Member Beiträge: 166 Beitrittsdatum: 23.07.12 Neueste Beiträge
Hi Anubav,
You should upgrade your jdk to Oracle JDK 1.7(not OpenJDK )

Arun
thumbnail
Anuvab Ghosh, geändert vor 8 Jahren.

RE: Unable to parse SASS on CSS /html/css/main.css in liferay JBoss

Regular Member Beiträge: 130 Beitrittsdatum: 18.04.15 Neueste Beiträge
Arun Das:
Hi Anubav,
You should upgrade your jdk to Oracle JDK 1.7(not OpenJDK )

Arun


Thanks for the reply and the suggestion.

But when I am using liferay tomcat in windows platform with the same version of JDK, do not face any such type of problem or exception.

Can you tell me please, this exception or error can stop the JBoss server (JBoss process)?

Regards,
Anuvab
thumbnail
Arun Das, geändert vor 8 Jahren.

RE: Unable to parse SASS on CSS /html/css/main.css in liferay JBoss

Regular Member Beiträge: 166 Beitrittsdatum: 23.07.12 Neueste Beiträge
Hi Anubav,
I don't think, the server shutdown just because of this. You should check the JBoss Logs(server.log) to find out. BTW windows uses Oracle JDK by default and most of the Linux flavors come with OpenJDK. Liferay got some compatibility issues with OpenJDK and they do suggest to use Oracle JDK.

Arun
thumbnail
Anuvab Ghosh, geändert vor 8 Jahren.

RE: Unable to parse SASS on CSS /html/css/main.css in liferay JBoss

Regular Member Beiträge: 130 Beitrittsdatum: 18.04.15 Neueste Beiträge
Arun Das:
Hi Anubav,
I don't think, the server shutdown just because of this. You should check the JBoss Logs(server.log) to find out. BTW windows uses Oracle JDK by default and most of the Linux flavors come with OpenJDK. Liferay got some compatibility issues with OpenJDK and they do suggest to use Oracle JDK.

Arun


Thanks for the reply and the suggestion.

I am reconfigured the server with JDK 1.6.0_45, but I have faced the same error again.
* I have some limitation to use JDK 7.
Any more solution please?

Thanks in advance.
thumbnail
Arun Das, geändert vor 8 Jahren.

RE: Unable to parse SASS on CSS /html/css/main.css in liferay JBoss

Regular Member Beiträge: 166 Beitrittsdatum: 23.07.12 Neueste Beiträge
Hi Anubav,
Seems like it's already reported here as a bug and a work around is also mentioned there.
"Upgrading to a newer version of JRuby (1.7.23), regenerating the ruby-gems.jar and adapting scripting load paths in portal.properties fixes the problem."

Arun
thumbnail
Anuvab Ghosh, geändert vor 8 Jahren.

RE: Unable to parse SASS on CSS /html/css/main.css in liferay JBoss

Regular Member Beiträge: 130 Beitrittsdatum: 18.04.15 Neueste Beiträge
Arun Das:
Hi Anubav,
Seems like it's already reported here as a bug and a work around is also mentioned there.
"Upgrading to a newer version of JRuby (1.7.23), regenerating the ruby-gems.jar and adapting scripting load paths in portal.properties fixes the problem."

Arun


Thanks for the reply.

Do you want to say I should use the latest ruby-gems.jar in the lib of ROOT/WEB-INF folder?

Regards,
Anuvab
thumbnail
Anuvab Ghosh, geändert vor 8 Jahren.

RE: Unable to parse SASS on CSS /html/css/main.css in liferay JBoss (Antwort)

Regular Member Beiträge: 130 Beitrittsdatum: 18.04.15 Neueste Beiträge
Hi,

I am using scripting.jruby.load.paths in portal-ext.properties, mentioned below.

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.9/lib,\
        classpath:/gems/compass-0.12.2/lib,\
        classpath:/gems/fssm-0.2.10/lib,\
        classpath:/gems/sass-3.2.12/lib,\


Then restart the server, and did not get in server log any such type of exception or anything related to this problem.

Thanks.
thumbnail
Cristian M. Castro, geändert vor 7 Jahren.

RE: Unable to parse SASS on CSS /html/css/main.css in liferay JBoss

New Member Beitrag: 1 Beitrittsdatum: 23.11.16 Neueste Beiträge
Anuvab Ghosh:
Hi,

I am using scripting.jruby.load.paths in portal-ext.properties, mentioned below.

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.9/lib,\
        classpath:/gems/compass-0.12.2/lib,\
        classpath:/gems/fssm-0.2.10/lib,\
        classpath:/gems/sass-3.2.12/lib,\


Then restart the server, and did not get in server log any such type of exception or anything related to this problem.

Thanks.



Hi Anuvab !

So it works for you ??, and what have you did to get working ?? Because i have the same issue for my environment liferay 6.2 ee, jboss eap 6.4 !!

I have already put the properties on my portal-ext.properties, but nothing works, please help !!

Thanks !