You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Vladimir Bauer <VB...@slb.com> on 2012/11/20 07:17:18 UTC

Problem in Production mode

Hi,

I've a problem in production mode with org.chenillekit.tapestry.core.components.SlidingPanel component.

While running project within Eclipse, jetty run, in production mode, there is no problem.
But when I run the project in standalone Jetty in production mode enabled, there is error in SlidingPanel.js

Looks like SlidingPanel.js was truncated.
I've attached both versions one when running jetty within Eclipse, and another from standalone - which causes problem.
Also uncompressed SlidingPanel.js included.

Any idea how to fix this?

Thanks,
Vladimir Bauer
Onsite I.T. Support
Schlumberger Balkanabat
Phone: + 993 222 74656 ext.100
Mobile: +99364053403



RE: Problem in Production mode

Posted by Vladimir Bauer <VB...@slb.com>.
Hi Lance,

I use Tapestry 5.3.6
Thanks for pointing, I'll try.

Regards,
Vladimir

-----Original Message-----
From: Lance Java [mailto:lance.java@googlemail.com] 
Sent: Tuesday, November 20, 2012 2:04 PM
To: users@tapestry.apache.org
Subject: Re: Problem in Production mode

What version of tapestry are you using?

My guess is that it's either the GZIP filter or YUI compressor that are causing this problem. I'd start by turning them off one at a time to find the culprit.

Disable YUI compressor in pom.xml
 

Disable GZIP here:
http://tapestry.apache.org/configuration.html#Configuration-tapestry.gzipcompressionenabled





--
View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-in-Production-mode-tp5718120p5718121.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Problem in Production mode

Posted by Lance Java <la...@googlemail.com>.
Will try that again (nabble ate my XML)

What version of tapestry are you using?

My guess is that it's either the GZIP filter or YUI compressor that are
causing this problem. I'd start by turning them off one at a time to find
the culprit.

Disable YUI compressor in pom.xml


Disable GZIP here:
http://tapestry.apache.org/configuration.html#Configuration-tapestry.gzipcompressionenabled





--
View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-in-Production-mode-tp5718120p5718122.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


RE: Problem in Production mode

Posted by Vladimir Bauer <VB...@slb.com>.
I've found that yuicompressor-2.4.7.jar file includes rhino package, but it was duplicated at the same time in different file js-1.6R7.jar

[INFO] +- org.apache.tapestry:tapestry-yuicompressor:jar:5.3.6:compile
[INFO] |  \- com.yahoo.platform.yui:yuicompressor:jar:2.4.7:compile
[INFO] |     \- rhino:js:jar:1.6R7:compile

-----Original Message-----
From: Lance Java [mailto:lance.java@googlemail.com] 
Sent: Tuesday, November 20, 2012 7:50 PM
To: users@tapestry.apache.org
Subject: RE: Problem in Production mode

I know the tapestry team have been having troubles with yuicompressor, I'm just not familiar to them myself. Please chime in anyone who knows more about this.

Are you saying that rhino was already on your classpath? Is it a dependency in your project or is it part of jetty? Run "mvn dependency:tree" from the command line to find out

You could fix this in your pom with an exclude:





--
View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-in-Production-mode-tp5718120p5718133.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


RE: Problem in Production mode

Posted by Lance Java <la...@googlemail.com>.
I know the tapestry team have been having troubles with yuicompressor, I'm
just not familiar to them myself. Please chime in anyone who knows more
about this.

Are you saying that rhino was already on your classpath? Is it a dependency
in your project or is it part of jetty? Run "mvn dependency:tree" from the
command line to find out

You could fix this in your pom with an exclude:





--
View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-in-Production-mode-tp5718120p5718133.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


RE: Problem in Production mode

Posted by Vladimir Bauer <VB...@slb.com>.
Lance,

Indeed there was a problem with YUI compressor.
Removing file js-1.6R7.jar from the classpath, fixed the problem.

Regards,
Vladimir

-----Original Message-----
From: Lance Java [mailto:lance.java@googlemail.com] 
Sent: Tuesday, November 20, 2012 2:04 PM
To: users@tapestry.apache.org
Subject: Re: Problem in Production mode

What version of tapestry are you using?

My guess is that it's either the GZIP filter or YUI compressor that are causing this problem. I'd start by turning them off one at a time to find the culprit.

Disable YUI compressor in pom.xml
 

Disable GZIP here:
http://tapestry.apache.org/configuration.html#Configuration-tapestry.gzipcompressionenabled





--
View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-in-Production-mode-tp5718120p5718121.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Problem in Production mode

Posted by Lance Java <la...@googlemail.com>.
What version of tapestry are you using?

My guess is that it's either the GZIP filter or YUI compressor that are
causing this problem. I'd start by turning them off one at a time to find
the culprit.

Disable YUI compressor in pom.xml
 

Disable GZIP here:
http://tapestry.apache.org/configuration.html#Configuration-tapestry.gzipcompressionenabled





--
View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-in-Production-mode-tp5718120p5718121.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org