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
(WebContainer.java:1657)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready
(WCChannelLink.java:77)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminat
ion(HttpInboundLink.java:421)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformat
ion(HttpInboundLink.java:367)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete
(HttpICLReadCallback.java:94)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete
(WorkQueueManager.java:548)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO
(WorkQueueManager.java:601)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun
(WorkQueueManager.java:934)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run
(WorkQueueManager.java:1021)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/