myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GTrivedi <gautam.triv...@gmail.com>
Subject Re: Myfaces on LINUX
Date Fri, 14 Dec 2007 04:51:30 GMT

Hi, I am using following jar files for MyFaces. Let me know if this is wrong
version.

myfaces-api-1.1.2-SNAPSHOT.jar
myfaces-commons-1.1.2-SNAPSHOT.jar
myfaces-impl-1.1.2-SNAPSHOT.jar

The stack trace I have pasted coming from
myfaces-commons-1.1.2-SNAPSHOT.jar.




Bruno Aranda wrote:
> 
> It seems to me that there is something wrong in the classpath with two
> different versions of myfaces around. Can you list the jars in your
> classpath? What version of MyFaces are you using?
> 
> Cheers,
> 
> Bruno
> 
> On 13/12/2007, GTrivedi <gautam.trivedi@gmail.com> wrote:
>>
>> 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.
>>
>>
> 
> 


-----
Gautam Trivedi
Programmer Analyst
-- 
View this message in context: http://www.nabble.com/Myfaces-on-LINUX-tp14313014p14330177.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message