The only thing I can think of is you could try using AppFuse 2.x's
404.jsp.  However, I don't believe anything has changed.  You could
modify your own 404 so it doesn't try to print out the exception,
maybe that will help.

As far as upgrading to 2.x from 1.9.x, we haven't written the upgrade
guide yet.  I do plan on doing this eventually, but it will likely be
after the release.

Matt

On 3/22/07, Eric Taieb <[EMAIL PROTECTED]> wrote:

Well, I have already done that for many of the libraries in 1.9.4 and did it
for MyFaces. I am using 1.1.5 which seems to be the latest stable release...
I have more infos on the issue. I have found this in the tomcat logs:
SEVERE: Exception Processing ErrorPage[errorCode=404, location=/404.jsp]
org.apache.jasper.JasperException: "getOutputStream()" has already been
called for this response
        at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:476)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:383)
        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
        at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
        at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
        at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:364)
        at
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:285)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
        at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:834)
        at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:640)
        at 
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1286)
        at java.lang.Thread.run(Unknown Source)

(I translated the exception from French to English so it might not be the
exact same vocabulary in English)

Thanks again for your help,

On the other hand is there any easy way to upgrade my project to Appfuse 2.0
as I would really like to move from ant to maven... ;-)

Cheers,

Eric


mraible wrote:
>
> Sorry, I was unclear.  I didn't mean upgrade your project, I just
> meant upgrade MyFaces to the latest release.  That should just be a
> matter of downloading the JARs, putting them in a similar structure to
> the current JARs (with a new version name on the directory) and then
> changing the version number in lib/lib.properties.
>
> Matt
>
> On 3/22/07, Eric Taieb <[EMAIL PROTECTED]> wrote:
>>
>> hmmm...I tried to find a howto on the upgrade from 1.9.x ant based code
>> to
>> your new 2.x maven based code and I couldn't find any. Is it "easy" to
>> migrate, could you point me to a document describing the steps involved
>> in
>> upgrading to 2.X version of appfuse... ( I am using
>> Hiberntae/Spring/JSF/Facelets)
>>
>> Thanks again for your help matt!
>>
>> Cheers,
>>
>> --Eric
>>
>>
>>
>> mraible wrote:
>> >
>> > The good news is this appears to be fixed in 2.x.  I imagine it's an
>> > issue caused by MyFaces.  Can you try upgrading to the latest release?
>> >
>> > Matt
>> >
>> > On 3/21/07, Eric Taieb <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Yes. You can try. Just login. It takes you to mainmenu.html
>> >> Then  type in the url something else than mainmenu.html (ie:
>> nopage.html)
>> >> and you get the "ugly" tomcat 404 page, which I would like my user not
>> to
>> >> see.. :-)
>> >>
>> >> Thanks for your quick responses!
>> >>
>> >> Cheers,
>> >>
>> >> --Eric
>> >>
>> >>
>> >>
>> >> mraible wrote:
>> >> >
>> >> > Does this same behavior happen on the demo site?
>> >> >
>> >> > Http://demo.appfuse.org/appfuse-jsf
>> >> >
>> >> > Matt
>> >> >
>> >> >
>> >> > On 3/21/07, Eric Taieb <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >> I am using Hibernate/ Spring /JSF with facelets (default faces
>> >> extensions
>> >> >> .xhtml).
>> >> >>
>> >> >> -Eric
>> >> >>
>> >> >>
>> >> >>
>> >> >> mraible wrote:
>> >> >> >
>> >> >> > Which web framework are you using?
>> >> >> >
>> >> >> > Matt
>> >> >> >
>> >> >> >
>> >> >> > On 3/21/07, Eric Taieb <[EMAIL PROTECTED]> wrote:
>> >> >> >>
>> >> >> >> Hi,
>> >> >> >>
>> >> >> >> I have appfuse 1.9.4 installed. If I request an inexistent jsp
>> >> file,
>> >> >> >> 4040.jsp is called perfectly.
>> >> >> >> On the other hand if I request an inexistent html file (ie:
>> >> >> dsqsqs.html)
>> >> >> >> the
>> >> >> >> 404 error is Tomcat's 404 page.
>> >> >> >>
>> >> >> >> Is this normal? is there anyway to have all 404 display the
>> nicely
>> >> >> >> formatted
>> >> >> >> 404.jsp page?
>> >> >> >>
>> >> >> >> Thanks in advance for your help,
>> >> >> >>
>> >> >> >> Cheers,
>> >> >> >>
>> >> >> >> Eric
>> >> >> >> --
>> >> >> >> View this message in context:
>> >> >> >>
>> >> >>
>> >>
>> 
http://www.nabble.com/404-working-for-jsp-but-not-for-html-files-tf3441675s2369.html#a9596936
>> >> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >> >> >>
>> >> >> >>
>> >> ---------------------------------------------------------------------
>> >> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > http://raibledesigns.com
>> >> >> >
>> >> >> >
>> >> ---------------------------------------------------------------------
>> >> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> >> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> 
http://www.nabble.com/404-working-for-jsp-but-not-for-html-files-tf3441675s2369.html#a9597389
>> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > http://raibledesigns.com
>> >> >
>> >> >
>> ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >> >
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> 
http://www.nabble.com/404-working-for-jsp-but-not-for-html-files-tf3441675s2369.html#a9597764
>> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > --
>> > http://raibledesigns.com
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> 
http://www.nabble.com/404-working-for-jsp-but-not-for-html-files-tf3441675s2369.html#a9612439
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> http://raibledesigns.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

--
View this message in context: 
http://www.nabble.com/404-working-for-jsp-but-not-for-html-files-tf3441675s2369.html#a9617621
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to