myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jiehuan Li <jiehuan...@yahoo.com>
Subject Re: need help in running the 'simple.war' from myfaces-20051006-examples
Date Wed, 12 Oct 2005 16:11:17 GMT
Thanks so much!  After I moved the jsf-api.jar and
ws-jsf.jar out of the way from the server's lib
directory, it started to work like a charm!

--- Bill Dudney <bdudney@mac.com> wrote:

> Looks to me like a conflict between the RI and
> MyFaces  
> (com.sun.faces.config.ManagedBeanFactory should not
> be in the  
> classpath while using myfaces).
> 
> Search the RAD deployment env for the RI. I think
> (but don't know for  
> sure) that the RI is the basis for the IBM impl so
> that is probably  
> the source of the problem.
> 
> HTH,
> 
> -bd-
> 
> On Oct 11, 2005, at 4:08 PM, Jiehuan Li wrote:
> 
> > I imported the simple.war to Rational Application
> > Developer 6.0, and tried to run it on the
> Websphere
> > Application Server 6.0 test environment that came
> with
> > RAD.  The home page can be loaded, but many
> features
> > in the example application don't work, and I am
> > getting the following exceptions?  Did I miss
> > anything?  Any help would be highly appreciated.
> >
> > 4 EDT] 0000003a SystemErr     R     at
> >
>
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO
> 
> > (WorkQueueManager.java:601)
> > [10/10/05 17:40:24:714 EDT] 0000003a SystemErr    
> R
> > at
> >
>
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun
> 
> > (WorkQueueManager.java:934)
> > [10/10/05 17:40:24:714 EDT] 0000003a SystemErr    
> R
> > at
> >
>
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run
> 
> > (WorkQueueManager.java:1021)
> > [10/10/05 17:40:24:714 EDT] 0000003a SystemErr    
> R
> > at
> >
>
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
> > [10/10/05 17:40:24:714 EDT] 0000003a SystemErr    
> R
> > Caused by: javax.faces.FacesException: Can't set
> > managed bean property: 'instance'.
> > [10/10/05 17:40:24:714 EDT] 0000003a SystemErr    
> R
> > at
> >
>
com.sun.faces.config.ManagedBeanFactory.setPropertiesIntoBean
> 
> > (ManagedBeanFactory.java:582)
> > [10/10/05 17:40:24:714 EDT] 0000003a SystemErr    
> R
> > at
> >
> com.sun.faces.config.ManagedBeanFactory.newInstance 
> > (ManagedBeanFactory.java:234)
> > [10/10/05 17:40:24:714 EDT] 0000003a SystemErr    
> R
> > at
> >
>
com.sun.faces.application.ApplicationImpl.createAndMaybeStoreManagedBe
> 
> > ans(ApplicationImpl.java:899)
> > [10/10/05 17:40:24:714 EDT] 0000003a SystemErr    
> R
> > ... 128 more
> > [10/10/05 17:40:24:714 EDT] 0000003a SystemErr    
> R
> > Caused by: java.lang.NullPointerException
> > [10/10/05 17:40:24:714 EDT] 0000003a SystemErr    
> R
> > at
> >
>
com.sun.faces.config.ManagedBeanFactory.getScopeForSingleExpression
> 
> > (ManagedBeanFactory.java:988)
> > [10/10/05 17:40:24:714 EDT] 0000003a SystemErr    
> R
> > at
> >
>
com.sun.faces.config.ManagedBeanFactory.hasValidLifespan
> 
> > (ManagedBeanFactory.java:931)
> > [10/10/05 17:40:24:714 EDT] 0000003a SystemErr    
> R
> > at
> >
>
com.sun.faces.config.ManagedBeanFactory.evaluateValueBindingGet
> 
> > (ManagedBeanFactory.java:892)
> > [10/10/05 17:40:24:714 EDT] 0000003a SystemErr    
> R
> > at
> >
>
com.sun.faces.config.ManagedBeanFactory.setPropertiesIntoBean
> 
> > (ManagedBeanFactory.java:553)
> > [10/10/05 17:40:24:714 EDT] 0000003a SystemErr    
> R
> > ... 130 more
> > [10/11/05 15:27:27:954 EDT] 00000038 SystemErr    
> R
> > java.lang.NullPointerException
> >     at
> >
>
javax.faces.component.UIComponentBase.processRestoreState
> 
> > (UIComponentBase.java:1032)
> >     at
> >
>
javax.faces.component.UIComponentBase.processRestoreState
> 
> > (UIComponentBase.java:1043)
> >     at
> >
>
javax.faces.component.UIComponentBase.processRestoreState
> 
> > (UIComponentBase.java:1043)
> >     at
> >
>
com.sun.faces.application.StateManagerImpl.restoreComponentState
> 
> > (StateManagerImpl.java:282)
> >     at
> >
>
com.sun.faces.application.StateManagerImpl.restoreView
> 
> > (StateManagerImpl.java:195)
> >     at
> >
>
com.sun.faces.application.ViewHandlerImpl.restoreView
> 
> > (ViewHandlerImpl.java:345)
> >     at
> > com.sun.faces.lifecycle.RestoreViewPhase.execute 
> > (RestoreViewPhase.java:158)
> >     at
> >
>
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:201)
> >     at
> >
>
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:91)
> >     at
> >
>
javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
> >     at
> >
>
com.ibm.ws.webcontainer.servlet.ServletWrapper.service
> 
> > (ServletWrapper.java:1212)
> >     at
> >
>
com.ibm.ws.webcontainer.servlet.ServletWrapper.service
> 
> > (ServletWrapper.java:1173)
> >     at
> >
>
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter
> 
> > (WebAppFilterChain.java:92)
> >     at
> >
>
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter
> 
> > (ExtensionsFilter.java:122)
> >     at
> >
>
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter
> 
> > (FilterInstanceWrapper.java:142)
> >     at
> >
>
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter
> 
> > (WebAppFilterChain.java:77)
> >     at
> >
>
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest
> 
> > (ServletWrapper.java:626)
> >     at
> >
>
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest
> 
> > (CacheServletWrapper.java:80)
> >     at
> > com.ibm.ws.webcontainer.WebContainer.handleRequest
> 
> 
=== message truncated ===



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

Mime
View raw message