Re: How to configure Myfaces to log through logback ?

2012-08-23 Thread Stephen Connolly
http://stackoverflow.com/a/8015884/1589700 On 23 August 2012 14:34, Ertio Lew ertio...@gmail.com wrote: How do I configure Myfaces to log through logback implementation which rest of my application uses ? Currently I'm writing logs from all parts of my application except the messages by

Jetty 8, MyFaces 2.1.5, Jersey 1.11 - anyone got this to work?

2011-12-21 Thread Stephen Connolly
Ok, first side peeve is that I have to use listener listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class /listener with jetty 8... but that is not my issue (though it could be related) my issue is that as soon as

Re: Jetty 8, MyFaces 2.1.5, Jersey 1.11 - anyone got this to work?

2011-12-21 Thread Stephen Connolly
On 21 December 2011 13:50, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Ok, first side peeve is that I have to use  listener     listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class  /listener with jetty 8... Ok, not my main problem

[SOLVED] Jetty 8, MyFaces 2.1.5, Jersey 1.11 - anyone got this to work?

2011-12-21 Thread Stephen Connolly
On 21 December 2011 14:59, Stephen Connolly stephen.alan.conno...@gmail.com wrote: On 21 December 2011 13:50, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Ok, first side peeve is that I have to use  listener     listener

Re: JVM optimized memory setting for server

2011-12-19 Thread Stephen Connolly
you are not going to like this answer... every application is different. the memory required is the memory required. if you need more, give it more or redesign the app. there are tuning tips to trade large stop the world gc pauses for fewer shorter pauses and increased heap

Re: JVM optimized memory setting for server

2011-12-19 Thread Stephen Connolly
if the server us dedicated and has 8gb of ram... you could give 6gb (or 3g if a 32bit os as more will nor be used on 32bit os)... BUT when the stop the world big Garbage Collection triggers (and it will trigger eventually as the last resort to resolve heap fragmentation) then that gc will be 6

Re: JVM optimized memory setting for server

2011-12-19 Thread Stephen Connolly
not many people need to deal with this stuff nowadays anymore though :) LieGrue, strub - Original Message - From: Stephen Connolly stephen.alan.conno...@gmail.com To: MyFaces Discussion users@myfaces.apache.org Cc: Sent: Monday, December 19, 2011 9:11 PM Subject: Re: JVM

Re: JVM optimized memory setting for server

2011-12-19 Thread Stephen Connolly
... then it'd require no more ram than would be required for 1 record at a time (plus a list of the id's which should be very little ram too). AKA re-design the app. On Tue, Dec 20, 2011 at 7:11 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: if the server us dedicated and has 8gb

JSF2 f:metadata and templates what the feck am I doing wrong?

2011-04-29 Thread Stephen Connolly
Myfaces 2.0.5. I have been reading the JSF docs on the f:metadata tag..., e.g. http://javaserverfaces.java.net/nonav/docs/2.0/vdldocs/facelets/f/metadata.htmland http://myfaces.apache.org/core20/myfaces-impl/tlddoc-facelets/index.html I cannot seem to get f:metadata to work, e.g.

[SOLVED] Re: JSF2 f:metadata and templates what the feck am I doing wrong?

2011-04-29 Thread Stephen Connolly
as well post the solution anyway so that others might benefit -Stephen On 29 April 2011 10:08, Stephen Connolly stephen.alan.conno...@gmail.comwrote: Myfaces 2.0.5. I have been reading the JSF docs on the f:metadata tag..., e.g. http://javaserverfaces.java.net/nonav/docs/2.0/vdldocs/facelets/f

[NOT SOLVED] Re: JSF2 f:metadata and templates what the feck am I doing wrong?

2011-04-29 Thread Stephen Connolly
the com.sun.faces.validateXml had no effect The problem still exists! HELP! -Stephen On 29 April 2011 10:10, Stephen Connolly stephen.alan.conno...@gmail.comwrote: Ok, I just found the/a solution. that was to remove context-param param-namecom.sun.faces.validateXml/param-name param

Re: [NOT SOLVED] Re: JSF2 f:metadata and templates what the feck am I doing wrong?

2011-04-29 Thread Stephen Connolly
/nonav/docs/2.0/vdldocs/facelets/f/metadata.html say it should work the way I had things originally strange On 29 April 2011 10:23, Stephen Connolly stephen.alan.conno...@gmail.comwrote: Spoke too soon :-( I'd been checking to see if it was the servlet mapping that was causing the issues

Re: [NOT SOLVED] Re: JSF2 f:metadata and templates what the feck am I doing wrong?

2011-04-29 Thread Stephen Connolly
you helps a lot. I'd been stripping examples back and back to try and figure out why it was not working, and the way I'd found was not one I was happy with. Somebody should get the tlddoc updated to reflect the different situation for facelets. Regards, Jakob 2011/4/29 Stephen Connolly

RE: JSF2 and content from the classpath?

2011-03-04 Thread Stephen Connolly
Hi, Just a quick question as I am doing some research. I cannot remember (and my google searches are just turning up far far too much noize) whether it is possible to server content directly from jars on the classpath rather than only from the wars. I'm thinking of a case where you might have a

Re: JSF2 and content from the classpath?

2011-03-04 Thread Stephen Connolly
* See you at JAX and JSF Summit 2010 June 20-23rd in San Jose: http://jaxconf.com/ On Fri, Mar 4, 2011 at 11:45 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Hi, Just a quick question as I am doing some research. I cannot remember (and my google searches are just turning up

Re: JSF2 and content from the classpath?

2011-03-04 Thread Stephen Connolly
is there any example code you know of that you could share? And can I have a pony? ;-) On 4 March 2011 16:56, Kito Mann kito.m...@virtua.com wrote: On Fri, Mar 4, 2011 at 11:55 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: and if this/these .xhtml file(s) are actually

Re: [Trinidad] Regarding PartialTriggers attribute

2010-04-13 Thread Stephen Connolly
On 12 February 2010 14:54, preeti agarwal preetiagarwa...@gmail.com wrote: Hi For our Application we wanted to raise partialTriggers based on three components. Accidentally till now we were using commas to separate them and it worked fine. tr:panelGroupLayout id=panelGroup#{count}

Re: [TRINIDAD] Header rendering multiple times.

2010-03-16 Thread Stephen Connolly
Ooooh! I'll have to check but if that works then it's a work-around for some of my use-cases where this bug is really biting me in the arse... Now if only I could convince the template authors that we have to use to replace tomahawk components with trinidad only components... -Stephen On 15

Re: is there an absolute max file upload size?

2009-10-03 Thread Stephen Connolly
Be aware that the servlet spec defines the filesize as an signed 32 bit*, so that unless code is written correctly, there will always be a hard limit of 2GB on upload with size information in advance... since one DOS attack is to upload a file of unlimited size (thereby filling your storage) most

[Trinidad] Strange form submission issue

2009-07-07 Thread Stephen Connolly
Hi, I have a web application using: Sun JSF RI (1.2 latest version) Facelets (latest) Trinidad 1.2.7 Tomahawk 1.1.8 Seam 2.0.1.GA Some custom corporate components (... which requires the versions of the above) I am seeing this strange issue. I have a form on the first page. tr:form

Re: [Trinidad] Strange form submission issue

2009-07-07 Thread Stephen Connolly
H... if I replace the tr:commandButton with an s:button from seam, the problem goes away 2009/7/7 Stephen Connolly stephen.alan.conno...@gmail.com Hi, I have a web application using: Sun JSF RI (1.2 latest version) Facelets (latest) Trinidad 1.2.7 Tomahawk 1.1.8 Seam 2.0.1.GA Some

Re: [Trinidad] Strange form submission issue

2009-07-07 Thread Stephen Connolly
actually... the problem just moves to the other side of the link... i.e. the page resulting from the s:button action needs to be displayed twice beofre the submit works... with the tr:commandButton, you need to click the button twice, but the page works first time! 2009/7/7 Stephen Connolly