myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gautam Trivedi" <gautam.triv...@gmail.com>
Subject Re: StateUtils.construct NoSuchMethod
Date Thu, 13 Dec 2007 10:28:22 GMT
Hi Simon,

     Can you please let me know which is the latest jar file version
available on internet ?
And if possible please put me on the link so that I can download the file.
Thank you .

-Gautam

On Dec 13, 2007 3:52 PM, Simon Kitching <simon.kitching@chello.at> wrote:

> Hi Gautam,
>
> This is unlikely to be anything to do with Linux. It's almost certainly a
> misconfigured classpath in your environment, so I've changed the email
> subject.
>
> The StateUtils.construct method in older releases of MyFaces took just one
> Object parameter. But more recent releases have only a version that takes
> two parameters.
>
> So it would appear that in your environment a newer
> HtmlResponseStatemanager is invoking a method on an old StateUtils.
>
> I suggest you check the shared lib directories of your container. The app
> may be picking up an old version from there. Or your webapp has bad jars in
> it.
>
> Regards,
>
> Simon
>
> ---- GTrivedi <gautam.trivedi@gmail.com> schrieb:
> >
> > When I request for xhtml page on the linux environment we are facing
> > following error. Please anyone help me out. Its the jetty webserver used
> > here.
> >
> > HTTP ERROR: 500
> >
> > org.apache.myfaces.util.StateUtils.construct
> (Ljava/lang/Object;)Ljava/lang/String;
> >
> > RequestURI=/MAWebsite/pages/medication.faces
> > Caused by:
> >
> > java.lang.NoSuchMethodError:
> > org.apache.myfaces.util.StateUtils.construct
> (Ljava/lang/Object;)Ljava/lang/String;
> >       at
> > org.apache.myfaces.renderkit.html.HtmlResponseStateManager.writeState(
> HtmlResponseStateManager.java:72)
> >       at
> > org.apache.myfaces.application.jsp.JspStateManagerImpl.writeState(
> JspStateManagerImpl.java:362)
> >       at
> > com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java
> :605)
> >       at
> > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java
> :372)
> >       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
> >       at org.mortbay.jetty.servlet.ServletHolder.handle(
> ServletHolder.java:487)
> >       at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
> ServletHandler.java:1098)
> >       at
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> FilterChainProxy.java:265)
> >       at
> > org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(
> FilterSecurityInterceptor.java:107)
> >       at
> > org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(
> FilterSecurityInterceptor.java:72)
> >       at
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> FilterChainProxy.java:275)
> >       at
> > org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(
> ExceptionTranslationFilter.java:166)
> >       at
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> FilterChainProxy.java:275)
> >       at
> > org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter
> (AnonymousProcessingFilter.java:125)
> >       at
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> FilterChainProxy.java:275)
> >       at
> > org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(
> RememberMeProcessingFilter.java:142)
> >       at
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> FilterChainProxy.java:275)
> >       at
> > org.acegisecurity.ui.AbstractProcessingFilter.doFilter(
> AbstractProcessingFilter.java:271)
> >       at
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> FilterChainProxy.java:275)
> >       at org.acegisecurity.ui.logout.LogoutFilter.doFilter(
> LogoutFilter.java:110)
> >       at
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> FilterChainProxy.java:275)
> >       at
> > org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(
> HttpSessionContextIntegrationFilter.java:249)
> >       at
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> FilterChainProxy.java:275)
> >       at
> > org.medicalert.filters.HttpAuthenticationFilter.doFilter(
> HttpAuthenticationFilter.java:49)
> >       at
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> FilterChainProxy.java:275)
> >       at
> > org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java
> :149)
> >       at
> > org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java
> :98)
> >       at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
> ServletHandler.java:1089)
> >       at org.mortbay.jetty.servlet.ServletHandler.handle(
> ServletHandler.java:365)
> >       at
> > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java
> :216)
> >       at org.mortbay.jetty.servlet.SessionHandler.handle(
> SessionHandler.java:181)
> >       at org.mortbay.jetty.handler.ContextHandler.handle(
> ContextHandler.java:712)
> >       at org.mortbay.jetty.webapp.WebAppContext.handle(
> WebAppContext.java:405)
> >       at
> > org.mortbay.jetty.handler.ContextHandlerCollection.handle(
> ContextHandlerCollection.java:211)
> >       at
> > org.mortbay.jetty.handler.HandlerCollection.handle(
> HandlerCollection.java:114)
> >       at org.mortbay.jetty.handler.HandlerWrapper.handle(
> HandlerWrapper.java:139)
> >       at org.mortbay.jetty.Server.handle(Server.java:285)
> >       at org.mortbay.jetty.HttpConnection.handleRequest(
> HttpConnection.java:502)
> >       at
> > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(
> HttpConnection.java:821)
> >       at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
> >       at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java
> :208)
> >       at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java
> :378)
> >       at
> > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java
> :368)
> >       at
> > org.mortbay.thread.BoundedThreadPool$PoolThread.run(
> BoundedThreadPool.java:442)
> >
> > --
> > View this message in context:
> http://www.nabble.com/Myfaces-on-LINUX-tp14313014p14313014.html
> > Sent from the MyFaces - Users mailing list archive at Nabble.com.
> >
>
>


-- 
Regards,
Gautam Trivedi

Mime
View raw message