JSF + Ajax4JSF Error

Hi,
I used Ajax4JSF components in my JSF JSP page. Some times the users are getting the following error when they are accessing the components related to Ajax4JSF.
They are getting the error on a pop-up window and the error is:
Request Error, Status : 500 Internal Server Error Message : Undefined.
Can anybody tell why this error is coming and how to fix this issue. If I checked the Log files, some times I am seeing IllegalStateException and some times it is Concurrent Acess to a HashMap error. If you have any links related to these errors please send.
Thanks.
Edited by: Ramesh_Pappala on Jul 11, 2008 12:59 PM

Thank you BalusC. The below one is the exception I am getting whenever the request error: 500 comes as a pop-up to the user.
Exception:
[7/11/08 9:38:46:705 CDT] 00000020 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: Faces Servlet. Exception thrown : javax.servlet.ServletException: concurrent access to HashMap attempted by Thread[WebContainer : 3,5,main]
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:166)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
     at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
     at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
     at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:225)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)
     at com.ibm.faces.context.MultipartExternalContextImpl.dispatch(MultipartExternalContextImpl.java:411)
     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:257)
     at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
     at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
     at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
     at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
     at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
     at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
     at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
     at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
     at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
     at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
     at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
     at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
     at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
     at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
     at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
     at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
     at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
---- Begin backtrace for Nested Throwables
java.util.ConcurrentModificationException: concurrent access to HashMap attempted by Thread[WebContainer : 3,5,main]
     at java.util.HashMap.onExit(HashMap.java:226)
     at java.util.HashMap.transfer(HashMap.java:690)
     at java.util.HashMap.resize(HashMap.java:676)
     at java.util.HashMap.addEntry(HashMap.java:1049)
     at java.util.HashMap.put(HashMap.java:561)
     at javax.faces.component.UIData.saveDescendantState(UIData.java:1151)
     at javax.faces.component.UIData.saveDescendantState(UIData.java:1162)
     at javax.faces.component.UIData.saveDescendantState(UIData.java:1162)
     at javax.faces.component.UIData.saveDescendantState(UIData.java:1127)
     at javax.faces.component.UIData.setRowIndex(UIData.java:374)
     at com.ibm.faces.renderkit.html_extended.DataTableExRenderer.encodeChildren(DataTableExRenderer.java:442)
     at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:735)
     at org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:237)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:197)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:190)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:190)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:190)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:190)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:126)
     at org.ajax4jsf.framework.ajax.AjaxViewRoot.encodeAjax(AjaxViewRoot.java:574)
     at org.ajax4jsf.framework.ajax.AjaxViewRoot.encodeChildren(AjaxViewRoot.java:437)
     at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:611)
     at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:548)
     at com.sun.faces.taglib.jsf_core.ViewTag.doEndTag(ViewTag.java:216)
     at com.ibm._jsp._dispatchCentral._jspService(_dispatchCentral.java:363)
     at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
     at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
     at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
     at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:225)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)
     at com.ibm.faces.context.MultipartExternalContextImpl.dispatch(MultipartExternalContextImpl.java:411)
     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:257)
     at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
     at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
     at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
     at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
     at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
     at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
     at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
     at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
     at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
     at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
     at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
     at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
     at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
     at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
     at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
     at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
     at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
[7/11/08 9:38:46:720 CDT] 00000020 WebApp E [Servlet Error]-[Faces Servlet]: java.util.ConcurrentModificationException: concurrent access to HashMap attempted by Thread[WebContainer : 3,5,main]
     at java.util.HashMap.onExit(HashMap.java:226)
     at java.util.HashMap.transfer(HashMap.java:690)
     at java.util.HashMap.resize(HashMap.java:676)
     at java.util.HashMap.addEntry(HashMap.java:1049)
     at java.util.HashMap.put(HashMap.java:561)
     at javax.faces.component.UIData.saveDescendantState(UIData.java:1151)
     at javax.faces.component.UIData.saveDescendantState(UIData.java:1162)
     at javax.faces.component.UIData.saveDescendantState(UIData.java:1162)
     at javax.faces.component.UIData.saveDescendantState(UIData.java:1127)
     at javax.faces.component.UIData.setRowIndex(UIData.java:374)
     at com.ibm.faces.renderkit.html_extended.DataTableExRenderer.encodeChildren(DataTableExRenderer.java:442)
     at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:735)
     at org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:237)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:197)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:190)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:190)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:190)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:190)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:126)
     at org.ajax4jsf.framework.ajax.AjaxViewRoot.encodeAjax(AjaxViewRoot.java:574)
     at org.ajax4jsf.framework.ajax.AjaxViewRoot.encodeChildren(AjaxViewRoot.java:437)
     at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:611)
     at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:548)
     at com.sun.faces.taglib.jsf_core.ViewTag.doEndTag(ViewTag.java:216)
     at com.ibm._jsp._dispatchCentral._jspService(_page.java:363)
     at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
     at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
     at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
     at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:225)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)
     at com.ibm.faces.context.MultipartExternalContextImpl.dispatch(MultipartExternalContextImpl.java:411)
     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:257)
     at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
     at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
     at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
     at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
     at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
     at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
     at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
     at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
     at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
     at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
     at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
     at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
     at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
     at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
     at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
     at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
     at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
[7/11/08 9:38:46:751 CDT] 00000034 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: Faces Servlet. Exception thrown : javax.servlet.ServletException: concurrent access to HashMap attempted by Thread[WebContainer : 9,5,main]
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:166)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
     at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
     at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
     at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:225)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)
     at com.ibm.faces.context.MultipartExternalContextImpl.dispatch(MultipartExternalContextImpl.java:411)
     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:257)
     at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
     at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
     at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
     at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
     at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
     at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
     at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
     at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
     at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
     at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
     at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
     at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
     at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
     at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
     at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
     at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
     at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
     at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
---- Begin backtrace for Nested Throwables
java.util.ConcurrentModificationException: concurrent access to HashMap attempted by Thread[WebContainer : 9,5,main]
     at java.util.HashMap.onEntry(HashMap.java:214)
     at java.util.HashMap.transfer(HashMap.java:686)
     at java.util.HashMap.resize(HashMap.java:676)
     at java.util.HashMap.addEntry(HashMap.java:1049)
     at java.util.HashMap.put(HashMap.java:561)
     at javax.faces.component.UIData.saveDescendantState(UIData.java:1151)
     at javax.faces.component.UIData.saveDescendantState(UIData.java:1162)
     at javax.faces.component.UIData.saveDescendantState(UIData.java:1162)
     at javax.faces.component.UIData.saveDescendantState(UIData.java:1127)
     at javax.faces.component.UIData.setRowIndex(UIData.java:374)
     at com.ibm.faces.renderkit.html_extended.DataTableExRenderer.encodeChildren(DataTableExRenderer.java:442)
     at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:735)
     at org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:237)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:197)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:190)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:190)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:190)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:190)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:126)
     at org.ajax4jsf.framework.ajax.AjaxViewRoot.encodeAjax(AjaxViewRoot.java:574)
     at org.ajax4jsf.framework.ajax.AjaxViewRoot.encodeChildren(AjaxViewRoot.java:437)
     at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:611)
     at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:548)
     at com.sun.faces.taglib.jsf_core.ViewTag.doEndTag(ViewTag.java:216)
     at com.ibm._jsp._dispatchCentral._jspService(_page.java:363)
     at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
     at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
     at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
     at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:225)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)
     at com.ibm.faces.context.MultipartExternalContextImpl.dispatch(MultipartExternalContextImpl.java:411)
     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:257)
     at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
     at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
     at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
     at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
     at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
     at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
     at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
     at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
     at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
     at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
     at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
     at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
     at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
     at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
     at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
     at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
     at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
     at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
[7/11/08 9:38:46:751 CDT] 00000034 WebApp E [Servlet Error]-[Faces Servlet]: java.util.ConcurrentModificationException: concurrent access to HashMap attempted by Thread[WebContainer : 9,5,main]
     at java.util.HashMap.onEntry(HashMap.java:214)
     at java.util.HashMap.transfer(HashMap.java:686)
     at java.util.HashMap.resize(HashMap.java:676)
     at java.util.HashMap.addEntry(HashMap.java:1049)
     at java.util.HashMap.put(HashMap.java:561)
     at javax.faces.component.UIData.saveDescendantState(UIData.java:1151)
     at javax.faces.component.UIData.saveDescendantState(UIData.java:1162)
     at javax.faces.component.UIData.saveDescendantState(UIData.java:1162)
     at javax.faces.component.UIData.saveDescendantState(UIData.java:1127)
     at javax.faces.component.UIData.setRowIndex(UIData.java:374)
     at com.ibm.faces.renderkit.html_extended.DataTableExRenderer.encodeChildren(DataTableExRenderer.java:442)
     at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:735)
     at org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:237)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:197)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:190)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:190)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:190)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjaxChild(AjaxContainerRenderer.java:190)
     at org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:126)
     at org.ajax4jsf.framework.ajax.AjaxViewRoot.encodeAjax(AjaxViewRoot.java:574)
     at org.ajax4jsf.framework.ajax.AjaxViewRoot.encodeChildren(AjaxViewRoot.java:437)
     at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:611)
     at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:548)
     at com.sun.faces.taglib.jsf_core.ViewTag.doEndTag(ViewTag.java:216)
     at com.ibm._jsp._dispatchCentral._jspService(_page.java:363)
     at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
     at com.ibm.ws.

Similar Messages

  • Problem displaying error page of web.xml when using JSF, Ajax4jsf

    Hi,
    My application is using MyFaces, RichFaces and Ajax4jsf. When i try to display error page configured in web.xml, i am getting exception "Error while processing error page".
    my web.xml contents are as follows:
    <?xml version="1.0"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <filter>
    <display-name>RichFaces Filter</display-name>
    <filter-name>richfaces</filter-name>
    <filter-class>org.ajax4jsf.Filter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>richfaces</filter-name>
    <servlet-name>faces</servlet-name>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter>
    <filter-name>extensionsFilter</filter-name>
    <filter-class>
    org.apache.myfaces.webapp.filter.ExtensionsFilter
    </filter-class>
    <init-param>
    <description>
    set the size limit for uploaded files. Format: 10 - 10 bytes 10k
    - 10 KB 10m - 10 MB 1g - 1 GB
    </description>
    <param-name>uploadMaxFileSize</param-name>
    <param-value>100m</param-value>
    </init-param>
    <init-param>
    <description>
    Set the threshold size - files below this limit are stored in
    memory, files above this limit are stored on disk.
    Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
    </description>
    <param-name>uploadThresholdSize</param-name>
    <param-value>100k</param-value>
    </init-param>
    </filter>
    <filter>
    <filter-name>Seam Redirect Filter</filter-name>
    <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
    </filter>
    <filter>
    <filter-name>KTServletFilter</filter-name>
    <filter-class>com.kenexa.core.system.KTServletFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>Seam Redirect Filter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>KTServletFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <!-- seam Listeners -->
    <listener>
    <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
    </listener>
    <listener>
    <listener-class>com.kenexa.kr.web.KRServletListener</listener-class>
    </listener>
    <servlet>
    <servlet-name>faces</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>faces</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <error-page>
    <exception-type>java.lang.Throwable</exception-type>
    <location>/rc/systemError.jsf</location>
    </error-page>
    </web-app>
    As per the configuration, when exception is thrown out of the application, container tries to display systemError.jsp page. If we want to include the JSF tags in systemError.jsp page, the request should pass through FacesServlet, so in the <error-page> <location> tag systemError page is specified with the extention systemError.jsf though it's actual extention is .jsp
    When exception is thrown from the application container invoke the error page but, while rendering systemError.jsf page exception is thrown saying "Exception processing error page "systemError.jsp" "
    To solve this problem i've gone through several forums, materials.
    In one forum a guy said, JSF1.1 spec has some problem in displaying error pages. To solve this don't write <f:view> tags in the error page, use <f:subview> intstead. By reading this, i again changed the contents of systemError.jsp page replacing <f:view> by <f:subview>. But the error is still repeating.
    Finally what i found is, when we use Ajax4jsf in the application, its AjaxViewRender class is throwing exception while rendering error pages configured through web.xml.
    So what i did is i changed error page extention from .jsf to .jsp in the <location> tag. Now jsf won't come in the picture and remove JSF related tags from the systemError.jsp page.
    <error-page>
    <exception-type>java.lang.Throwable</exception-type>
    <location>/rc/systemError.jsp</location>
    </error-page>
    Any comments are welcome----------------------------------------------------------------

    I too iam facing the same problem could you advise if you have found any solutions
              -Ram

  • Problem overriding default JSF conversion error messages

    Hello !
    I have a problem to override default JSF conversation error message. I have an inputText which is binded to BigDecimal attribute, so when I enter a character in that field I get this error message: "- Conversion failed."
    I think I need to register the message bundle in my faces config, and put the key of this error message to my properties file.. am I right ?
    Can somebody help me with this ? Which key I need to put into the properties file ?
    Miljan

    Get [Sun's Java EE tutorial |https://www.sun.com/offers/details/JavaEETutorial.xml?cid=20090723ZA_TACO_JVEE_0004] and read the relevant section so you don't have to guess what you need to do.

  • JSF 404 Error

    Hello,
    I have googled a long time, but I couldn't find a solution to my problem.
    I am developing my first JSF 1.2 Application in combination with Tomcat 6 with Eclipse.
    I have imported all libraries needed (jsf_api, jsf_impl, jstl etc.). When I call a JSF page, I get a 404 resource not found error.
    Normal JSP projects work perfectly.
    These are the contents of my web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
      <display-name>test</display-name>
      <servlet>
           <servlet-name>Faces Servlet</servlet-name>
           <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
           <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet-mapping>
           <servlet-name>Faces Servlet</servlet-name>
           <url-pattern>*.jsf</url-pattern>
      </servlet-mapping>
      <welcome-file-list>
           <welcome-file>index.jsp</welcome-file>
      </welcome-file-list>
    </web-app>Basically I followed this tutorial to set up my first jsf app: http://www.eclipse.org/webtools/jsf/dev_resource/JSFTutorial-RC3/JSFTools_tutorial.html .
    There are two versions, one with JSF 1.1 support which worked, and one with JSF 1.2 support which didn't work.
    Thanks in advance,
    Tobias
    Message was edited by:
    tobiasgp

    I have found the following error messages in Tomcat's console output:
    INFO: Initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context '/test'
    19.07.2007 18:38:40 com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Completed initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context '/test'
    19.07.2007 18:38:40 org.apache.catalina.core.StandardContext listenerStart
    SCHWERWIEGEND: Exception sending context initialized event to listener instance of class com.sun.faces.config.GlassFishConfigureListener
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
         at org.ajax4jsf.framework.DebugLifecycleFactory.<clinit>(DebugLifecycleFactory.java:39)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:567)
         at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:460)
         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:256)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1106)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:766)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:529)
         at com.sun.faces.config.GlassFishConfigureListener.contextInitialized(GlassFishConfigureListener.java:47)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    19.07.2007 18:38:40 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Error listenerStart
    19.07.2007 18:38:40 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Context [test] startup failed due to previous errors
    SCHWERWIEGEND = Fatal ;-)
    I have just removed AJAX4JSF and it works! How shall I go on if I would like to use it?
    Message was edited by:
    tobiasgp
    Message was edited by:
    tobiasgp

  • JSF, Tomcat Error

    I am getting the following error when I try to run my JSF page:
    org.apache.jasper.JasperException: Cannot find FacesContext
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:476)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:371)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    my web.xml looks like this:
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    I get this error if i type: http://localhost:8080/wes/faces/register1.jsp
    What am i doing wrong

    Doesn't look like a Sun JSF RI issue to me. Post this issue at the forum/mailinglist of Ajax4jsf.

  • JSF Presentation Error

    I am implementing a custom JSF page as a presentation for a process. To model this implementation, I used the JSF sample found in \ORABPMStudioHome\samples\advanced\JSF-Screenflow_FoodDelivery.exp.
    I have a module entitle TestModule. This module has three objects - TheObject, Member, and Demographics. TheObject is a composition object using Member and Demographics.
    -TestModule
    -- Demographics
    --- address
    --- city
    --- etc.
    -- Member
    --- firstName
    --- lastName
    --- etc.
    -- TheObject
    --- caseNumber
    --- member : TestModule.Member
    So I wrote a JSF page with this code:
    <%@ page session="true" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://fuego.com/jsp/ftl" prefix="ftl" %>
    <%@ taglib uri="http://fuego.com/jsf/components" prefix="ft"%>
    <html>
    <body>
    <f:view>
    <h:form>
    <h:outputText value="Case Number2: " />
    <h:inputText value="#{theObject.caseNumber}" />
              <p />
    <h:outputText value="First Name: " />
    <h:inputText value="#{theObject.member.firstName}" />
    <h:outputText value="Last Name: " />
    <h:inputText value="#{theObject.member.lastName}" />
              <h:commandButton value="Submit" action="returnToFuego" />
    </h:form>
    </f:view>
    </body>
    </html>
    I have a process with a Global Create activity that references a screenflow. In the argument mapping for the screenflow from the Global Create, I have an IN argument that instantiates an instance of TestModule.TheObject(). The BeginIn of the screenflow takes this argument and assigns it to an instance variable of type TheObject.
    I start the engine and launch the workspace. Then, I access my Global Create activity. The custom JSF page is displayed, as intended. I populate the values of the controls and click the "Submit" button. BPM throws the following exception -
    Error workspace-1266290500365
    Error testing property 'caseNumber' in bean of type null
    javax.faces.el.PropertyNotFoundException: Error testing property 'caseNumber' in bean of type null
         at com.sun.faces.el.PropertyResolverImpl.getType(PropertyResolverImpl.java:342)
         at fuego.workspace.application.WorkspacePropertyResolver.getType(WorkspacePropertyResolver.java:60)
         at com.sun.faces.el.impl.ArraySuffix.getType(ArraySuffix.java:240)
         at com.sun.faces.el.impl.ComplexValue.getType(ComplexValue.java:208)
         at com.sun.faces.el.ValueBindingImpl.getType(ValueBindingImpl.java:338)
         at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:111)
         at javax.faces.component.UIInput.getConvertedValue(UIInput.java:702)
         at javax.faces.component.UIInput.validate(UIInput.java:627)
         at javax.faces.component.UIInput.executeValidate(UIInput.java:838)
         at javax.faces.component.UIInput.processValidators(UIInput.java:412)
         at javax.faces.component.UIForm.processValidators(UIForm.java:170)
         at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:904)
         at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:342)
         at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:78)
         at fuego.workspace.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:132)
         at fuego.workspace.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:60)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at sun.reflect.GeneratedMethodAccessor233.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
         at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
         at sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)
    The Process instance enters the flow and stops at the first activity. If I open the instance and look at the values that I entered in the controls during the screenflow, the backing bean has been populated with data.
    Can anyone shed some light on this? Any help is appreciated. If there is something facet that I didn't mention, let me know, and I will describe it.

    Rajat's got a good point. You BPM Objects probably look something like this if they are all located in a module named "TestModule":
    TestModule.Demographics
    - address: String attribute
    - city: String attribute
    - state: String attribute
    TestModule.Member
    - firstName: String attribute
    - lastName: String attribute
    - demographics: TestModule.Demographics
    TestModule.TheObject
    - caseNumber: String attribute
    - member: TestModule.Member
    1. Double click the "caseNumber" attribute and change it to not default to null.
    2. To avoid chasing null pointer exceptions, open the constructor for "TestModule.Member" and add this logic:
    demographics = TestModule.Demographics()3. Similarly, open the constructor for the "TestModule.TheObject" and add this logic:
    member = TestModule.Member()Dan

  • Problem using JSF + ajax4jsf:poll component

    I have the following problem.
    I have JSF page and ajax4jsf:poll component on it for polling the server.
    There are also couple links and buttons on the page,
    At first, when polling is not enabled the links and buttons work fine.
    But after enabling polling and its' work, links and buttons stop working and the page is only reloaded when I click on them. Accoring to the logs action methods, binded to that links and buttons, are not invoked at all. And log shows that page is rerendered using ajax. But not pure JSF which we use in general case.
    Does anybody have any ideas, why this can be? I looked through the internet and I could not find similar problems.
    I will appreciate any ideas. Thanks.

    I have never used it, but did you try the example as given at the related developer guide? Please note the a4j:region and the placement at its own form instead of in another/shared form.
    [http://www.jboss.org/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html/poll.html]

  • JSF & JDev error: The page cannot be displayed

    I'm trying to use JSF with JDeveloper. When I make my project no errors are reported, when I run it a browser opens up with an error. I added 'faces/' to the url and refreshed but still get same error message i.e. 'The page cannot be displayed'
    Here is the url:
    http://localhost:8988/jsf_app1-jsftest2-context-root/faces/hellojsp.jsp
    Here is the web.xml code:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <!-- Faces Servlet -->
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup> 1 </load-on-startup>
    </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <taglib>
    <taglib-uri>http://java.sun.com/jsf/core</taglib-uri>
    <taglib-location>/WEB-INF/jsf_core.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jsf/html</taglib-uri>
    <taglib-location>/WEB-INF/html_basic.tld</taglib-location>
    </taglib>
    </web-app>
    Here is the faces-config.xml code:
    <?xml version="1.0"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
    </faces-config>
    Here is the hellojsp.jsp code:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <h:form>
    <h:outputText/>
    </h:form>
    </body>
    </html>
    </f:view>
    Please let me know what i'm missing here. Why can I not see the page?

    When I make my project no errors are reported, when I run it a browser opens up with an error. I added 'faces/' to the url and refreshed but still get same error .
    Does the url which is invoked with Run not include a /faces/ url pattern?

  • JSF Deployment error - login.faces not available

    I am new to JSF and am having deploying my first example JSF pages in Eclipse on default Tomcat (6.x).
    I feel I have done everything stated in the tutorial http://www.exadel.com/tutorial/jsf/jsftutorial-kickstart.html (I did not repeat the step by step instructions in the tutorial - instead, used these instructions to create my own pages / logic). However, I still get the following error:
    HTTP Status 404 - /reportwriter/pages/login.faces
    type Status report
    message /reportwriter/pages/login.faces
    description The requested resource (/reportwriter/pages/login.faces) is not available.
    Here is my directory structure:
    reportwriter
    - src
    - LoginBean
    - LoginServer.java
    - Resources.properties
    - js
    - html
    - images
    - pages
    - login.jsp
    - webRoot
    - WEB-INF
    - lib
    - faces-config.xml
    - web.xml
    - index.jsp with a one line jsp forward to pages/login.faces
    here is my faces-config.xml
    <?xml version="1.0"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
    <application>
    <message-bundle>LoginBean.Resources</message-bundle>
    <locale-config>
    <default-locale>en</default-locale>
    <supported-locale>en-us</supported-locale>
    <supported-locale>fr</supported-locale>
    <supported-locale>es</supported-locale>
    </locale-config>
    <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
    </application>
    <navigation-rule>
    <from-view-id>/pages/login.jsp</from-view-id>
    <navigation-case>
    <description>Handle case for successful login</description>
    <from-action>#{loginServer.loginAction}</from-action>
    <from-outcome>success</from-outcome>
    <to-view-id>/pages/task.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <description>Handle case for unsuccessful login</description>
    <from-action>#{loginServer.loginAction}</from-action>
    <from-outcome>failure</from-outcome>
    <to-view-id>/pages/failure.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/pages/success.jsp</from-view-id>
    <navigation-case>
    <from-outcome>return</from-outcome>
    <to-view-id>/pages/login.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/pages/failure.jsp</from-view-id>
    <navigation-case>
    <from-outcome>return</from-outcome>
    <to-view-id>/pages/login.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <managed-bean>
    <managed-bean-name>loginServer</managed-bean-name>
    <managed-bean-class>LoginBean.LoginServer</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    </faces-config>
    and here is web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.xhtml</param-value>
    </context-param>
    <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    <!-- Faces Servlet -->
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.faces</url-pattern>
    </servlet-mapping>
    </web-app>
    Can you think what I may be missing here to get the login.faces not available error?
    One hint I have is - if I do not set a jsp forward line in the index.jsp file, I get the server deployment for the index.jsp file OK. But not when I have the forward from index.jsp to /pages/login.faces
    I also tried setting the context in tomcat server.xml file as follows:
    <Context debug="0"
    docBase="C:/evsapi/ReportWriter/reportwriter/WebRoot"
    path="/LoginBean" reloadable="true"/>
    Still no use.
    Please help!
    Edited by: tipseeker on Dec 1, 2008 3:51 PM

    tipseeker wrote:
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    I highly recommend your to stop with this and restart with JSF 1.2 instead. JSF 1.0 is legacy and may have still some nasty bugs. You may find this JSF 1.2 / Eclipse 3.4 / Tomcat 6.0 startup tutorial useful as well: [http://balusc.blogspot.com/2008/01/jsf-tutorial-with-eclipse-and-tomcat.html]
    <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.xhtml</param-value>
    </context-param>There's the root cause of the problem, I think. Why did you add this? Are you using JSP or Facelets? This configuration is typical for Facelets, but in your remaining code I only see JSP's being mentioned.

  • JSF Server Error

    hi
    can any one help me to clear the following server error in JSF
    WARNING: Can't parse configuration file:jndi:/localhost/ourdemo/WEB-INF/faces-config.xml
    Thanx in advance.
    regards,
    Bala

    This is my web-app
    <web-app>
    <display-name>JavaServer Faces Sample Application</display-name>
    <description>
    JavaServer Faces Sample Application
    </description>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <param-name>com.sun.faces.validateXml</param-name>
    <param-value>true</param-value>
    <description>
    Set this flag to true if you want the JavaServer Faces
    Reference Implementation to validate the XML in your
    faces-config.xml resources against the DTD. Default
    value is false.
    </description>
    </context-param>
    <context-param>
    <param-name>com.sun.faces.verifyObjects</param-name>
    <param-value>true</param-value>
    <description>
    Set this flag to true if you want the JavaServer Faces
    Reference Implementation to verify that all of the application
    objects you have configured (components, converters,
    renderers, and validators) can be successfully created.
    Default value is false.
    </description>
    </context-param>
    <!-- Faces Servlet -->
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup> 1 </load-on-startup>
    </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <security-constraint>
    </security-constraint>
    </web-app>
    Bala

  • 10g EA - JSF Toturial - Error instantiating application

    I worked throught the first portion of
    Build J2EE Applications Using JDeveloper 10g and JSF
    http://www.oracle.com/technology/obe/obe1013jdev/JSFapplications/BuildJ2EEAppsWithJSF.htm
    Went to Run the welcome.jsp page and got the following message.
    05/11/11 11:27:50 [SEVERE]: Error instantiating application at file:/C:/jdevstudio1013ea1/jdev/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/applications/bc4j.ear: Unable to get ApplicationConfig for bc4j : Unable to find/read file META-INF/application.xml in C:\jdevstudio1013ea1\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\applications\bc4j (META-INF/application.xml)
    Project compiled fine.
    This is the rest of the log. happened before error
    Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    C:\jdevstudio1013ea1\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config>
    C:\jdevstudio1013ea1\jdk\bin\javaw.exe -ojvm -classpath C:\jdevstudio1013ea1\j2ee\home\oc4j.jar;C:\jdevstudio1013ea1\jdev\lib\jdev-oc4j-embedded.jar -Dhttp.proxyHost=rgismiscom -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=172.*|*.rgis.com|localhost|127.0.0.1 -Dhttps.proxyHost=rgismiscom -Dhttps.proxyPort=80 -Dhttps.nonProxyHosts=172.*|*.rgis.com|localhost|127.0.0.1 -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdevstudio1013ea1\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]

    I do not have the file. Here is what I have
    Model -> Application Sources -> hr.model -> employee.java
    Model -> Application Sources -> hr.model -> Employees.java
    Model -> Application Sources -> hr.model -> login.java
    View -> Application sources -> mypakage -> DataBindings.cpx
    View -> Application sources -> Web Content -> css -> Blaf.css
    View -> Application sources -> Web Content -> web-INF -> Faces-config.xml
    View -> Application sources -> Web Content -> web-INF -> web.xml
    View -> Application sources -> Web Content -> web-INF\lib -> adf-faces-impl.jar
    View -> Application sources -> Web Content -> web-INF\lib -> custComps.jar
    View -> Application sources -> Web Content -> web-INF\lib -> jsf-impl.jar
    View -> Application sources -> Web Content -> Hello.jsp
    View -> Application sources -> Web Content -> Welcome.jsp

  • OLite compile JSF JSP error

    I'm using Olite 10g. I created a JSF JSP in JDeveloper and compiled and tested in. I packaged the web application into a WAR file and expaned it into the OLite webtogo root. When I use the package wizard to publish the web application, the JSF JSP fails to compile with this message:
    oracle.jsp.parse.JspParseException: Line # 4, <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    The JSP lines look like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    Does anyone have any thoughts as to how to resolve this issue?
    Thank-you.

    Here is a bit more with respect to the package wizard output message:
    C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\_pages
    Created Directory _pages : false
    These are the jspc arguments: -appRoot C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\ -d C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\_pages -packageName maintab -srcdir C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\pages -verbose -addclasspath C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\WEB-INF\classes;C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\WEB-INF\lib\commons-beanutils.jar;C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\WEB-INF\lib\commons-collections.jar;C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\WEB-INF\lib\commons-digester.jar;C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\WEB-INF\lib\commons-logging-api.jar;C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\WEB-INF\lib\commons-logging.jar;C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\WEB-INF\lib\jsf-api.jar;C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\WEB-INF\lib\jsf-impl.jar;C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\WEB-INF\lib\jstl.jar C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\login.jsp C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\maintab.jsp C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\index.jsp
    Translating file: C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\login.jsp
    Translating file: C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\login.jsp
    Parse error in login.jsp:
    oracle.jsp.parse.JspParseException: Line # 4, <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    Error: java.io.FileNotFoundException: C:\oacle\Olite10g\Mobile\Sdk\wtgsdk\root\maintab\http:\java.sun.com\jsf\html (The filename, directory name, or volume label syntax is incorrect)
    ...

  • Database - JSF Intergration Error

    I am creating a simple web application that uses Oracle XPress 10g R2.
    The application uses the Business Tier Model--ViewController and JSF:
    The JSF page is called "StudentList.jsp"
    The database has only one table "STUDENT_TBL" and I'd like to view the fields data using JSF.
    Building this simple app is not a problem as I can see the "STUDENT_TBL" and its fields during the development.
    The problem arises when I try to execute the .jsp file as the following error is returned:
    JBO-30003: The application pool (com.polaris.model.AppModuleLocal) failed to checkout an application module due to the following exception:oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC
    If I am able to connect to the database table during development I don't understand why an exception error is reported against JDBC?
    regards
    --John                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Usually this is a problem with the JDBC driver not
    being deployed with the application. Not sure I understand when you say deployed with the application? When I create the database connection, there is an option to deploy the database access credentials which I do select.
    If you see the problem when running against the internal OC4J from
    JDev then try stopping the OC4J and starting again.Yes, the problem occurs when I run against the emcedded OC4J, although I have installed the standalone version as well. Also, the problem does not go away whenever I do a restart.
    --John                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • JSF-JPA error in netbeans

    hi
    IDE: Netbeans7.1
    Server:Weblogic 10.0
    JSF:2.1
    JPA:toplink essential JPA 1.0
    When i`m inserting JPA in my JSF project following error Shown, Any one have Idea abt it?
    init:
    deps-module-jar:
    deps-ear-jar:
    deps-jar:
    library-inclusion-in-archive:
    library-inclusion-in-manifest:
    compile:
    compile-jsps:
    C:\Users\IS678\Documents\NetBeansProjects\GApp\nbproject\build-impl.xml:730:
    Deployment error:
    null
    See the server log for details.
         at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:232)
         at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284)
         at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
         at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
    Caused by: java.lang.IllegalThreadStateException
         at java.lang.ThreadGroup.addUnstarted(ThreadGroup.java:843)
         at java.lang.Thread.init(Thread.java:348)
         at java.lang.Thread.<init>(Thread.java:608)
         at java.util.concurrent.Executors$DefaultThreadFactory.newThread(Executors.java:542)
         at java.util.concurrent.ThreadPoolExecutor.addThread(ThreadPoolExecutor.java:672)
         at java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(ThreadPoolExecutor.java:721)
         at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:657)
         at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:78)
         at org.netbeans.modules.j2ee.weblogic9.optional.WLStartServer.startDeploymentManager(WLStartServer.java:195)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._start(ServerInstance.java:1454)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1405)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1210)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(ServerInstance.java:1087)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(ServerInstance.java:1248)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargetMap(ServerInstance.java:548)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargets(ServerInstance.java:516)
         at org.netbeans.modules.j2ee.deployment.impl.DeploymentHelper.deployJdbcDrivers(DeploymentHelper.java:93)
         at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:180)
         ... 16 more
    BUILD FAILED (total time: 10 seconds)

    Are you using MS's XP OS?
    I had this exact same problem with XP home edition when I had it using FAT instead of NTFS. I converted to NTFS and all has been well ever since.

  • JSF Conversion error for h:selectManyListbox

    There's an exception (*Conversion error occurred*) from JSF on <h:selectManyListbox> component for id availableUsers which is bound to myBean*.*roleId
    Now myBean*.*roleId is of Long datatype and so is the usersList*.*SelectItem*.*value. So, would not be any datatype mismatch. Tried using a converter too with no luck.
    If you have come across any such issue, please do let me know, thanks!
    Exception
    javax.faces.model.SelectItem@1b115c1b]
    [8/14/08 1:59:44:645 IST] 00000061 jsf E com.sun.faces.context.FacesContextImpl addMessage Adding Message[sourceId=emailmessage:*availableUsers* ,summary=*Conversion error occurred*.)
    [8/14/08 1:59:44:661 IST] 00000061 jsf E com.sun.faces.context.FacesContextImpl addMessage Adding Message[sourceId=emailmessage:selectedUsers,summary=Conversion error occurred.)
    JSF
    <h:selectManyListbox id="*availableUsers* " value="#{myBean.roleId}" converter="javax.faces.Long"
    binding="#{myBean.usersListBox}" size="5" style="width: 138px; height: 102px">
    <f:selectItems id="usersItems" value="#{myBean.usersList}"
    binding="#{myBean.usersListBoxSelectItems}" />
    </h:selectManyListbox></td>
    CLASS
    *{code}*
    *class MyBean*
    *private Long roleId;*
    *private List usersList;*
    *{code}*
    usersList is an arraylist of SelectItem where each SelectItem is composed of a Long value and a String label as per the convention.

    I tried using a List<Long>, but getting another error now, any help would be greatly appreciated, thanks!
    Error:
    [8/15/08 0:11:32:692 IST] 0000007e jsf E com.sun.faces.context.FacesContextImpl addMessage Adding Message[sourceId=emailmessage:selectedUsers,summary=Validation Error: Value is not valid)
    JSF Code:
    h:selectManyListbox id="selectedUsers" binding="#{myBean.selectedUsersListBox}" value="#{myBean.recipientIdList}" size="5"
    converter="#{myBean.recipientIdListConverter}" style="width: 138px; height: 102px">
    <f:selectItems id="selectedUsersItem" value="#{myBean.recipientList}" binding="#{myBean.selectedUsersListBoxSelectItems}" />
    </h:selectManyListbox>
    backing Bean Code for class myBean:
    {code}public List recipientList;
    private ArrayList recipientIdList;
    private HtmlSelectManyListbox selectedUsersListBox;
    private UISelectItems selectedUsersListBoxSelectItems;
    public Converter getRecipientIdListConverter() {
              return new Converter() {
                   public Object getAsObject(FacesContext facesContext,
                             UIComponent component, String value)
                             throws ConverterException {
                        if (value == null)
                             return null;                                                       
                        for (Iterator i = recipientIdList.iterator(); i.hasNext();) {
                             Long item = (Long) i.next();
                             String val = String.valueOf(item);
                             if (val.equals(value)) {
                                  return item;
                        return null;
                   public String getAsString(FacesContext facesContext,
                             UIComponent component, Object object)
                             throws ConverterException {
                        if (object instanceof SelectItem) {                         
                             return ((SelectItem) object).getValue().toString();
                        } else if (object instanceof Long) {
                             return String.valueOf(object);
                        } else {
                             return object.toString();
         }{code}

Maybe you are looking for

  • Help me to make this

    hi for all, i need a help to put an image and make a JFrame for ChatLogin similar to yahoo messenger chat login frame, my problem is i don't know how to arrange the instruction and how to make the image named "Face.jpg" in the upper position like kee

  • Change over from traditional chinese and simplify chinese

    I am using a MacBook Pro, Hardware : 2010 Q3 product, OS : OSX 10.6  Current OS : OSX 10.7.5 My problem is when I select writing language by using Trackpad handwriting in Traditional Chinese, I write a word in Simplify Chinese, it can give me a Tradi

  • Material number usage instead of equipment...

    hi all, cs will be implemented in a company. serial number is not being used in the company. and they don' t want to create equipment master data for the materials returned by customers. there can be a problem if we just use the material number(for n

  • Is there a way to restart my Java cloud service? What are "non-dynamic configuration changes"?

    I am trying to deploy an ADF application to my trial instance of Java cloud, I am getting the following error: 2013-10-15 08:24:18 CDT: Deploy Application started 2013-10-15 08:24:19 CDT: weblogic.management.DeploymentException: [Deployer:149189]An a

  • Secured network

    How do I set up my secured wireless network with my linksys sytem?  I just have one labtop connected to my PC but I have a neighbor that get on my network and hyjacks my homepage? Any help is appreciated. BAT