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