You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Jiehuan Li <ji...@yahoo.com> on 2005/10/12 04:00:08 UTC

need help in running the 'simple.war' from myfaces-20051006-examples


> 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.createAndMaybeStoreManagedBeans(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.handleDiscrimination(HttpInboundLink.java:421)
> 	at
>
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(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/

Re: need help in running the 'simple.war' from myfaces-20051006-examples

Posted by Sean Schofield <se...@gmail.com>.
This appears to be a problem with the thread pooling of your app
server and not MyFaces.

sean

On 10/11/05, Jiehuan Li <ji...@yahoo.com> 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.createAndMaybeStoreManagedBeans(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.handleDiscrimination(HttpInboundLink.java:421)
> >       at
> >
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(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/
>