Re: [5.2] unexpected TransformationException

2010-03-02 Thread Joachim Van der Auwera
Dear Howard, Thanks for your reply. I am not using ComponentClassTransformWorker, so it must be something else. Full stacktrace is : ERROR [org.apache.tapestry5.services.TapestryModule.RequestExceptionHandler] Processing of request failed with uncaught exception: java.lang.ClassNotFoundExce

Re: [5.2] unexpected TransformationException

2010-03-02 Thread Howard Lewis Ship
You may have to recode some of your custom ComponentClassTransformWorker. If you don't have one, show us the full stack trace so I can see what went wrong. You're seeing some imperfect backwards compatibility in the process of moving away from Javassist. What you used to accomplish (in 5.0 and 5

Re: Javascript error in IE when a javascript call in an Ajax block

2010-03-02 Thread Thiago H. de Paula Figueiredo
On Tue, 02 Mar 2010 18:54:40 -0300, DavidWei wrote: When you mentioned "Static", I do not know what you mean? in my case, the parameters passed in have to be loaded dynamically because we are using a single text editor to edit many text areas so that each area(called content block) will have

Re: Javascript error in IE when a javascript call in an Ajax block

2010-03-02 Thread DavidWei
Hi Howard, Thanks for your response. In the web app I am working on. I did have a Javascript in a .js file and reference it. In the code example, I just want to simplify the codes by using inline javascript codes. The problem now is not that it can not reference the method, but it popups javas

Re: Javascript error in IE when a javascript call in an Ajax block

2010-03-02 Thread Howard Lewis Ship
Don't do that. Put static JavaScript in a .js file and just reference it. Use (in 5.2) JavaScript.importJavaScriptLibrary(). On Tue, Mar 2, 2010 at 1:16 PM, DavidWei wrote: > > Hi, > > when I am trying to upgrade our web app to Tapestry 5.1.0.5, I have got a > javascript syntax error when a jav

[5.2] unexpected TransformationException

2010-03-02 Thread Joachim Van der Auwera
Hi, Using the latest snapshot, I get the following error : Caused by: org.apache.tapestry5.internal.services.TransformationException: Error obtaining injected value for field org.skabacca.gui.pages.Matching.messages: Method ClassTransformation.extendMethod(TransformMethodSignature, String) h

Javascript error in IE when a javascript call in an Ajax block

2010-03-02 Thread DavidWei
Hi, when I am trying to upgrade our web app to Tapestry 5.1.0.5, I have got a javascript syntax error when a javascript method with parameters is called inside a Ajax block. I have tested many kinds of scenarios, I could not figure out the problem. 1. If the javascript method with parameters is

Re: Tapestry Scaling

2010-03-02 Thread Chris Mylonas
Hi Ben, This is very handy info - thanks for sharing. Kind Regards, Chris Mylonas On Wed, Mar 3, 2010 at 8:04 AM, Ben Gidley wrote: > The benchmarks were done on our production replica which is > nearly identical to our live hardware. > > The key parts of the system is > - Oracle on a large

Re: Tapestry Scaling

2010-03-02 Thread Ben Gidley
The benchmarks were done on our production replica which is nearly identical to our live hardware. The key parts of the system is - Oracle on a large Sun Ultrasparc box - 4 active app servers - each quad core with 32Gb ram - 2 active ZXTM load balancers/caches The load test is a mixed usage bas

Re: Tapestry Scaling

2010-03-02 Thread Kalle Korhonen
On Tue, Mar 2, 2010 at 12:13 AM, Ben Gidley wrote: > The site has seen a lot of visitors over its launch period (I am not allowed > to release actual stats) but Alexa shows us just as the 1200 most popular > site in the UK. Our load testing has shown the site scaling to 33 > pages/second (the tran

Re: Tapestry Scaling

2010-03-02 Thread Ben Gidley
Nope - we don't use a CDN for the main website - but we do for the video associated with it. The reason is our hardware/bandwidth are more that capable of delivering the web content more cost effectively that using a CDN. For video the bandwidth is sufficiently large it is cheaper to use a CDN so

Re: Using javax.servlet and tomcat (TapestryFilter cannot be cast to javax.servlet.Filter)

2010-03-02 Thread oskar_a
Thx Jens, works fine :) -- regards oskar titöf wrote: > > use provided in the mvn dependency section when including > the javax.servlet thing... > > > javax.servlet > servlet-api > 2.5 > provided > > > Jens > > -- View this message in context: http://old.nabble.com/Using-javax.servl

Re: Using javax.servlet and tomcat (TapestryFilter cannot be cast to javax.servlet.Filter)

2010-03-02 Thread Jens Breitenstein
use provided in the mvn dependency section when including the javax.servlet thing... javax.servlet servlet-api 2.5 provided Jens Am 02.03.10 19:18, schrieb Thiago H. de Paula Figueiredo: On Tue, 02 Mar 2010 15:09:52 -0300, oskar_a wrote: Hi, Hi! I have an Problem using T5 and javax.

Re: Using javax.servlet and tomcat (TapestryFilter cannot be cast to javax.servlet.Filter)

2010-03-02 Thread oskar_a
Thx for the advice, but how can I can get the client IP? I used something like: @Inject private RequestGlobals rg; .. rg.getHTTPServletRequest().getRemoteAddr(); but if I remove the servlet-api from the class loader I get an exeption that the HTTPServletRequest could not be resolved. May be the

Re: Using javax.servlet and tomcat (TapestryFilter cannot be cast to javax.servlet.Filter)

2010-03-02 Thread Thiago H. de Paula Figueiredo
On Tue, 02 Mar 2010 15:09:52 -0300, oskar_a wrote: Hi, Hi! I have an Problem using T5 and javax.servlet. I need the javax.servlet to get the client IP (for some click statistics), so I added the servlet-api using maven. You don't need to add the servlet API, as it's added automatically.

Using javax.servlet and tomcat (TapestryFilter cannot be cast to javax.servlet.Filter)

2010-03-02 Thread oskar_a
Hi, I have an Problem using T5 and javax.servlet. I need the javax.servlet to get the client IP (for some click statistics), so I added the servlet-api using maven. But when i try to run my app on tomcat I get an Exception: 02.03.2010 18:57:46 org.apache.catalina.startup.Embedded start INFO: St

Re: offtopic: javaassist for injecting annotations?

2010-03-02 Thread Alfonso Quiroga
I'm working on that, when I finish it, I'll post the solution here. On Tue, Mar 2, 2010 at 7:06 AM, Jim O'Callaghan wrote: > Did you make any progress on this Alfonso, from a Tapestry contribution > perspective? This would be really useful for me also. > > Regards, > Jim. > > -Original Messa

Re: URL Rewrite

2010-03-02 Thread Jun Tsai
Hi Thiago, 2010/2/23 Thiago H. de Paula Figueiredo > My apologies. > you should'nt apologize! I had learned many thing from your code and comments. Thank you very much! 2010/2/24 Thiago H. de Paula Figueiredo > On Tue, 23 Feb 2010 17:14:22 -0300, Howard Lewis Ship > wrote: > > I agree t

RE: offtopic: javaassist for injecting annotations?

2010-03-02 Thread Jim O'Callaghan
Did you make any progress on this Alfonso, from a Tapestry contribution perspective? This would be really useful for me also. Regards, Jim. -Original Message- From: Alfonso Quiroga [mailto:alfonsose...@gmail.com] Sent: 26 February 2010 19:44 To: Tapestry users Subject: offtopic: javaass

AW: Tapestry Scaling

2010-03-02 Thread ARD Marx Tobias
Hi Ben! Are you going to use a CDN to deliver the website in the future? Thanks! Tobias -Ursprüngliche Nachricht- Von: Ben Gidley [mailto:b...@gidley.co.uk] Gesendet: Tuesday, March 02, 2010 9:20 AM An: Tapestry users Betreff: Tapestry Scaling Hi, I thought it was worth posting an up

Re: t:formdata

2010-03-02 Thread Christian Köberl
Tapestry uses t:formdata to store ComponentAction instances to be executed on form submission. This is needed for triggering the events. Components can register this actions in the render phase - these are executed by the framwork in the submit phase. -- Chris -- View this message in context:

Tapestry Scaling

2010-03-02 Thread Ben Gidley
Hi, I thought it was worth posting an update on the launch of http://www.seesaw.com/ - we launched the site to the public this month. The site has seen a lot of visitors over its launch period (I am not allowed to release actual stats) but Alexa shows us just as the 1200 most popular site in the

Tapestry Scaling

2010-03-02 Thread Ben Gidley
Hi, I thought it was worth posting an update on the launch of http://www.seesaw.com/ - we launched the site to the public last month. The site is a video on demand portal aimed at (only) the UK market. You can watch on it recent and archive shows from BBC, Channel 4, Channel 5 and a bunch of indep