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 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 Myfaces in log files.

[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 wrote: > On 21 December 2011 13:50, Stephen Connolly > wrote: >> Ok, >> >> first side peeve is that I have to use >> >>   >>     >> org.apache.myfaces.webapp.StartupServletContextListener >>   >

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 wrote: > Ok, > > first side peeve is that I have to use > >   >     > org.apache.myfaces.webapp.StartupServletContextListener >   > > with jetty 8... Ok, not my main problem, but the issue with the above is that for som

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 org.apache.myfaces.webapp.StartupServletContextListener with jetty 8... but that is not my issue (though it could be related) my issue is that as soon as com.sun.jersey.server.impl.container.servlet.JerseyServletContainerInitializer is on t

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

Re: JVM optimized memory setting for server

2011-12-19 Thread Stephen Connolly
ear 1.8GB ;) > > I hope not many people need to deal with this stuff nowadays anymore > though :) > > LieGrue, > strub > > > > - Original Message - > > From: Stephen Connolly > > To: MyFaces Discussion > > Cc: > > Sent: Monday, December 19

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 time

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 fragmentation...

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

2011-04-29 Thread Stephen Connolly
.com/jsf/html"; >xmlns:f="http://java.sun.com/jsf/core";> > > > > >... >... > > > I hope this helps ;) > > Yes thank you helps a lot. I'd been stripping examples back and back to try and figure out why it was n

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

2011-04-29 Thread Stephen Connolly
:f=" http://java.sun.com/jsf/core";> Then it seems to work... but the tagdocs on http://javaserverfaces.java.net/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 wrote: >

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

2011-04-29 Thread Stephen Connolly
moving the com.sun.faces.validateXml had no effect The problem still exists! HELP! -Stephen On 29 April 2011 10:10, Stephen Connolly wrote: > Ok, I just found the/a solution. > > that was to remove > > > com.sun.faces.validateXml > true > > > from the web

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

2011-04-29 Thread Stephen Connolly
-Stephen On 29 April 2011 10:08, Stephen Connolly wrote: > 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/t

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. */WEB-INF/templ

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 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)

Re: JSF2 and content from the classpath?

2011-03-04 Thread Stephen Connolly
er/editorsdesk/category/JSF+and+Java+EE+Newscast > * 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

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: [Trinidad] Regarding PartialTriggers attribute

2010-04-13 Thread Stephen Connolly
On 12 February 2010 14:54, preeti agarwal 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. > > partialTriggers="link#{count},h_anchors#{count},expandAll"> > >

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 Mar

Re: is there an absolute max file upload size?

2009-10-02 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 g

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

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 > 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

[Trinidad] Strange form submission issue

2009-07-06 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. ... The fir