You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Guilherme Gomes <gu...@yahoo.com> on 2005/08/21 03:18:34 UTC

help moving from public 1.0.9 to nightly build

So I'm trying to use the nightly build.
I changed the jars, now using the 3 jar files.
Everything starts fine on JBOSS 4.0, but when i try to
run the examples....

This is what i get on my application:


01:56:39,943 ERROR [Engine]
ApplicationDispatcher[/alfa] Servlet.service() for
servlet jsp threw exception
java.lang.IllegalArgumentException: ContentTypeList
does not contain a supported content type: */*
	at
org.apache.myfaces.renderkit.html.HtmlRenderKitImpl.createResponseWriter(HtmlRenderKitImpl.java:142)
	at
javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:622)
	at
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)
	at
org.apache.jsp.test_jsp._jspx_meth_h_outputText_0(test_jsp.java:75)
	at
org.apache.jsp.test_jsp._jspService(test_jsp.java:52)
	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
	at
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	at
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	


or this trying to open blank example:

01:56:55,926 ERROR [Engine]
ApplicationDispatcher[/simple] Servlet.service() for
servlet jsp threw exception
java.lang.IllegalArgumentException: ContentTypeList
does not contain a supported content type: image/gif,
image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, */*
	at
org.apache.myfaces.renderkit.html.HtmlRenderKitImpl.createResponseWriter(HtmlRenderKitImpl.java:142)
	at
javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:622)
	at
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)


01:56:55,936 ERROR [Engine] StandardWrapperValve[Faces
Servlet]: Servlet.service() for servlet Faces Servlet
threw exception
javax.faces.FacesException: ContentTypeList does not
contain a supported content type: image/gif,
image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, */*
	at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
	at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:228)
	at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:299)
	

and


Caused by: org.apache.jasper.JasperException:
ContentTypeList does not contain a supported content
type: image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, application/x-shockwave-flash, */*
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)


if running tiles example:

java.lang.NullPointerException

org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:165)

org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:299)

javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)

org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)



When i copied the myfacs.jar from one of the examples
into the lib dir of JBOSS'es default server, some
examples ran fine - the more simple ones - but
exception appeared anyway.

Any ideas on what's going on ?





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: help moving from public 1.0.9 to nightly build

Posted by Guilherme Gomes <gu...@yahoo.com>.
Yes, i first tried using the august 20 night build,
then the others.

I will try tonight's build to see if what you checked
in helps in this issue.

Thanks for your time.

Regards

Guilherme Gomes




		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

Re: help moving from public 1.0.9 to nightly build

Posted by Guilherme Gomes <gu...@yahoo.com>.
Martin,

I have changed to the nightly build of August 21.
The ContentTypeList still appears as an error, but not
as an exception:

11:44:18,694 ERROR [HtmlRenderKitImpl] ContentTypeList
does not contain a supported content type: */*
11:44:35,989 ERROR [HtmlRenderKitImpl] ContentTypeList
does not contain a supported content type: image/gif,
image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, */*

So everything renders fine as far as i'm concerned.

And the error only appeared once, as i entered my
application main page. After that, even though i tried
every page and returned to the main page, the error di
not appear.

As i see no other problem besides the error warning so
far, i am now using this build.

Anything else just let me know.

Thanks for the attention.

Regards

Guilherme Gomes

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: help moving from public 1.0.9 to nightly build

Posted by Martin Marinschek <ma...@gmail.com>.
I checked something in yesterday which should get rid of this problem.

Have you tried it out with the latest nightly build as well?

regards,

Martin

On 8/21/05, Guilherme Gomes <gu...@yahoo.com> wrote:
> Well, after some further testing...
> The only night build that works from the available set
>  with dates august 15 to 20
> is the august 16 night build.
> 
> All others give me that ContentTypeList exceptions.
> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Read only the mail you want - Yahoo! Mail SpamGuard.
> http://promotions.yahoo.com/new_mail
> 


-- 

http://www.irian.at
Your JSF powerhouse - 
JSF Trainings in English and German

Re: help moving from public 1.0.9 to nightly build

Posted by Guilherme Gomes <gu...@yahoo.com>.
Well, after some further testing...
The only night build that works from the available set
 with dates august 15 to 20
is the august 16 night build.

All others give me that ContentTypeList exceptions.



		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 

Re: help moving from public 1.0.9 to nightly build

Posted by Guilherme Gomes <gu...@yahoo.com>.
Ok, forget it. My fault.

I was using a few commons*.jar on the jboss lib
directory and deploying other myfaces*.jar on the war
file.

That setup didn't work that well when i changed to the
new myfaces-api,myfaces-impl and tomahawk package.



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com